Hello,
recently I've been working on a "total conversion" mod (new map, titles, cultures, etc.) and I've run into a problem that is driving me crazy. Any help would be incredibly appreciated!
In a few words: when I add titles of some provinces in "landed_titles.txt", the game crashes as soon as I press "Play" (it loads fine till player selection screen).
Some details: the mod is already in a playable state and runs perfectly fine in its current version. All provinces have a file in the history/provinces folder, the relevant c_titlename in the history/titles, flags, and localization. All the map is covered as far as it regards these files. The only file that is still incomplete is the "landed_titles.txt". In it, there is only a portion of the map covered. So, at game start, the provinces missing from landed_titles appear grey and as having "no character" (but correct name, religion and culture). This provinces can't be held or taken by anyone, but the mod runs smoothly (I've tested it on "observe" mode and let it run for hundreds of years, no CTDs).
The problem came up when I started filling in the missing titles from "landed_titles.txt". Looks like there are a few provinces (c_ titles) that I CANT MAKE PLAYABLE (even by AI) or the game will crash when I press "Play" in the player selection screen. On the map, the newly added titles appear correctly... with the correct holders, liege, colors, culture. But when I press "Play" (doesn't matter the selected character), the game instantly crashed to desktop.
Nothing interesting in the logs.
Does anyone have any idea about what is wrong? Please!
I double checked the spellings of all the relevant files. The baronies in those provinces are identical in landed_titles and in the history/provinces folder, as I think it should be. Provinces.bmp looks ok with hard edges everywhere. Positions.txt looks fine and I tried emptying it as well just to be sure it wasn't it. The game crashes both if the new titles have a set holder and if they don't. It's not related to higher-than-county titles: adding a single independent county (c_name) at the end of the landed_titles.txt is enough to crash the game. Same thing if I add it as de jure vassal of any existing higher title. The problem lies in the provinces themselves, but I can't find it.
What is driving me crazy is that everything in these provinces is basically identical to all the working others. I can't spot what is making the game crash if I make these provinces playable.
Thanks for any help or suggestions!!!
Happy modding,
L.
recently I've been working on a "total conversion" mod (new map, titles, cultures, etc.) and I've run into a problem that is driving me crazy. Any help would be incredibly appreciated!
In a few words: when I add titles of some provinces in "landed_titles.txt", the game crashes as soon as I press "Play" (it loads fine till player selection screen).
Some details: the mod is already in a playable state and runs perfectly fine in its current version. All provinces have a file in the history/provinces folder, the relevant c_titlename in the history/titles, flags, and localization. All the map is covered as far as it regards these files. The only file that is still incomplete is the "landed_titles.txt". In it, there is only a portion of the map covered. So, at game start, the provinces missing from landed_titles appear grey and as having "no character" (but correct name, religion and culture). This provinces can't be held or taken by anyone, but the mod runs smoothly (I've tested it on "observe" mode and let it run for hundreds of years, no CTDs).
The problem came up when I started filling in the missing titles from "landed_titles.txt". Looks like there are a few provinces (c_ titles) that I CANT MAKE PLAYABLE (even by AI) or the game will crash when I press "Play" in the player selection screen. On the map, the newly added titles appear correctly... with the correct holders, liege, colors, culture. But when I press "Play" (doesn't matter the selected character), the game instantly crashed to desktop.
Nothing interesting in the logs.
Does anyone have any idea about what is wrong? Please!
I double checked the spellings of all the relevant files. The baronies in those provinces are identical in landed_titles and in the history/provinces folder, as I think it should be. Provinces.bmp looks ok with hard edges everywhere. Positions.txt looks fine and I tried emptying it as well just to be sure it wasn't it. The game crashes both if the new titles have a set holder and if they don't. It's not related to higher-than-county titles: adding a single independent county (c_name) at the end of the landed_titles.txt is enough to crash the game. Same thing if I add it as de jure vassal of any existing higher title. The problem lies in the provinces themselves, but I can't find it.
What is driving me crazy is that everything in these provinces is basically identical to all the working others. I can't spot what is making the game crash if I make these provinces playable.
Thanks for any help or suggestions!!!
Happy modding,
L.