• We have updated our Community Code of Conduct. Please read through the new rules for the forum that are an integral part of Paradox Interactive’s User Agreement.
I'm working on a new map for my Holy Roman Empire Mod and have hit a bit of wall recently. No matter what I do I can't seem to get my game to load; it always CTDs at "Loading Flags". I know that, although counter-intuitive, this is probably an issue with my map files and not my flag files. I've been using guides on this forum and the wiki to get started, but those can only take you so far. I've double-checked the map file encoding, but I am clearly missing something here. I've attached a copy of my mod to this post. I would greatly appreciate any help offered.
Your provinces.bmp is heavily anti-aliased...
 
Your provinces.bmp is heavily anti-aliased...
I must have forgot to check that box in GIMP. I removed the anti-aliasing and made sure it didn't appear in any other files. I also found an error with how I used the map filler for ocean provinces. I now get the following error in graphics.log:
Code:
[provincetemplate.cpp:261]: Province 0 has invalid origin

Any other mistakes that you notice?

*Edited because I found another bug, but didn't solve the crash
 

Attachments

  • hre_mod_v0_3.rar
    3,6 MB · Views: 4
Last edited:
I'm working on a new map for my Holy Roman Empire Mod and have hit a bit of wall recently. No matter what I do I can't seem to get my game to load; it always CTDs at "Loading Flags". I know that, although counter-intuitive, this is probably an issue with my map files and not my flag files. I've been using guides on this forum and the wiki to get started, but those can only take you so far. I've double-checked the map file encoding, but I am clearly missing something here. I've attached a copy of my mod to this post. I would greatly appreciate any help offered.

Did you delete the mod folder inside the documents/Paradox Interactive/Crusader Kings II/mod? You need to do that everytime you change something in your mod.
 
So I'm attempting a custom map and was moving along pretty well. I got stuck on a Province 0 has invalid origin. When I went back and reworked my sea zones and such to try and fix it, he problem got worse. Now I'm getting a crash in loading databases. The setup log says it's crashing when trying to run [ck_application.cpp:1116]: Map Initialized I've attached the log.
 

Attachments

  • setup.log
    394,8 KB · Views: 4
I was able to fix my loading errors but have a new problem. The map is covered by a shadow of the old map of Europe.
20170531234533_1.jpg
I've changed both the colormap.dds and colormap_water.dds to try and get rid of it, but it doesn't seem to make a difference. Any ideas what might be causing it?
 
I was able to fix my loading errors but have a new problem. The map is covered by a shadow of the old map of Europe. View attachment 271200 I've changed both the colormap.dds and colormap_water.dds to try and get rid of it, but it doesn't seem to make a difference. Any ideas what might be causing it?

Are colormap.dds and colormap_water.dds of the same dimensions than province.bmp? That's the only thing I can think about.
 
I was able to fix my loading errors but have a new problem. The map is covered by a shadow of the old map of Europe. View attachment 271200 I've changed both the colormap.dds and colormap_water.dds to try and get rid of it, but it doesn't seem to make a difference. Any ideas what might be causing it?
How did you manage to fix the loading errors? I'm having the same issue. Loading/processing flags, right?
 
I did a combination of things, so I'm not sure which was the critical fix. I made sure to pull in the right color indexes for each file, and confirmed they had the right format. I also redid my .bmp files to remove any anti-aliasing. Additionally, I resized the trees.bmp to 293x293. And I basically started from scratch with my provinces.bmp. Basically I did a bunch of fixes and eventually when I tried it, it worked (besides the weird "shadow of Europe" glitch).
 
So I managed to get past the Map initialization error by making the adjacencies file, but now I'm stuck on CasusBelliDatabase Initialized. I'm not really sure what to do no one seems to have figured out a definite solution before. Hopefully I'm wrong about that. Attached is my entire mod file
 

Attachments

  • sammod.zip
    3,5 MB · Views: 6
Hi guys. I've been working on a map, just trying to get it to load into game. I fixed every mod error that the Validator gave me, but my mod still CTD while at "Loading Databases." I'm really not sure how to proceed.
 
