# Treasure Galaxy! gets a static recompilation port for Linux and Windows

> The 1994 DOS game Treasure Galaxy! now runs natively on Linux and Windows via static recompilation.

- Published: 2026-11-09T00:38:29Z
- Score: 7/10
- Tags: recomp, pc
- Port / platforms: PC (Windows) -> PC (Windows), Linux / Steam Deck (Recompilation)
- Web page: https://emu-radar.customfw.xyz/news/treasure-galaxy-recomp/
- Sources: https://github.com/FlapjackRetro/treasure-galaxy-recomp

Static recompilation reaches another classic title as developer FlapjackRetro releases a native port project for The Learning Company's 1994 DOS game *Treasure Galaxy!* (`TGX.EXE`, v1.0). Forked from the *Outnumbered!* recompilation repository, the project lifts the 16-bit x86 binary into C code using the pcrecomp toolbox.

The build targets Linux and Windows and runs directly on SDL2, with no DOSBox and no emulator. This version adds support for VGA mode 12h, an INT 33h mouse driver, an XMS driver for extended memory blocks, and Sound Blaster 2.0 audio with OPL2 FM music.

To build the game, users need their own copy of the game files, Python 3, git, CMake, and a C compiler with the SDL2 development package on Linux, or MSYS2 on Windows. Only the v1.0 release is supported, and the files must match their SHA-256 checksums. The build script checks the files and warns on a mismatch before compiling.

```
python3 tools/build.py
./build/tgx ..
```

Command-line options switch between Sound Blaster audio, PC speaker output, or no sound.
