Sonic the Hedgehog SMS Recomp

PC port of Sonic the Hedgehog

  • RecompilationPort Type
  • mstanDeveloper
  • 2 Nov 2026Page Updated
Sonic the Hedgehog

Details

Developer
mstan
Port Type
RecompilationA tool translated the game's original machine code into C automatically, which was then built as a native PC program.
AI Use
AI-assistedAn AI coding tool is credited as co-author on 9 of the repository's 16 commits. Source
Source Code
GitHub
Page Updated

Platform Support

  • Windows

ScreenshotsView All (6)

What you need: A ROM of Sonic the Hedgehog for the Master System, dumped from your own cartridge.

Overview

Window Scaling

Sonic the Hedgehog SMS Recomp is a native Windows port of the 8-bit Sonic the Hedgehog for the Master System, made by mstan by statically recompiling the game’s Z80 code into C, with the video and sound chips emulated around it.

It is an early pre-release, started from the command line with the ROM path and a window scale. So far the output matches the original byte for byte over the title screen and the attract demo; the rest of the game is not yet verified.

The author says AI tools were used heavily in making it.

The download contains no game data. It needs a Sonic the Hedgehog ROM for the Master System, dumped from your own cartridge.

How to Set It Up

  1. Download the Windows zip and extract it. Keep SDL2.dll next to the executable.
  2. Start it from a command prompt with the path to your ROM, for example SonicTheHedgehogSMSRecomp.exe path\to\rom --window 3.
  3. --window sets the window scale (3 or 4 suit most screens).
Go to Downloads

Advertisement

Download Sonic the Hedgehog SMS Recomp

What's new in v0.0.4Sonic SMS v0.0.4 - native HLE and faithful 16x

Native CPU/event execution, exact PSG block synthesis and faithful 16x GPU rendering. Original tile pixels stay sharp with no smoothing or invented detail. The GPU consumes resident tile-row jobs; enhanced resolution does not require a CPU enhanced framebuffer or scale-dependent uploads.

The packaged Windows x64 build preserves the existing assisted coverage: all29 routes execute without fallback and all89 rendered native/interpreter checkpoints agree. The final6000-frame route has exact state/timeline/PCM against the qualified native checkpoint; every16x pixel matches native output. Owner visual checks passed. This remains a pre-release with assisted coverage, not a claim of a complete unassisted playthrough.

Extract every file. Drag your supported owned ROM onto Play.cmd for native resolution or Play 16x.cmd for faithful16x. Normal audio is enabled; unsupported GPU drivers fall back to native output. No ROM is included. Engine and consumer commits are pinned in the source tag. SHA256SUMS is provided for the ZIP.

Windows v0.0.4 Download
SHA-256 8c698f84dd60bd35831b7f3c02728a8ccb5c9431886237bca46bc866868d192c

Follow new builds by RSS

Sonic the Hedgehog SMS Recomp Archive