Thus spake Todd Pytel: > Hi Joel, > > On Mon, 2007-11-12 at 23:14 +0100, Joel Uckelman wrote: > > Did you get this to work for you? (If not, check the errorlog to see > > if there are any exceptions being reported there. If so, let me know > > what they are.) > > I've never gotten it running yet, but I'd sure like to. There's nothing > reported in the errorLog besides the versions. I've tried just about > every combination of Java 1.4, 1.5, and 1.6, various VASSAL versions, > and the latest Tunisia version (2.12). In every case, I just get an > empty window. I poked around a bit and tried making a minimal module > with basically just the map graphic, but it fails in the same way. I > also tried converting the map file to a PNG and a GIF with no luck. The > map files themselves load fine if I unpack the module and view them in > my image viewer.
You might be running out of memory, and having it fail silently. Tunisia uses a large map and starts at a zoom level which isn't 1:1, which takes more memory still. For now, try increasing the amount of memory which you let the JVM use. (I let the JVM have a maximum heap of 512M, and it works for me. I can see from my profiler that it's using most of that.) (Also, don't even try Sun's Java 1.4 with VASSAL 3.0. With 3.0 we started using langauge features which aren't present in Java 1.4.) Modules like this one will benefit significantly from tiling and from better image caching. Coming soon... -- J.
