PyDAT is a tool used to edit the various .dat
files, which include the settings for lots of aspects of the game:
- units.dat
- weapons.dat
- flingy.dat
- sprites.dat
- images.dat
- upgrades.dat
- techdata.dat
- sfxdata.dat
- portdata.dat
- mapdata.dat
- orders.dat
PyDAT supports expanded DAT files, which allow you to add new entries to any of the DAT files. To use expanded DAT files in your mod, you will need a plugin like DatExtend to be able to handle these files.
To add expanded entries to a DAT file, you can right click on the list of entries, and choose the Add Entry (DatExtend)
or Set Entry Count (DatExtend)
options, or use the associated keyboard shortcuts Shift+Ctrl+A
or Shift+Ctrl+S
respectively.