• 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.
major_rivers =
{
# Great Ocean

}

That's caused by the way I build the default.map; Every ocean zone gets a block in there even if there's no rivers. So you'll end up with an odd looking major rivers block like that.
"major_rivers = { }" would do the same but your local version should be syntactically the same. Ergo what the Validator reported isn't game breaking.


Not sure what the problem can be... I also tried to replace everything in my mod folder with the Ireland2 mod that you made, JonStryker. I just replaced mod path and stuff like that, and it worked, it started. But when I used the map filler tool with the provincedef.xls and filled in the exact lines from the provincedef.xls from your Ireland2 mod onto the provincedef.xsl template with all those colors(From your Witcher mod), it refused to start, even though it said everything was done correctly in the command prompt that the .bat file used.

Posting your mod here won't hurt. I will take a look once I get home from work and if don't fall asleep right after I come home (I only had 4 hours of sleep today).
 
Last edited:
Could you try to go to history/tech and change the first year from 1200 to 768? Maybe CK2 gets a problem when it wants to calculate tech starting from 768 while the generated file only has values for 1200. The tech file creation can be modified by editing the values at the bottom of the config file.

And just as a hunch: *Maybe* CK2 doesn't like maps that don't have any winter provinces defined. If you define provinces with mild/normal/severe winter they'll be written into climate.txt
If you don't define any winter provinces climate.txt will only display things as a comment. If CK2 needs those three blocks defined then that could be an issue that I need to fix in the map filler tool (i.e. generate the blocks as empty).
 
WOW! Changing the tech year to 768 from 1200 worked! I'm in :D Thanks :)
Now, to figure out how you make units spawn in the center of the province and make so that boats can actually go to the ocean, lol :p I think I read it somewhere... adjacencies.csv I think =P

Is it possible to generate positions and adjacencies with a program? :p
 
