Crusader Kings II

Crusader Kings II

Modify the World
Modify your Crusader Kings II experience by checking out the many mods created and shared by the community, including tweaks to almost any aspect of the game.
Learn More
Mod crashes to “Loading map(creating trees)” / Province map
Good Day all!

I'm creating a map for my fantasy mod. I drew a map in advance and uploaded it to the map generator. I want to remake the map of provinces from scratch, so as not to search through all the texts for them and not to redraw a random set of provinces (especially sea ones, of which there are a great many).

In general, I redrew provinces.bmp, made changes to default.map, defintion.csv. When I launch the game it crashes to “Loading map(creating trees)”. What could be the problem?

default.map

max_provinces = 7 (increased the number of provinces relative to defintion.csv +1)
definitions = "definition.csv"
provinces = "provinces.bmp"
positions = "positions.txt"
terrain = "terrain.bmp"
rivers = "rivers.bmp"
terrain_definition = "terrain.txt"
heightmap = "topology.bmp"
tree_definition = "trees.bmp"
continent = "continent.txt"
adjacencies = "adjacencies.csv"
climate = "climate.txt"
region = "island_region.txt"
geographical_region = "geographical_region.txt"
static = "statics"
seasons = "seasons.txt"
externals = {
}

# Define which indices in trees.bmp palette which should count as trees for automatic terrain assignment
tree = { 3 4 7 10 }

# Non-accessible sea zones
sea_zones = { 6 6 }

#Ocean
ocean_region = {
sea_zones = { 1 }
}


Link to working mod version with generated map: https://ru.files.me/f/rr2jm8qvd6
Link with moddifed map: https://ru.files.me/u/2hqdfd92su

I would be very grateful if you help me understand what the problem is!