• 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.

unmerged(45086)

Corporal
Jun 5, 2005
38
0
Yeah, but I didn't understand a single thing of it... LIke I said, I'm a total, complete and utter noob when it comes to these sort of things.

EDIT: when I get to step 5, I do get a new command line, but it also open a text document, so when I close it and go on, and open the converter.class file with the prompt, a box shows up that windows doesn't recognize this type of programme
 
Last edited:

gigau

Imperare Orbis Universi
Moderator
218 Badges
May 4, 2005
43.560
8.243
47
www.twitch.tv
  • Imperator: Rome Deluxe Edition
  • Crusader Kings III: Royal Edition
  • Europa Universalis IV: Call to arms event
  • Victoria 3 Sign Up
  • Hearts of Iron IV: Colonel
  • Stellaris: Galaxy Edition
  • 200k Club
  • 500k Club
  • Paradox Order
  • PDXCON 2017 Gold Ticket holder
  • PDXCON 2018 "The Emperor"
  • PDXCon 2019 "King"
  • PDXCon 2017 Awards Winner
frosties0258 said:
Yeah, but I didn't understand a single thing of it... LIke I said, I'm a total, complete and utter noob when it comes to these sort of things.


I'm a big computer noob myself. Do like me : print the post and make one step at a time, and put a big pencil mark after you've done it.

1/ You have two java links... download and install both on your computer (each time, chose the version for windows offline).

2/ Make sure the converter is installed and note the path (fot example C:\Program Files\Converter, where "Converter" is the name of the folder in which you put the converter)

3/ In the Start menu, click on "run", type "cmd" and press "enter".
You should have a new black window with :

