• 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.
Nope i didn't (I know you told me once by PM how to properly set it up, but the conversation was lost in the forum port I think).

Anyway, I've set moddirectory2 to the intended mod folder, and now the error is slightly different:

Code:
C:\Users\usuario\Documents\Paradox Interactive\Crusader Kings II\mod\Dark Mediev
al\CK2Tools-v18>java -Xmx256m -cp CK2Tools.jar kld.ck2tools.mapfiller_inverse.Re
verseMapFiller
java.io.FileNotFoundException: C:\Users\usuario\Documents\Paradox Interactive\Cr
usader Kings II\modDark Medieval\map\definition.csv (El sistema no puede encontr
ar la ruta especificada)
        at java.io.FileInputStream.open0(Native Method)
        at java.io.FileInputStream.open(Unknown Source)
        at java.io.FileInputStream.<init>(Unknown Source)
        at java.io.FileReader.<init>(Unknown Source)
        at kld.ck2tools.mapfiller_inverse.ReverseMapFiller.loadProvinces(Reverse
MapFiller.java:306)
        at kld.ck2tools.mapfiller_inverse.ReverseMapFiller.execute(ReverseMapFil
ler.java:80)
        at kld.ck2tools.mapfiller_inverse.ReverseMapFiller.main(ReverseMapFiller
.java:52)
java.io.FileNotFoundException: C:\Users\usuario\Documents\Paradox Interactive\Cr
usader Kings II\modDark Medieval\map\default.map (El sistema no puede encontrar
la ruta especificada)
        at java.io.FileInputStream.open0(Native Method)
        at java.io.FileInputStream.open(Unknown Source)
        at java.io.FileInputStream.<init>(Unknown Source)
        at java.io.FileReader.<init>(Unknown Source)
        at kld.ck2tools.mapfiller_inverse.ReverseMapFiller.loadDefaultMap(Revers
eMapFiller.java:281)
        at kld.ck2tools.mapfiller_inverse.ReverseMapFiller.execute(ReverseMapFil
ler.java:90)
        at kld.ck2tools.mapfiller_inverse.ReverseMapFiller.main(ReverseMapFiller
.java:52)
Exception in thread "main" java.lang.NullPointerException
        at kld.ck2tools.mapfiller_inverse.ReverseMapFiller.execute(ReverseMapFil
ler.java:92)
        at kld.ck2tools.mapfiller_inverse.ReverseMapFiller.main(ReverseMapFiller
.java:52)

C:\Users\usuario\Documents\Paradox Interactive\Crusader Kings II\mod\Dark Mediev
al\CK2Tools-v18>pause
Presione una tecla para continuar . . .

IWhat else do I need to do?
 
...Kings II\modDark Medie... is clearly missing a \ after "mod"

Damn typos!

Sorry to bother again, but after fixing that i get this

