/r/Ck2Generator

Photograph via snooOG

Subreddit for the Random History/Map Creator for Crusader Kings 2 by Yemmlie.

Warning: Due to my other work commitments, I may go radio silence for periods during heavy workloads. I'll be back at some point though, never fear.

/r/Ck2Generator

2,020 Subscribers

10

Pagan reformation doesn't create a new title

So I've been playing as a pagan and managed to reform my faith. I chose temporal, but I didn't get a title, only the crown. Is this the problem with this generator or the CK2 history generator? And do I need to create titles myself?

1 Comment
2019/12/21
13:54 UTC

12

Does this work with the latest version of CK2?

If it works, I don't see why this would be dead as another poster has suggested. If not, will there be an update?

6 Comments
2019/12/18
07:19 UTC

32

its dead folks

it was good. We all had hopes about this but... its dead. Rip in pieces.

5 Comments
2019/11/06
11:07 UTC

5

stop created mods from crashing

i get all the way and before i can click start game after the menu it game crashes

3 Comments
2019/09/18
00:17 UTC

14

Custom made cultures and religion

How to incorporate your own made cultures and religions into a mod made by generator?

0 Comments
2019/09/09
12:32 UTC

58

Making CK2 Worlds Using Dwarf Fortress World Generation

Here is a quick tutorial on how to make fantasy worlds using Dwarf Fortress (DF) world generation since some folks on the CK2 subreddit asked for this. Here is an example of how the world will look like.

You need: GIMP, Dwarf Fortress (PeridexisErrant's DF Starter Pack) and CK2Generator tool.

1). Start DF and create a world (very short history and large world size).

2). Enter legends mode of the newly created world, press d and select "Elevations including lake and ocean floors". This will create a height map in your dwarf fortress folder. This the height map of my DF world. We can't use this yet. We need to modify it a bit.

3). Open GIMP and load your DF height map. With the Fuzzy Select Tool, select the landmass, make a new transparent layer and fill your selection with 98/98/98. This layer is called the Land layer. With the Pencil Tool, fill in any tiny lakes (like this one) with the 98/98/98 color.

4). With your Fuzzy Select Tool, select the now slighty edited landmass from the Land layer and inverse the selection with CTRL-I. Make a new transparent layer and fill the selection with the color 94/94/94. This will be our water layer.

5). Make a new completely white layer above the Land layer in priority. This layer is called the noise layer. Change the layer mode to "Lighten only". Add a Solid Noise filter (Filters -> Render -> Noise -> Solid Noise). I set the detail to 5 and X and Y sizes to 16. The noise layer will add more complexity and detail to our map (with hills). Right now the white colors are too white and there is too much dark. We fix this by using the Color Curve tool (Colors -> Curves). I to this separately for the three continents to give a bit of variety in the map: Continent 1, Continent 2, Continent 3. I also made a second sea layer here that is black instead of 94/94/94 so that I can better see the continents and select them better using the Free Select Tool. Just make sure that you either delete this black sea layer before exporting the final image or to make it not visible.

6). Next up we want the shoreline to be close to sea level because high shorelines look ugly in CK2. Select the land, make a new transparent layer called "Shoreline" and use the gradient tool. We want a gradient from pure white to 98/98/98. For the Shape Setting use "Shaped angular". I also set the handle position for the gradient to about 0.58. Set the layer mode to "Darken only". We are almost done now.

7). I like to add mountains in the places where DF also generated mountains. Here is a good tutorial on how to create mountains in GIMP: http://www.kjdavies.org/wp-content/uploads/kjdavies-mountain-tutorial.pdf . Just follow the slides 5 till 15. A few notes: Use "Overlay" layer mode for the noise layer instead of "Multiply" and move the noise layer to the top of the stack after you are done with the instruction from slide 15. Use the Fuzzy Select Tool to select your mountain, copy visible (Edit -> Copy Visible) and paste as a new layer in your DF world image. Change the layer mode to "Lighten only". Finally, I like to edit the color curves of the mountain a bit to make it look better..

8). One last thing: make sure your layer order is correct. It should be (from lowest priority to highest): Land -> Noise -> Shoreline -> Water -> Mountains. Export your image. My final height map looks like this.

9). Load your height map in CK2Generator. Change the sea level to 95. Set the Map Size to Small. I like to set the province count to Normal or High. Then give it a name and generate a map. When it asks you to generate history click yes and give your mod a name.

10). Final result. My map randomized. Me playing as the nation of Talevnalia.

My final height map if anyone wants it: https://www.mediafire.com/view/63igbufqih6z5fu/TutDFWorldCK2.png/file

2 Comments
2019/09/03
18:09 UTC

9

A big error

I'm trying to use CK2Generator to make a random map, and it makes the map just fine and dandy, but there's (usually) no countries populated in any bookmark, and when I use the "Shatter World" or "Random World" options, it CTDs on getting to "Randomising world." There's nothing in the logs except a buttload of "No name defined in loc for title" errors (assumedly one for each county. It's several hundred.) and

"[provincehistory.cpp:247]: Unknown History Command ==>'b_ralyuva'<==  for province: history/provinces/69
 - raka.txt [persistent.cpp:40]:  Error: "Unexpected token: b_ralyuva, near line: 5" in file:
  "history/provinces/69 - raka.txt"," 

again, assumedly one for each province.

Each province looks like this:

    title = c_raka
    max_settlements = 2    
    culture = saxon
    religion = monophysite
    b_ralyuva = tribal

I haven't bothered to pick up 3.2 yet, so I'm still on 3.1. Anybody know where I should be poking to figure this out?

0 Comments
2019/08/31
03:07 UTC

8

