Post news RSS Modding Diary: provinces.bmp

The provinces of this game are a fucking mess, and here why.

Posted by on

The shape of provinces in Hearts of iron 4 are saved in such a weird way, that only paradox could come up. Now to the point: There is a provinces.bmp file in the map directory and it defines the worlds provinces. Every province is given an exact RGB color code and you paint that RGB code on the map to define the shape of the province. To number the provinces there also is a definition file called "definition.csv". Where just one little +1 of a number destroys the whole game. And there where I am now. I think a pixel has like one shade to dark, and the game keeps crashing. Im trying to fix it.

Greetings!

Post a comment
Sign in or join with:

Only registered members can share their thoughts. So come on! Join the community today (totally free - or sign in with your social account on the right) and join in the conversation.