Code:
Medieval\common\landed_titles\Republics.txt
Parse C:\Users\usuario\Documents\Paradox Interactive\Crusader Kings II\mod\Dark
Medieval\common\landed_titles\saxonengland.txt
Parse C:\Users\usuario\Documents\Paradox Interactive\Crusader Kings II\mod\Dark
Medieval\common\landed_titles\Shia.txt
Not found: assimilate on class kld.ck2tools.mapfiller_inverse.beans.titles.Kingd
om
Parse C:\Users\usuario\Documents\Paradox Interactive\Crusader Kings II\mod\Dark
Medieval\common\landed_titles\stemduchies_titles.txt
Parse C:\Users\usuario\Documents\Paradox Interactive\Crusader Kings II\mod\Dark
Medieval\common\landed_titles\Sunni.txt
Parse C:\Users\usuario\Documents\Paradox Interactive\Crusader Kings II\mod\Dark
Medieval\common\landed_titles\swmh_landed_titles.txt
Not found: norse_pagan_reformed on class kld.ck2tools.mapfiller_inverse.beans.ti
tles.Kingdom
Not found: norse_pagan_reformed on class kld.ck2tools.mapfiller_inverse.beans.ti
tles.Kingdom
Not found: used_for_dynasty_names on class kld.ck2tools.mapfiller_inverse.beans.
titles.Barony
Not found: norse_pagan_reformed on class kld.ck2tools.mapfiller_inverse.beans.ti
tles.Kingdom
Not found: slavic_pagan_reformed on class kld.ck2tools.mapfiller_inverse.beans.t
itles.Kingdom
Not found: baltic_pagan_reformed on class kld.ck2tools.mapfiller_inverse.beans.t
itles.Kingdom
Not found: slavic_pagan_reformed on class kld.ck2tools.mapfiller_inverse.beans.t
itles.Kingdom
Not found: slavic_pagan_reformed on class kld.ck2tools.mapfiller_inverse.beans.t
itles.Kingdom
Not found: purple_born_heirs on class kld.ck2tools.mapfiller_inverse.beans.title
s.Empire
Not found: duchy_revokation on class kld.ck2tools.mapfiller_inverse.beans.titles
.Empire
Not found: has_top_de_jure_capital on class kld.ck2tools.mapfiller_inverse.beans
.titles.Empire
Not found: purple_born_heirs on class kld.ck2tools.mapfiller_inverse.beans.title
s.Empire
Not found: zoroastrian_group on class kld.ck2tools.mapfiller_inverse.beans.title
s.Kingdom
Not found: sunni on class kld.ck2tools.mapfiller_inverse.beans.titles.Duchy
Not found: shiite on class kld.ck2tools.mapfiller_inverse.beans.titles.Duchy
Not found: sunni on class kld.ck2tools.mapfiller_inverse.beans.titles.County
Not found: shiite on class kld.ck2tools.mapfiller_inverse.beans.titles.County
Not found: top_de_jure_capital on class kld.ck2tools.mapfiller_inverse.beans.tit
les.County
Not found: pentarchy on class kld.ck2tools.mapfiller_inverse.beans.titles.Barony

Not found: muslim on class kld.ck2tools.mapfiller_inverse.beans.titles.Kingdom
Not found: muslim on class kld.ck2tools.mapfiller_inverse.beans.titles.Kingdom
Not found: muslim on class kld.ck2tools.mapfiller_inverse.beans.titles.Kingdom
Not found: muslim on class kld.ck2tools.mapfiller_inverse.beans.titles.Kingdom
Not found: muslim on class kld.ck2tools.mapfiller_inverse.beans.titles.Kingdom
Not found: muslim on class kld.ck2tools.mapfiller_inverse.beans.titles.Kingdom
Not found: muslim on class kld.ck2tools.mapfiller_inverse.beans.titles.Kingdom
Not found: muslim on class kld.ck2tools.mapfiller_inverse.beans.titles.Kingdom
Not found: muslim on class kld.ck2tools.mapfiller_inverse.beans.titles.Kingdom
Not found: muslim on class kld.ck2tools.mapfiller_inverse.beans.titles.Kingdom
Not found: muslim on class kld.ck2tools.mapfiller_inverse.beans.titles.Kingdom
Not found: norse_pagan_reformed on class kld.ck2tools.mapfiller_inverse.beans.ti
tles.Kingdom
Not found: norse_pagan_reformed on class kld.ck2tools.mapfiller_inverse.beans.ti
tles.Kingdom
Not found: norse_pagan_reformed on class kld.ck2tools.mapfiller_inverse.beans.ti
tles.Kingdom
Not found: norse_pagan_reformed on class kld.ck2tools.mapfiller_inverse.beans.ti
tles.Duchy
Not found: slavic_pagan_reformed on class kld.ck2tools.mapfiller_inverse.beans.t
itles.Kingdom
Not found: baltic_pagan_reformed on class kld.ck2tools.mapfiller_inverse.beans.t
itles.Kingdom
Not found: tengri_pagan_reformed on class kld.ck2tools.mapfiller_inverse.beans.t
itles.Kingdom
Not found: finnish_pagan_reformed on class kld.ck2tools.mapfiller_inverse.beans.
titles.Kingdom
Not found: slavic_pagan_reformed on class kld.ck2tools.mapfiller_inverse.beans.t
itles.Kingdom
Not found: baltic_pagan_reformed on class kld.ck2tools.mapfiller_inverse.beans.t
itles.Kingdom
Not found: finnish_pagan_reformed on class kld.ck2tools.mapfiller_inverse.beans.
titles.Kingdom
Not found: slavic_pagan_reformed on class kld.ck2tools.mapfiller_inverse.beans.t
itles.Kingdom
Not found: baltic_pagan_reformed on class kld.ck2tools.mapfiller_inverse.beans.t
itles.Kingdom
Not found: tengri_pagan_reformed on class kld.ck2tools.mapfiller_inverse.beans.t
itles.Kingdom
Not found: finnish_pagan_reformed on class kld.ck2tools.mapfiller_inverse.beans.
titles.Kingdom
Not found: slavic_pagan_reformed on class kld.ck2tools.mapfiller_inverse.beans.t
itles.Kingdom
Not found: baltic_pagan_reformed on class kld.ck2tools.mapfiller_inverse.beans.t
itles.Kingdom
Not found: muslim on class kld.ck2tools.mapfiller_inverse.beans.titles.Kingdom
Not found: muslim on class kld.ck2tools.mapfiller_inverse.beans.titles.Kingdom
Not found: muslim on class kld.ck2tools.mapfiller_inverse.beans.titles.Kingdom
Not found: muslim on class kld.ck2tools.mapfiller_inverse.beans.titles.Kingdom
Not found: muslim on class kld.ck2tools.mapfiller_inverse.beans.titles.Duchy
Not found: muslim on class kld.ck2tools.mapfiller_inverse.beans.titles.County
Not found: muslim on class kld.ck2tools.mapfiller_inverse.beans.titles.County
Not found: muslim on class kld.ck2tools.mapfiller_inverse.beans.titles.Kingdom
Not found: pentarchy on class kld.ck2tools.mapfiller_inverse.beans.titles.Barony