ATTENTION: To anyone who changes their topology.bmp and gets black terrain here's a solution

If you're generating your map and make changes to your topology.bmp and notice that your map is now black (excluding the water), then you need to save it as a 24 bit .bmp.

I had the issue two days ago, noticed my land turned black after that, so I quickly figured out it was the topology.bmp, and so I saved it as a 24 bit bmp after different tries and found out that was the fix. I have no idea if saving it as a 24 bit .bmp will affect any of the other .bmp files (I can verify it did nothing to provinces or terrain, screw the rivers file).

0 Comments
2019/08/16
17:11 UTC

25

A heightmap I pulled together from Earth topology data for the generator

2 Comments
2019/08/07
22:29 UTC

4

It'd be really cool if you could use this tool to edit existing mods maps

For example, let's say I want to change the shape or size of a mods map, or add into it. I'm good at image editing but terrible at doing the text and csv editing that would be required to accommodate the new adjustments.

It's be cool if this tool or a tool like it could take your images and pop out new default.map, positions.text, definition.csv files etc.

0 Comments
2019/08/05
16:17 UTC

4

Error writing save game Error.

This error pops up as soon as i use any map mods. any help? the error isnt very descriptive....

0 Comments
2019/07/28
01:14 UTC

10

What does this mean?

  1. Load up Generator
  2. Click "Load a previously created map"
  3. Click a saved map
  4. Name the Saved map
  5. No Options show up (Is that supposed to happen?)
  6. Click Generate

THIS ******* THING SHOWS UP

>:(

  1. Click continue
  2. Nothing happens
  3. Click generate again
  4. Nothing happens

What do I do?

3 Comments
2019/07/17
07:38 UTC

6

Any video tutorials?

I can't understand

  1. Load the tool, and set the Crusader Kings 2 main game folder in the dialog.

So I was wondering if anyone made a step-by-step tutorial out there...

7 Comments
2019/07/06
07:41 UTC

5

Does this work??

Does this mod work anymore with the latest update?? Because maps I gen it just CTDS soon as loading up the game.

3 Comments
2019/06/23
13:02 UTC

6

Every time I try to launch the application, it says it's missing required files. How do I fix this?

2 Comments
2019/06/18
20:08 UTC

5

i want to edit the names of the provinces

Hi, how can I quickly change the names of the provinces?

4 Comments
2019/06/08
00:57 UTC

17

Does anyone know why it does this when I try to generate a map?

5 Comments
2019/05/30
03:24 UTC

11

Any tips for height maps?

I'm trying (with any luck) to create some custom maps of Hawaii for a modding project I'd like to work on. I managed to find some 8-bit maps after reading a comment here and can get as far as actually creating the mod when I get the Parameter name: Index error.

Mod looks like its been exported to mod folder for CK2 but doesn't pop up when I start the game. Any tips?

1 Comment
2019/05/21
01:44 UTC

9

History Generator Stuck In Pre-History

Hi all.

When I press Start on the Generate tab to create history for my map, it gets stuck in the pre-history phase and will not do anything. I have tried with multiple versions of the tool and with multiple maps including vanilla and it still will not work.

Any ideas?

6 Comments
2019/05/15
22:38 UTC

74

Reminder that you can use Songs of the Eons to generate a heightmap, then import it to CK2Generator

11 Comments
2019/05/09
20:26 UTC

10

Drawn maps not generating history correctly?

So when I try to load up a drawn map that I've created it will work fine, until I try to use the history generator to make it a full mod at which it crashes and says something about the sequence containing no elements?

7 Comments
2019/05/05
15:19 UTC

9

Is the mod broken

When I start up the game, go to the scenario editor and hit randomize the game CTDs, is everyone having that problem? Is it just me? Is something wrong with the maps themselves?

5 Comments
2019/05/03
07:13 UTC

14

Any chance for an update with more options?

Or is the "history maker" now history itself? SAD...

4 Comments
2019/04/29
20:47 UTC

6

CTD when editing terain.bmp file

as the title says, I have edited the terrain.bmp file using paint.net however it is now ctd, this is the only thing that I have changed does anyone have any ideas on what is the problem?

5 Comments
2019/04/22
20:39 UTC

11

Religious Head Titles

I cant figure this out, but is anyone having problems with titles being created when you reform a religion (Holy Fury) - As in you do receive a temporal title, or no religious head is selected.

10 Comments
2019/04/19
05:53 UTC

7

Rivers

Is there any way to make sure your world has rivers? The water option doesn't seem to have any rivers and attempting to use it would give me channels instead

1 Comment
2019/04/07
10:03 UTC

8

Any updates?

So ck2+ just got released and theres the 3.1 update too, is there any plans for a ck2+ compatibility patch or at least an improvements update?

EDIT : Is there a github for the latest update?

4 Comments
2019/04/04
14:17 UTC

8

Unhandled exception has occurred in your application.

"Index was out of range. Must be non-negative and less than the size of the collection". Been having that error after the Generate Mod prompt. What is causing this? Alternatively, can someone who has gotten this tool work please generate a mod for me based off this heightmap?

0 Comments
2019/04/02
22:14 UTC

5

Province ID

I found the definition file with I assume provinces ID for the custom map, but there's no reference towards name.

I feel like there should be an easier way for finding out provinces ID since it's something the game clearly knows from somewhere.

Any tips?

0 Comments
2019/04/01
15:01 UTC

10

How can the generator work for a megacampaign?

Exactly as it says on the tin. I have a friend of mine preparing a megacampaign with a shattered world and I was thinking: "Hmmmmm. How can I keep the map generated by this software consistent across all four games?". Just wondering.

6 Comments
2019/03/29
01:57 UTC

Back To Top