Last edited:
The tutorial is great, clear and concise, the filler tool working like a charm but my mod crashes nevertheless.
The progress bar reaches „Calculating Naval Ranges“ and then a CTD. Here's the error log:
Code:
[instanttextboxtype.cpp:92]: Not used, use maxWidth and maxHeight  file: launcher/interface/main.gui line: 73
[instanttextboxtype.cpp:92]: Not used, use maxWidth and maxHeight  file: launcher/interface/main.gui line: 90
[persistent.cpp:35]: Error: "Unexpected token: clr_global_flag, near line: 8484
" in file: "common/cb_types/00_cb_types.txt" near line: 8484
[persistent.cpp:35]: Error: "Unexpected token: ROOT, near line: 8485
" in file: "common/cb_types/00_cb_types.txt" near line: 8491
[persistent.cpp:35]: Error: "Unexpected token: FROM, near line: 8492
" in file: "common/cb_types/00_cb_types.txt" near line: 8494
[persistent.cpp:35]: Error: "Unexpected token: custom_tooltip, near line: 8498
" in file: "common/cb_types/00_cb_types.txt" near line: 8569
[persistent.cpp:35]: Error: "Unexpected token: clr_global_flag, near line: 8573
" in file: "common/cb_types/00_cb_types.txt" near line: 8573
[persistent.cpp:35]: Error: "Unexpected token: FROM, near line: 8574
" in file: "common/cb_types/00_cb_types.txt" near line: 8576
[persistent.cpp:35]: Error: "Unexpected token: ROOT, near line: 8577
" in file: "common/cb_types/00_cb_types.txt" near line: 8580
[persistent.cpp:35]: Error: "Unexpected token: clr_global_flag, near line: 8584
" in file: "common/cb_types/00_cb_types.txt" near line: 8584
[persistent.cpp:35]: Error: "Unexpected token: ROOT, near line: 8585
" in file: "common/cb_types/00_cb_types.txt" near line: 8589
[persistent.cpp:35]: Error: "Unexpected token: FROM, near line: 8590
" in file: "common/cb_types/00_cb_types.txt" near line: 8592
[persistent.cpp:35]: Error: "Unexpected token: any_defender, near line: 8593
" in file: "common/cb_types/00_cb_types.txt" near line: 8596
[persistent.cpp:35]: Error: "Unexpected token: any_defender, near line: 8597
" in file: "common/cb_types/00_cb_types.txt" near line: 8600
[persistent.cpp:35]: Error: "Unexpected token: clr_global_flag, near line: 8604
" in file: "common/cb_types/00_cb_types.txt" near line: 8604
[persistent.cpp:35]: Error: "Unexpected token: ROOT, near line: 8605
" in file: "common/cb_types/00_cb_types.txt" near line: 8607
[persistent.cpp:35]: Error: "Unexpected token: end_war, near line: 8608
" in file: "common/cb_types/00_cb_types.txt" near line: 8608
[persistent.cpp:35]: Error: "Unexpected token: factor, near line: 8612
" in file: "common/cb_types/00_cb_types.txt" near line: 8612
[persistent.cpp:35]: Error: "Unexpected token: factor, near line: 8616
" in file: "common/cb_types/00_cb_types.txt" near line: 8616
[persistent.cpp:35]: Error: "Unexpected token: factor, near line: 8620
" in file: "common/cb_types/00_cb_types.txt" near line: 8620
[persistent.cpp:35]: Error: "Unexpected token: factor, near line: 8624
" in file: "common/cb_types/00_cb_types.txt" near line: 8624
[persistent.cpp:35]: Error: "Unexpected token: =, near line: 8628
" in file: "common/cb_types/00_cb_types.txt" near line: 8628
[persistent.cpp:35]: Error: "Malformed token: {, near line: 39
" in file: "decisions/holy_order_decisions.txt" near line: 39
[persistent.cpp:35]: Error: "Malformed token: {, near line: 40
" in file: "decisions/holy_order_decisions.txt" near line: 40
[persistent.cpp:35]: Error: "Malformed token: {, near line: 42
" in file: "decisions/holy_order_decisions.txt" near line: 42
[persistent.cpp:35]: Error: "Malformed token: {, near line: 43
" in file: "decisions/holy_order_decisions.txt" near line: 43
[persistent.cpp:35]: Error: "Malformed token: PREV, near line: 43
" in file: "decisions/holy_order_decisions.txt" near line: 43
[persistent.cpp:35]: Error: "Malformed token: {, near line: 1639
" in file: "decisions/minor_decisions.txt" near line: 1639
[persistent.cpp:35]: Error: "Malformed token: no, near line: 1640
" in file: "decisions/minor_decisions.txt" near line: 1640
[persistent.cpp:35]: Error: "Malformed token: c_byzantion, near line: 352
" in file: "decisions/realm_decisions.txt" near line: 352
[persistent.cpp:35]: Error: "Malformed token: {, near line: 353
" in file: "decisions/realm_decisions.txt" near line: 353
[persistent.cpp:35]: Error: "Malformed token: {, near line: 354
" in file: "decisions/realm_decisions.txt" near line: 354
[persistent.cpp:35]: Error: "Malformed token: {, near line: 355
" in file: "decisions/realm_decisions.txt" near line: 355
[persistent.cpp:35]: Error: "Malformed token: orthodox, near line: 356
" in file: "decisions/realm_decisions.txt" near line: 356
[persistent.cpp:35]: Error: "Malformed token: nestorian, near line: 357
" in file: "decisions/realm_decisions.txt" near line: 357
[persistent.cpp:35]: Error: "Malformed token: monothelite, near line: 358
" in file: "decisions/realm_decisions.txt" near line: 358
[persistent.cpp:35]: Error: "Malformed token: iconoclast, near line: 359
" in file: "decisions/realm_decisions.txt" near line: 359
[id.cpp:83]: Failed to create id 91361 41. Already exists in game.
[id.cpp:83]: Failed to create id 91361 41. Already exists in game.
[id.cpp:83]: Failed to create id 91362 41. Already exists in game.
[id.cpp:83]: Failed to create id 88017 41. Already exists in game.
[id.cpp:83]: Failed to create id 88018 41. Already exists in game.
[id.cpp:83]: Failed to create id 88016 41. Already exists in game.
[id.cpp:83]: Failed to create id 88017 41. Already exists in game.
[id.cpp:83]: Failed to create id 88018 41. Already exists in game.
[id.cpp:83]: Failed to create id 8501 41. Already exists in game.
[id.cpp:83]: Failed to create id 8506 41. Already exists in game.
[id.cpp:83]: Failed to create id 8511 41. Already exists in game.
[id.cpp:83]: Failed to create id 8516 41. Already exists in game.
[id.cpp:83]: Failed to create id 8601 41. Already exists in game.
[id.cpp:83]: Failed to create id 8606 41. Already exists in game.
[id.cpp:83]: Failed to create id 8611 41. Already exists in game.
[id.cpp:83]: Failed to create id 8616 41. Already exists in game.
[id.cpp:83]: Failed to create id 1004000 41. Already exists in game.
[id.cpp:83]: Failed to create id 1004005 41. Already exists in game.
[id.cpp:83]: Failed to create id 1004015 41. Already exists in game.
[id.cpp:83]: Failed to create id 1004025 41. Already exists in game.
[id.cpp:83]: Failed to create id 1003125 41. Already exists in game.
[id.cpp:83]: Failed to create id 1003127 41. Already exists in game.
[id.cpp:83]: Failed to create id 86000 41. Already exists in game.
[id.cpp:83]: Failed to create id 1205343 41. Already exists in game.
[id.cpp:83]: Failed to create id 1205347 41. Already exists in game.
[texturehandler.cpp:181]: Couldn't find texture file: gfx//coats_of_arms//dynasties3.tga.
[pdx_achievements.cpp:432]: Invalid achievement: }
[gfx_dx9.cpp:1441]: Error create vertices -2005530516 8 0 28
[gfx_dx9.cpp:1444]: managed
If you'd like to look into it, here's my mod prototype.