Not found: muslim on class kld.ck2tools.mapfiller_inverse.beans.titles.Kingdom
Not found: muslim on class kld.ck2tools.mapfiller_inverse.beans.titles.Kingdom
Not found: muslim on class kld.ck2tools.mapfiller_inverse.beans.titles.Kingdom
Not found: muslim on class kld.ck2tools.mapfiller_inverse.beans.titles.Kingdom
Not found: muslim on class kld.ck2tools.mapfiller_inverse.beans.titles.Duchy
Not found: christian on class kld.ck2tools.mapfiller_inverse.beans.titles.Kingdo
m
Not found: christian on class kld.ck2tools.mapfiller_inverse.beans.titles.Kingdo
m
Not found: christian on class kld.ck2tools.mapfiller_inverse.beans.titles.Duchy
Not found: christian on class kld.ck2tools.mapfiller_inverse.beans.titles.Duchy
Not found: christian on class kld.ck2tools.mapfiller_inverse.beans.titles.County

Not found: pentarchy on class kld.ck2tools.mapfiller_inverse.beans.titles.Barony

Not found: used_for_dynasty_names on class kld.ck2tools.mapfiller_inverse.beans.
titles.Barony
Not found: christian on class kld.ck2tools.mapfiller_inverse.beans.titles.Kingdo
m
Not found: muslim on class kld.ck2tools.mapfiller_inverse.beans.titles.Kingdom
Not found: christian on class kld.ck2tools.mapfiller_inverse.beans.titles.Duchy
Not found: muslim on class kld.ck2tools.mapfiller_inverse.beans.titles.Duchy
Not found: christian on class kld.ck2tools.mapfiller_inverse.beans.titles.Kingdo
m
Not found: used_for_dynasty_names on class kld.ck2tools.mapfiller_inverse.beans.
titles.Barony
Not found: sunni on class kld.ck2tools.mapfiller_inverse.beans.titles.Kingdom
Not found: sunni on class kld.ck2tools.mapfiller_inverse.beans.titles.Kingdom
Not found: sunni on class kld.ck2tools.mapfiller_inverse.beans.titles.Kingdom
Not found: sunni on class kld.ck2tools.mapfiller_inverse.beans.titles.Kingdom
Not found: sunni on class kld.ck2tools.mapfiller_inverse.beans.titles.Kingdom
Not found: muslim on class kld.ck2tools.mapfiller_inverse.beans.titles.Kingdom
Not found: muslim on class kld.ck2tools.mapfiller_inverse.beans.titles.Kingdom
Not found: muslim on class kld.ck2tools.mapfiller_inverse.beans.titles.Kingdom
Not found: muslim on class kld.ck2tools.mapfiller_inverse.beans.titles.Kingdom
Not found: muslim on class kld.ck2tools.mapfiller_inverse.beans.titles.Kingdom
Not found: zoroastrian_group on class kld.ck2tools.mapfiller_inverse.beans.title
s.Kingdom
Not found: zoroastrian on class kld.ck2tools.mapfiller_inverse.beans.titles.King
dom
Not found: muslim on class kld.ck2tools.mapfiller_inverse.beans.titles.Kingdom
Not found: muslim on class kld.ck2tools.mapfiller_inverse.beans.titles.Kingdom
Not found: zoroastrian on class kld.ck2tools.mapfiller_inverse.beans.titles.King
dom
Not found: muslim on class kld.ck2tools.mapfiller_inverse.beans.titles.Kingdom
Not found: zoroastrian on class kld.ck2tools.mapfiller_inverse.beans.titles.King
dom
Not found: muslim on class kld.ck2tools.mapfiller_inverse.beans.titles.Kingdom
Not found: zoroastrian on class kld.ck2tools.mapfiller_inverse.beans.titles.King
dom
Not found: muslim on class kld.ck2tools.mapfiller_inverse.beans.titles.Kingdom
Not found: zoroastrian on class kld.ck2tools.mapfiller_inverse.beans.titles.King
dom
Not found: muslim on class kld.ck2tools.mapfiller_inverse.beans.titles.Kingdom
Not found: assimilate on class kld.ck2tools.mapfiller_inverse.beans.titles.Kingd
om
Not found: christian on class kld.ck2tools.mapfiller_inverse.beans.titles.Kingdo
m
Not found: muslim on class kld.ck2tools.mapfiller_inverse.beans.titles.Kingdom
Not found: christian on class kld.ck2tools.mapfiller_inverse.beans.titles.Duchy
Not found: muslim on class kld.ck2tools.mapfiller_inverse.beans.titles.Duchy
Not found: christian on class kld.ck2tools.mapfiller_inverse.beans.titles.County