Code:
Microsoft Windows XP [version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\Gilles>

type "echo %path%". If all is correct, you should get :

Code:
Microsoft Windows XP [version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\Gilles>echo %path%
C:\Program Files\Java\jdk1.5.0_07\bin

C:\Documents and Settings\Gilles>

If you don't get the line "C:\Program Files\Java\jdk1.5.0_07\bin" but something else... then close the cmd window, and go in
> start menu
> control panel
> system
> advanced
> environment variables

Among the variables, you should see "Path". Highlight it and click on "Edit".
Type "C:\Program Files\Java\jdk1.5.0_07\bin".
Restart the command prompt window (you must have closed the previous one). And reverify with the command "echo %path%".

4/ Lead the command prompt to your converter file. That means that you must tell him where to find it. If the folder is in c:\Program Files\Converter, in the command prompt, type "cd c:\program files\converter".
Example :
Code:
Microsoft Windows XP [version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\Gilles>cd c:\program files\converter

C:\Program Files\Converter>

type the following line : "javac -cp . *.java". Like in the example, you should just get a new command line :

Code:
C:\Program Files\Converter>javac -cp . *.java

C:\Program Files\Converter>

If this is what you get, then your converter is ready to go.
Each time, you will use the converter, start a command prompt window. Lead the prompt to your converter folder. And type the following kind of command line :
Code:
java -cp . Converter [ck save filename] [eu2 scenario filename].

If you want it to select the save game in the CK save folder and to put the converted game in the EU2 scenario folder, type a line like this :

[code
java -cp . Converter "c:\Crusader_Kings\scenarios\save games\Duchy of Apulia_1292_June_8.eug" "c:\Europa_Universalis_2\Scenarios\Apulia-1292-test.eug"
[/code]

Hope this help....
 

gigau

Imperare Orbis Universi
Moderator
218 Badges
May 4, 2005
43.560
8.243
47
www.twitch.tv
  • Imperator: Rome Deluxe Edition
  • Crusader Kings III: Royal Edition
  • Europa Universalis IV: Call to arms event
  • Victoria 3 Sign Up
  • Hearts of Iron IV: Colonel
  • Stellaris: Galaxy Edition
  • 200k Club
  • 500k Club
  • Paradox Order
  • PDXCON 2017 Gold Ticket holder
  • PDXCON 2018 "The Emperor"
  • PDXCon 2019 "King"
  • PDXCon 2017 Awards Winner
frosties0258 said:
EDIT: when I get to step 5, I do get a new command line, but it also open a text document, so when I close it and go on, and open the converter.class file with the prompt, a box shows up that windows doesn't recognize this type of programme


Ooops... that's way beyond my computer skills :eek:
 

unmerged(45086)

Corporal
Jun 5, 2005
38
0
Well, the first thing is where it has gone wrong *already*

I get this

Microsoft Windows XP [versie 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\Bart>echo %path%
C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\ati-cpanel;C:\Program
Files\ATI Technologies\ATI.ACE\;C:\Program Files\QuickTime\QTSystem\;C:\Program
Files\Java\jre1.5.0_06\bin\client\;

C:\Documents and Settings\Bart>
 

unmerged(45086)

Corporal
Jun 5, 2005
38
0
frosties0258 said:
Well, the first thing is where it has gone wrong *already*

I get this

Microsoft Windows XP [versie 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\Bart>echo %path%
C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\ati-cpanel;C:\Program
Files\ATI Technologies\ATI.ACE\;C:\Program Files\QuickTime\QTSystem\;C:\Program
Files\Java\jre1.5.0_06\bin\client\;

C:\Documents and Settings\Bart>


Ignore that ...

Now I'm up to here

Microsoft Windows XP [versie 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\Bart>echo %path%
C:\Program Files\Java\jdk1.5.0_06\bin

C:\Documents and Settings\Bart>cd c:\Converter_src

C:\Converter_src>javac -cp . *.java
javac wordt niet herkend als een interne
of externe opdracht, programma of batchbestand.

(Javac is not recognised blablabla)
 

gigau

Imperare Orbis Universi
Moderator
218 Badges
May 4, 2005
43.560
8.243
47
www.twitch.tv
  • Imperator: Rome Deluxe Edition
  • Crusader Kings III: Royal Edition
  • Europa Universalis IV: Call to arms event
  • Victoria 3 Sign Up
  • Hearts of Iron IV: Colonel
  • Stellaris: Galaxy Edition
  • 200k Club
  • 500k Club
  • Paradox Order
  • PDXCON 2017 Gold Ticket holder
  • PDXCON 2018 "The Emperor"
  • PDXCon 2019 "King"
  • PDXCon 2017 Awards Winner
frosties0258 said:
Well, the first thing is where it has gone wrong *already*

I get this

Microsoft Windows XP [versie 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\Bart>echo %path%
C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\ati-cpanel;C:\Program
Files\ATI Technologies\ATI.ACE\;C:\Program Files\QuickTime\QTSystem\;C:\Program
Files\Java\jre1.5.0_06\bin\client\;

C:\Documents and Settings\Bart>


Might not be problem. I think it's ok (thought not sure as i'm a noob too). You have the java part ("C:\Program
Files\Java\jre1.5.0_06\bin\"
 

unmerged(45086)

Corporal
Jun 5, 2005
38
0
Why does it have to be sooo complicating? :rolleyes: And what is that with the not reconising of that javac thingy?

Edit: Hmm, I installed the .7 version of that thing now, and what happens now is this

Microsoft Windows XP [versie 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\Bart>echo %path%
C:\Program Files\Java\jdk1.5.0_07\bin

C:\Documents and Settings\Bart>cd c:\converter_src

C:\Converter_src>javac -cp . *.java
Utilities.java:1: package javax.vecmath does not exist
import javax.vecmath.Vector2d;
^
Utilities.java:12: cannot find symbol
symbol : class Vector2d
location: class Utilities
public static void averageVectors (Vector2d[] thislot, Vector2d result) {
^
Utilities.java:12: cannot find symbol
symbol : class Vector2d
location: class Utilities
public static void averageVectors (Vector2d[] thislot, Vector2d result) {
^
Utilities.java:25: cannot find symbol
symbol : class Vector2d
location: class Utilities
public static double findHighestX (Vector2d[] thislot) {
^
Utilities.java:33: cannot find symbol
symbol : class Vector2d
location: class Utilities
public static double findHighestY (Vector2d[] thislot) {
^
Utilities.java:41: cannot find symbol
symbol : class Vector2d
location: class Utilities
public static double findLowestX (Vector2d[] thislot) {
^
Utilities.java:49: cannot find symbol
symbol : class Vector2d
location: class Utilities
public static double findLowestY (Vector2d[] thislot) {
^
7 errors

C:\Converter_src>
 
Last edited:

King of Men

Resident Opportunist
82 Badges
Mar 14, 2002
7.641
78
ynglingasaga.wordpress.com
  • Cities: Skylines - After Dark
  • Victoria: Revolutions
  • Semper Fi
  • Victoria 2
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • 500k Club
  • Cities: Skylines
  • Crusader Kings II: Holy Knight (pre-order)
  • Europa Universalis IV: El Dorado
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Res Publica
  • Europa Universalis IV: Cossacks
  • Crusader Kings II: Conclave
  • Europa Universalis IV: Mare Nostrum
  • Stellaris
  • Stellaris: Galaxy Edition
  • Stellaris: Galaxy Edition
  • Hearts of Iron IV Sign-up
  • Hearts of Iron IV: Cadet
  • Hearts of Iron IV: Colonel
  • Hearts of Iron IV: Field Marshal
  • Crusader Kings II: Reapers Due
  • Hearts of Iron IV: No Step Back
  • Divine Wind
  • Hearts of Iron II: Armageddon
  • Crusader Kings II
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sword of Islam
  • Deus Vult
  • Europa Universalis III
  • Arsenal of Democracy
  • Europa Universalis IV
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • For the Motherland
  • Hearts of Iron III
  • Hearts of Iron III: Their Finest Hour
  • Hearts of Iron III Collection
  • Heir to the Throne
  • Europa Universalis III Complete
Ok, go back a step. You are following the instructions for people who want to modify the converter; that's not necessary, you just want to run it, right? Now, it seems that you've fixed the problem with your PATH variable. So check that you have a file called "Converter.class" in your directory. If you don't, dl the zip from here. Now try 'java Converter myEuSave.eug'. Note that java is case-sensitive, you need to have a capital 'C' in converter.
 

unmerged(45086)

Corporal
Jun 5, 2005
38
0
I still can't get it to work though...
If I try it with the 10 steps I get the 7 errors again, I redownloaded the thing, and if I try it with just this (below) it won't work either.

Microsoft Windows XP [versie 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\Bart>echo %path%
C:\Program Files\Java\jdk1.5.0_07\bin

C:\Documents and Settings\Bart>cd c:\converter_src

C:\Converter_src>java Converter Kingdom of Ireland
Exception in thread "main" java.lang.NoClassDefFoundError: Converter

C:\Converter_src>

Edit; I'm sorry if I'm getting on someone's nerves, and I really appreciate all the help :)
 

King of Men

Resident Opportunist
82 Badges
Mar 14, 2002
7.641
78
ynglingasaga.wordpress.com
  • Cities: Skylines - After Dark
  • Victoria: Revolutions
  • Semper Fi
  • Victoria 2
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • 500k Club
  • Cities: Skylines
  • Crusader Kings II: Holy Knight (pre-order)
  • Europa Universalis IV: El Dorado
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Res Publica
  • Europa Universalis IV: Cossacks
  • Crusader Kings II: Conclave
  • Europa Universalis IV: Mare Nostrum
  • Stellaris
  • Stellaris: Galaxy Edition
  • Stellaris: Galaxy Edition
  • Hearts of Iron IV Sign-up
  • Hearts of Iron IV: Cadet
  • Hearts of Iron IV: Colonel
  • Hearts of Iron IV: Field Marshal
  • Crusader Kings II: Reapers Due
  • Hearts of Iron IV: No Step Back
  • Divine Wind
  • Hearts of Iron II: Armageddon
  • Crusader Kings II
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sword of Islam
  • Deus Vult
  • Europa Universalis III
  • Arsenal of Democracy
  • Europa Universalis IV
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • For the Motherland
  • Hearts of Iron III
  • Hearts of Iron III: Their Finest Hour
  • Hearts of Iron III Collection
  • Heir to the Throne
  • Europa Universalis III Complete
Ok, do this : While you're in your 'Converter_src" directory, type 'dir' and copy-paste the output to here. Incidentally, if your filename is Kingdom of Ireland, it should probably be in quotes like this "Kingdom of Ireland.eug", and you definitely need the .eug at the end. In fact, just type King and then hit TAB, Windows will fill in the rest for you.
 

unmerged(45086)

Corporal
Jun 5, 2005
38
0
gigau said:
I'm a big computer noob myself. Do like me : print the post and make one step at a time, and put a big pencil mark after you've done it.

1/ You have two java links... download and install both on your computer (each time, chose the version for windows offline).

2/ Make sure the converter is installed and note the path (fot example C:\Program Files\Converter, where "Converter" is the name of the folder in which you put the converter)

3/ In the Start menu, click on "run", type "cmd" and press "enter".
You should have a new black window with :

Code:
Microsoft Windows XP [version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\Gilles>

type "echo %path%". If all is correct, you should get :

Code:
Microsoft Windows XP [version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\Gilles>echo %path%
C:\Program Files\Java\jdk1.5.0_07\bin

C:\Documents and Settings\Gilles>

If you don't get the line "C:\Program Files\Java\jdk1.5.0_07\bin" but something else... then close the cmd window, and go in
> start menu
> control panel
> system
> advanced
> environment variables

Among the variables, you should see "Path". Highlight it and click on "Edit".
Type "C:\Program Files\Java\jdk1.5.0_07\bin".
Restart the command prompt window (you must have closed the previous one). And reverify with the command "echo %path%".

4/ Lead the command prompt to your converter file. That means that you must tell him where to find it. If the folder is in c:\Program Files\Converter, in the command prompt, type "cd c:\program files\converter".
Example :
Code:
Microsoft Windows XP [version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\Gilles>cd c:\program files\converter

C:\Program Files\Converter>

type the following line : "javac -cp . *.java". Like in the example, you should just get a new command line :

Code:
C:\Program Files\Converter>javac -cp . *.java

C:\Program Files\Converter>

If this is what you get, then your converter is ready to go.
Each time, you will use the converter, start a command prompt window. Lead the prompt to your converter folder. And type the following kind of command line :
Code:
java -cp . Converter [ck save filename] [eu2 scenario filename].

If you want it to select the save game in the CK save folder and to put the converted game in the EU2 scenario folder, type a line like this :

[code
java -cp . Converter "c:\Crusader_Kings\scenarios\save games\Duchy of Apulia_1292_June_8.eug" "c:\Europa_Universalis_2\Scenarios\Apulia-1292-test.eug"
[/code]

Hope this help....

I can do that one until the Javac -cp thingy, then I get the errors, just so you know..

EDIT: This is the output after the dir

Microsoft Windows XP [versie 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\Bart>echo %path%
C:\Program Files\Java\jdk1.5.0_07\bin

C:\Documents and Settings\Bart>cd c:\converter_src

C:\Converter_src>dir
Het volume in station C heeft geen naam.
Het volumenummer is BC37-910B

Map van C:\Converter_src

07/08/2006 19:17 <DIR> .
07/08/2006 19:17 <DIR> ..
08/05/2006 19:34 2.024 AIHandler.class
12/11/2005 21:40 167 aiList.txt
08/05/2006 19:34 2.052 ArrayHandler.class
29/03/2006 20:18 3.536 ArrayHandler.java
08/10/2005 13:47 7.357 basepops.txt
08/05/2006 19:34 9.605 Character.class
08/05/2006 19:34 14.119 CKprovince.class
08/05/2006 19:34 9.572 Converter.class
16/07/2006 13:10 155.072 Converter.java
21/10/2005 19:43 1.134 cots.txt
08/05/2006 19:34 13.597 Country.class
08/05/2006 19:34 2.672 Culture.class
06/10/2005 21:00 966 culture.csv
31/12/2005 15:56 36 culturechanges.txt
21/12/2005 23:56 861 cultureconversion.txt
01/10/2005 11:45 40 emperorlist
08/03/2004 10:22 752 eu2_rotw_cot.txt
20/04/2006 19:04 108.071 eu2_rotw_misc.txt
08/05/2006 19:34 22.518 EUcountry.class
08/05/2006 19:34 7.381 EUprovince.class
09/11/2005 23:36 1.444 extraProvinces.txt
08/05/2006 19:34 888 FileHandler.class
08/05/2006 19:34 2.080 Gauss.class
08/11/2005 21:36 1.212 infraLevels.txt
07/08/2006 04:38 7.079.912 Kingdom of Ireland.eug
07/08/2006 14:52 7.724.299 Kingdom of Naples_.eug
09/11/2005 22:09 1.749 knownProvinces.txt
08/05/2006 19:34 2.589 Leader.class
12/04/2006 19:37 3.061 Leader.java
02/01/2006 23:22 127 misc.txt
08/05/2006 19:34 2.567 NameHandler.class
15/10/2005 22:15 85.722 names.txt
08/05/2006 19:24 11.033 newLeaders
25/03/2006 00:44 544.482 province.csv
19/02/2006 15:39 24.775 province.txt
08/05/2006 19:34 4.951 RandomLeaders.class
08/05/2006 19:23 11.135 RandomLeaders.java
07/05/2006 18:03 40 randomleaders.txt
03/01/2006 00:22 9.024 README
08/10/2005 13:47 528 regiondefs.txt
08/05/2006 19:34 2.752 Religion.class
07/10/2005 17:30 82 religionconversion.txt
08/05/2006 19:34 1.298 RomanNumeral.class
15/10/2005 16:31 1.548 RomanNumeral.java
31/12/2005 13:21 2.326 specialreligion.txt
08/05/2006 19:34 411 StrIntDouble.class
08/05/2006 19:34 426 StrStrInt.class
04/01/2006 21:07 47.536 tagInfo.txt
09/11/2005 22:39 1.400 tags.txt
08/11/2005 20:56 3.775 techLevels.txt
08/05/2006 19:34 3.083 Utilities.class
18/12/2005 20:48 4.642 Utilities.java
52 bestand(en) 15.942.429 bytes
2 map(pen) 5.143.801.856 bytes beschikbaar

C:\Converter_src>
 

King of Men

Resident Opportunist
82 Badges
Mar 14, 2002
7.641
78
ynglingasaga.wordpress.com
  • Cities: Skylines - After Dark
  • Victoria: Revolutions
  • Semper Fi
  • Victoria 2
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • 500k Club
  • Cities: Skylines
  • Crusader Kings II: Holy Knight (pre-order)
  • Europa Universalis IV: El Dorado
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Res Publica
  • Europa Universalis IV: Cossacks
  • Crusader Kings II: Conclave
  • Europa Universalis IV: Mare Nostrum
  • Stellaris
  • Stellaris: Galaxy Edition
  • Stellaris: Galaxy Edition
  • Hearts of Iron IV Sign-up
  • Hearts of Iron IV: Cadet
  • Hearts of Iron IV: Colonel
  • Hearts of Iron IV: Field Marshal
  • Crusader Kings II: Reapers Due
  • Hearts of Iron IV: No Step Back
  • Divine Wind
  • Hearts of Iron II: Armageddon
  • Crusader Kings II
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sword of Islam
  • Deus Vult
  • Europa Universalis III
  • Arsenal of Democracy
  • Europa Universalis IV
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • For the Motherland
  • Hearts of Iron III
  • Hearts of Iron III: Their Finest Hour
  • Hearts of Iron III Collection
  • Heir to the Throne
  • Europa Universalis III Complete
Ah, I do believe I know the problem, it's the classpath. Try

java -cp . Converter "King Of Ireland.eug"

and see what happens.
 

unmerged(45086)

Corporal
Jun 5, 2005
38
0
King of Men said:
Ah, I do believe I know the problem, it's the classpath. Try

java -cp . Converter "King Of Ireland.eug"

and see what happens.

*Gasps* It's doing something alright, but ... is it doing the right thing?

Microsoft Windows XP [versie 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\Bart>echo %path%
C:\Program Files\Java\jdk1.5.0_07\bin

C:\Documents and Settings\Bart>cd c:\converter_src

C:\Converter_src>java -cp . Converter "Kingdom of Ireland.eug"
Reading culture-conversion table.
Reading religion-conversion table.
Reading misc data.
Reading AIs.
Reading technology definitions.
Reading name lists
Reading CK countries.
Reading CK rulers.
Creating vassal relationships.
Reading CK provinces.
Reading tag list.
Reading rotw nations.
Converting to EU2 kingdoms.
Reading province-conversion information.
Assigning provinces to EU nations.
Reading COT information.
Reading extra-province information.
Making EU file.
Reading rotw COTs.
Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: -1
at EUcountry.writeTech(Converter.java:2391)
at EUcountry.writeCountries(Converter.java:2642)
at Converter.main(Converter.java:349)

C:\Converter_src>

And I end up with a file called: convertedKingdom of Ireland.eug, is that correct then?

EDIT: Still no succes though, when I try to open the savegame I got in EU2 it gets stuck at the load...
 
Last edited:

King of Men

Resident Opportunist
82 Badges
Mar 14, 2002
7.641
78
ynglingasaga.wordpress.com
  • Cities: Skylines - After Dark
  • Victoria: Revolutions
  • Semper Fi
  • Victoria 2
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • 500k Club
  • Cities: Skylines
  • Crusader Kings II: Holy Knight (pre-order)
  • Europa Universalis IV: El Dorado
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Res Publica
  • Europa Universalis IV: Cossacks
  • Crusader Kings II: Conclave
  • Europa Universalis IV: Mare Nostrum
  • Stellaris
  • Stellaris: Galaxy Edition
  • Stellaris: Galaxy Edition
  • Hearts of Iron IV Sign-up
  • Hearts of Iron IV: Cadet
  • Hearts of Iron IV: Colonel
  • Hearts of Iron IV: Field Marshal
  • Crusader Kings II: Reapers Due
  • Hearts of Iron IV: No Step Back
  • Divine Wind
  • Hearts of Iron II: Armageddon
  • Crusader Kings II
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sword of Islam
  • Deus Vult
  • Europa Universalis III
  • Arsenal of Democracy
  • Europa Universalis IV
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • For the Motherland
  • Hearts of Iron III
  • Hearts of Iron III: Their Finest Hour
  • Hearts of Iron III Collection
  • Heir to the Throne
  • Europa Universalis III Complete
Um. That should never happen, as the saying goes. I'm going to have to check the code to see what's going on there; I'll get right on it as soon as I'm home from work. :)
 

gigau

Imperare Orbis Universi
Moderator
218 Badges
May 4, 2005
43.560
8.243
47
www.twitch.tv
  • Imperator: Rome Deluxe Edition
  • Crusader Kings III: Royal Edition
  • Europa Universalis IV: Call to arms event
  • Victoria 3 Sign Up
  • Hearts of Iron IV: Colonel
  • Stellaris: Galaxy Edition
  • 200k Club
  • 500k Club
  • Paradox Order
  • PDXCON 2017 Gold Ticket holder
  • PDXCON 2018 "The Emperor"
  • PDXCon 2019 "King"
  • PDXCon 2017 Awards Winner
Greetings KoM,
I got an extra problem for you.... i get this type of answer :

Code:
E:\ParadoxUtilitaires\CK-EU2 converter>java -cp . Converter "E:\Paradox Entertainment\Crusader Kings\scenarios\save games\oldautosave.eug" "E:\Paradox Entertainment\Europa Universalis 2\Scenarios\deHainaut-14520101.eug"
Reading culture-conversion table.
Reading religion-conversion table.
Reading misc data.
Reading AIs.
Reading technology definitions.
Reading name lists
Reading CK countries.
Reading CK rulers.
Creating vassal relationships.
Reading CK provinces.
Reading tag list.
Reading rotw nations.
Converting to EU2 kingdoms.
Reading province-conversion information.
Assigning provinces to EU nations.
Province ┴rta
Exception in thread "main" java.lang.NullPointerException
        at EUprovince.calculateOwner(Converter.java:3819)
        at EUprovince.assignToNations(Converter.java:3987)
        at Converter.main(Converter.java:271)

E:\ParadoxUtilitaires\CK-EU2 converter>


If i'm not mistaken, that means that the converter doesn't manage to decide who to give the CK province Árta. It is owned by Byzantium. But it's true i think that the provinces around are owned by different nations.

How can i solve this ? Maybe by changing a little the "weight" of the CK provinces in the EU2 province ? If yes, which file should i edit and how ?

Thanks in advance
 

King of Men

Resident Opportunist
82 Badges
Mar 14, 2002
7.641
78
ynglingasaga.wordpress.com
  • Cities: Skylines - After Dark
  • Victoria: Revolutions
  • Semper Fi
  • Victoria 2
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • 500k Club
  • Cities: Skylines
  • Crusader Kings II: Holy Knight (pre-order)
  • Europa Universalis IV: El Dorado
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Res Publica
  • Europa Universalis IV: Cossacks
  • Crusader Kings II: Conclave
  • Europa Universalis IV: Mare Nostrum
  • Stellaris
  • Stellaris: Galaxy Edition
  • Stellaris: Galaxy Edition
  • Hearts of Iron IV Sign-up
  • Hearts of Iron IV: Cadet
  • Hearts of Iron IV: Colonel
  • Hearts of Iron IV: Field Marshal
  • Crusader Kings II: Reapers Due
  • Hearts of Iron IV: No Step Back
  • Divine Wind
  • Hearts of Iron II: Armageddon
  • Crusader Kings II
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sword of Islam
  • Deus Vult
  • Europa Universalis III
  • Arsenal of Democracy
  • Europa Universalis IV
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • For the Motherland
  • Hearts of Iron III
  • Hearts of Iron III: Their Finest Hour
  • Hearts of Iron III Collection
  • Heir to the Throne
  • Europa Universalis III Complete
Ok, in reverse order : gigau, you are almost right, the problem is that whatever CK country owns Arta doesn't have an EU country assigned to it. Of course, that should never happen! I would need to have the savegame to debug this properly; can you send it to me at skalgamalt (at) hotmail (dot) com?

Frosties, I seem to have edited my code since I uploaded the version you are using. That means I'm not sure where the error occurs - going by the line number, it would be in the middle of a long comment, which is not possible. :) So there are two options : One, download this new version and run that, and copy-paste the output as before. Two, and probably better, send me the save file - troubleshooting is difficult over the Internet anyway.

Curses, I though I'd gotten the last bugs out of this. :(
 

unmerged(45086)

Corporal
Jun 5, 2005
38
0
I used the new version and I got this as output:

Microsoft Windows XP [versie 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\Bart>echo %path%
C:\Program Files\Java\jdk1.5.0_07\bin

C:\Documents and Settings\Bart>cd c:\converter_src

C:\Converter_src>java -cp . Converter "Kingdom of Ireland.eug"
Reading culture-conversion table.
Reading religion-conversion table.
Reading misc data.
Reading AIs.
Reading technology definitions.
Reading name lists
Reading CK countries.
Reading CK rulers.
Creating vassal relationships.
Reading CK provinces.
Reading tag list.
Reading rotw nations.
Converting to EU2 kingdoms.
Reading province-conversion information.
Assigning provinces to EU nations.
Reading COT information.
Reading extra-province information.
Making EU file.
Reading rotw COTs.
Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: -1
at EUcountry.writeTech(Converter.java:2458)
at EUcountry.writeCountries(Converter.java:2709)
at Converter.main(Converter.java:381)

C:\Converter_src>

So Still no succes :) I'll try to reinstall CK and see if it might be something wrong with the savegames that I produce, but... I doubt it :)
 

gigau

Imperare Orbis Universi
Moderator
218 Badges
May 4, 2005
43.560
8.243
47
www.twitch.tv
  • Imperator: Rome Deluxe Edition
  • Crusader Kings III: Royal Edition
  • Europa Universalis IV: Call to arms event
  • Victoria 3 Sign Up
  • Hearts of Iron IV: Colonel
  • Stellaris: Galaxy Edition
  • 200k Club
  • 500k Club
  • Paradox Order
  • PDXCON 2017 Gold Ticket holder
  • PDXCON 2018 "The Emperor"
  • PDXCon 2019 "King"
  • PDXCon 2017 Awards Winner
frosties0258 said:
I used the new version and I got this as output:



So Still no succes :) I'll try to reinstall CK and see if it might be something wrong with the savegames that I produce, but... I doubt it :)


I think that your problem might be that you didn't give any destination file....

Try again with :

Code:
java -cp . Converter "Kingdom of Ireland.eug" "convertedIreland.eug"