News for hackers. Stuff that matters.
Re:File format wiki by Shish2k on Thursday December 10, 2015 @01:35PM (#10712389)
> Just struct declarations are enough

To echo this with code, I've open sourced my collection of game archive unpackers. Given how similar they all are, this is a typical example of how to add a new decoder:

https://github.com/shish/pyge/blob/master/archive/PackDat3.p...

(Note that two of those 6 short strings are user-friendliness metadata and can be omitted, and one of the others is redundant -- "Magic Bytes", "Header Format" and "Directory Entry Format" are all you really need in most cases)

There are no comments on this comment yet.