THIS VERSION IS OUT OF DATE.
GET THE CURRENT VERSION AT http://www.twcenter.net/forums/showthread.php?t=428754
Here is a program with which you can edit .esf files as well as savegames.
It's not quite finished, but it is usable at this point.
You can edit text and numbers, but not the binary data.
You can also duplicate repeating data.
Future improvements:
- Include an editor for the binary parts
- Descriptions for the values in the .esf files (you can help with this by letting me know any values you've discovered, you can easily copy the path and value number from a textbox.
- Searching
- Descriptive names for items in large arrays
Some interesting places:
Turns per year: main\startpos.esf\CAMPAIGN_STARTPOS\CAMPAIGN_ENV\CAMPAIGN_MODEL\CAMPAIGN_CALENDAR - value #1
Starting season of the years: main\startpos.esf\CAMPAIGN_STARTPOS\CAMPAIGN_ENV\CAMPAIGN_MODEL\CAMPAIGN_CALENDAR\DATE - value #2
Faction's colors on the campaign map: main\startpos.esf\CAMPAIGN_STARTPOS\CAMPAIGN_ENV\CAMPAIGN_MODEL\WORLD\FACTION_ARRAY\FACTION_ARRAY\FACTION\FACTION_FLAG_AND_COLOURS - value #2-10 (9 bytes, Red 1, Green 1, Blue 1, Red 2, Green 2, Blue 2, Red 3, Green 3, Blue 3, and in the node below the colors for the republic.
The startpos.esf for the main campaign contains over 4 million values, so there is lots more to explore
Quick explanation of the things you'll encounter in the editor
Spoiler Alert, click show to read:
Comments, ideas, suggestions, bug reports are welcome.