robojumper / DarkestDungeonSaveEditor

Darkest Dungeon Save File (.json) Reader, Writer, Editor. Also, Spreadsheets.
MIT License
74 stars 8 forks source link

May u show were u decoded files files? #19

Closed CreateLab closed 4 years ago

CreateLab commented 4 years ago

I'm interested in your program, but have some problems with java May u show where u decoded *.json files Or explain how u do it?

robojumper commented 4 years ago

Are you interested in a guide on how to use this program, or are you interested in the actual algorithm to decode save files? If for the former, there's not a step-by-step guide right now, unfortunately. In the latter case:

The code that decodes the files is in file/DsonFile.java and file/DsonField.java.

The code that encodes save files is in file/DsonWriter.java.

As for how to do it, I documented the format in docs/dson.md. It should be possible to write an alternative decoding and encoding implementation based on that document.

Let me know if you have further questions.