Hi guys. I've been working on a map, just trying to get it to load into game. I fixed every mod error that the Validator gave me, but my mod still CTD while at "Loading Databases." I'm really not sure how to proceed.
For me, this was caused by the map files being in the wrong format, along with issues in the landed_titles file. Make sure your files are saved correctly.

http://www.ckiiwiki.com/Map_modding

----

While I'm here, I'm having a few issues I can't seem to solve. Here are pictures of what I mean.

First, province names seem to be missing or in the wrong places when picking a ruler. I've been told it's due to cultural names, but removing them does nothing.

http://steamcommunity.com/sharedfiles/filedetails/?id=948192661

Second, how can I disable this DLC so that the monuments are showing up like this?

http://steamcommunity.com/sharedfiles/filedetails/?id=948194790

Last, some provinces, like the Canaries there, show up black when zoomed out. It also happens with other islands. Does anyone know why?

http://steamcommunity.com/sharedfiles/filedetails/?id=948194149
 
Second, how can I disable this DLC so that the monuments are showing up like this?

http://steamcommunity.com/sharedfiles/filedetails/?id=948194790
The name of the file is z_dlc063_cote_static.txt.

Last, some provinces, like the Canaries there, show up black when zoomed out. It also happens with other islands. Does anyone know why?

http://steamcommunity.com/sharedfiles/filedetails/?id=948194149
Isn't that an issue on the end of the computer having issues with the game graphics?
 
The name of the file is z_dlc063_cote_static.txt.


Isn't that an issue on the end of the computer having issues with the game graphics?
Thanks.

What would cause the issue with the graphics? I don't have this problem in vanilla.
 
What would cause the issue with the graphics? I don't have this problem in vanilla.
Never mind, I may actually be confusing this with another issue, the one in which lower specs (not enough memory on the video card) combined with maps on higher resolutions leads to a shade issue with different maps not corresponding.
 
For me, this was caused by the map files being in the wrong format, along with issues in the landed_titles file. Make sure your files are saved correctly.

http://www.ckiiwiki.com/Map_modding

----

While I'm here, I'm having a few issues I can't seem to solve. Here are pictures of what I mean.

First, province names seem to be missing or in the wrong places when picking a ruler. I've been told it's due to cultural names, but removing them does nothing.

http://steamcommunity.com/sharedfiles/filedetails/?id=948192661

Second, how can I disable this DLC so that the monuments are showing up like this?

http://steamcommunity.com/sharedfiles/filedetails/?id=948194790

Last, some provinces, like the Canaries there, show up black when zoomed out. It also happens with other islands. Does anyone know why?

http://steamcommunity.com/sharedfiles/filedetails/?id=948194149
Strange. I've been looking into what is causing the names to break and it seems to be an issue with my provinces.bmp file. If I use the original file Talvos made, the issue disappears. If I put my changes onto Talvos' file, it breaks the names, even on provinces I didn't touch. I don't know how this can be, but issue seems to be with my edited file.
 
Strange. I've been looking into what is causing the names to break and it seems to be an issue with my provinces.bmp file. If I use the original file Talvos made, the issue disappears. If I put my changes onto Talvos' file, it breaks the names, even on provinces I didn't touch. I don't know how this can be, but issue seems to be with my edited file.
Stray pixels?
 
Stray pixels?
Strangely enough, it turned out to be an issue with a particular province I had added. For some strange reason, the map would bug out when it was present. I removed it and re-added the original in the end, re-naming it to what I wanted (I have no idea why I didn't just do this in the first place, but then it was two years ago when I added it).
 
I have a rather minor but greatly annoying issue with my map, the coastlines look like this:

*Image*

Super Blocky. What could be causing it?


They always look like this, you just don't notice it because of the border graphics which isn't in effect here.

upload_2017-7-20_5-38-36.png


upload_2017-7-20_5-39-41.png



This is from my current pet project and shows the same area with and without borders drawn.
 
My mod is crashing at Loading Databases, and it used to run well in game. I have looked through nearly everything and cannot figure out why its not running/crashing.

Thanks in advance.
 

Attachments

  • PernMod.7z
    13,3 MB · Views: 5