Comment by Dathuil
10 hours ago
Aside from dipping my foot into games with Godot I've pulled back an old project to solve a me problem. A few years ago I wrote a tool to tell you what weapons in Dark Souls 1 you are missing to get the Knights Honour achievement on steam.
Part of this required that I manually parse a binary save file and extract the information. This was done through lots of trial and error and looking at other java implementations.
What I would have prefered is some sort of descriptor language that lets me generate the parser and interfaces for everything so I just drop the binary stream into a parse function and get my typed object back.
I'm working on creating a TypeSpec Library and Emitter for this so that you can describe everything in Typespec as to where and what is in the file and have it parse.
No comments yet
Contribute on Hacker News ↗