Here's a little list of random things I've found out when doing my mod. Some of it took me ages to figure out, so I want to make sure no one goes through this again.
map/provinces.bmp
- Never use a marking tool in GIMP (or Photoshop) if you haven't unchecked the anti-aliasing box
- Don't create provinces that are much larger than average (mentioned by Sute]{h)
- Borders that freak out ingame are usually caused by certain angles in the map file (also mentioned Sute]{h)
map/positions.txt
- You can delete everything in positions.txt and the game still works
- The y coordinates used in the positions file are inverted. To get them right, you can turn the map upside down and check the coordinates (in pixels) of the positions you want to use
localisation
- Empty spaces between the lines in a localisation file will rename (almost) everything in the whole game
- Localisation files never cause any crashes, except when it comes to culture groups. For some reason, all text associated with culture groups has to be included in one of these files (yet another thing Sute]{h has mentioned, he's very helpful you see)
common/countries
- All countries associated with a region (referred to in regions.txt) must have a line with region = #whatever region it is# in their country file
common/on_actions
- The game crashes if it can't find the event ids used in this file
If you like it, I'll try to update the list.
map/provinces.bmp
- Never use a marking tool in GIMP (or Photoshop) if you haven't unchecked the anti-aliasing box
- Don't create provinces that are much larger than average (mentioned by Sute]{h)
- Borders that freak out ingame are usually caused by certain angles in the map file (also mentioned Sute]{h)
map/positions.txt
- You can delete everything in positions.txt and the game still works
- The y coordinates used in the positions file are inverted. To get them right, you can turn the map upside down and check the coordinates (in pixels) of the positions you want to use
localisation
- Empty spaces between the lines in a localisation file will rename (almost) everything in the whole game
- Localisation files never cause any crashes, except when it comes to culture groups. For some reason, all text associated with culture groups has to be included in one of these files (yet another thing Sute]{h has mentioned, he's very helpful you see)
common/countries
- All countries associated with a region (referred to in regions.txt) must have a line with region = #whatever region it is# in their country file
common/on_actions
- The game crashes if it can't find the event ids used in this file
If you like it, I'll try to update the list.
Last edited: