Files
DoubleTroubleRecomp/docs/SETTINGS.en.md
T
linkatplugandClaude Opus 5.5 9200e31f57 Launcher : défauts du jeu d'origine pour skip_speech et walk_speed
Suit 5db69a1 : dialogues non passables au clic et marche normale par défaut
(skip_speech=0, walk_speed=normal), sinon le launcher réactivait les deux
options en enregistrant les réglages. SETTINGS.en.md à jour.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-05 14:07:08 +01:00

11 KiB
Raw Blame History

Settings: settings.ini and command-line options

🇺🇸 English · 🇫🇷 Français (reference) · Overview: technical documentation

The game (build\tucker.exe), its in-game menu (F12 key) and the launcher all read and write the same file.

The command-line options have French names (--plein = fullscreen, --fenetre = window, --echelle = scale, --filtre = filter…). They are translated in the tables below.

File location

System Default path
Windows %APPDATA%\DoubleTroubleRecomp\settings.ini
Linux / macOS $XDG_CONFIG_HOME/DoubleTroubleRecomp/settings.ini, otherwise ~/.config/DoubleTroubleRecomp/settings.ini

--config FILE replaces this path. The folder is created on the first save.

Format

  • UTF-8 text, one key per line: key=value.
  • Sections: [display], [audio], [mods]. A key is only recognised in its own section. On the command line (--set), you can write key or section.key (for example mods.dir).
  • Lines starting with # or ; are comments.
  • When the game saves, it only rewrites the values of its own keys. The order, the comments and the keys it does not know stay intact. The launcher can therefore add its own keys without them being erased.
  • A missing or invalid key takes its default value. An out-of-range numeric value is clamped.
  • The game saves when the F12 menu is closed, after switching to fullscreen with F11 and after F10 (HD pack on / off).

Example:

[display]
fullscreen=0
window_scale=3
window_width=0
window_height=0
filter=xbr
aspect_43=1
vsync=0
hd_pack=1
hd_decors=1
hd_sprites=1
hd_panel=1
wide_fill=1
hotspots=1

[audio]
master_volume=100
music_volume=80
voice_volume=100
sfx_volume=90

[mods]
enabled=1
dir=
disabled=

[game]
autosave=1
skip_speech=0
walk_speed=normal

[debug]
crash_report=1

Keys

[display]

Key Values Default Effect
fullscreen 0 / 1 0 Fullscreen at desktop resolution (without changing the video mode)
window_scale 1 to 16 3 Window of 320 × N by 240 × N (or 200 × N) pixels, if window_width is 0. Reduced to the largest size that fits on the screen
window_width, window_height 0 to 16384 0 Window size in pixels (for example 1280 and 960); 0: window_scale is used. Reduced, keeping its shape, if it doesn't fit on the screen. The picture is scaled inside the window as in fullscreen (4:3 or square pixels respected, black bars otherwise). The F12 menu offers the common resolutions that fit on the screen, and the screen's own
filter nearest, smooth, xbr, crt nearest Picture filter (see below)
aspect_43 0 / 1 1 1: 320×200 picture stretched to 4:3, as on a VGA monitor. 0: square pixels (16:10)
vsync 0 / 1 0 Vertical sync
hd_pack 0 / 1 1 HD pack provided by mods (see MODS.en.md): master switch for the next three keys. No effect if no mod provides HD images, nor with the crt filter
hd_decors 0 / 1 1 The pack's HD backgrounds
hd_sprites 0 / 1 1 The pack's HD characters, objects and cursor (sprites)
hd_panel 0 / 1 1 The game's action bar and options panel in HD (the pack's PANEL1, PANEL2)
wide_fill 0 / 1 1 Wide screen: the edges around the picture are filled with the game picture, blurred and darkened, instead of black bars (F12 menu: « Bords flous (écran large) »)
hotspots 0 / 1 1 Holding Space shows the room's clickable areas: exits in cyan, objects in green, characters in pink, other areas in yellow (F12 menu: « Zones cliquables (Espace) »). The game doesn't use Space: at 0, the key is passed to it again

Filters:

  • nearest: "Net" (sharp) in the menu. Raw pixels, enlarged without interpolation.
  • smooth: "Lissé" (smooth). Integer scaling, then interpolation limited to the border between two pixels. The picture stays sharp, without pixels of uneven sizes.
  • xbr: "xBR". Edges softened by xBR-style edge detection (shader written for this project, rendered ×4 then scaled).
  • crt: "CRT". Simulated cathode-ray tube: scanlines, aperture grille, slight curvature.

Booleans also accept true/false and on/off. The game always writes back 0/1.

[audio]

Key Values Default Effect
master_volume 0 to 100 100 Overall volume
music_volume 0 to 100 100 Music
voice_volume 0 to 100 100 Voices (dialogue, intro narration)
sfx_volume 0 to 100 100 Sound effects and ambience

Volumes are slider percentages. The mixer applies a quadratic curve so that the slider sounds even to the ear.

[mods]

Key Values Default Effect
enabled 0 / 1 1 0: no mod is loaded (no replaced files, no HD backgrounds)
dir path empty Mods folder. Empty: mods next to the executable, otherwise mods in the parent folder (the case of build\tucker.exe), otherwise mods in the current folder
disabled comma-separated names empty Mods (folder names) to ignore, for example disabled=hd_upscayl,voix_fr

