Page 3 of 3
Re: DMJava V2.1 by Solito : a real clone now
Posted: Mon Nov 28, 2011 2:46 am
by solito
I'm working on it...
Re: DMJava V2.1 by Solito : a real clone now
Posted: Sat Dec 10, 2011 4:41 am
by solito
I added a patch for the v2.6.
I noticed a serious problem when loading your custom dungeon. Because it has many levels and uses different graphic directories, it seems that the core engine cannot load so many graphics and get null pointer (hence your loading error).
I don't know how to solve this problem (if it can be solved).
Your dungeon works fine if I use 1 map directory only.
Smaller dungeons work fine with different graphic directories.
That's all I can say for the time being.
Re: DMJava V2.1 by Solito : a real clone now
Posted: Sat Dec 10, 2011 4:55 am
by solito
As I suspected, it is a java memory problem that we have with your dungeon.
I managed to solve it by changing the command that runs the game :
your_java_directory\bin\javaw.exe -cp . dmnew
by
your_java_directory\bin\javaw.exe -Xmx1100m -Xms1000m -cp . dmnew
The Xms (start memory) and Xmx (max memory) flags allocate memory for the running program so the game run smoothly now (I have 2 Go, you may need to adjust these settings)
(1000m = 1000 mega = 1Gb)
Hope this helps.
Re: DMJava V2.1 by Solito : a real clone now
Posted: Thu Dec 15, 2011 2:54 am
by solito
Patch 2.6-2 available:
Fixed a bug that prevents the editor from loading a saved game when the automap is turned off.
Re: DMJava V2.1 by Solito : a real clone now
Posted: Thu Dec 15, 2011 7:21 am
by syrphid001
Thank you.
Have not checked all saves but those checked now work.