kieranmillar
Level: Smitemaster
Rank Points: 2670
Registered: 07-11-2014
IP: Logged
|
Re: Is it possible to save the game state in a parseable format? (+1)
I actually don't know if the game ever saves any sort of mid-room state. If you quit the game with a room in progress I believe it restores your progress by replaying your demo from the initial room start. You'll definitely need to make your own build that spits out such information on request.
Creating your own render of the initial room state should be easier because it's stored in the dat files already. The source code is freely available, so you can see directly how the game unpacks and parses the room info from the dat files and use that to make your own programme that pulls the same data.
Now DROD RPG does save mid-room states as the rooms are persistent in that game, so you may be able to get some idea of how to save down the current state of the room from that game's source code. I've not looked at it myself, but I wouldn't be surprised if it was similar to how the level editor saves the rooms you've built, which is another part of the codebase that might help make your life easier.
|