Mods are read at startup: a change to [mods] takes effect on the next launch. hd_pack, hd_decors, hd_sprites and hd_panel, however, apply immediately from the F12 menu; the F10 key toggles hd_pack during play, with a fade. The mod format is described in MODS.en.md.

[game]

Key Values Default Effect
autosave 0 / 1 1 Automatic save at each change of location, just before leaving the room (F12 menu, Jeu tab: « Sauvegarde automatique »; launcher: Saved games card)
skip_speech 0 / 1 0 A left click during a line skips it: the voice is cut and the speech bubble disappears. That click isn't passed on to the game, so it starts no action. In the original game, a click during a line does nothing (F12 menu, Jeu tab: « Passer les dialogues au clic »; launcher: Game)
walk_speed normal, fast, faster normal Bud's walking speed: normal, × 1.5 or × 2. It only applies to moves the player asks for, not to cutscenes. While Bud walks, the whole game logic runs faster; music and voices don't change (F12 menu, Jeu tab: « Vitesse de marche de Bud »; launcher: Game)

The automatic save goes to SAVEGM.99, in the saves folder. It uses the game's format and goes through a temporary file, so a crash can't leave it half written. It isn't counted in NOFILES.DTA: the game's Load panel doesn't show it, and it replaces none of the player's games. To load it:

  • during play: F12 menu, Jeu tab, « Charger la sauvegarde auto ». The line shows the saved location. The game leaves the current location as if through an exit and resumes the saved game;
  • at startup: --charger 99 (the launcher's Play button on the automatic save, or Resume my game when it is the most recent).

[debug]

Key Values Default Effect
crash_report 0 / 1 1 Bug report written by itself if the game crashes (see "Bug reports" below). F12 menu: « Signaler un bug », then « Rapport automatique si le jeu plante ». In the launcher: Bug reports card

Bug reports

The F12 menu's Signaler un bug (Report a bug) button opens a page to pick the kind of bug:

  • original graphics;
  • HD graphics;
  • sound;
  • text;
  • area or click;
  • game stuck;
  • crash;
  • other.

A comment can be added. Écrire le rapport (Write the report) creates a folder rapports\YYYY-MM-DD_HHMMSS next to settings.ini (on Windows: %APPDATA%\DoubleTroubleRecomp\rapports). Ouvrir le dossier then shows it. Nothing is sent: to report the bug, attach the folder, or a zip of it, to your message. The launcher's Bug reports card lists the latest reports and can zip them, open them, move them to the recycle bin, or Replay a report's save.

Folder contents:

File Contents
rapport.txt Kind, comment, date and version, then:
- the place: location, scrolling, Bud's position, mouse, the location's clickable areas;
- the display settings;
- the active mods
jeu.bmp Game picture, 320 × 200, as it was before the menu opened
ecran.bmp Screenshot of the window, HD backgrounds and sprites included. Halved beyond 2560 pixels wide
SAVEGM.98 The game at that moment, in the game's save format (98, so as not to overwrite the automatic save). To get back to the bug: copy it into the saves folder, then start with --charger 98 (the launcher's Replay button does both)
settings.ini Settings at the time of the report
memoire.bin Game variables (128 KB), for analysis
plantage.dmp Crash only: Windows minidump

With crash_report=1, a "crash or freeze" report is written in two cases:

  • an unhandled exception: the report gives the code, address and module;
  • a stop of the recompiled game.

A crash inside the graphics driver escapes Windows and leaves no report. It remains visible in the Event Viewer.

Command line

Display options apply to the current session only. They are not written to the file, unless the player then changes that setting in the F12 menu. The launcher can therefore force a value at launch without overwriting the choice made in game. To change a setting permanently, it must write to settings.ini.

Option Equivalent to
--config FILE Use this settings file
--plein (fullscreen) fullscreen=1
--fenetre (window) fullscreen=0
--resolution WxH window_width=W, window_height=H (for example --resolution 1920x1080)
--echelle N (scale) window_scale=N, window_width=0, window_height=0
--filtre NAME (filter) filter=NAME
--format43 0|1 aspect_43=0|1
--vsync 0|1 vsync=0|1
--mods FOLDER [mods] dir=FOLDER (--mods "": automatic detection)
--sans-mods (no mods) [mods] enabled=0
--sans-hd (no HD) hd_pack=0
--set key=value Any key in the tables, for example --set music_volume=50 or --set mods.disabled=hd_upscayl

An option with an invalid value is ignored, and a message goes to standard error.

Other game options, unchanged:

  • --cd, --exe, --hd, --root, --saves: game folders and files (--hd is the game's install folder, unrelated to the HD pack);
  • --son (sound);
  • --sans-intro (skip the intro);
  • --charger N (load N): starts directly on saved game SAVEGM.NN in the --saves folder, without intro or menu (like the game's Load panel; NOFILES.DTA records this game as the last one used). If the save is missing or invalid, a message goes to standard error and the game starts normally;
  • --intro;
  • -v: detailed log on standard error, including the path of the settings file in use.

Building

build.bat accepts the folder that contains TUCKER.EXE and INTRO.EXE:

build.bat                  folder taken from TUCKER_CD, otherwise ..\extracted\iso\TUCKER
build.bat D:\TUCKER        folder given as a parameter
build.bat nogen            compiles the C already generated in build\gen_tucker and build\gen_intro