• 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.
It seems the colormap.dds is limited to 8192x8192 (or at least my video card is limiting it to that). Is there anyway to mod the game to take multiple files as texture for the map? Like a colormapNE.dds,colormapSE.dds, colormapSW.dds, colormapNW.dds? Or is there a way to get the game to take a scaled version of colormap.dds kind of like how trees.bmp is ~1/8th the size of province.bmp? I'm trying to make a bigger map but seems like the single texture for colormap/colormap_water limits it to 8192x8192.
Did you get a map to work that it is bigger than that size, e.g. >67 million pixels?

You cannot split up a map in this way, that's for sure. There's a very specific way how each of the files works (e.g. trees being 1/8 of the regular maps) and none of that is up to the modder.
 
I was able to get the vanilla map up to 8192x5504. That was with keeping the files all the same size, except for trees.bmp. I just got it to load with 8192x5504 province.bmp and all the rest but half sized colormap.dds(4096x2752) so now I will try to make the provinces.bmp bigger and see what happens. Thanks Keizer Harm for the heads up about colormap/colormap_water. It looks weird having the "dark shadow" look so I assume something will have to be done with world_normal_height values or something.
 
I tried to double the province.bmp to 16384x11008 along with rivers.bmp, terrain.bmp, topology.bmp, world_normal_height.bmp. Trees.bmp is at 2048x1376 and colormap.dds/colormap_water.dds are at 8192x5504. I get CTD at loading graphics.
The only entry in /logs/graphics.log is:
[provincetemplate.cpp:244]: Province 0 has invalid origin

error.log has 2 lines but I don't think this causes CTD:
[gfx_dx9.cpp:1490]: Error create vertices -2005530516 8 0 28
[gfx_dx9.cpp:1493]: managed

I've seen these errors when other things are wrong like the color index isn't right or one of the files isn't the right size. I would expect some kind of memory exception if it was only because the file was too big from trying to put too large a value into an object.
The setup.log shows it creating the bounding boxes for the provinces with values that indicate it has read in the file and is using it. Everything seems finished it just can't actually show it.
[map.cpp:1401]: Bounding Box of 1925 => (15772,8464) - (16384,8962)
 
I have tried again and was able to get one slightly larger than a hard limit at 8192x8192 would indicate. I was able to load the game and start a save game with province.bmp at 10496x6400. That's 2^16 more pixels than 8192x8192 (67108864). I guess if I just keep increasing by 256 I'll eventually find the limit.
 
I was able to get a map 18176x10240 to load. Load a saved game and run for a year without crashing. Not sure how far it will let me go but the formula seems to be Width+512 by Height+256. As long as I keep that formula it keeps loading as I increase. The rivers look like canyons, low terrain is under water now and the coasts are like cliffs so it's not particularly playable but whatever was limiting to ~67 million pixels doesn't exist anymore.
 

Attachments

  • Test_Vanilla.zip
    242,1 MB · Views: 4
Anyone know what could be causing this graphical oddity? It only shows up around islands or major rivers, its like the islands blur together the farther you zoom out. I've tried checking indexes, resizing files, and even remaking the whole map with no luck.

1a.png 2a.png 3a.png

The only thing I've found that effects it at all is if I lower the topology around the islands (from 90,90,90 to 70,70,70 for example) which just makes it way worse.

1b.png 2b.png 3b.png

Could all the land being one province cause this? Cause its almost as if the amount of black correlates with the giant "MUNSTER" moving as I zoom in and out.
 
Hi everyone,

I'm new to map modding and modding in general so sorry if this is a dumb question or my mod is sloppy. I'm trying to add the channel islands to the vanilla ck2 map. I've got Jersey so far and the province is showing, but i'm getting a bunch of errors about regions "have multiple entries for the province '0'" and provinces "has no pixels in provinces.bmp". The result of this is some provinces disappearing on the map:

1.png


I tried to follow the guide on the wiki for adding provinces. I added the province of jersey in definition.csv and replaced a sea province with its code, and moved the sea province further down and gave it a new id. I didn't change anything in the provinces,bmp other than adding jersey, and i made sure to save it correctly. I'm kind of at a loss at what I did wrong, but i'm thinking it's to do with the definitions file. I'll go ahead and attach my mod if it helps.
 

Attachments

  • channel_islands.7z
    4,7 MB · Views: 0
I have tried to make the map 7936x7936 to see what would happen for a square map I might make. when I launched the game I noticed that the provinces have all been shifted to the right and have actually looped round to the other side and I do not know how to fix this.
1671730210826.jpeg

20221222182548_1.jpg
 
The province, river(blank),terrain and topology are all 7936x7936. Trees is 382x382 and (world_normal_height) is 3072x3072 to make it square.
However I don't understand how a province could be clickable on the far west which is also on the far eastern side when the file dose not have it on the left hand side.