Repository navigation
Guide EN
🇫🇷 Français · 🇺🇸 English
This guide starts from a Windows PC with nothing installed and takes you all the way to the game in full screen, with filters, the HD pack and mods. Allow about half an hour, mostly for downloads.
| Step | What | Details |
|---|---|---|
| 1 | Install Build Tools 2022 (C++), Python 3.12 (PATH box) and Rust | section 2 |
| 2 | Get the project: git clone or ZIP |
section 3 |
| 3 | Build and open the launcher: cargo build --release
|
section 5 |
| 4 | In the launcher: pick the game, then Generate and build | section 5 |
| 5 | PLAY! Then, if you like, create the HD pack | sections 8 and 9 |
- 1. What you need
- 2. Install the tools
- 3. Get the project
- 4. Prepare the original game
- 5. With the launcher (recommended)
- 6. Without the launcher (command line)
- 7. In game
- 8. A great picture on a big screen
- 9. HD background pack
- 10. Mods
- 11. Saved games
- 12. How it works
- 13. Troubleshooting
- 14. Update, uninstall
| The original game |
Bud Tucker in Double Trouble (Merit Studios, 1996): the CD, its .iso image, or a copy of its files. The project ships no game files. |
| System | Windows 10 or 11, 64-bit. |
| Graphics | OpenGL 3.3 capable: any graphics card or chip from the last ten years. |
| Disk | About 8 GB for the tools (mostly Visual Studio Build Tools), 700 MB for the built project with the launcher, and about 350 MB per HD pack. |
The game is not emulated: its code is translated to C and compiled on your PC, which is why you need a compiler. The translation is made from your own copy: nothing from the game goes over the Internet.
Install them in this order. Double-click each installer and keep the defaults unless stated otherwise.
| Tool | Why | Where |
|---|---|---|
| Visual Studio Build Tools 2022 | Microsoft's C compiler (MSVC). Rust uses it too. | visualstudio.microsoft.com/downloads, "Tools for Visual Studio" section |
| Python 3.12 | Runs the x86 → C translator (tools/recomp.py). |
python.org/downloads |
| Rust | Builds the launcher. |
rustup.rs (rustup-init.exe) |
| Git (optional) | To get the project and update it. | git-scm.com |
| Upscayl (optional) | To create the HD background pack. | upscayl.org |
Watch out for:
- Build Tools: in the installer, tick the "Desktop development with C++" workload. It includes MSVC v143 and the Windows SDK. Nothing else is needed.
-
Python: on the first screen, tick "Add python.exe to PATH". Without it, neither the
launcher nor
build.batcan find Python. Thecapstonemodule can then be installed in one click from the launcher (or withpython -m pip install capstone). -
Rust:
rustup-init.exeoffers the default install (press 1, Enter). It checks that the Build Tools are present: install those first. - SDL2 (the window, keyboard and sound library) does not need a manual install: the launcher downloads it into the project.
After installing, close and reopen your PowerShell windows so they see the new programs.
With Git, in PowerShell, wherever you like:
git clone https://git.linkatplug.be/linkatplug/DoubleTroubleRecomp.git
cd DoubleTroubleRecompWithout Git: on the repository page, use the Download button (or Code → ZIP) and unzip the archive. Avoid synced folders (OneDrive): building there is slow.
The project needs the folder that contains TUCKER.EXE and INTRO.EXE, along with the
other CD files (pictures, sounds, videos). Three options:
-
A copy on disk (recommended): copy the CD's
TUCKERfolder, for example toC:\Games\TUCKER. You will not need the CD to play. -
The CD in the drive: pick the drive, for example
D:\. The launcher finds theTUCKERsubfolder by itself. The CD must stay in the drive while you play. -
An
.isoimage: the launcher mounts it automatically at each launch (Windows does this without extra software).
Advanced: if you also have the C:\TUCKER folder created by the original DOS install, you can set
it in the launcher ("Advanced: install folder"). It is optional: otherwise the game reads everything
from the CD or its copy.
Once, in PowerShell, from the project folder:
cd launcher
cargo build --release
.\target\release\DoubleTroubleLauncher.exeThe first build downloads the Rust libraries and takes a few minutes. After that, run
launcher\target\release\DoubleTroubleLauncher.exe directly (you can make a desktop shortcut).
The launcher speaks French and English: FR / EN buttons at the top right.
On first launch, setup opens in three steps. On the left, the steps; on the right, the game, which cannot be started yet:
-
Original game: Folder… (copy or CD drive) or ISO image…. The green "Game found" dot
confirms that
TUCKER.EXEandINTRO.EXEare there. -
Requirements: Python, capstone, MSVC and SDL2 are checked.
- capstone missing: Install (pip);
- SDL2 missing: Download (official SDL 2.32.10 archive, unzipped into
third_party\); - Python or MSVC not found: go back to step 2, then Check.
-
Build: Generate and build. The launcher translates
TUCKER.EXEandINTRO.EXEto C (about 1,500 functions), then compiles. It takes one to five minutes; the Log shows progress. At the end: "Game built".
Rebuild only is for project updates that only touch the runtime: it does not regenerate the C.
Everything is green once the three steps are done:
Then click Collapse setup (bottom right): the main page appears. Setup reopens it at any time.
- Sound, Skip intro, Verbose log: launch options.
- Display: full screen, filter, 4:3 format, vertical sync, window size.
- Volume: master, music, voices, sound effects.
- PLAY starts the game. The launcher stays open and refreshes when you quit.
Display and volume settings are the same as the in-game F12 menu: what you change on one side
shows up on the other (file %APPDATA%\DoubleTroubleRecomp\settings.ini).
Other cards on the main page:
- Welcome to Barryville: a ×4 preview of a background with the chosen filter, computed like in the game. With an active HD pack, the preview shows the HD background ("HD" badge). Backgrounds change every 7 seconds.
- Saved games: see section 11.
- Mods & HD backgrounds: see sections 9 and 10.
The launcher stores its own choices (language, game folder, options, window size) in
%APPDATA%\DoubleTroubleRecomp\launcher.ini.
For terminal fans. Same requirements; install SDL2 by hand: archive
SDL2-devel-2.32.10-VC.zip,
unzipped so that third_party\SDL2-2.32.10\include\SDL.h exists.
python -m pip install capstone
.\build.bat C:\Games\TUCKERbuild.bat finds Build Tools 2022 installed in the default location by itself. Variants:
| Command | Effect |
|---|---|
build.bat FOLDER |
generates the C from FOLDER\TUCKER.EXE and INTRO.EXE, then compiles |
build.bat |
same, using the TUCKER_CD variable, else ..\extracted\iso\TUCKER
|
build.bat nogen |
recompiles without regenerating the C |
Result: build\tucker.exe. To play:
.\build\tucker.exe --cd C:\Games\TUCKER --hd C:\Games\TUCKER --root C:\Games --sonMain options (the option names are French; full list in SETTINGS.md):
| Option | Effect |
|---|---|
--cd FOLDER |
CD files (or their copy) |
--hd FOLDER |
DOS install folder TUCKER (otherwise, reuse the CD folder) |
--root FOLDER |
root of the "C:" drive seen by the game (the parent of --hd) |
--saves FOLDER |
saved games folder (default: saves) |
--son |
enables sound |
--sans-intro / --intro
|
skips the intro / plays only the intro |
--plein, --fenetre, --echelle N
|
full screen, window, ×N size |
--filtre nearest|smooth|xbr|crt |
picture filter |
--sans-mods, --sans-hd
|
no mods, no HD backgrounds |
-v |
verbose log |
Display options only apply to the session; lasting settings live in settings.ini.
| Key | Effect |
|---|---|
| F12 | settings menu: volumes, full screen, size, filter, 4:3, sync, HD backgrounds, quit the game |
| Esc | closes the F12 menu (otherwise, the original game's key) |
| F11 or Alt+Enter | full screen / window |
| Mouse | as in the original game: verbs at the bottom, click to act |
The F12 menu saves its changes when it closes (the menu itself is in French for now). The game saves and loads through its own menu, as in 1996.
The game always draws its picture at 320×200; the graphics card then scales it with a filter:
| Filter | Look | Advice |
|---|---|---|
Sharp (nearest) |
raw pixels | faithful, very "pixel art" |
Smooth (smooth) |
crisp pixels, softened edges | the best compromise for purists |
| xBR | redrawn outlines, "drawn" look | great on a 1440p or 4K screen |
| CRT | simulated tube screen | nostalgia; does not show the HD pack |
- 4:3 format: the original picture was made for a 4:3 screen (pixels taller than wide). Keep it on for correct proportions; turn it off for square pixels.
- Full screen uses the desktop resolution, without changing video mode. The picture is centred with black bars on the sides.
- Vertical sync removes tearing if you see any.
- On a 1080p, 1440p or 4K screen, try xBR or Smooth, with the HD pack on.
The HD pack replaces the room backgrounds (320×200) on screen with high-definition pictures. Characters, objects, texts and the cursor stay the game's own, drawn on top. The pictures are made on your PC from your copy: nothing is downloaded or distributed.
- Install Upscayl.
- In the launcher, Mods & HD backgrounds card, "Create an HD pack with Upscayl": pick a model,
then Create pack. The 122 backgrounds are upscaled ×4 in a few minutes, into
mods\hd_upscayl(ormods\hd_upscayl_<model>). - Make sure Enable mods and HD backgrounds are ticked, then play.
Models give different looks; you can create several and switch with each mod's checkbox:
| Model | Look |
|---|---|
digital-art-4x (default) |
clean flat colours, sharp outlines: suits the game's cartoon style |
high-fidelity-4x |
close to the original, keeps the pixel dithering |
remacri-4x |
sharp and detailed, rather made for photos |
ultrasharp-4x |
very sharp, can stress flaws |
ultramix-balanced-4x |
softer compromise |
upscayl-lite-4x, upscayl-standard-4x
|
general purpose; "lite" is faster |
Command line: python tools\hd_export.py C:\Games\TUCKER mods\hd_upscayl\hd --upscayl [MODEL].
- Launcher: Export original backgrounds. The 320×200 PNGs go to
mods\_decors_originaux(the_makes the game ignore that folder) and the folder opens. - Upscale them with anything you like: Upscayl, chaiNNer, waifu2x, Topaz, hand retouching…
- Launcher: type a name, then New mod. The
mods\<name>\hd\folder is created and opens. - Drop the upscaled pictures there with the same name (
LOC01.png), then Refresh.
Picture rules:
- same framing as the original: the whole 320×200 picture, bottom part included;
- any size at a 16:10 ratio: 1280×800 (×4) is a good choice, 2560×1600 works too;
- all pieces of one room (
LOC03A,LOC03B…) have the same size; - RGB or RGBA PNG (alpha is ignored), non-interlaced;
- a partial pack works: a background without a PNG stays at 320×200.
Technical details: MODS.md (in French).
A mod is a folder in mods\ at the project root:
mods\
my_mod\
mod.ini name, author, description (shown by the launcher)
hd\ HD backgrounds (LOC01.png…)
files\ replaced game files (same name and path as on the CD)
- Mods apply in alphabetical order; for the same file, the last one wins. Prefix with
10_,20_to set the order. - A folder whose name starts with
_or.is ignored. - In the launcher, each mod has its checkbox; Enable mods turns them all off. Mod changes take effect at the next launch; "HD backgrounds" can also be toggled in game with F12.
mod.ini:
[mod]
name=My mod
author=Me
description=What the mod doesFull format: MODS.md.
Games are saved in the project's saves\ folder (SAVEGM.01, SAVEGM.02… and NOFILES.DTA). The
launcher's Saved games card lists them with a thumbnail of the location and the date:
It also lets you:
- delete a game: a copy is kept, and later games are renumbered the way the game expects;
- make a backup of all games (
saves\backups\); - restore a backup: the current saves are copied first;
- open the folder.
These actions are locked while the game runs. To keep your games, back up the saves\ folder.
TUCKER.EXE / INTRO.EXE (your copy, LE format for DOS/4GW)
│ tools/recomp.py: disassembly (Capstone), one C function per x86 function
▼
build/gen_*/*.c + runtime/ (CPU, FPU, DOS, VGA, sound, menu, mods, HD pack)
│ MSVC
▼
build/tucker.exe ── SDL2 (window, keyboard, mouse, sound) + OpenGL (filters, HD backgrounds)
- Static recompilation: each x86 instruction becomes C acting on an emulated CPU (registers, stack, flags). The original behaviour is kept, at native program speed.
- Runtime: it replaces what the game expected from DOS and a 1996 PC: DOS/4GW memory, files, timer, VGA card, sound card (emulated AIL driver).
-
Overrides: some game functions are rewritten by hand in C (
runtime/overrides.c). Modern sound, display, mods and the HD pack go through them. -
Legal: the repository contains no game files and no code generated from its executables. All
of that is produced on your PC, in
build\andmods\, which are excluded from the repository.
Roadmap: ROADMAP.en.md.
| Problem | Fix |
|---|---|
| "Game not found" | The chosen folder must contain TUCKER.EXE and INTRO.EXE, or a TUCKER subfolder that does. |
Python "not in PATH", or python opens the Microsoft Store |
Reinstall Python from python.org with "Add python.exe to PATH" ticked. Or turn off the aliases in Settings → Apps → Advanced app settings → App execution aliases (python.exe, python3.exe). Reopen the launcher. |
| MSVC not found | Install Build Tools 2022 with "Desktop development with C++". If you add it later, rerun the Visual Studio Installer → Modify. |
cargo build: link.exe not found |
Same cause: Build Tools missing. |
cargo not found |
Rust is not installed, or the terminal was opened before installing: reopen it. |
| SDL2 download fails | Download SDL2-devel-2.32.10-VC.zip by hand and unzip it into third_party\ (you need third_party\SDL2-2.32.10\include\SDL.h), then Check. |
| Build fails | Open the Log, then Copy, and attach the text to your report. Generate and build starts from scratch. |
| No sound | Tick Sound in the launcher (--son option) and check the volumes (F12). |
| Black screen or the game does not open | Update the graphics driver (OpenGL 3.3 required). Tick Verbose log and relaunch: the launcher log shows the cause. |
| "game exited, code 0" | That is a normal exit (you quit the game). |
| No HD backgrounds | Check Enable mods, HD backgrounds and the mod's checkbox; the CRT filter always shows the original backgrounds. |
| Picture too small / too big | Window size in the launcher or F12, or full screen (F11). |
| Odd settings | Delete %APPDATA%\DoubleTroubleRecomp\settings.ini: the game starts again from the defaults. |
To report a problem: open an issue on the repository with your Windows version, graphics card and the log text.
Update:
git pull
cd launcher
cargo build --releaseThen, in the launcher: Setup → Generate and build.
Uninstall: delete the project folder (keep saves\ and mods\ if you care about them) and the
%APPDATA%\DoubleTroubleRecomp folder. The tools (Build Tools, Python, Rust, Upscayl) uninstall from
Settings → Apps.
Page générée depuis docs/GUIDE.en.md.








