• 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.
Province count: This is tricky, the algorithm for making the cells can only really go for a certain number of provinces, then throw out a huge chunk of them, meaning the final amount of provinces are unknowable. I can probably balance lowest province count to be lower, but specifying a number is not something I could do without major rewrite of the cellular code.
This would be nice. Or maybe a box where user can put it the approximate number of province they want could work too.
Aspect ratio: Will look into this, but bear in mind that due to the CK2 map frames, really I need to stick to 2048 height, so all I could do really is shrink the heightmap to fit into 2048 height and keep the width ratio proportionate and fill left + right with sea if its not wide enough after resizing.
May be discard the frame if the input does not match the frame ratio? I know some popular mods does not use frame for their map.
 
The spikiness is what the relief scale controls. I'm not sure how to know where that should be set based on a given heightmap. I found I had to just go trial-and-error, letting a bunch of maps be generated with different relief scales until I got one that had mountains, but wasn't a world built on the back of a hedgehog. Probably you want to keep that below 50.
I've been using a relief scale of 35.
 
Province count: This is tricky, the algorithm for making the cells can only really go for a certain number of provinces, then throw out a huge chunk of them, meaning the final amount of provinces are unknowable. I can probably balance lowest province count to be lower, but specifying a number is not something I could do without major rewrite of the cellular code.

Aspect ratio: Will look into this, but bear in mind that due to the CK2 map frames, really I need to stick to 2048 height, so all I could do really is shrink the heightmap to fit into 2048 height and keep the width ratio proportionate and fill left + right with sea if its not wide enough after resizing.

There is a code for a color to make some places impassable?, like wastelands for heighmaps or something like that?
 
Uhh...
LGUHjVa.jpg

yTJiDlH.jpg

I don't think this is supposed to be happening.
 
I've discovered that if you make your mountain ranges too thick, this can generate provinces completely surrounded by impassable mountain terrain. Humorously, my first Random World trapped a nomad there.
 
I've discovered that if you make your mountain ranges too thick, this can generate provinces completely surrounded by impassable mountain terrain. Humorously, my first Random World trapped a nomad there.

Thats happens in draw mode right?


Sea level 1, relief scale 35.

Its because of that, the game is playable at all with these values?

I use 10-14, or 10-17
 
Im now getting this error everytime i want to make a map:

Consulte el final de este mensaje para obtener más detalles sobre cómo invocar a la depuración
Just-In-Time (JIT) en lugar de a este cuadro de diálogo.

