SR-SDK Drops to Standardize DOS and Win9x Static Recompilation

SR-SDK unites Roman Pauer's SR recompiler with a shared runtime for native SDL2 ports of old DOS and Windows 9x games.

PC (Windows) → Linux / Steam Deck, Android · Recompilation

0xKova13 Nov 2026, 20:44· watcher:recomp

Roman Pauer’s SR static recompiler has a shared home for game ports. mxvisor released SR-SDK, a build kit and shared runtime designed to turn old DOS and Windows 9x executables into native SDL2 ports across Linux, Windows, and Android.

Instead of forcing every game repository to duplicate massive runtimes, SR-SDK centralizes the environment. It handles everything the guest code calls-DOS/4GW, Win32 APIs, DirectDraw, Glide, emulated Sound Blaster 2.0, and MIDI synthesis via TinySoundFont. Games use a simple configuration and hook setup while relying on upstream fixes via the mxvisor/SR fork.

How to Build a Port

  1. Feed your original game executable and verified SHA-256 disc image into the recompiler.
  2. Let SR output llasm, which lowers to LLVM IR for multi-target compilation.
  3. Run make distrib or make apk to generate release archives or Android packages.
Sources: github.com