# Tube: reconstructing the 1994 DOS game source

> This recreates the source of Tube, the 1994 DOS game from Bullfrog, using Hex-Rays and IDA Pro. The result builds as a 32-bit program with SDL2. Windows uses build_windows.bat, Linux uses build_linux.sh, and the web build uses build_web.bat. The README also lists OpenWatcom 1.9 for a DOS DPMI build. It says the original code uses 32-bit pointers, so this tree does not build as 64-bit.

- Type: Case study
- Targets: Game
- Category: Independent reconstruction cases
- Relationship: Independent reconstruction project
- Sources reviewed: 2026-11-07
- Added to the catalog: 2026-11-09
- Original resource: <https://github.com/rep-stosw/tube-game-dos>
- Primary source: <https://github.com/rep-stosw/tube-game-dos/blob/d2c74cdbb82fedacc528f651ef28820bd186e0d2/README.md>
- Catalog page: <https://awesomerea.org/resources/tube-dos/>
- Record JSON: <https://awesomerea.org/resources/tube-dos/record.json>
- Chinese version: [简体中文](https://awesomerea.org/zh/resources/tube-dos/index.md)

## Requirements & limits

- A 32-bit toolchain: MinGW32, 32-bit GCC, Emscripten, or OpenWatcom 1.9. SDL2.
- The README does not name a license.

## Primary sources

1. <https://github.com/rep-stosw/tube-game-dos/blob/d2c74cdbb82fedacc528f651ef28820bd186e0d2/README.md>

## More in Games

- [Turtles in Time: a three-region SNES disassembly](https://awesomerea.org/resources/tmnt-iv-turtles-in-time-snes-case/index.md) · Case study
- [TWD · Source Recovery: reconstructing The Walking Dead: Season One functions](https://awesomerea.org/resources/twd-source-recovery-case/index.md) · Case study
- [Ty the Tasmanian Tiger: decompiling the USA release](https://awesomerea.org/resources/ty-decomp/index.md) · Case study
- [u5d: a semantic-match Ultima V decompilation](https://awesomerea.org/resources/u5d-ultima-v-case/index.md) · Case study
- [UltraSunnyMoon: a partial, REA-led Pokémon Ultra Sun reconstruction](https://awesomerea.org/resources/ultrasunnymoon-rea-case/index.md) · Case study
- [Vandal Hearts: decompiling the PlayStation game](https://awesomerea.org/resources/vandal-hearts-decomp/index.md) · Case study

## About this entry

The description was reviewed against primary sources.
Original editorial content: MIT. Linked projects, papers and assets retain their own rights and licenses.