Not found: muslim on class kld.ck2tools.mapfiller_inverse.beans.titles.County
Not found: pentarchy on class kld.ck2tools.mapfiller_inverse.beans.titles.Barony

Not found: muslim on class kld.ck2tools.mapfiller_inverse.beans.titles.Kingdom
Not found: christian on class kld.ck2tools.mapfiller_inverse.beans.titles.Duchy
Not found: muslim on class kld.ck2tools.mapfiller_inverse.beans.titles.Duchy
Not found: pentarchy on class kld.ck2tools.mapfiller_inverse.beans.titles.Barony

Not found: muslim on class kld.ck2tools.mapfiller_inverse.beans.titles.Kingdom
Not found: muslim on class kld.ck2tools.mapfiller_inverse.beans.titles.Kingdom
Not found: slavic_pagan_reformed on class kld.ck2tools.mapfiller_inverse.beans.t
itles.Kingdom
Not found: norse_pagan_reformed on class kld.ck2tools.mapfiller_inverse.beans.ti
tles.Kingdom
Not found: baltic_pagan_reformed on class kld.ck2tools.mapfiller_inverse.beans.t
itles.Kingdom
Not found: slavic_pagan_reformed on class kld.ck2tools.mapfiller_inverse.beans.t
itles.Kingdom
Not found: baltic_pagan_reformed on class kld.ck2tools.mapfiller_inverse.beans.t
itles.Kingdom
Not found: finnish_pagan_reformed on class kld.ck2tools.mapfiller_inverse.beans.
titles.Kingdom
Not found: tengri_pagan_reformed on class kld.ck2tools.mapfiller_inverse.beans.t
itles.Kingdom
Not found: muslim on class kld.ck2tools.mapfiller_inverse.beans.titles.Kingdom
Not found: tengri_pagan_reformed on class kld.ck2tools.mapfiller_inverse.beans.t
itles.Kingdom
Not found: tengri_pagan_reformed on class kld.ck2tools.mapfiller_inverse.beans.t
itles.Kingdom
Not found: muslim on class kld.ck2tools.mapfiller_inverse.beans.titles.Kingdom
Not found: tengri_pagan_reformed on class kld.ck2tools.mapfiller_inverse.beans.t
itles.Kingdom
Not found: muslim on class kld.ck2tools.mapfiller_inverse.beans.titles.Kingdom
Not found: finnish_pagan_reformed on class kld.ck2tools.mapfiller_inverse.beans.
titles.Kingdom
Not found: slavic_pagan_reformed on class kld.ck2tools.mapfiller_inverse.beans.t
itles.Kingdom
Not found: tengri_pagan_reformed on class kld.ck2tools.mapfiller_inverse.beans.t
itles.Kingdom
Not found: muslim on class kld.ck2tools.mapfiller_inverse.beans.titles.Kingdom
Not found: finnish_pagan_reformed on class kld.ck2tools.mapfiller_inverse.beans.
titles.Kingdom
Not found: norse_pagan_reformed on class kld.ck2tools.mapfiller_inverse.beans.ti
tles.Kingdom
Not found: finnish_pagan_reformed on class kld.ck2tools.mapfiller_inverse.beans.
titles.Kingdom
Not found: slavic_pagan_reformed on class kld.ck2tools.mapfiller_inverse.beans.t
itles.Kingdom
Not found: tengri_pagan_reformed on class kld.ck2tools.mapfiller_inverse.beans.t
itles.Kingdom
Not found: finnish_pagan_reformed on class kld.ck2tools.mapfiller_inverse.beans.
titles.Kingdom
Not found: tengri_pagan_reformed on class kld.ck2tools.mapfiller_inverse.beans.t
itles.Kingdom
Parse C:\Users\usuario\Documents\Paradox Interactive\Crusader Kings II\mod\Dark
Medieval\common\landed_titles\titular_titles.txt
Parse C:\Users\usuario\Documents\Paradox Interactive\Crusader Kings II\mod\Dark
Medieval\common\landed_titles\unfuckinbelivable.txt
couldn't be parsed: 14114;121;20;240;;;;;;;
couldn't be parsed: ;50;14;248;x;x;;;;;
couldn't be parsed: ;51;14;232;x;x;;;;;
couldn't be parsed: ;52;14;236;x;x;;;;;
couldn't be parsed: ;53;14;240;x;x;;;;;
couldn't be parsed: ;54;14;244;x;x;;;;;
couldn't be parsed: ;55;14;248;x;x;;;;;
couldn't be parsed: ;56;14;232;x;x;;;;;
couldn't be parsed: ;57;14;236;x;x;;;;;
couldn't be parsed: ;58;14;240;x;x;;;;;
couldn't be parsed: ;59;14;244;x;x;;;;;
couldn't be parsed: ;60;14;248;x;x;;;;;
couldn't be parsed: ;61;14;232;x;x;;;;;
couldn't be parsed: ;62;14;236;x;x;;;;;
couldn't be parsed: ;63;14;240;x;x;;;;;
couldn't be parsed: ;64;14;244;x;x;;;;;
couldn't be parsed: ;65;14;248;x;x;;;;;
couldn't be parsed: ;66;14;232;x;x;;;;;
couldn't be parsed: ;67;14;236;x;x;;;;;
couldn't be parsed: ;68;14;240;x;x;;;;;
couldn't be parsed: ;69;14;244;x;x;;;;;
couldn't be parsed: ;70;14;248;x;x;;;;;
couldn't be parsed: ;71;16;232;x;x;;;;;
couldn't be parsed: ;72;16;236;x;x;;;;;
couldn't be parsed: ;73;16;240;x;x;;;;;
couldn't be parsed: ;74;16;244;x;x;;;;;
couldn't be parsed: ;75;16;248;x;x;;;;;
couldn't be parsed: ;76;16;232;x;x;;;;;
couldn't be parsed: ;77;16;236;x;x;;;;;
couldn't be parsed: ;78;16;240;x;x;;;;;
couldn't be parsed: ;79;16;244;x;x;;;;;
couldn't be parsed: ;80;16;248;x;x;;;;;
couldn't be parsed: ;81;16;232;x;x;;;;;
couldn't be parsed: ;82;16;236;x;x;;;;;
couldn't be parsed: ;83;16;240;x;x;;;;;
couldn't be parsed: ;84;16;244;x;x;;;;;
couldn't be parsed: ;85;16;248;x;x;;;;;
couldn't be parsed: ;86;16;232;x;x;;;;;
couldn't be parsed: ;87;16;236;x;x;;;;;
couldn't be parsed: ;88;16;240;x;x;;;;;
couldn't be parsed: ;89;16;244;x;x;;;;;
couldn't be parsed: ;90;16;248;x;x;;;;;
couldn't be parsed: ;91;16;232;x;x;;;;;
couldn't be parsed: ;92;16;236;x;x;;;;;
couldn't be parsed: ;93;16;240;x;x;;;;;
couldn't be parsed: ;94;16;244;x;x;;;;;
couldn't be parsed: ;95;16;248;x;x;;;;;
couldn't be parsed: ;96;16;232;x;x;;;;;
couldn't be parsed: ;97;16;236;x;x;;;;;
couldn't be parsed: ;98;16;240;x;x;;;;;
couldn't be parsed: ;99;16;244;x;x;;;;;
couldn't be parsed: ;100;16;248;x;x;;;;;
couldn't be parsed: ;101;16;232;x;x;;;;;
couldn't be parsed: ;102;16;236;x;x;;;;;
couldn't be parsed: ;103;16;240;x;x;;;;;
couldn't be parsed: ;104;16;244;x;x;;;;;
couldn't be parsed: ;105;16;248;x;x;;;;;
couldn't be parsed: ;106;16;232;x;x;;;;;
couldn't be parsed: ;107;16;236;x;x;;;;;
couldn't be parsed: ;108;16;240;x;x;;;;;
couldn't be parsed: ;109;16;244;x;x;;;;;
couldn't be parsed: ;84;102;206;x;x;;;;;
Exception in thread "main" java.lang.NumberFormatException: For input string: "1
849     1770    1850"
        at java.lang.NumberFormatException.forInputString(Unknown Source)
        at java.lang.Integer.parseInt(Unknown Source)
        at java.lang.Integer.valueOf(Unknown Source)
        at kld.ck2tools.mapfiller_inverse.DefaultMap.getRivers(DefaultMap.java:8
1)
        at kld.ck2tools.mapfiller_inverse.ReverseMapFiller.execute(ReverseMapFil
ler.java:92)
        at kld.ck2tools.mapfiller_inverse.ReverseMapFiller.main(ReverseMapFiller
.java:52)

