pents90 / eburp

The Eight-Bit Universal Role Playing Engine -- the technical masterpiece behind the hit RPG "Gurk III"!
120 stars 25 forks source link

Where is the Save file for the web demo? #6

Closed swampthings closed 10 years ago

swampthings commented 10 years ago

I'm wondering where the Save file gets put for the web demo.

But, maybe that's not the right question to ask. I want to be able to do testing on my version, and I'm hoping that I could just open the save file, make some modifications, and then I could do better testing, like modify the levels of my characters, to do tests against high level monsters, etc. So, I guess the right question is what do you think the best way of doing that testing is?

And, either way, I'm really curious where the save file goes. I can't find it.

pents90 commented 10 years ago

On web and iOS It is saved into HTML5 local storage. On Android, it is saved to SharedPreferences. See device.coffee and index.html to see what is happening. To debug or play with it, you could either use some kind of local storage inspection/modification tool, or you could divert the saved games to some other kind of storage system.

swampthings commented 10 years ago

Okay, awesome. Thanks so much for walking me through this!