- Launcher : 5 langues (menu à drapeaux), traductions dans assets/i18n.tsv (repli sur l'anglais, test de couverture), musique DE/ES/PL selon la langue. - Carte Compilation : choix « Version du jeu » préparé (seul le français est actif, les autres marqués « bientôt »). - README et guide en DE/ES/PL, avec captures ; liens vers la doc technique en anglais. Bandeau des 5 langues sur les README et guides FR/EN. - Wiki : pages Anleitung, Guia, Poradnik. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
474 lines
25 KiB
Markdown
474 lines
25 KiB
Markdown
<p align="center"><img src="images/title-guide.png" alt="Complete guide: install, build, play in 4K"></p>
|
||
|
||
# Complete guide: install, build and play
|
||
|
||
🇫🇷 [Français](GUIDE.md) · 🇺🇸 **English** · 🇩🇪 [Deutsch](GUIDE.de.md) · 🇪🇸 [Español](GUIDE.es.md) · 🇵🇱 [Polski](GUIDE.pl.md)
|
||
|
||
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.
|
||
|
||
## ⚡ In short
|
||
|
||
| Step | What | Details |
|
||
|:---:|---|---|
|
||
| **1** | Install Build Tools 2022 (C++), Python 3.12 (PATH box) and Rust | [section 2](#2-install-the-tools) |
|
||
| **2** | Get the project: `git clone` or ZIP | [section 3](#3-get-the-project) |
|
||
| **3** | Build and open the launcher: `cargo build --release` | [section 5](#5-with-the-launcher-recommended) |
|
||
| **4** | In the launcher: pick the game, then **Generate and build** | [section 5](#first-time-setup) |
|
||
| **5** | **PLAY**! Then, if you like, create the HD pack | [sections 8 and 9](#8-a-great-picture-on-a-big-screen) |
|
||
|
||
- [1. What you need](#1-what-you-need)
|
||
- [2. Install the tools](#2-install-the-tools)
|
||
- [3. Get the project](#3-get-the-project)
|
||
- [4. Prepare the original game](#4-prepare-the-original-game)
|
||
- [5. With the launcher (recommended)](#5-with-the-launcher-recommended)
|
||
- [6. Without the launcher (command line)](#6-without-the-launcher-command-line)
|
||
- [7. In game](#7-in-game)
|
||
- [8. A great picture on a big screen](#8-a-great-picture-on-a-big-screen)
|
||
- [9. HD background pack](#9-hd-background-pack)
|
||
- [10. Mods](#10-mods)
|
||
- [11. Saved games](#11-saved-games)
|
||
- [12. How it works](#12-how-it-works)
|
||
- [13. Troubleshooting](#13-troubleshooting)
|
||
- [14. Update, uninstall](#14-update-uninstall)
|
||
|
||
---
|
||
|
||
## 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, **French version** (see [§ 4](#4-prepare-the-original-game)). 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](https://visualstudio.microsoft.com/downloads/), "Tools for Visual Studio" section |
|
||
| **Python 3.12** | Runs the x86 → C translator (`tools/recomp.py`). | [python.org/downloads](https://www.python.org/downloads/) |
|
||
| **Rust** | Builds the launcher. | [rustup.rs](https://rustup.rs/) (`rustup-init.exe`) |
|
||
| **Git** *(optional)* | To get the project and update it. | [git-scm.com](https://git-scm.com/download/win) |
|
||
| **Upscayl** *(optional)* | To create the HD pack (backgrounds, characters and objects) in one click. Not bundled with the project: install it if you want the HD pack ([details](TEXTURES.en.md#1-install-upscayl)). | [upscayl.org](https://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:
|
||
|
||
```powershell
|
||
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
|
||
|
||
> 💿 **Supported version for now: the French CD, as an ISO image**, the one on [this Abandonware France page](https://www.abandonware-france.org/ltf_abandon/ltf_jeu.php?id=662&fic=liens) ("ISO version" section, everything is explained there). How to check: `TUCKER\TUCKER.EXE` is **284,677 bytes**. The English, German, Spanish and Polish versions are not supported yet: their executable is different ([details](TECHNIQUE.en.md#7-game-versions)).
|
||
|
||
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:
|
||
|
||
```powershell
|
||
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 5 languages: French, English, German, Spanish and Polish. Pick one at the top
|
||
right, in the **Language** menu (with a flag). The launcher's music follows the language: each
|
||
language has its own version of the theme song.
|
||
|
||
### First-time setup
|
||
|
||
On first launch, setup opens in three steps. On the left, the steps; on the right, the game, which
|
||
cannot be started yet:
|
||
|
||
<p align="center"><img src="images/launcher-en-1-premier-lancement.jpg" alt="First launch: the game is not found yet" width="900"></p>
|
||
|
||
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](#2-install-the-tools), then **Check**.
|
||
3. **Build**:
|
||
- **Game version**: the language of your CD. For now only the **French** version can be built;
|
||
the others (English, German, Spanish, Polish) are already in the list, marked "coming soon",
|
||
and will come later.
|
||
- **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.
|
||
|
||
Everything is green once the three steps are done:
|
||
|
||
<p align="center"><img src="images/launcher-en-2-configuration.jpg" alt="Setup done: game found, requirements present, game built" width="900"></p>
|
||
|
||
Then click **Collapse setup** (bottom right): the main page appears. **Setup** reopens it at any
|
||
time.
|
||
|
||
<p align="center"><img src="images/launcher-en-3-accueil.jpg" alt="Launcher main page" width="900"></p>
|
||
|
||
### Play
|
||
|
||
<p align="center"><img src="images/launcher-en-carte-jouer.jpg" alt="Ready to play card" width="900"></p>
|
||
|
||
- **Sound**, **Skip intro**, **Verbose log**: launch options.
|
||
- **Resume my game**: starts straight on a saved game, skipping the intro and the game menu. The last
|
||
one played by default; the list below lets you pick another one (with its thumbnail), and the
|
||
launcher shows under **PLAY** which game will be loaded.
|
||
- **Display**: full screen, filter, 4:3 format, vertical sync, window resolution (1280 × 960, 1920 × 1080…).
|
||
- **Game**: skip dialogue lines with a click (a left click cuts the current line), Bud's walking speed
|
||
(normal, × 1.5 or × 2, only when he walks at your request).
|
||
- **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:
|
||
|
||
- **Preview**: a 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.
|
||
- **Zoom ×4**: ticked, a detail at the size of a 1280-pixel-wide window; unticked, the whole picture.
|
||
- **Compare**: the original (raw pixels) on the left, the game picture (filter or HD) on the right.
|
||
Drag the yellow divider, or click in the picture to place it.
|
||
|
||
<p align="center"><img src="images/launcher-en-carte-apercu.jpg" alt="Filter preview" width="900"></p>
|
||
|
||
- **Saved games**: see [section 11](#11-saved-games).
|
||
- **Mods & HD backgrounds**: see [sections 9](#9-hd-background-pack) and [10](#10-mods).
|
||
|
||
The launcher stores its own choices (language, game folder, options, window size) 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`](https://github.com/libsdl-org/SDL/releases/tag/release-2.32.10),
|
||
unzipped so that `third_party\SDL2-2.32.10\include\SDL.h` exists.
|
||
|
||
```powershell
|
||
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:
|
||
|
||
```powershell
|
||
.\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.en.md](SETTINGS.en.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 |
|
||
| `--charger N` | starts directly on save `SAVEGM.N`, without the intro (recent engine, see section 11) |
|
||
| `--plein`, `--fenetre` | full screen, window |
|
||
| `--resolution WxH` | W × H pixel window (for example `--resolution 1920x1080`); `--echelle N`: old ×N setting |
|
||
| `--filtre nearest\|smooth\|xbr\|crt` | picture filter |
|
||
| `--sans-mods`, `--sans-hd` | no mods, no HD pack |
|
||
| `-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, resolution, filter, 4:3, sync, blurred edges on wide screens, clickable areas, HD pack (backgrounds, characters and objects, action bar), quit the game |
|
||
| **Esc** | closes the F12 menu (otherwise, the original game's key) |
|
||
| **F11** or **Alt+Enter** | full screen / window |
|
||
| **F10** | HD pack on / off, with a fade (to compare with the original picture); a bubble confirms |
|
||
| **Space** (held) | shows the room's clickable areas: exits in cyan, objects in green, characters in pink, the rest in yellow (can be turned off: launcher or F12) |
|
||
| 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:
|
||
|
||
<p align="center"><img src="images/filtres-en.jpg" alt="Sharp, Smooth, xBR, CRT filters and the HD pack compared" width="900"></p>
|
||
|
||
| 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
|
||
|
||
> 🎨 **Full tutorial: [HD textures](TEXTURES.en.md)**: install Upscayl, export the backgrounds,
|
||
> upscale them with the tool of your choice, retouch them by hand, troubleshooting.
|
||
|
||
The HD pack replaces the room backgrounds (320×200) on screen with high-definition pictures, and, if
|
||
the pack has them, Bud, the characters, the objects and the cursor ([HD sprites](TEXTURES.en.md#i-hd-characters-and-objects-sprites)).
|
||
The action bar (verbs and background) goes HD too; texts stay the game's own. The pictures are made
|
||
**on your PC from your copy**: nothing is downloaded or distributed.
|
||
|
||
> ⚠️ **For now: HD backgrounds yes, HD sprites no.** HD backgrounds look good, but HD characters
|
||
> and objects (sprites) are still buggy: cut-off pictures, some characters don't show up. It is
|
||
> recommended to play with an HD pack **with "Characters and objects" unticked** (in the launcher,
|
||
> or in game with F12).
|
||
|
||
<p align="center"><img src="images/launcher-en-carte-mods.jpg" alt="Mods & HD backgrounds card" width="900"></p>
|
||
|
||
### With Upscayl (easiest)
|
||
|
||
1. Install [Upscayl](https://upscayl.org) ([step by step](TEXTURES.en.md#1-install-upscayl)). While
|
||
it's missing, the launcher shows a yellow "Upscayl is not installed" box.
|
||
2. In the launcher, **Mods & HD backgrounds** card, "Create an HD pack with Upscayl": pick a model,
|
||
keep **Backgrounds**, **Cutscenes** and **Action bar** ticked, then **Create pack**. The 148 images (122
|
||
backgrounds, 24 cutscene pictures, the action bar) are upscaled ×4 in a few minutes. **Characters
|
||
and objects** (experimental, unticked by default) adds several thousand images and takes much
|
||
longer. Everything goes into `mods\hd_upscayl` (or `mods\hd_upscayl_<model>`),
|
||
with **one model for the whole pack**. Untick **One model for everything** to pick a model per
|
||
part (composed pack, in `mods\hd_perso`). The **Stop** button (next to it, or in the bottom bar)
|
||
interrupts the creation; **Repair** then redoes the empty pictures. For an existing background pack: **+ HD sprites** button
|
||
on its line. The 24 still pictures of the cutscenes (pyramid, maps, newspapers…) are made with the
|
||
backgrounds. **Close games and 3D applications while the pack is made**: Upscayl puts a heavy load
|
||
on the graphics card. If pictures are missing after a crash, **Repair** button on the pack's line.
|
||
3. Make sure **Enable mods**, **HD pack** and **Backgrounds** are ticked (for now, untick
|
||
**Characters and objects**: see the box above), then play. Each box can be turned off separately, in game too with F12.
|
||
|
||
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 images** (a window sums up what will happen; **Stop** interrupts
|
||
the export). The backgrounds (320×200 PNGs) go to `mods\_decors_originaux`
|
||
(the `_` makes the game ignore that folder), then the characters and objects into its `SHEETS` and
|
||
`SPRITES` subfolders (2-3 minutes). The folder opens at the end.
|
||
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 and subfolder** (`LOC01.png`,
|
||
`SHEETS\BUD_1.png`, `SPRITES\A01_04.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.
|
||
|
||
Step by step, retouching and troubleshooting: [TEXTURES.en.md](TEXTURES.en.md). Technical details: [MODS.en.md](MODS.en.md).
|
||
|
||
## 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…), HD sprites (SHEETS\, SPRITES\)
|
||
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; the HD pack can also be set in game with F12, and F10 turns it on or off.
|
||
|
||
`mod.ini`:
|
||
|
||
```ini
|
||
[mod]
|
||
name=My mod
|
||
author=Me
|
||
description=What the mod does
|
||
```
|
||
|
||
Full format: [MODS.en.md](MODS.en.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:
|
||
|
||
<p align="center"><img src="images/launcher-en-carte-sauvegardes.jpg" alt="Saved games card" width="900"></p>
|
||
|
||
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**;
|
||
- **play** a game: the yellow button starts the game straight on that save.
|
||
|
||
**Automatic save**: the game also saves by itself when leaving each location, in `SAVEGM.99`, apart
|
||
from your games (it never replaces them). It shows at the top of the card, framed in yellow, with its
|
||
**Play** button. **Resume my game** picks it when it is more recent than your last game. A box on the
|
||
card (or F12, Game tab) turns it off. Slot `SAVEGM.98` is used by the bug reports' **Replay** button.
|
||
|
||
**F12 menu saves**: in game, F12, Jeu tab, **Sauvegarder la partie** makes a new save each time,
|
||
with no limit and without overwriting anything, along with a picture of the game at that moment.
|
||
The launcher's **F12 menu saves** card lists them (newest first) with that picture, the location and
|
||
the date: **Play** starts the game on it, **Delete** moves the file to the bin after a confirmation.
|
||
They're kept in `%APPDATA%\DoubleTroubleRecomp\parties`, apart from the original game's saves; to
|
||
load one, the launcher (like the F12 menu) goes through the reserved slot `SAVEGM.97`.
|
||
|
||
Loading at startup (that button and **Resume my game**) needs an engine that knows the `--charger`
|
||
option: if the compiled game is older, the launcher says so; just rebuild it after updating the
|
||
project.
|
||
|
||
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](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 pack**, **Backgrounds** and the mod's checkbox; the **CRT** filter always shows the original backgrounds. |
|
||
| **Picture too small / too big** | Window resolution 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: in game, **F12 → Signaler un bug** (Report a bug). Pick the kind of bug, add a
|
||
comment if you like, then **Écrire le rapport** (Write the report). The game creates a folder with a
|
||
screenshot, the game state at that moment and your settings (nothing is sent). If it crashes, it
|
||
writes a report by itself (**Rapport automatique si le jeu plante** box).
|
||
|
||
In the launcher, the **Bug reports** card (under Saved games) lists the latest reports:
|
||
|
||
<p align="center"><img src="images/launcher-en-carte-rapports.jpg" alt="Bug reports card" width="720"></p>
|
||
|
||
- **Replay** starts the game again on the report's save, at the moment of the bug;
|
||
- **Zip** makes a zip to attach to your message;
|
||
- **Open** shows the folder;
|
||
- **Delete** moves the report to the recycle bin.
|
||
|
||
Then open an issue on the repository with the zip, your Windows version and your graphics card.
|
||
The folder's contents are detailed in [SETTINGS.en.md](SETTINGS.en.md#bug-reports).
|
||
|
||
## 14. Update, uninstall
|
||
|
||
**Update**:
|
||
|
||
```powershell
|
||
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*.
|