• 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 went over my logs to see what they had to say about my recent errors. This is what I got:

[sound.cpp:232]: Sound generic_click_04 not found.
[sound.cpp:232]: Sound generic_click_04 not found.
[sound.cpp:232]: Sound generic_click_04 not found.
[sound.cpp:232]: Sound generic_click_04 not found.
[rome_bitmap.cpp:23]: We do not support bitdepth at 32
[rome_bitmap.cpp:23]: We do not support bitdepth at 32
[rome_bitmap.cpp:23]: We do not support bitdepth at 32
[texturehandler.cpp:169]: Couldn't find texture file: gfx//coats_of_arms//dynasties.tga.
[gfx_dx9.cpp:1308]: Error create vertices -2005530516 8 0 28
[gfx_dx9.cpp:1311]: managed
[gfx_dx9.cpp:1308]: Error create vertices -2005530516 8 0 20
[gfx_dx9.cpp:1311]: managed
[rome_bitmap.cpp:23]: We do not support bitdepth at 32
No idea about those ones. Seems like you discovered a new sound error.


[map.cpp:1224]: Province 650 has no pixels in provinces.bmp
[map.cpp:1224]: Province 651 has no pixels in provinces.bmp
[map.cpp:1224]: Province 652 has no pixels in provinces.bmp
[map.cpp:1224]: Province 653 has no pixels in provinces.bmp
[map.cpp:1224]: Province 654 has no pixels in provinces.bmp
[map.cpp:1224]: Province 655 has no pixels in provinces.bmp
[map.cpp:1224]: Province 656 has no pixels in provinces.bmp
[map.cpp:1224]: Province 657 has no pixels in provinces.bmp
[map.cpp:1224]: Province 658 has no pixels in provinces.bmp
[map.cpp:1224]: Province 659 has no pixels in provinces.bmp
[map.cpp:1224]: Province 660 has no pixels in provinces.bmp
[provincetemplate.cpp:250]: Province 0 has invalid origin
[provincetemplate.cpp:250]: Province 1 has invalid origin
[provincetemplate.cpp:250]: Province 2 has invalid origin
[provincetemplate.cpp:250]: Province 3 has invalid origin
[provincetemplate.cpp:250]: Province 4 has invalid origin
[provincetemplate.cpp:250]: Province 5 has invalid origin
[provincetemplate.cpp:250]: Province 6 has invalid origin
[provincetemplate.cpp:250]: Province 7 has invalid origin
[provincetemplate.cpp:250]: Province 8 has invalid origin
[provincetemplate.cpp:250]: Province 9 has invalid origin
The first lot of errors in this batch are self-explanatory, the colour for those provinces in definitions.csv don't match any colours in the provinces.bmp. The second lot of errors I have no idea, I usually get that when I have my default.map setup wrong (with sea starting too early, or the wrong number of provinces defined).
 
Need help!

I have no idea what the problem is here...

I have redone every county with new cultures based on mesoamerican group, but for some reason only a few counties show on the map the correct culture, and others have "noculture". Ive triple checked every file in history/provinces and they match/no typos. its bizarre because one province works but another with the exact same setup doesnt....

ck2_27-1.png


EDIT: for any of those interested, the problem seems to be with renaming the main province files in history/provinces. When I reverted back to vanilla names and just changed inside the file it worked fine. Wierd
 
Last edited by a moderator:
I don't have time to look, but did you check for duplicates?

I'm just about sure there's very few, if any duplicates. Early on there were some duplicated baronies, but they were very obvious and easy to catch.

I do have a rough guess as to why Marienburg causes a crash, though. If it's part of some sort of barony-swapping bug, it could break due to already having a full seven proper holdings. The mystery (besides what is causing baronies to fly around) is why it only crashes when you zoom in closely to it.


^Above

That looks really cool, what's the total area of that map? The entire Americas?
 
Last edited:
I'm tinkering with adding some extra provinces to the Winter King map (carving out my own kingdom, didn't want to disrupt the pre-existing ones though). I haven't adding any new landmasses, just carved out new provinces from old ones. I've successfully added islands and provinces to CK2 maps before, but for some reason I cannot get it to work this time.

Crashing during 'Calculating Paths'.

Graphics Log:
Code:
provincetemplate.cpp:237: Province 0 has invalid origin

Last few lines of setup.log:
Code:
[map.cpp:1396]: Adjacencies for 194 ==> 1 6 10 15 16 45 46 79 80 81 86 87 88 126 184 193 
[map.cpp:1396]: Adjacencies for 195 ==> 35 59 60 61 69 89 97 111 112 141 145 183 198 196 
[map.cpp:1396]: Adjacencies for 196 ==> 62 63 69 89 91 114 190 192 195 197 
[map.cpp:1396]: Adjacencies for 197 ==> 63 64 66 69 70 73 139 196 
[map.cpp:1396]: Adjacencies for 198 ==> 35 36 40 43 57 67 69 141 160 162 165 168 195 
[map.cpp:1396]: Adjacencies for 199 ==> 71 72 73 128 144 175 177 180 200 201 
[map.cpp:1396]: Adjacencies for 200 ==> 37 41 68 108 151 156 179 180 182 199 201 
[map.cpp:1396]: Adjacencies for 201 ==> 37 38 51 121 138 185 199 200

I've implemented a blank positions.txt and a 2-line adjaciences.csv as well. No idea what the issue might be. Any thoughts?

