Repository navigation
v0.2.0: GHZ Fully Playable
Sonic the Hedgehog — Static Recompilation v0.2.0
Highlights
- Sonic can jump! Fixed a critical recompiler bug where
addq.l #4,sp+rtsstack manipulation wasn't propagating through the C call stack - Green Hill Zone Acts 1-3 fully playable including Robotnik boss fight
- 530 native functions compiled (up from ~275)
- Audio fixed — eliminated 44% sample drops, precision 60fps timing
- ROM file picker — no need to use command line, path is remembered
Controls
| Key | Action |
|---|---|
| Arrow keys | D-pad |
| Z | A (jump) |
| X | B |
| C | C |
| Enter | Start |
| Tab (hold) | Turbo |
| Shift+F1-F9 | Save state |
| F1-F9 | Load state |
| Escape | Quit |
Setup
You need your own Sonic the Hedgehog ROM (.bin/.md/.gen/.smd). On first launch, a file picker dialog appears. The path is cached for subsequent launches.
Known Issues
- Some objects in later zones may not function (dispatch misses logged for future compilation)
- Minor audio timing drift over long sessions
- Purple flowers in GHZ have slight rendering differences from original
Technical
- TCP debug server on port 4378 for live state inspection
- Built with MSVC 2022, Windows x64