The provinces can't be too big because I split the unfinished land and sea provinces (current „wastelands“ and „oceans“) in relatively small chunks. My map is vertically aligned with dimensions of 2048x3072, can this cause the problem? Also, what are those ids that the game fails to create due to them existing?

Oh, and that I use 2.1.6.
 
Last edited:
The tutorial is great, clear and concise, the filler tool working like a charm but my mod crashes nevertheless.
The progress bar reaches „Calculating Naval Ranges“ and then a CTD. Here's the error log:
Code:
[instanttextboxtype.cpp:92]: Not used, use maxWidth and maxHeight  file: launcher/interface/main.gui line: 73
[instanttextboxtype.cpp:92]: Not used, use maxWidth and maxHeight  file: launcher/interface/main.gui line: 90
[persistent.cpp:35]: Error: "Unexpected token: clr_global_flag, near line: 8484
" in file: "common/cb_types/00_cb_types.txt" near line: 8484
[persistent.cpp:35]: Error: "Unexpected token: ROOT, near line: 8485
" in file: "common/cb_types/00_cb_types.txt" near line: 8491
[persistent.cpp:35]: Error: "Unexpected token: FROM, near line: 8492
" in file: "common/cb_types/00_cb_types.txt" near line: 8494
[persistent.cpp:35]: Error: "Unexpected token: custom_tooltip, near line: 8498
" in file: "common/cb_types/00_cb_types.txt" near line: 8569
[persistent.cpp:35]: Error: "Unexpected token: clr_global_flag, near line: 8573
" in file: "common/cb_types/00_cb_types.txt" near line: 8573
[persistent.cpp:35]: Error: "Unexpected token: FROM, near line: 8574
" in file: "common/cb_types/00_cb_types.txt" near line: 8576
[persistent.cpp:35]: Error: "Unexpected token: ROOT, near line: 8577
" in file: "common/cb_types/00_cb_types.txt" near line: 8580
[persistent.cpp:35]: Error: "Unexpected token: clr_global_flag, near line: 8584
" in file: "common/cb_types/00_cb_types.txt" near line: 8584
[persistent.cpp:35]: Error: "Unexpected token: ROOT, near line: 8585
" in file: "common/cb_types/00_cb_types.txt" near line: 8589
[persistent.cpp:35]: Error: "Unexpected token: FROM, near line: 8590
" in file: "common/cb_types/00_cb_types.txt" near line: 8592
[persistent.cpp:35]: Error: "Unexpected token: any_defender, near line: 8593
" in file: "common/cb_types/00_cb_types.txt" near line: 8596
[persistent.cpp:35]: Error: "Unexpected token: any_defender, near line: 8597
" in file: "common/cb_types/00_cb_types.txt" near line: 8600
[persistent.cpp:35]: Error: "Unexpected token: clr_global_flag, near line: 8604
" in file: "common/cb_types/00_cb_types.txt" near line: 8604
[persistent.cpp:35]: Error: "Unexpected token: ROOT, near line: 8605
" in file: "common/cb_types/00_cb_types.txt" near line: 8607
[persistent.cpp:35]: Error: "Unexpected token: end_war, near line: 8608
" in file: "common/cb_types/00_cb_types.txt" near line: 8608
[persistent.cpp:35]: Error: "Unexpected token: factor, near line: 8612
" in file: "common/cb_types/00_cb_types.txt" near line: 8612
[persistent.cpp:35]: Error: "Unexpected token: factor, near line: 8616
" in file: "common/cb_types/00_cb_types.txt" near line: 8616
[persistent.cpp:35]: Error: "Unexpected token: factor, near line: 8620
" in file: "common/cb_types/00_cb_types.txt" near line: 8620
[persistent.cpp:35]: Error: "Unexpected token: factor, near line: 8624
" in file: "common/cb_types/00_cb_types.txt" near line: 8624
[persistent.cpp:35]: Error: "Unexpected token: =, near line: 8628
" in file: "common/cb_types/00_cb_types.txt" near line: 8628
[persistent.cpp:35]: Error: "Malformed token: {, near line: 39
" in file: "decisions/holy_order_decisions.txt" near line: 39
[persistent.cpp:35]: Error: "Malformed token: {, near line: 40
" in file: "decisions/holy_order_decisions.txt" near line: 40
[persistent.cpp:35]: Error: "Malformed token: {, near line: 42
" in file: "decisions/holy_order_decisions.txt" near line: 42
[persistent.cpp:35]: Error: "Malformed token: {, near line: 43
" in file: "decisions/holy_order_decisions.txt" near line: 43
[persistent.cpp:35]: Error: "Malformed token: PREV, near line: 43
" in file: "decisions/holy_order_decisions.txt" near line: 43
[persistent.cpp:35]: Error: "Malformed token: {, near line: 1639
" in file: "decisions/minor_decisions.txt" near line: 1639
[persistent.cpp:35]: Error: "Malformed token: no, near line: 1640
" in file: "decisions/minor_decisions.txt" near line: 1640
[persistent.cpp:35]: Error: "Malformed token: c_byzantion, near line: 352
" in file: "decisions/realm_decisions.txt" near line: 352
[persistent.cpp:35]: Error: "Malformed token: {, near line: 353
" in file: "decisions/realm_decisions.txt" near line: 353
[persistent.cpp:35]: Error: "Malformed token: {, near line: 354
" in file: "decisions/realm_decisions.txt" near line: 354
[persistent.cpp:35]: Error: "Malformed token: {, near line: 355
" in file: "decisions/realm_decisions.txt" near line: 355
[persistent.cpp:35]: Error: "Malformed token: orthodox, near line: 356
" in file: "decisions/realm_decisions.txt" near line: 356
[persistent.cpp:35]: Error: "Malformed token: nestorian, near line: 357
" in file: "decisions/realm_decisions.txt" near line: 357
[persistent.cpp:35]: Error: "Malformed token: monothelite, near line: 358
" in file: "decisions/realm_decisions.txt" near line: 358
[persistent.cpp:35]: Error: "Malformed token: iconoclast, near line: 359
" in file: "decisions/realm_decisions.txt" near line: 359
[id.cpp:83]: Failed to create id 91361 41. Already exists in game.
[id.cpp:83]: Failed to create id 91361 41. Already exists in game.
[id.cpp:83]: Failed to create id 91362 41. Already exists in game.
[id.cpp:83]: Failed to create id 88017 41. Already exists in game.
[id.cpp:83]: Failed to create id 88018 41. Already exists in game.
[id.cpp:83]: Failed to create id 88016 41. Already exists in game.
[id.cpp:83]: Failed to create id 88017 41. Already exists in game.
[id.cpp:83]: Failed to create id 88018 41. Already exists in game.
[id.cpp:83]: Failed to create id 8501 41. Already exists in game.
[id.cpp:83]: Failed to create id 8506 41. Already exists in game.
[id.cpp:83]: Failed to create id 8511 41. Already exists in game.
[id.cpp:83]: Failed to create id 8516 41. Already exists in game.
[id.cpp:83]: Failed to create id 8601 41. Already exists in game.
[id.cpp:83]: Failed to create id 8606 41. Already exists in game.
[id.cpp:83]: Failed to create id 8611 41. Already exists in game.
[id.cpp:83]: Failed to create id 8616 41. Already exists in game.
[id.cpp:83]: Failed to create id 1004000 41. Already exists in game.
[id.cpp:83]: Failed to create id 1004005 41. Already exists in game.
[id.cpp:83]: Failed to create id 1004015 41. Already exists in game.
[id.cpp:83]: Failed to create id 1004025 41. Already exists in game.
[id.cpp:83]: Failed to create id 1003125 41. Already exists in game.
[id.cpp:83]: Failed to create id 1003127 41. Already exists in game.
[id.cpp:83]: Failed to create id 86000 41. Already exists in game.
[id.cpp:83]: Failed to create id 1205343 41. Already exists in game.
[id.cpp:83]: Failed to create id 1205347 41. Already exists in game.
[texturehandler.cpp:181]: Couldn't find texture file: gfx//coats_of_arms//dynasties3.tga.
[pdx_achievements.cpp:432]: Invalid achievement: }
[gfx_dx9.cpp:1441]: Error create vertices -2005530516 8 0 28
[gfx_dx9.cpp:1444]: managed
If you'd like to look into it, here's my mod prototype.

