• 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.
Ah, nice. Is it possible to add a terrain that will generate trees aswell?
Not right now no. It would be a bit difficult to make it customizable, and probably not very useful (I mean if you're going to make a custom terrain, usually, you'd want it visible, not hidden under trees).

I would like to create a "jungle hills" terrain, basically like the forest hills terrain but with jungle texture. As it is right now using the forest hills terrain in hot climates results in the semi-desert terrain and desert mountain which doesn't quite fit in one of my map areas. Maybe it is easier to just add this manually after the map is generated?
That's how I think it should work, so I could work on fixing that instead.

Huh. Wow. I don't know yet, but nothing is wrong on your side. Seems like a pretty big bug, I'm surprised noone else has had it yet. FWIW it seems to happen with some map dimension ratios (x:y). 1:1 works fine obviously because I would have seen it otherwise.
EDIT : I got it, it was a mistake when parsing topology.bmp.
 
Last edited:
Quick question, I may be missing something, but why does the tool default to 8 (max) baronies per province? I thought there was a limit of 7?
The game's landed_titles has 8 per province. You can actually have 8 holdings in a province (if you spawn more with a build_holding event/decision), the last one is outside the province frame. At 9 the game crashes, but I don't know if it's a hardcoded limit or just because there aren't enough titles.
 
Updated to 2.0.5 : http://lvisse.free.fr/CK2MapTools/CK2MapTools-V2.0.5.zip
  • Fixed a bug where the topology map was not being read correctly on non-square maps, causing confusion between land and water
  • Forests and jungles now have priority over hills and mountains to determine terrain type and trees
  • Added localisation_template option by Splime : generates a file containing all the titles with their coordinates, to edit and replace parts or all of the localisation.csv
 
The game's landed_titles has 8 per province. You can actually have 8 holdings in a province (if you spawn more with a build_holding event/decision), the last one is outside the province frame. At 9 the game crashes, but I don't know if it's a hardcoded limit or just because there aren't enough titles.

Ha, well that's a bit odd. I guess it's odd tech debt from Paradox then? Definitely makes sense why the tool does 8 then.
 
Updated to 2.0.5 : http://lvisse.free.fr/CK2MapTools/CK2MapTools-V2.0.5.zip
  • Forests and jungles now have priority over hills and mountains to determine terrain type and trees

Thanks for the update. I do however find that it now generate rather weird looking transitions between forest hills terrains and mountain terrains. Would it be possible to make the program fill transitions with the hill terrain?

mountain.png
 
I doubt the units have anything to do with it. In-game crashes at a later date could be an event referencing a province by id that doesn't exist in your map.
For example the mongol invasion will typically crash the game on a custom map. You can deactivate all events (override the event folder) to check if the problem is with an event.

You may be right, but I replaced my files with an older version that was working perfectly and it still crashed, maybe around Jan 12th.
 
The program is not working for me. I wanted to send you the bmp I've made but the forum doesn't allows it. So can you perhaps give more detailed guidlines so I could know what I did wrong?
 
The program is not working for me. I wanted to send you the bmp I've made but the forum doesn't allows it. So can you perhaps give more detailed guidlines so I could know what I did wrong?
I don't know. Can you tell me anything at all about what is not working ? Does it generate any logs in the logs folder ? (if yes, post that here)
Does it work when you run it when placing the example in the input folder ?

EDIT : when you click the launch link it's supposed to open a UI that looks like this.
Does that work for you or does it not work before that ?
 
Last edited:
Would it be possible to add a functionality to assign defacto counties aswell? Like if i want a count to control more than one province. Cause that is not possible now, right?

No you're right. That's actually something I thought about at one point but it turned out not to be as easy as I'd hoped. I'll reconsider in the future.
 
I don't know. Can you tell me anything at all about what is not working ? Does it generate any logs in the logs folder ? (if yes, post that here)
Does it work when you run it when placing the example in the input folder ?

EDIT : when you click the launch link it's supposed to open a UI that looks like this.
Does that work for you or does it not work before that ?
It will take a bit of time untill I can check, as I am without my computer most of the time, but, if I remember correctly, it get stuck on 'generating terrain' and produce an empty log
 
Hey! I am not sure if this is the right place for this but I had a few questions. I can't seem to get my map/mod to work. I get no errors when using the tool but when I put the output in a mod folder and load up the game it simply closes after it is about to finish loading. When I try the example1 files and create a mod from that, it works though. I am at a complete loss why my files aren't working.

One of the files I attached here is my first, slightly more advanced stuff in there. Because this didn't work I decided to go down to complete basics, which is the other file, but this didn't work either.

Edit: After a few more trials I think I have narrowed down my problem to the climate, terrain/input and settlement maps. I attempted to alter the examples map by adding a small island. To my surprise the mod worked. After this I deleted the whole southern landmass and it still worked. After deleting the entire map and attempting my own thing it broke again though.

I am not sure what is wrong with the terrain/input map. Perhaps some wrong setting or a wrong save? For those wondering, I am using GIMP. Mode is set to disolve, dynamics off. It is saved/exported as 24 bit R8 G8 B5 with the 'Do not write colour space information' ticked.

Besides terrain I was thinking that it might somehow be the settlements that somehow it wrongly generated or something? Because it is so heavily linked with terrain/input. I was also thinking it might be because in some of my maps not all climates have a landmass to affect.

In the end I am still not sure though. I desperately need help D:
 

Attachments

  • input map copy 2.rar
    187,1 KB · Views: 5
  • simple test.rar
    27,2 KB · Views: 6
Last edited:
I have done everything in the guide, but when i try to generate the "Province Settlement Slots" step, the application just freezes. I have waited hours and nothing.

I have also tried to do the "generate setup" steps and nothing, were im failing with this? Also, i have noticed that my maps do not have the black borders sorrounding the provinces. Why?

This thing is just amazing, thanks for your great work!.
 

Attachments

  • im fed up with this world.rar
    5,2 MB · Views: 9
I desperately need help D:
Found the problem. Go in adjacencies.csv and, in complete defiance of what it says, manually remove this :
62;62;portage;1;-1;-1;-1;-1;It will stop working if you remove this

This line was added because the game doesn't draw straits unless there is also at least a portage in the file. Turns out it just crashes if there is a portage and no straits...
 
I have done everything in the guide, but when i try to generate the "Province Settlement Slots" step, the application just freezes. I have waited hours and nothing.

I have also tried to do the "generate setup" steps and nothing, were im failing with this? Also, i have noticed that my maps do not have the black borders sorrounding the provinces. Why?

This thing is just amazing, thanks for your great work!.

I don't know, your map seems to work fine for me when I try it. It is a big map though so the freezing might just be going almost out of memory. Try relaunching the tool and running only the province slots step. Took me about 10seconds on your map.
Also you can try to change the launch.bat : replace -Xms256M with something bigger like -Xms1024M
If that really was a memory issue that should fix it.
 
I don't know, your map seems to work fine for me when I try it. It is a big map though so the freezing might just be going almost out of memory. Try relaunching the tool and running only the province slots step. Took me about 10seconds on your map.
Also you can try to change the launch.bat : replace -Xms256M with something bigger like -Xms1024M
If that really was a memory issue that should fix it.

How i do that, sorry, i dont know much about this kind of thing, in the config file?