Repository navigation
Roadmap
🇫🇷 Français · 🇺🇸 English
Static recompilation of Bud Tucker in Double Trouble (DOS, 1996) to C, to bring the game back to life on today's machines and screens.
Goal: a game that looks great and runs smoothly on big screens, from 1080p to 4K (1440p minimum target), at the original game speed (no chasing FPS).
Golden rule: the repository contains no game files. Everything generated from TUCKER.EXE and
INTRO.EXE stays local (build/). Mods replace files at runtime, never touching the originals.
- x86 → C translator (
tools/recomp.py): 960 functions for TUCKER.EXE, 540 for INTRO.EXE - Runtime: CPU, FPU, DOS/DOS4GW, VGA, PIT, SDL2 and headless hosts
- The intro (Merit, title, lab) runs fully
- The game runs: Bud's bedroom, interface, verbs, walking
- Sound: SDL2 mixer, AIL function overrides (effects, music, speech)
- OpenGL rendering: sharp, smooth, xBR and CRT filters, 4:3 aspect, full screen, vsync
- In-game settings menu (F12) and
settings.inishared with the launcher - Mods (
mods/) and HD background pack (Upscayl or any tool) - Launcher (Rust): game, requirements, build, settings, filter preview, saved games, mods
- Complete guide in French and English, wiki
- HD sprites: characters, objects, cursor (
tools/hd_export.py --planches --sprites) - Cutscenes: streamed intro audio, sequences (in progress)
- Full playthrough from start to end, without crashes
- Clean scaling: 4:3 aspect correction (×1.2 vertical), centered image, vsync
- Game logic at 46 Hz, display at the monitor's refresh rate (in-between frames)
- Selectable filters: sharp, smooth (integer scale, softened edges), xBR, CRT
- HD background pack: backgrounds upscaled (Upscayl or any tool), loaded instead of the originals, created from the launcher
- HD sprites: characters and objects (
.SPR,BUD_*,SCROBJ*,PANOBJS*), colors following the game palette, separate switch in F12 - Original ↔ HD toggle in game with F10, with a crossfade (same as "HD pack" in
F12, saved in
hd_pack). The game only uses F10 in debug mode: the host intercepts it and does not pass it on - Widescreen without black bars: sides filled with a blurred background or an illustration
- Upscaled FLC cutscenes
- Game icon:
tucker.exe(assets/icon/dtr.rcresource compiled withrcinbuild.bat) and window (SDL_SetWindowIconwithassets/icon/dtr-256.png). The launcher already has it
- High-quality MIDI music: SoundFont, optional Roland MT-32 mode
- Re-recorded music pack, loaded instead of the originals
- Cleaned-up speech (denoising, upscaling)
- Separate volumes: master, music, speech, effects (F12 menu and launcher)
- Show hotspots while holding Space
- Double-click an exit to change location instantly
- Skip dialogue lines with a click; speed up Bud's walking
- Start on a saved game (
--charger N): "Resume my game" and a Play button per save in the launcher; the engine loads the game through the game's own routine - Autosave; unlimited save slots with thumbnails
- Gamepad: joystick cursor, verb wheel
- Always-on subtitles
- Language choice at startup (French, English, depending on the version owned)
- "Complete French translation" mod: the French CD release is only partly translated (verbs,
objects and voices in French, but ~80% of the dialogue text in English); the mod completes
PT1TEXT.CtoPT3TEXT.C(files/folder) so the bubbles match the voices - Other versions (English, German, Spanish, Polish) in this project, not a fork.
Findings (2026-12-05): each language has its own
TUCKER.EXE(283 to 285 KB, shifted code); text lives in.ENCfiles (a plain XOR 0x80 of the.Cfiles, same format); the Spanish release has no voices (text only). The recompiler is generic, butruntime/hard-codes the French version's addresses (~20 replaced functions, dozens of variables): it needs a per-version address table, found by byte signatures, and version detection at install time (TUCKER.EXEhash) - Community translations (other languages, same approach as the French mod)
- Larger fonts, high-contrast mode
-
mods/folder: each mod replaces images, sounds or text; stacked by priority, toggled one by one in the launcher - Developer mode (on another key: F12 opens the settings): hotspots and walk paths, variables, jump to any location, captures
(building on
tucker-viewer) - Access to game functions in C, following the
overrides.txt/overrides.cmodel - Mod format documentation (MODS.en.md)
- Legal setup: the launcher asks for the CD, folder or ISO, then generates and compiles
- Game file hash check (known version)
- Strict
.gitignore:build/,frames*/,saves/,third_party/dl/, anything from the ISO - Web version (Emscripten), playable with the player's own files
- User wiki: illustrated complete guide, in French and English
- Technical wiki based on
ANALYSE_TUCKER.md: technical documentation and game analysis (formats, cutscene language, structures) - README with a before/after gallery (slider, GIF or video)
It is a game from 1996: it must not bring any machine to its knees, whether Windows, Linux or a handheld.
Measurements (2026-12-05, i5-14600KF, RTX 5070, windowed):
| CPU (of one core) | RAM | GPU | |
|---|---|---|---|
| Launcher, before | 11% all the time | 137 MB | 2% |
| Launcher, now | 0% idle, a few % while animating | 137 MB | 0% idle |
| Game (sharp or CRT filter) | ~20% | ~165 MB | 1% |
| Game (xBR filter) | ~20% | ~165 MB | 4.6% |
| Game now, still screen (sharp, CRT; HD pack) | 1 to 3% | 166 to 170 MB | 0.3% |
| Game now (xBR filter, HD pack) | ~2% | 170 MB | 1.5% |
| Intro now | ~1% (55% before) | 168 MB | — |
- Launcher: the banner slideshow freezes when the window is in the background, while the game runs, and after one minute without input (no more redraws)
- Game: wait by sleeping instead of spinning (vsync, next tick, the original game's wait loops), target < 5% of one core on a still screen
- Game: no rendering when nothing changes (still screen, minimized or hidden window)
- RAM: target < 256 MB for the game, even with an HD pack (load HD backgrounds on demand, free those of rooms left behind)
- Linux: build with a Makefile or CMake instead of
build.bat(SDL2 and OpenGL 3.3 are already portable; onlymenu.candmods.ccontain Windows-specific code) - Launcher on Linux: native file dialogs, ISO mounting (
udisksctl), opening folders (xdg-open), settings in~/.config - Steam Deck: 1280×800 fullscreen (16:10, like the HD backgrounds), gamepad (see section 3), on-screen keyboard to name saves, light default filter for battery life
- Packages: AppImage or Flatpak (without the game files), added as a "non-Steam game"
RecompLauncher installs, updates and starts recomps
from their developers' GitHub releases, with the player's own copy; everything is described in a
recomplauncher.json shipped in the release (developer guide).
The player would drop their ISO or CD folder, a one-time prepare step would translate and compile,
then Play; on top of that: cloud saves and backups before every update, Big Picture mode with a
controller, one-click updates. Our own launcher stays for those who don't use it.
- Check that a DOS recomp is accepted in their catalog (Discord or a "Request a Recomp" issue): it mostly lists console games
- Self-contained build (prerequisite for everything else): ship the translator and a compiler (translator in Rust, llvm-mingw or similar) so the prepare step runs without MSVC, Python or capstone on the player's PC; our launcher benefits too
- Nothing from the game in releases (already the case): the translated code is generated on the player's PC
- Write everything to
{data}: readRECOMPLAUNCHER_DATAand keepsettings.ini, saves, build and mods there; nothing in%APPDATA%or~/.configwhen it is set - Read the ISO without mounting it (ISO 9660 reader in the prepare step): their Flatpak cannot mount anything
- Releases without an installer, built by GitHub Actions on the GitHub mirror:
DoubleTroubleRecomp-vX.Y.Z-Windows-x64.zip,…-Linux-x64.tar.xzand.AppImage(the same folder, which must run unpacked), withrecomplauncher.jsonat the top -
recomplauncher.json:gameinput (ISO or folder,TUCKER.EXEcheck,dumpshashes of known versions for the "verified copy" badge),prepare(translate and compile),start,saves: ["{data}/saves"], game settings (config/settings) -
RECOMPLAUNCHER_MODE=bigpicture: fullscreen and controller menus;RECOMPLAUNCHER_PAD: Xbox or PlayStation glyphs (same work as the Steam Deck) - Never self-update when
RECOMPLAUNCHER=1
Order: engine stable in French → Linux → self-contained build → automatic releases → recomplauncher.json.
-
Original ↔ HD toggle in game with F10(done) - Hotspot display
- High-quality music
- Install from the user's CD, no game files in the repository
- README with a before/after gallery
Page générée depuis docs/ROADMAP.en.md.