C:\Users\usuario\Documents\Paradox Interactive\Crusader Kings II\mod\Dark Mediev
al\CK2Tools-v18>pause
Presione una tecla para continuar . . .

How can I solve this? My guess is the religion-related stuff is inofensive, but the last part about not pasing definitions seem problematic...
 
Edit: Fidding a bit with the files I now see that the exception dissapears if I comment the lines inside the major_rivers of default.map.

This is how the major_rivers clause looks like when uncommented:

Code:
major_rivers = 
{ 
    1849    1770    1850  #Svir-Andoma 
    1851    1852    1829    1853    1854 #Soyda-Sheksna
    1855 #Suda
    1856    1857 #Mologa
    1858 #Chagodoshcha
    1859    1860    1861    1862  1863    1864    1865    1866    1867    1868    1869    1870 #Volga
    1725 # Caspian Sea
    1871    1872    1873    1874    1875 # Oka
    1876    1877 # Moskva
    1878    1879 # Klyazma
    1880 # Pronya
    1881    1882    1883    1884 # Don
    1885    1886    1887 # Smolnya
    1888 # Pripjat
    1889    1890    1891    1892 # Dneiper
    1897    1898 # Desna
    1899    1900 # Sejm
    1893    1894    1895 # West Dvnia
    1896 # Lovat
    1901    1902 # Thames
    1903 # Vilaine
    1904 # Somme
    1906    1907    1908 # Seine
    1909 # Yonne
    1910    1911 # Marne
    1912    1913 # Oise
    1914 # Aisne
    1915    1916    1917 # Loire
    1918 # Vienne
    1920 # Charente
    1922 # Dordogne
    1923    1924    1925 # Garonne
    1926 # Adour
    1927 # Rhone
    1928 # Guadalquivir
    1929    1930    1931 # Rhein
    1919    1921 # Mosel
    1905 # Main
    1932    1933    1934 # Maas
    1736    1827 # Götaelven-Väneren
    1848  1936  1937 # Indus
}