The provinces can't be too big because I split the unfinished land and sea provinces (current „wastelands“ and „oceans“) in relatively small chunks. My map is vertically aligned with dimensions of 2048x3072, can this cause the problem? Also, what are those ids that the game fails to create due to them existing?

Oh, and that I use 2.1.6.

Thanks for the praise. I can't really help you as I am not keeping this backwards compatible with 2.1.6
Some things were added, nothing that sounds game breaking. But still, 2.1.6 -> not the focus of the tool
 
Thanks for the praise. I can't really help you as I am not keeping this backwards compatible with 2.1.6
Some things were added, nothing that sounds game breaking. But still, 2.1.6 -> not the focus of the tool
I would update to 2.3.0 or 2.3.2, its a lot easier to mod a new map, from better custom map sizes supported to not having to require portage
Well, I just upgraded to 2.3.2 but the problem persists:
Code:
[instanttextboxtype.cpp:92]: Not used, use maxWidth and maxHeight  file: launcher/interface/main.gui line: 87
[instanttextboxtype.cpp:92]: Not used, use maxWidth and maxHeight  file: launcher/interface/main.gui line: 104
[technology.cpp:718]: Missing Tech seed values:
[technology.cpp:755]: None.
[texturehandler.cpp:181]: Couldn't find texture file: gfx//coats_of_arms//dynasties3.tga.
[texturehandler.cpp:181]: Couldn't find texture file: gfx//coats_of_arms//dynasties4.tga.
[texturehandler.cpp:181]: Couldn't find texture file: gfx//coats_of_arms//dynasties4_muslim.tga.
[texturehandler.cpp:181]: Couldn't find texture file: gfx//coats_of_arms//dynasties4_indian.tga.
[gfx_dx9.cpp:1441]: Error create vertices -2005530516 8 0 28
[gfx_dx9.cpp:1444]: managed