************** Texto de la excepción **************
System.ArgumentOutOfRangeException: La longitud no puede ser inferior a cero.
Nombre del parámetro: length
en System.String.Substring(Int32 startIndex, Int32 length)
en CrusaderKingsStoryGen.ScriptLoader.DoLine(Script script, String line) en C:\ck2gen-master\CrusaderKingsStoryGen\ScriptLoader.cs:línea 1179
en CrusaderKingsStoryGen.ScriptLoader.DoLinesFromTokens(List`1 tokens, Script script) en C:\ck2gen-master\CrusaderKingsStoryGen\ScriptLoader.cs:línea 1074
en CrusaderKingsStoryGen.ScriptLoader.LoadKey(String key) en C:\ck2gen-master\CrusaderKingsStoryGen\ScriptLoader.cs:línea 1141
en CrusaderKingsStoryGen.CultureManager.LoadVanilla() en C:\ck2gen-master\CrusaderKingsStoryGen\CultureManager.cs:línea 1328
en CrusaderKingsStoryGen.Simulation.SimulationManager.Init() en C:\ck2gen-master\CrusaderKingsStoryGen\Simulation\SimulationManager.cs:línea 34
en CrusaderKingsStoryGen.MapManager.Load(BackgroundWorker worker) en C:\ck2gen-master\CrusaderKingsStoryGen\MapManager.cs:línea 439
en CrusaderKingsStoryGen.WizardDialogs.ModCreationOptions.LoadFiles(BackgroundWorker worker) en C:\ck2gen-master\CrusaderKingsStoryGen\WizardDialogs\ModCreationOptions.cs:línea 404
en CrusaderKingsStoryGen.WizardDialogs.ModCreationOptions.Reset() en C:\ck2gen-master\CrusaderKingsStoryGen\WizardDialogs\ModCreationOptions.cs:línea 83
en CrusaderKingsStoryGen.WizardDialogs.ModCreationOptions.button1_Click(Object sender, EventArgs e) en C:\ck2gen-master\CrusaderKingsStoryGen\WizardDialogs\ModCreationOptions.cs:línea 440
en System.Windows.Forms.Control.OnClick(EventArgs e)
en System.Windows.Forms.Button.OnClick(EventArgs e)
en System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
en System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
en System.Windows.Forms.Control.WndProc(Message& m)
en System.Windows.Forms.ButtonBase.WndProc(Message& m)
en System.Windows.Forms.Button.WndProc(Message& m)
en System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
en System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
en System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Ensamblados cargados **************
mscorlib
Versión del ensamblado: 4.0.0.0
Versión Win32: 4.7.3221.0 built by: NET472REL1LAST_C
Código base: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
CrusaderKingsStoryGen
Versión del ensamblado: 1.0.0.0
Versión Win32: 1.0.0.0
Código base: file:///C:/Users/Antonio/Desktop/mapp/CrusaderKingsStoryGen.exe
----------------------------------------
System.Windows.Forms
Versión del ensamblado: 4.0.0.0
Versión Win32: 4.7.3221.0 built by: NET472REL1LAST_C
Código base: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Versión del ensamblado: 4.0.0.0
Versión Win32: 4.7.3190.0 built by: NET472REL1LAST_C
Código base: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Versión del ensamblado: 4.0.0.0
Versión Win32: 4.7.3056.0 built by: NET472REL1
Código base: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Configuration
Versión del ensamblado: 4.0.0.0
Versión Win32: 4.7.3056.0 built by: NET472REL1
Código base: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Core
Versión del ensamblado: 4.0.0.0
Versión Win32: 4.7.3221.0 built by: NET472REL1LAST_C
Código base: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Xml
Versión del ensamblado: 4.0.0.0
Versión Win32: 4.7.3056.0 built by: NET472REL1
Código base: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
LibNoise
Versión del ensamblado: 1.0.0.0
Versión Win32: 1.0.0.0
Código base: file:///C:/Users/Antonio/Desktop/mapp/LibNoise.DLL
----------------------------------------
DevIL.NET2
Versión del ensamblado: 1.1.2619.31671
Versión Win32:
Código base: file:///C:/Users/Antonio/Desktop/mapp/DevIL.NET2.DLL
----------------------------------------
msvcm80
Versión del ensamblado: 8.0.50727.9445
Versión Win32: 8.00.50727.9445
Código base: file:///C:/WINDOWS/WinSxS/x86_microsoft.vc80.crt_1fc8b3b9a1e18e3b_8.0.50727.9445_none_d08c58b4442ba54f/msvcm80.dll
----------------------------------------
mscorlib.resources
Versión del ensamblado: 4.0.0.0
Versión Win32: 4.7.3056.0 built by: NET472REL1
Código base: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/mscorlib.resources/v4.0_4.0.0.0_es_b77a5c561934e089/mscorlib.resources.dll
----------------------------------------
System.Drawing.resources
Versión del ensamblado: 4.0.0.0
Versión Win32: 4.7.3056.0 built by: NET472REL1
Código base: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing.resources/v4.0_4.0.0.0_es_b03f5f7f11d50a3a/System.Drawing.resources.dll
----------------------------------------
System.Windows.Forms.resources
Versión del ensamblado: 4.0.0.0
Versión Win32: 4.7.3056.0 built by: NET472REL1
Código base: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms.resources/v4.0_4.0.0.0_es_b77a5c561934e089/System.Windows.Forms.resources.dll
----------------------------------------

************** Depuración JIT **************
Para habilitar la depuración Just In Time (JIT), el archivo de configuración de esta
aplicación o equipo (machine.config) debe tener el
valor jitDebugging establecido en la sección system.windows.forms.
La aplicación también se debe compilar con la depuración
habilitada

Por ejemplo:

<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>

Cuando esté habilitada la depuración JIT, cualquier excepción no controlada
se enviará al depurador JIT registrado en el equipo
en lugar de controlarlo mediante el cuadro de diálogo.

This can happen with normally generated world too.

How, there is a color code or something to make impassable land? I use heighmaps to generate them.
 
Last edited:
Thanks for the awesome mod. I generated a few maps and it worked great, but I've had some issues generating maps with the very high province count setting when the drawing doesn't have a lot of land. So it would be nice to be able to save map drawings and be able to generate them with different options. I don't know if this would be too much, but whatever the case keep up the great work and I hope that game you're making turns out great as well.
 
I create the map, but the mod creation always fails now, i think that something has to do with windows, because this tool began to fail after an actualization.

I tried (always with heightmaps):

1.- Deleting the tool and re-downloading it.
2.- Using system restore to the oldest system restore point.
3.- Using other maps
4.- Uninstalling CK2 and reinstalling it
5.- Using another computer with better specs. (hey my computed is good!)


Im lucky i have five computers at home, because "5" worked.

Damn you windows! damn you!!!

So, the problem with the tool must relate to drivers or computer specs.
 
Did anyone find a way to deal with the trade map mode crash? I can't play a nice republic with a bunch of islands I made in the draw tool. I think i'm going to try having a lower province count.