Do you spot any problematic formatting that could cause the exception?

With the content of major_rivers = {} commented out, I get this output (uploaded it into a txt file. There are two main issues with it. One is the many provinces that get no id (null in the first column); the second is that the comuns are separated by a variable number of blank spaces, and that makes it very hard to turns it into a spreadsheat. Any advice with those? Thanks you agains.
 

Attachments

  • output.txt
    382,3 KB · Views: 2
Since I can't get my work to work anymore,
and weeks of searching the forums and none of the suggestions and tips from the community keeping my mod from crashing,
I decided to start from scratch yet again.
However, I can't seem to run the mapfiller tool

This is the text in the mapfiller tool:
Code:
C:\Users\Sander\Downloads\CK2Tools-v18\CK2Tools-v18>java -Xmx256m -jar CK2Tools.
jar
Exception in thread "main" java.lang.NullPointerException
        at kld.ck2tools.mapfiller.ConvertXlsToProvinces.parseLandedTitlesFiles(C
onvertXlsToProvinces.java:381)
        at kld.ck2tools.mapfiller.ConvertXlsToProvinces.preParseLandedTitles(Con
vertXlsToProvinces.java:346)
        at kld.ck2tools.mapfiller.ConvertXlsToProvinces.start(ConvertXlsToProvin
ces.java:139)
        at kld.ck2tools.mapfiller.ConvertXlsToProvinces.main(ConvertXlsToProvinc
es.java:132)

C:\Users\Sander\Downloads\CK2Tools-v18\CK2Tools-v18>pause
Press any key to continue . . .
)
 
  • 2