Those „vertices“ still continue to plague me. Isn't that supposed to mean that some provinces are too large?

EDIT: Okay, I merged all these placeholder gray land provinces into one black terra incognita, now it crashes even before trying to create vertices:
Code:
[instanttextboxtype.cpp:92]: Not used, use maxWidth and maxHeight  file: launcher/interface/main.gui line: 87
[instanttextboxtype.cpp:92]: Not used, use maxWidth and maxHeight  file: launcher/interface/main.gui line: 104
[technology.cpp:718]: Missing Tech seed values:
[technology.cpp:755]: None.
[texturehandler.cpp:181]: Couldn't find texture file: gfx//coats_of_arms//dynasties3.tga.
[texturehandler.cpp:181]: Couldn't find texture file: gfx//coats_of_arms//dynasties4.tga.
[texturehandler.cpp:181]: Couldn't find texture file: gfx//coats_of_arms//dynasties4_muslim.tga.

Once again I upload my mod prototype in case somebody would be so kind to look into it.
 
vertices can be anything ,usually either bad configure files for the map, to large of a landmass, or memory problems


Hard to tell what is wrong from first glance

Default.map is missing sea_zones and ocean_region
world_normal_height.bmp is to big need to be 2048 by 2048, unless i miss some patch, but shouldn't cause any problem if it isnt.


