top | item 45689954

(no title)

heromal | 4 months ago

I'm curious, how do you use it for Game RE?

discuss

order

ACCount37|4 months ago

Not the author, but also in RE.

RE, especially of older and more specialized software, involves dealing with odd undocumented binary formats. Which you may have to dissect carefully with a hex editor and a decompiler, so that you can get at the data inside.

Kaitai lets you prototype a parser for formats like that on the go, quick and easy.

pvitz|4 months ago

A shot in the dark, but maybe you could give me a hint. Recently, I was interested in extracting sprites from an old game. I was able to reverse the file format of the data archive, which contained the game assets as files. However, I got stuck because the image files were obviously compressed. By chance, I found an open source reimplementation of the game and realised it was LZ77+Huffman compressed, but how would one detect the type of compression and parameters with only the file? That seems a pretty hard problem or are there good heuristics to detect that?