Would there be any interest in writing a converter for CK to EU2 that does a better job than the ingame one? I could contribute some coding, once my move to California is over with in the beginning of October; or if someone else could start earlier, that would be splendid. For now, though, I'm just sounding out the board to see if there's any interest at all. I would also like to hear what people think should be done by the converter.
Latest version :
Source code and class files.
Version for converting DV games:
Source code and class files.
Several people are having difficulty running this, so here are some instructions :
Edit: Before trying it this way, wryun made a GUI wrapper which perhaps is a little more intuitive. I haven't tried this myself, so I make no guarantees about it working, but try it first anyway.
GUI wrapper
The file contains source code (something.java), class files (something.class), and data files (either something.txt or just a name, I wasn't really consistent with this). You will not need the source unless you intend to make changes to the program. Unless you know how to program in Java, this is not particularly recommended. And if you do, you know how to do things and don't really need my help. So, from now on I'm going to ignore the source. The class files run the program, as described below. The data files contain a lot of parameters; you can change a considerable amount of the converter's working by editing the data files. Be careful, though; the program is not robust, and can be downright unfriendly if you give it a data file in an un-expected format. The data files are described in the README file.
So. You will have unzipped the file somewhere; put the savegame you'd like to convert in the same directory. Now get a command window. (I assume, btw, that you are on a Windows box.) Go to the directory, and enter
java -cp . Converter <MySaveGame.eug>
Please note that java is case sensitive; you must enter 'Converter' with a capital C. If you are lucky, this will run the program, producing an output file called 'convertedMySaveGame.eug'. It is rather more likely that you will get 'java is not recognised as blahblahblah'. This means that your command window doesn't know about the Java Virtual Machine. There are two possible causes for this :
1. The JVM is not installed.
2. It is installed, but not included in your PATH variable.
We will deal with the second option first. Try looking through your Program Files directory, or running a search, for the java virtual machine. It should be an executable called simply 'java'. If you find one, put the location of that file in your PATH variable. You can find instructions on how to do this here, among other places.
If you can't find the JVM, you will need to download it. You can find it here. You will need to change your PATH variable to include its new location, as above.
Hope this is helpful. If it turns out not to be, tell me where you got stuck, along with the text of any error messages you get, and I'll do my best to extract you.
Latest version :
Source code and class files.
Version for converting DV games:
Source code and class files.
Several people are having difficulty running this, so here are some instructions :
Edit: Before trying it this way, wryun made a GUI wrapper which perhaps is a little more intuitive. I haven't tried this myself, so I make no guarantees about it working, but try it first anyway.
GUI wrapper
The file contains source code (something.java), class files (something.class), and data files (either something.txt or just a name, I wasn't really consistent with this). You will not need the source unless you intend to make changes to the program. Unless you know how to program in Java, this is not particularly recommended. And if you do, you know how to do things and don't really need my help. So, from now on I'm going to ignore the source. The class files run the program, as described below. The data files contain a lot of parameters; you can change a considerable amount of the converter's working by editing the data files. Be careful, though; the program is not robust, and can be downright unfriendly if you give it a data file in an un-expected format. The data files are described in the README file.
So. You will have unzipped the file somewhere; put the savegame you'd like to convert in the same directory. Now get a command window. (I assume, btw, that you are on a Windows box.) Go to the directory, and enter
java -cp . Converter <MySaveGame.eug>
Please note that java is case sensitive; you must enter 'Converter' with a capital C. If you are lucky, this will run the program, producing an output file called 'convertedMySaveGame.eug'. It is rather more likely that you will get 'java is not recognised as blahblahblah'. This means that your command window doesn't know about the Java Virtual Machine. There are two possible causes for this :
1. The JVM is not installed.
2. It is installed, but not included in your PATH variable.
We will deal with the second option first. Try looking through your Program Files directory, or running a search, for the java virtual machine. It should be an executable called simply 'java'. If you find one, put the location of that file in your PATH variable. You can find instructions on how to do this here, among other places.
If you can't find the JVM, you will need to download it. You can find it here. You will need to change your PATH variable to include its new location, as above.
Hope this is helpful. If it turns out not to be, tell me where you got stuck, along with the text of any error messages you get, and I'll do my best to extract you.
Last edited: