...on a campaign file that previously worked fine chances are that your system was updated to Java 7 either manually or via auto-update.Cannot determine Campaign File Format: Not loaded.
Until a new build of MapTool using the fixed XStream library is released, the only workaround at this time is to revert back to Java 6 or tell MapTool to launch using Java 6. The Java 7 install should not have removed your existing Java 6 JRE install so this is easily done.
Forcing the MapTool Launcher to use Java 6
Locate the mt.cfg file in the MapTool directory. Open it in Notepad or some other text editor. You should see something like this:
Code: Select all
MAXMEM=512
MINMEM=64
STACKSIZE=2
JVM=javaw
PROMPT=true
Edit your mt.cfg file like this for 32-bit Java:64-bit Java - C:\Program Files\Java\jre6\bin
32-bit Java - C:\Program Files (x86)\Java\jre6\bin
Code: Select all
MAXMEM=512
MINMEM=64
STACKSIZE=2
JVM=C:\Program Files (x86)\Java\jre6\bin\javaw
PROMPT=true
Forcing the Use of Java 6 in MapTool Batch Files
The same principle applies for those using batch files but make sure you use quotes around your path if it has spaces in it. Like so:
Code: Select all
"C:\Program Files\Java\jre6\bin\javaw" -Xmx256M -Xss512K -jar maptool-*.jar run
'C:\Program' is not recognized as an internal or external command,
operable program or batch file.