Quality-of-life ASI mod for LEGO Star Wars: The Complete Saga (Steam, LEGOStarWarsSaga.exe,
5,472,256 bytes). Built for Proton on a handheld (Steam Deck / ROG Ally) but nothing in it is
Linux specific.
| Area | What it does |
|---|---|
| Startup | Skips boot logos and the "Press any button" title screen (straight to the main menu). |
| Cutscenes | Start skips a cutscene and every following part of the chapter intro, straight to gameplay. |
| Frame rate | Removes the 85 fps cap, runs at the desktop refresh rate (shown in Video Settings). |
| Frame-rate fixes | Clock counters, blink timers, grass and foliage animation, collision response and jumps behave as at 60 fps (same jump height, jumps from platforms and over the fallen tree work, at 60 and 1000 fps). |
| Display | VSync and Window Mode (fullscreen / windowed / borderless) rows in Video Settings. |
| Aspect ratio | The picture follows the real shape of the game window (4:3, 16:10, 16:9, 21:9, 32:9, any window), so the Aspect row of Video Settings is removed (it had nothing left to choose). 16:9 is the base: the world widens sideways with the screen, while the UI (HUD, text, character selector) is exactly the 16:9 layout, centered, so nothing is stretched, spread out or overlapping. |
| Ultrawide cutscene FOV | On screens wider than 16:9 a cutscene keeps the vertical view it has at 16:9 and widens sideways, instead of cropping the top and bottom of the shot (CutsceneFOV, on by default). |
| Ultrawide HUD | Optional: on screens wider than 16:9 the corner HUD (character portraits, hearts, stud counters, the studs that fly to them) moves out to the edges of the screen (HudWide, off by default). |
| Render scale | 50-300 % internal resolution, native row in Video Settings. The game itself runs at the larger size (windowed or borderless; the Fullscreen choice is skipped while the scale is not 100 %) and the picture is scaled to the window on present. |
| FSAA | Row removed from Effects Settings: render scale supersamples the whole frame and replaces it. |
| Input | Player 1 hot-switches keyboard / gamepad. A second gamepad joins as player 2 with Start; lost pads drop out cleanly and never lock the pause menu. |
| Prompts | Xbox or PlayStation button glyphs, chosen per player (e.g. Xbox for P1, DualShock for P2). |
| Menus | Tweaks and Mods entries in the main and pause menu hold everyday options and mod priority. Control Setup, Video Settings and Effects Settings are grouped under Options; render scale is in Video Settings. |
| Mods | Loose files in mods\ override files inside the game's DAT archives; no unpacking or repacking needed. |
- Install an ASI loader: Ultimate ASI Loader
(use the 32-bit
dinput8.dllbuild next toLEGOStarWarsSaga.exe). - Copy
SagaTweaks.asiinto the game folder (or itsscripts\/plugins\subfolder). - Proton / Wine: make the proxy DLL load. Steam launch option:
WINEDLLOVERRIDES="dinput8=n,b" %command% - Start the game.
SagaTweaks.iniandSagaTweaks.logappear next to the exe.
Keep each mod in its own folder inside the game's mods\ folder, preserving the paths it would have in an unpacked game:
LEGOStarWarsSaga.exe
mods\
Clone Improvement(s) 1.1\
CHARS\
CLONE\
CLONE.TXT
Every replacement must be inside an immediate mod folder; loose files directly under mods\ are ignored. The first replacement in the configured mod-folder order wins (case-insensitive A–Z by default). Optional variants in deeper folders are not loaded automatically. Replacements may have a different size and do not need to exist in the original DAT files, but the game must request their paths. Every override is written to SagaTweaks.log.
The separate Mods entry in the main and pause menus appears when at least one mod folder exists. It lists mod folders in priority order, highest first, using the same scrolling and edge fading as the native Extras menu. Left moves the selected mod up; Right or Accept moves it down. The order saves immediately to mods\priority.ini, one mod folder name per line, and affects files loaded afterward. Reload the level or restart for files already loaded. Restart also discovers newly added mod folders.
The common options are on the in-game Tweaks page (render scale, window mode and VSync are in Video Settings); all of
them live in SagaTweaks.ini, section [SagaTweaks]:
| Key | Default | Meaning |
|---|---|---|
SkipLogos |
1 | Skip boot logos (restart needed). |
SkipTitle |
1 | Skip the "Press any button" screen. |
SkipCutscenes |
1 | Start skips cutscenes. |
HotSwitchInput |
1 | P1 follows the last used device; a gamepad that presses Start (or F1 / F2 on the keyboard) while a player can join joins as that player instead. |
StartButton |
7 | Raw button code used as Start. |
ButtonPromptsP1 / P2 |
0 | 0 auto, 1 Xbox, 2 PlayStation. ButtonPrompts sets both. |
PromptGlyphs |
1 | 0 leaves the original prompt art untouched. |
MaxFPS |
0 | FPS limit, 0 = unlimited (vsync still applies). |
RefreshRate |
0 | Force a refresh rate, 0 = desktop. |
VSync |
1 | 0 presents without waiting for the display (Video Settings row). |
WindowMode |
0 | 0 fullscreen, 1 windowed, 2 borderless windowed (Video Settings row). |
FixAspect |
1 | 0 leaves the game's own aspect ratio handling untouched (the Aspect row of Video Settings comes back). Also a row on the Tweaks page. |
CutsceneFOV |
1 | 0 leaves the game's own cutscene field of view (the horizontal view of 4:3 is kept, so a screen wider than 16:9 crops the top and bottom). Also a row on the Tweaks page. |
HudWide |
0 | 1 moves the corner HUD to the edges of a screen wider than 16:9. Also a row on the Tweaks page. |
ProbeCamera |
0 | Debug: log the main camera and the projection built from it every 20 frames. |
ProbeEffects |
0 | Debug: log the flying sprite effects (picked-up studs) every frame. |
ForceAspect |
0 | Debug: lay out for this width / height (e.g. 2.37) on any screen; the picture looks stretched on a screen of another shape. |
RenderScale |
1.0 | Internal resolution multiplier. |
FixFrameCounters |
1 | Frame-rate independent clocks. |
FixGameplayRates |
1 | Fixes the other per-frame rates found by the code audit (see docs/AUDIT.md; wobbling levers and hat machine, sparks of cranks, docs/CLASSES.md). |
FixHoverAttack |
1 | Original bug: after a short hop R2-D2, R4-P17 and R2-Q5 could no longer zap (action / special did nothing). |
FixTitleAspect |
1 | The "press any button" screen is made for 4:3 and looked stretched sideways on wide screens; it is drawn with the correct proportions and the logo stays put when the menu opens. |
FixContactVelocity |
1 | Keeps part of the old velocity after a contact at short steps. |
LogicHz |
0 | Most game logic updates per second (0 = every frame). |
FixJumpPhysics |
1 | Jump impulse corrected to the 60 fps lift and height. |
Debug-only keys, all off by default: LogFPS (frame rate in the log), LogInput (log every change of the input / player state), LiveIni (rereads LogicHz, MaxFPS and the fix switches once a second and logs the changes), ProbeSweep (logs the hero's collision sweeps), ProbeHero (one log line per logic update of player 1 near the log of Speeder Showdown: position, velocity, flags, input; read with tools/audit/trace_jumps.py), ProbeButtons (a log line whenever a floor button changes: triggered flag, animation state, hold timer), ProbeLever (a line per frame with the crank angle while a crank, the "Spinner" class, is held), ProbeHatch (a line per frame while crawling through a hatch or tunnel: path point, floor query height and result), ProbeAnim (per second: how often each animation list is stepped and the sum of the step), ProbeConsts, ProbeDraw (three reports in the log, 3 s each, starting 8 s after the first frame and 20 s apart: every vertex / pixel shader constant write per frame, which components change from frame to frame and by how much, with the shader hashes and primitive count of the draw it belongs to; ProbeDrawX, ProbeDrawZ, ProbeDrawR in centimetres keep only draws whose world matrix lies within R of (X, Z); run it at two frame rates), DumpTextures. They exist for reverse engineering; see docs/REVERSING.md and, for object classes and per-frame rolls, docs/CLASSES.md.
Needs i686-w64-mingw32-gcc.
make # build/SagaTweaks.asi
make test # Wine: loose-file priority and fallback checks
make dist # build/SagaTweaks.7z
- Climbing the fallen log in Speeder Showdown at very high frame rates is not bit-identical to 60 fps. In
the last 0.15 s of the jump the speed into the log is 3-6 % lower than at 60 fps; the jump still succeeds in
all test runs (see
docs/AUDIT.md, section 11).
Patches are bound to fixed addresses of the Steam executable and wait until SteamStub has decrypted the code. Other builds of the game will not match and are left untouched. Single-player only changes; no online component. Use at your own risk.
src/main.c (entry, per-frame dispatch) and one module per feature: startup, cutscene,
framerate, window, render, prompts, input, menus, config, mods (loose-file overrides), plus util (patch primitives) and
texdump (debug). Game addresses and signatures live in src/game.h. Each feature module exposes
<Name>Ready() (are the expected game bytes present?), <Name>Install() and <Name>Frame().
The version lives in VERSION and is embedded in the build (the log starts with SagaTweaks <version>).
To release: add a ## <version> section to CHANGELOG.md, bump VERSION, push to main. The
release workflow builds SagaTweaks.7z and publishes it with that changelog section as the notes
(a manual run of the workflow is a dry run). If the NEXUSMODS_API_KEY secret and the NEXUSMODS_MOD_ID / NEXUSMODS_FILE_ID variables are
set, the same archive is also uploaded to Nexus Mods.