Skip to content

Guide EN

Linkatplug edited this page Dec 5, 2026 · 13 revisions

Complete guide: install, build and play

🇫🇷 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.


1. What you need

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.

2. Install the tools

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.bat can find Python. The capstone module can then be installed in one click from the launcher (or with python -m pip install capstone).
  • Rust: rustup-init.exe offers 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.

3. Get the project

With Git, in PowerShell, wherever you like:

git clone https://git.linkatplug.be/linkatplug/DoubleTroubleRecomp.git
cd DoubleTroubleRecomp

Without Git: on the repository page, use the Download button (or Code → ZIP) and unzip the archive. Avoid synced folders (OneDrive): building there is slow.

4. Prepare the original game

The project needs the folder that contains TUCKER.EXE and INTRO.EXE, along with the other CD files (pictures, sounds, videos). Three options:

  1. A copy on disk (recommended): copy the CD's TUCKER folder, for example to C:\Games\TUCKER. You will not need the CD to play.
  2. The CD in the drive: pick the drive, for example D:\. The launcher finds the TUCKER subfolder by itself. The CD must stay in the drive while you play.
  3. An .iso image: 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.

5. With the launcher (recommended)

Build and open the launcher

Once, in PowerShell, from the project folder:

cd launcher
cargo build --release
.\target\release\DoubleTroubleLauncher.exe

The 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.

First-time setup

On first launch, setup opens in three steps:

  1. Original game: Folder… (copy or CD drive) or ISO image…. The green "Game found" dot confirms that TUCKER.EXE and INTRO.EXE are there.
  2. 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.
  3. Build: Generate and build. The launcher translates TUCKER.EXE and INTRO.EXE to 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.

Once everything is green, Collapse setup: the main page appears.

Play

  • Sound, Skip intro, Verbose log: launch options.
  • Display: full screen, filter, 4:3 format, vertical sync, window size.
  • Volumes: 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).
  • Saved games: see section 11.
  • Mods & HD backgrounds: see sections 9 and 10.

The launcher stores its own choices (language, game folder, options) in %APPDATA%\DoubleTroubleRecomp\launcher.ini.

6. Without the launcher (command line)

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\TUCKER

build.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 --son

Main 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.

7. In game

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.

8. A great picture on a big screen

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.

9. HD background pack

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.

With Upscayl (easiest)

  1. Install Upscayl.
  2. 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 (or mods\hd_upscayl_<model>).
  3. 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].

With the tool of your choice

  1. Launcher: Export original backgrounds. The 320×200 PNGs go to mods\_decors_originaux (the _ makes the game ignore that folder) and the folder opens.
  2. Upscale them with anything you like: Upscayl, chaiNNer, waifu2x, Topaz, hand retouching…
  3. Launcher: type a name, then New mod. The mods\<name>\hd\ folder is created and opens.
  4. 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).

10. Mods

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 does

Full format: MODS.md.

11. Saved games

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.

12. How it works

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\ and mods\, which are excluded from the repository.

Roadmap: ROADMAP.en.md.

13. Troubleshooting

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.

14. Update, uninstall

Update:

git pull
cd launcher
cargo build --release

Then, 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.

Clone this wiki locally