Reactions:
My God, modding is so strenuous; I see why people give up.

My map mod won't launch even though The Validator and the error logs with -debug -debugscripts enabled say nothing is wrong. The Validator says a bunch of errors for the vanilla files since I deleted a bunch of stuff. This is may be due to the Map Filler Tool supposedly not working as of this day (2015-12-25).

https://www.dropbox.com/sh/57uz1elpggrs7e7/AACpvYykRp2KajNi4ilMiwUba?dl=0

I followed these: https://forum.paradoxplaza.com/foru...nversion-map-modding-clans-of-ireland.801599/ and https://forum.paradoxplaza.com/foru...utorial-tool-how-to-fill-a-custom-map.697082/

Since I can't get my work to work anymore,
and weeks of searching the forums and none of the suggestions and tips from the community keeping my mod from crashing,
I decided to start from scratch yet again.
However, I can't seem to run the mapfiller tool

This is the text in the mapfiller tool:
Code:
C:\Users\Sander\Downloads\CK2Tools-v18\CK2Tools-v18>java -Xmx256m -jar CK2Tools.
jar
Exception in thread "main" java.lang.NullPointerException
at kld.ck2tools.mapfiller.ConvertXlsToProvinces.parseLandedTitlesFiles(C
onvertXlsToProvinces.java:381)
at kld.ck2tools.mapfiller.ConvertXlsToProvinces.preParseLandedTitles(Con
vertXlsToProvinces.java:346)
at kld.ck2tools.mapfiller.ConvertXlsToProvinces.start(ConvertXlsToProvin
ces.java:139)
at kld.ck2tools.mapfiller.ConvertXlsToProvinces.main(ConvertXlsToProvinc
es.java:132)

C:\Users\Sander\Downloads\CK2Tools-v18\CK2Tools-v18>pause
Press any key to continue . . .
)

Having same trouble with the Map Filler Tool as this guy, as I said above. To clarify, that's with the CK2Tools-v18. If I use CK2Tools-v17, it pops up a different error message and I'm too tired to get an image of that right now. I have error-related images on the folder I shared in Dropbox, so if I'm missing more files needed to pinpoint the exact causes of the mod's inability to launch, just tell me and I'll get a picture.

I don't know what I'm doing wrong. I started over three times already. By the way, the maps are inconsistent (Id est, only some parts are completed and it's not uniform. Exempli gratia: one continent is completed with the provinces, rivers, terrain, topography, and world_normal_height while the others don't have anything but terrain done.), maybe that's why they're not working? But apparently if it stops at "Loading Database" it has to do with the other files.

I don't want to finish the maps only to find that I need to redo them again, but if the problem is really just me half-assing everything, then I guess I'll slave more time away? I didn't have the oceans defined and some parts of the only river defined were acting as ocean connections. What I mean to say in that previous sentence is that I half-assed the water part. I think that's really the only half-assed part aside from the other continents being bare-bones. The error log and The Validator aren't registering it as a problem though, so I don't know. My map size is also 6400x4544 and apparently it's harder to make larger maps work?

Those are my theories as to why the mod isn't working. I may be forgetting some, but if someone would take a thorough look, they might come across what I've missed.

No, but seriously, if the problem is me half-assing the map due to it needing to take several hours to fill, I'll laugh it to death, lmao. I considered downsizing to the one continent I've worked extensively on, but I really want my map to work with the other continents. Man, I have a feeling this is the actual problem--needing to finish every continent.

