From: Erik V. <eri...@xs...> - 2010-01-13 18:35:03
|
Thank you for the extensive reply. Knowing that there is the MakeGameTileSets program to autogenerate the per-game Tiles.xml and to check the Map.xml file is a big help. Although I do wonder why you don't simply read in the global Tiles files and use that. But, knowing XML, perhaps that is too much of a strain on the program. XML parsing is slow. I don't like wasting CPU time and memory. Anyway can you give this poor ol' non-Java programmer a short hint on how to run MakeGameTileSets? I am getting a 'NoClassDefError' on org/apache/log4j/logger when I try to run the class directly. I am probably doing something painfully obviously wrong. I'm running it from within my development environment from a .bat file with java -cp \projects\Rails\18xx\classes;\Projects\Rails\18xx\lib\log4j-1.2\log4j-1.2.14 .jar rails.util.MakeGameTileSets %1 %2 %3 %4 %5 %6 %7 %8 %9 where \projects\Rails\18xx\classes is the directory below which the unpacked Rails .class files are. I suppose you can replace that part with path of the the rails .jar file, which contains the same. You may have to experiment a bit. Erik. |