- Rust 98.7%
- PowerShell 1.2%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
LONGROAD_HOST_FLOAT=1 in the launcher's NVIDIA settings: the console's float max/min, legacy product and med3 written as the card's own instructions where the card gives the same bits. Standing A B B A with RT on, 4K DLSS Quality (2026-12-05): 26.2 fps against 23.5, 1% low 10.3 against 8.7, GPU 34.1 ms a frame against 37.1, the same picture; the bit test on an RTX 5080 gave 0 of 2,925 cases different. A new shader cache key: the shaders are made again once. Co-Authored-By: Claude Opus 5.5 <[email protected]> |
||
| .cargo | ||
| .githooks | ||
| .github/ISSUE_TEMPLATE | ||
| apps/longroad | ||
| crates | ||
| docs | ||
| scripts | ||
| tests/fixtures/hle-probe | ||
| xtask | ||
| .gitattributes | ||
| .gitignore | ||
| .longroad-root | ||
| Cargo.lock | ||
| Cargo.toml | ||
| Get-AMD-FSR.cmd | ||
| Get-NVIDIA-DLSS.cmd | ||
| Launcher.cmd | ||
| LICENSE | ||
| longroad.example.toml | ||
| NOTICE.md | ||
| Play-Longroad.cmd | ||
| PLAY_FRAMEGEN.cmd | ||
| README.md | ||
| rust-toolchain.toml | ||
| rustfmt.toml | ||
longroad
Runs your own Xbox Series copy of GTA VI on a Windows PC, on NVIDIA, AMD or Intel graphics: hardware ray tracing where the card has it, DLSS on NVIDIA, and the game's own 30 frames a second.
No game files are in this repository, and none are ever accepted. You need your own dump of the game (the folder with
game_scarlett_master.exe).
What you need
- Windows 10 or 11 and a DirectX 12 card. Ray tracing needs DXR 1.1 hardware: NVIDIA RTX, AMD Radeon RX 6000 or newer, Intel Arc. Other cards play with the game's stand-in light.
- 12 GB of video memory or more for the Series X profile; under 10 GB the launcher picks the lighter Series S.
- 32 GB of RAM or more: the game and the layer together use 24 to 30 GB.
- Rust (the version is pinned in
rust-toolchain.toml) and the Visual Studio C++ Build Tools. - Your own dump of the game.
longroad is made and measured on NVIDIA (RTX 5080). It runs on AMD too (an RX 9070 XT tester got 18.9 fps with ray tracing off); ray tracing on AMD and Intel is new here, so reports are welcome.
Quick start
- Copy
longroad.example.tomltolongroad.tomland setgame_dirto your game's folder. - NVIDIA only, for DLSS: double-click
Get-NVIDIA-DLSS.cmdonce (NVIDIA's own files, about 70 MB). AMD, for FSR 3 frame generation:Get-AMD-FSR.cmdonce. - Double-click
Launcher.cmd(orPlay-Longroad.cmdto start straight away with the automatic choices). It builds longroad the first time (a few minutes), looks at your PC, and starts the game.
The launcher
Launcher.cmd opens a window with the build to play, what it found on your PC, the options, and Play:
- Builds: this folder, and every git worktree of it. A second one is handy for comparing the latest pushed
code with your own changes:
git worktree add ..\longroad-pushed origin/main. Each is labelled from git: Pushed build when it matches GitHub, Dev build when it has changes not committed or commits not pushed. The chosen build is brought up to date before it starts (cargo build, a few seconds when nothing changed), and Update brings a build without changes of its own up to the latest on GitHub. - Shared by every build: your
longroad.toml(from this folder) and NVIDIA's/AMD's files. Each build has its own cache (undercache_dir), and one again for a card of another maker, so switching never throws away the other's warm-up. - Options: ray tracing, output size, DLSS, frame generation, frame cap, warm up first, the diagnostics build ("Record performance"), the Lab's rule, and a timer that closes the game after a set time.
- Check shows what longroad finds and would do; Logs opens the log folder; Settings opens
longroad.toml.
Your choices are kept in %LOCALAPPDATA%\longroad\launcher.json. Optional: an icon of your own as
%LOCALAPPDATA%\longroad\launcher.ico, and a Discord status card with %LOCALAPPDATA%\longroad\discord.json
(see scripts\discord-presence.ps1).
Starting from a console
Play-Longroad.cmd -Check only shows what it found and would do. The same switches work on
.\scripts\play-longroad.ps1:
| Switch | What it does |
|---|---|
-Check |
Shows the hardware it found and the settings it would use; starts nothing |
-Preload |
Warms up first, in a window that shows its progress (see below) |
-NoRt |
Ray tracing off: the game's stand-in light, a little faster |
-Gpu Nvidia/Amd/Intel |
Sets up for that kind of card (with two cards: uses that one) |
-Console SeriesX/SeriesS |
The console profile (default: by video memory) |
-Dlss Quality/Balanced/Performance/DLAA/Off |
NVIDIA's upscaler (Off: the game's own) |
-FrameGen |
Frame generation 2x: DLSS on RTX 40/50, AMD's FSR 3 with the Series S profile |
-Lab |
The PortWatch Lab's rule: 4K output, 2560x1440 scene, no frame generation |
-Build diag |
The diagnostics build (slower; for bug reports) |
What it picks for each kind of card:
| NVIDIA | AMD | Intel | |
|---|---|---|---|
| Ray tracing | RTX cards | RX 6000 and newer | Arc |
| Upscaler | DLSS Quality | the game's own | the game's own |
Frame generation (-FrameGen) |
DLSS, RTX 40/50 | FSR 3, Series S profile | none |
In the game, F1 opens the settings menu (DLSS, frame cap, console profile, ...) and F3 the stats panel. The window title shows longroad, ray tracing on or off, and the fps; keep it in your screenshots.
Frames are capped at 30, the rate the game is made for: above it the game world runs too fast.
Warming up
The game makes thousands of shaders and pipelines as you go. The first time each is needed the game waits for
it, which shows as stutter, worst while moving, and lower fps for the first runs. A warm-up makes them before
you play: -Preload (or the F1 menu's PRELOAD SHADERS) opens a window with its three stages, how far each is,
the time so far and about how long is left:
- Translating the game's shaders: about 26,000, a minute or two.
- Building the pipelines this PC has seen: the long one, 15 to 20 minutes for the whole game on a fast PC.
- Storing the loading pipelines: seconds.
Stopping is safe: what is done is kept, and the next warm-up goes on from there. A new build or a new graphics driver needs a new warm-up.
On a new install there are no pipelines yet: the game writes down every one it makes as you play. So for test results that compare fairly: play once, warm up, then test. The window says when there was nothing to build yet.
Saves
Your saves are in %LOCALAPPDATA%\longroad\data\7952987A (paste %LOCALAPPDATA% into File Explorer's address
bar). data_dir in longroad.toml puts them somewhere else, and so does LONGROAD_HOME (<LONGROAD_HOME>\data).
target\release\longroad.exe config prints the folder in use. Every build in the launcher uses the same saves.
7952987A\ the game's title id
saves\ your progress (needed)
0009000000000001\ the player
00000000-0000-0000-0000-00007952987a\
Player~<16 hex digits>\ the game's save containers, each with a
SARC0000~<16 hex digits>\ numbered folder inside (v1, v3, v215 ...)
SARC0015~<16 hex digits>\
SettingsProfileSettings~<16 hex>\ the game's own settings (picture, controls, sound)
storage\ the game's local storage (cloudcache, cloudpers, settings)
temp\ temporary files and crash dumps, not part of a save
To back up a save, copy the whole 7952987A folder while the game is closed.
Moving a save: the F1 menu
- EXPORT SAVE (TO SAVES IN THE GAME FOLDER) writes
savesandstorageinto one zip, in aSavesfolder beside the game'sgame_scarlett_master.exe. That zip is all someone else needs. - IMPORT SAVE (PICK FROM SAVES) lists what is in that
Savesfolder. The save you pick is put in place at the next start, because the running game would write over it with its next autosave. Your current save is zipped intoSavesfirst (backup before import <time>.zip), and your own game settings are kept. - A zip you made yourself (Windows' Compress to ZIP file) imports too, whether it starts at the
7952987A,saves,0009000000000001or00000000-...folder, or at the containers. So does a folder withsaves(andstorage) inside, put inSavesas it is, such as a copied7952987Afolder.
From VIctory-NVIDIA and other VIctory forks
longroad keeps saves the same way, so a VIctory save works as it is: the save longroad is tested with started in VIctory builds. Either way works:
- If that build's F1 menu has EXPORT SAVE, use it. With the same game folder, the zip already shows in longroad's IMPORT SAVE list.
- Or by hand, with both games closed: copy
savesandstoragefrom VIctory's%LOCALAPPDATA%\victory\data\7952987A(or<VICTORY_HOME>\data\7952987A;victory.exe configprints it) into%LOCALAPPDATA%\longroad\data\7952987A. Back up longroad's own first if it has one.
Copy in File Explorer or an ordinary PowerShell window. Windows redirects what a Store-installed app writes under
%LOCALAPPDATA%, and the shells and AI tools it starts do the same; the Claude desktop app is one such app. A copy
made there lands in %LOCALAPPDATA%\Packages\<app>\LocalCache\Local\longroad\..., and a game started normally
doesn't see it: move it from there into %LOCALAPPDATA%\longroad\data\7952987A. The game's logs land there too
when such an app starts the game. Putting a save in the game folder's Saves for IMPORT SAVE isn't affected.
More settings
scripts\launch.ps1 lists every option. Any LONGROAD_... switch can be added with
-More @{LONGROAD_NAME='value'}; each one is described in a comment where the code reads it. docs\ explains how
the layer works, DLSS, ray tracing and Windows memory.
Reporting a problem
Open an issue. Please give your graphics card and
its video memory, CPU, RAM, what Play-Longroad.cmd -Check prints, a screenshot with the window title showing,
and the newest log from %LOCALAPPDATA%\longroad\logs (paste %LOCALAPPDATA% into File Explorer's address
bar).
License
GPL-3.0-or-later (LICENSE). longroad is a modified version of GPL-3.0 software; NOTICE.md names the
projects and people whose work it is built on.