The first batch is no bug, there is always this line appearing in the log. A rule of thumb I discovered while modding the map is that there must be only one "impassable mountains" area between two given provinces and there cannot be an "impassable mountains" area completely within a province. Maybe that could help you.
 
I have succeeded to port Sengoku map in CK2.
sengokuinck2.png


I hope the maps between EU 4 and CK2 would be compatible too.
 
After trying further development, I got a problem with porting the Sengoku Map in CK2.

Without any change of the sea_starts and max_provinces from vanilla, the map mod runs well, but when I reduce the both numbers to the correct amount of provinces, it crushes always. The coastal lines got also some glitches.

errorqb.png


It would be very appreciated if anyone could check the files from the link and tell me a solution.
http://www.mediafire.com/?cxngde6astn6y39

Thanks in advance!
 
Got it to work. All I did was fix the coast boundary problem in the lake of your screenshot. Im guessing it made an "illegal capital location" error.

Could you tell me how to fix the border of the lake? To change province.bmp or something else? I thought there are another glitches outside of the SS, but I am not sure.

Also, your terrain.bmp files colors are wrong, which is making it dark.

It is because I used the terrain.bmp of Sengoku... I will try whether it is replacable with the colors of CK2 terrain.bmp. Thanks for the quick answer!
 
Could you tell me how to fix the border of the lake? To change province.bmp or something else? I thought there are another glitches outside of the SS, but I am not sure.

Yeah its easy, just open provinces.bmp and copy/paste terrain.bmp onto provinces.bmp. Then make the terrain layer overlay and trace the edges. then delete the terrain layer and save

It is because I used the terrain.bmp of Sengoku... I will try whether it is replacable with the colors of CK2 terrain.bmp. Thanks for the quick answer!

just make sure the index matches with vanilla and use the fill bucket with contigous unchecked (for photoshop). should make it easy
 
Yeah its easy, just open provinces.bmp and copy/paste terrain.bmp onto provinces.bmp. Then make the terrain layer overlay and trace the edges. then delete the terrain layer and save



just make sure the index matches with vanilla and use the fill bucket with contigous unchecked (for photoshop). should make it easy

I see. Thanks again!
 
Sorry, I still have the same problem. I have fixed the border of the lake and other some lines, but when I choose a character and want to go to the main game screen, it crushes. And it happens only when I changed the numbers of max_provinces and sea_starts from the vanilla. Maybe the border isn't the cause...

I am also wondering how can I repaint the terrain.bmp without Photoshop.

Any help would be appreciated. Thanks.
 
Still trying to stabilise this Warhammer mod, but nothing makes sense.

http://i.imgur.com/NLaaZ.jpg
http://i.imgur.com/cHGDr.jpg
http://i.imgur.com/zeF6o.jpg

As you can see, the counties have the wrong religions and cultures, despite none of those entries being used at all in this mod and all those counties being properly defined. All the Warhammer Cultures are in bright orange and he religions in light green, so you can tell them apart from the vanilla ones easily. In the de jure Kingdoms map you can also see that it's detecting kingdoms inside each other. This goes all the way down to baronies, which are switched around and everything, and extra empty holding slots have spawned on some counties.

Some things I have noticed:

- All the counties with broken culture also have broken religion. There is no overlap.
- There are some characters with vanilla details on top of Warhammer counties, but not the other way around.
- Marienburg seems to actually have 8 holdings. That because it is supposed to have the maximum 7, plus one of Mordheim's. Looking directly at Marienburg will crash the game.
- Some counties have spawned with their own vanilla characters. There are exactly two characters in the file, but a couple more can actually be used to start the game. They will also appear without any county files existing, eg, a blank, empty map. If you put a historical character on that county, they won't even appear.
- Those blobs of vanilla culture/religion on the right side have no actual counties, just blank provinces.
- Changing the culture/religion mod files to the same name as the vanilla ones (eg, culture_imperial.csv to 00_cultures.csv) will actually remove those vanilla blobs on the map. They will be replaced by noreligion and noculture, including the characters that spawn on them.
- The provinces past the vanilla number (920ish?) have no vanilla contamination. The random vanilla bits correspond to their vanilla provinces, that's why they aren't completely randomly scattered.


Based on my limited knowledge, I have deduced that something is causing vanilla religion and culture values to overwrite some, but not all of their corresponding mod provinces. In the absence of those vanilla values, the game still cannot use the proper values. There's also some weird stuff with barony switching and I don't know what's even happening.

So if anyone can investigate what happened, that would be great. The only lead I can offer is that it had started way back when only Estalia was implemented, so that might be a good place to look. Molina in particular.

LINK


Solved!
 
Last edited:
Sorry, I still have the same problem. I have fixed the border of the lake and other some lines, but when I choose a character and want to go to the main game screen, it crushes. And it happens only when I changed the numbers of max_provinces and sea_starts from the vanilla. Maybe the border isn't the cause...

Just for the after report, I have fixed this issue although I don't know why I could do it. I would show the map in a Sengoku mod someday. :)
 
Does anyone know how to resolve black rivers on maps?

Well, what I did was just go in and make Riverbottom_Diffuse.dds and RiverSurface_diffuse.dds in /map/terrain/ ridiculously bright so they'd overpower the darkness. It makes them a rather desaturated blue, but it's still better than pure black. Maybe there's something one could edit in pdxmap.lua, like was needed to get colour in the general map, but I don't really 'get' that file so I dunno. The word "river" isn't found in it.