Repository navigation
07 try it yourself
The shape is always the same, and the worked-example docs above show what it looks like whether it lands a clean answer, runs into a dead end, needs no new work at all, doesn't need Ghidra in the first place, or finds the question's own premise was wrong:
- Pick one item above (or from the plan's section 4).
- Find an anchor — a string, an API call, or a data structure already known to be nearby (document 3's recipe).
-
DecompileOne.javaoutward from it until you're reading the actual logic that matters. - Form a hypothesis, write it down as a guess before you check it.
- Check it against every real file (document 6, rule 3) — write a small Python script, don't eyeball a handful of examples.
- If it's visual, render it and look (document 6, rule 1).
- Update
docs/PORTING_PLAN.mdwith what you found, right away — that's what let this whole investigation survive multiple context resets without losing ground.
Nothing here requires deep x86 or compiler-internals knowledge — the actual reverse engineering in this project has mostly been reading straightforward decompiled C and cross-checking it against real files, not fighting with raw disassembly. That's a deliberate consequence of using Ghidra's decompiler rather than working from assembly directly, and it's why this is realistically approachable to keep doing yourself.
Next: Worked example: mapping .RFM art ids to ART.CAR cels,
then the exact tint colour of ART.CAR's effect masks,
then what the >>1 computation actually does,
then confirming a dead end fast by rereading work already on hand,
then decoding the .RFM header body with no Ghidra at all,
then catching a wrong guess by finally rendering it,
then is the music CD audio or a WAV file? (Both.),
then the native resolution, and a tick rate that resists being found,
then there's no sprite pivot, because it's not 2D,
then reference discs arrive, and a stale guess gets corrected for free,
then finding a COM vtable call with no symbol to search for,
then classifying 2165 cels without a disassembler,
then a wrong palette that never looked wrong enough to notice,
then "the sprite looks very wrong after moving" was two bugs, not one,
then reusing a solved RE finding as running code,
then an opponent with no reverse-engineering behind it at all,
and finally a debug string, a dedicated object, and a capture-the-flag lead.
Return Fire, rebuilt
Elsewhere