Sorry if this is the wrong part of the forum for this, it's about a mod I made for myself.
I created my own python script to edit the resources and arable land of states in the state_region file without touching any of the other lines. It works, although it creates the wrong line endings. Thankfully I can easily change the line endings with Notepad++ so that the files are in UNIX UTF-8 format. However, this still causes a CTD. When I edit the same values by hand and save the file the game works just fine, does anyone know what might be causing this issue?
I have attached one of the edited files if someone wants to take a look, thanks!
I created my own python script to edit the resources and arable land of states in the state_region file without touching any of the other lines. It works, although it creates the wrong line endings. Thankfully I can easily change the line endings with Notepad++ so that the files are in UNIX UTF-8 format. However, this still causes a CTD. When I edit the same values by hand and save the file the game works just fine, does anyone know what might be causing this issue?
I have attached one of the edited files if someone wants to take a look, thanks!