Repository navigation
SetupLab 1.0 — beta 2.0.0
Install or update
- From 1.5.4 or newer: click Update at the top of the SetupLab window (in the pits, car stopped). SetupLab downloads this release, checks its size and SHA-256, and restarts itself.
- From 1.5.2 or older, or a first install: close Assetto Corsa, delete the old
assettocorsa/apps/lua/SetupLabfolder, then extractSetupLab-1.0.0-beta.2.0.0.zipintoassettocorsa/apps/lua/. Your settings, track memory and saved setups are kept.
SHA-256 of the zip: 298638087ae73918288ec35dc888d2b7f076ae06a888c3c45c09bb229d61efc3
📖 New: interactive user guide, with every step, button, tab and setting explained with screenshots, updated with each version: vincentchevalier44.github.io/SetupLab (French version).
❤️ Support SetupLab: SetupLab is free and will stay free for everyone. I build it in my spare time; if you enjoy it, you can give a little help on Patreon WHK Racing, from 1 € a month (cancel at any time). Thank you!
Why this update
SetupLab now works hand in hand with two companion apps by the same author, AdvancedIA (human-like AI and race direction, 2.0.0 or newer) and SpotterEnginer (spotter and race engineer). SetupLab stays fully independent: without them, nothing changes and nothing new is shown. The game log also showed that, since 1.5.11, the track's AI line was no longer read during the discovery: this is fixed. This version also brings an ERS map for hybrid cars and a review of the whole workflow.
The link with AdvancedIA and SpotterEnginer and the ERS map are checked on the offline test bench; they have not been tried in game yet.
What changes
With AdvancedIA 2.0.0 or newer (offline sessions)
- Laps under safety car, VSC, FCY, red flag, yellow flag, formation lap or with a penalty count in AC's times only: they are left out of the calibration, race pace, fuel consumption and tyre wear.
- Race rules: mandatory stops and maximum stint length cap the stint and the starting fuel; DRS disabled by the rules is not counted; with a mandatory tyre change, the pit stop preset gets the best allowed compound other than the fitted one.
- Cars stopped, off the track or retired no longer count as traffic; the dry/wet switch follows AdvancedIA's track state at once; SetupLab's computing slice shrinks when AdvancedIA needs more time per frame.
- A setting "Use AdvancedIA's data" appears in the SETTINGS tab only when AdvancedIA is installed. SetupLab only reads AdvancedIA's data, it never writes into it. With the free CSP 0.2.11, SetupLab works as before.
With SpotterEnginer
- SetupLab shares a short read-only summary (setup in the car, planned fuel, target hot pressures, refinement state, trial verdicts), so the race engineer can announce a new version ready and whether a trial is better or worse.
ERS map (hybrid cars)
- The QUALIFYING and RACE tabs show the track map with the deployment plan in colours (where to deploy, where the car's own program deploys, where to recover), the start and the direction of travel, and the recommended starting MGU-K program. Cars whose ERS is run by their own script are not covered.
Fixes
- The track's AI line is read again at once during the discovery (CSP is called with the exact number of arguments; broken since 1.5.11).
- Car-specific setting names (ARB_F, SPRING_LF, DAMPER_…, BUMPSTOP_…), third-element bump stops, MGU-K/MGU-H start settings, turbo, engine braking, steering assist and gear sets are recognised and kept, each with its reason, instead of "not recognised".
- Gear ratios written by CSP as INTERNAL_GEAR_n / FINAL_RATIO are read back under the setting names.
- When a computation is impossible for good with a car, the step card says why and offers to read the car again.
- During a race, the version in the car can no longer be discarded: judge it at the finish.
- A setup name you choose ending with the type in another case is written in the expected form; "Car's default setup" is only offered when CSP gives the default values.
- "Setup not saved: current setup unreadable" now says what to do, and the log records what CSP returned.
Offline test bench: 487 tests (21 new). Full list in the CHANGELOG.