Maybe I missed a color, files supposed to be indexed, lines supposed to be preserved, stray pixels. I'm honestly too tired.

Paradox, please make a friendlier map editor. For the love of God, I love this game. Maybe in Crusader Kings Three? If I had the patience to go through Computer Science, I'd definitely do a game similar to this for the rest of my life. If I was rich, I'd have one trillion people working on this game right now. Next update to the game better have more modding tools related to maps.

I know I've already whined, but the past three days of non-stop working and its fruitless? Talk about more discouragement from pursuing programming.

"I remember that night, I just might regret that night for the rest of my days." I don't want to give up on modding this game to this extent, but I have never been satisfied. Then again, there's a million things I haven't done but just you wait. Just you wait.
 
Ya, his new provinceDef is different from the guide.

Pretty sure he updated it but simply forgot about this. H - J are f.e. Empires, kingdoms and duchies in the new version, but in the old version the columns were G-I.
 
Hello. Working on the mod again. Got some help this time :).

Decided to start fresh and refill the map (still got the old files obviously. Does anyone know what this error means ?

C:\Users\Ölvir\Dropbox\Age of the Sturlungs (Work)\Mapfiller\CK2Tools-v18>java -Xmx256m -jar CK2Tools.jar
Exception in thread "main" java.lang.NullPointerException
at kld.ck2tools.mapfiller.ConvertXlsToProvinces.parseLandedTitlesFiles(ConvertXlsToProvinces.java:381)
at kld.ck2tools.mapfiller.ConvertXlsToProvinces.preParseLandedTitles(ConvertXlsToProvinces.java:346)
at kld.ck2tools.mapfiller.ConvertXlsToProvinces.start(ConvertXlsToProvinces.java:139)
at kld.ck2tools.mapfiller.ConvertXlsToProvinces.main(ConvertXlsToProvinces.java:132)

C:\Users\Ölvir\Dropbox\Age of the Sturlungs (Work)\Mapfiller\CK2Tools-v18>pause
Press any key to continue . . .

I also noticed I put the oceans last in provincedef, not the lakes (got no rivers), does that matter ?
 
Last edited:
There was a rather stupid bug, sorry guys :(

If you want to get somewhere with v18 you need to create common/landed_titles and put an empty file there e.g. "empty.txt"

Ah, no worries. Its an old school dummy file then :) ?

I am a bit confused though, I added in that file and the error log just got one line bigger.

C:\Users\Ölvir\Dropbox\Age of the Sturlungs (Work)\Mapfiller\CK2Tools-v18>java -Xmx256m -jar CK2Tools.jar
Parse C:\Users\Ölvir\Documents\Paradox Interactive\Crusader Kings II\mod\Age of the Sturlungs\common\landed_titles\empty.txt
Exception in thread "main" java.lang.NullPointerException
at kld.ck2tools.mapfiller.ConvertXlsToProvinces.parseLandedTitlesFiles(ConvertXlsToProvinces.java:381)
at kld.ck2tools.mapfiller.ConvertXlsToProvinces.preParseLandedTitles(ConvertXlsToProvinces.java:346)
at kld.ck2tools.mapfiller.ConvertXlsToProvinces.start(ConvertXlsToProvinces.java:139)
at kld.ck2tools.mapfiller.ConvertXlsToProvinces.main(ConvertXlsToProvinces.java:132)

C:\Users\Ölvir\Dropbox\Age of the Sturlungs (Work)\Mapfiller\CK2Tools-v18>pause
Press any key to continue . . .
 
One last thing to try: use a dummy file that is called "01_landed_titles.txt"

Unfortunetly this doesn't work for me. I get the same error every time I try to run it, with 0-2 extra lines, depending on how many dummy files I use (none, either "empty" or "01_landed_titles" or both). Thanks again though :).

Do these fixes work for others ?

I doubt it matters where the folder is, as long as I input the right path in the config file, right ? I only ask since I saw you changed your default path (so no longer Paradox interactive/mod/[Mod Name]).
 
Could you please re-download from the same link and try again? I published a small fix-release (not mentioned in the OP) that hopefully fixes your problem. Not thoroughly tested, though.

Ah, the mapfiller runs now :D. Thanks a lot :).

The mod doesn't run (yet), but thats probably my fault. I noticed an error in my definition file though, will fix it and refill and such :).