here is a example from my mod
seasons = "seasons.txt"
sea_zones = { 39 50 }
ocean_region = { # Great Ocean
sea_zones = { 1 }
}

//39 is the start of the seazone
 
You are indeed lacking any ocean provinces. The reason is that you put "Ocean" in column K while you should've put it in column L
Damn, I was dumb. After correction, the section from default.map now looks like this:
Code:
sea_zones = { 170 188 }

ocean_region = {	# Ocean
	sea_zones = { 1 }
}
However, the vertices strike back!
Code:
[gfx_dx9.cpp:1441]: Error create vertices -2005530516 8 0 28
[gfx_dx9.cpp:1444]: managed

No way any provinces are too big.
 
Could be a lot of things

Did you remove the ocean /provinces and /titles files?
Would check that first, since it may or may not of gotten deleted

Also the landmass that colored 0,0,0 may be to big , My mod i'm working on is 4096 by 2560 the first thing I did was create 13-15 equal sized country's on the landmass and around 20 or so oceans, tends to help big mods to start up right away.

May also want to color your water on your topographic map, typically people use 80,80,80 or 90,90,90 which works well
 
JON when I load my mod it loads the vanilla map instead of the one I created :( Any idea what might be the issue? I followed all the steps and looked over them again once I failed
 
Put your colormaps in the appropriate subfolder!

I tried that, though it still crashed. Below are my error.log and graphics. log if that is of any help:

Code:
[instanttextboxtype.cpp:92]: Not used, use maxWidth and maxHeight  file: launcher/interface/main.gui line: 87
[instanttextboxtype.cpp:92]: Not used, use maxWidth and maxHeight  file: launcher/interface/main.gui line: 104
[persistent.cpp:37]: Error: "Malformed token: yes, near line: 351
" in file: "common/traits/02_traits.txt" near line: 351
[persistent.cpp:37]: Error: "Malformed token: yes, near line: 369
" in file: "common/traits/02_traits.txt" near line: 369
[persistent.cpp:37]: Error: "Malformed token: yes, near line: 387
" in file: "common/traits/02_traits.txt" near line: 387
[persistent.cpp:37]: Error: "Malformed token: yes, near line: 405
" in file: "common/traits/02_traits.txt" near line: 405
[persistent.cpp:37]: Error: "Malformed token: yes, near line: 423
" in file: "common/traits/02_traits.txt" near line: 423
[persistent.cpp:37]: Error: "Malformed token: yes, near line: 613
" in file: "common/traits/02_traits.txt" near line: 613
[technology.cpp:718]: Missing Tech seed values:
[technology.cpp:755]: None.

Code:
[provincetemplate.cpp:259]: Province 0 has invalid origin
[provincetemplate.cpp:259]: Province 1 has invalid origin

EDIT: Nevermind, got it working!
 
Last edited: