DMJava V2.1 by Solito : a real clone now

This is a forum for the DM clone DM Java created by Alandale. Note it also has it's own set of forums at ezboard (link stickied)

Moderator: alandale

Forum rules
Please read the Forum rules and policies before posting.
User avatar
solito
Journeyman
Posts: 89
Joined: Tue Feb 26, 2008 10:44 pm
Contact:

Re: DMJava V2.1 by Solito : a real clone now

Post by solito »

I'm working on it...
User avatar
solito
Journeyman
Posts: 89
Joined: Tue Feb 26, 2008 10:44 pm
Contact:

Re: DMJava V2.1 by Solito : a real clone now

Post 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.
User avatar
solito
Journeyman
Posts: 89
Joined: Tue Feb 26, 2008 10:44 pm
Contact:

Re: DMJava V2.1 by Solito : a real clone now

Post 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.
User avatar
solito
Journeyman
Posts: 89
Joined: Tue Feb 26, 2008 10:44 pm
Contact:

Re: DMJava V2.1 by Solito : a real clone now

Post 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.
syrphid001
Novice
Posts: 10
Joined: Wed Mar 21, 2007 11:02 pm
Location: UK

Re: DMJava V2.1 by Solito : a real clone now

Post by syrphid001 »

Thank you.
Have not checked all saves but those checked now work.
Post Reply