Files
DoubleTroubleRecomp/docs/SETTINGS.en.md
T
linkatplugandClaude Opus 5.5 e8596f4745 Launcher et doc : bords flous en écran large et zones cliquables (Espace)
- Launcher, section Affichage : cases « Bords flous (écran large) » (wide_fill)
  et « Zones cliquables (maintenir Espace) » (hotspots), partagées avec F12.
- GUIDE FR/EN : touche Espace et menu F12 complétés ; README FR/EN : Espace.
- SETTINGS.en.md : clés wide_fill et hotspots, alignées sur SETTINGS.md.

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

7.5 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=

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.

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