tshadofr/Leila
Acerca de
GTA 6 en PC con un solo clic. Todo el trabajo público de portabilidad, integrado con el mío, en un único lanzador.
Juegos y emulaciónWhat you can do
- One portable exe, no installer. Point it once at the folder with game_scarlett_master.exe in it.
- Shaders are translated before the first start, with progress shown, and again only when an update changes the shader translator. Pipelines your runs used while loading are built ahead too; the rest are built the first time the game meets them.
- Graphics settings are written into the game's settings.xml before every start (the game writes its defaults back when it closes).
- NVIDIA DLSS files are downloaded from NVIDIA's own Streamline release when they are needed.
Crecimiento de estrellas medido
- in 24h
- +213
- in 7 days
- Recopilando historial
- in 15 days
- Recopilando historial
- in 1 month
- Recopilando historial
Cambios netos en períodos que se solapan, no totales diarios. Los datos no disponibles se dejan en blanco. Las estrellas indican interés, no calidad.
README.md
Original
Leila
GTA 6 on PC with one click.
All the public port work merged with my own, in one launcher. By tshado.
Discord: discord.gg/5TTPDJ26z
How to use
- Download
leila.exefrom Releases. Only get it there, and check its SHA-256 (see Check your download). - Open it and pick your game folder, the one with
game_scarlett_master.exein it (your own Xbox Series dump, v1.0.2.1). - Press Play.
That's all. The first start preloads the shaders. Everything else is set in the launcher: graphics, DLSS, FSR 3, ray tracing, fullscreen, mouse and keyboard. The mod menu is built in (F4).
Leila runs your own dump of the Xbox Series build of Grand Theft Auto VI (v1.0.2.1) on a Windows PC. You don't have to pick a fork, patch anything or build anything: point it at your game folder once and press Play.
Leila is my project: the launcher, the mod menu, the save decoding, the window branding and most of the engine patches here are my own work. It runs on an open-source engine, and I took the best fixes from the other open projects into it, so you get all of it in one place. Everything ships as one portable exe. It sets the game up, preloads shaders, fetches DLSS, writes your graphics settings and starts the game.
Leila does not include the game or any of its files. You need your own copy.
Features
Launcher
- One portable exe, no installer. Point it once at the folder with
game_scarlett_master.exein it. - Shaders are translated before the first start, with progress shown, and again only when an update changes the shader translator. Pipelines your runs used while loading are built ahead too; the rest are built the first time the game meets them.
- Graphics settings are written into the game's
settings.xmlbefore every start (the game writes its defaults back when it closes). - NVIDIA DLSS files are downloaded from NVIDIA's own Streamline release when they are needed.
- On Windows 10, Microsoft's Direct3D 12 runtime (Agility SDK) is fetched once, since Windows 10's own runtime refuses the game's translated shaders.
- A prerequisites check (Visual C++ runtime, drivers, memory, page file, free space, DLSS files) with one-click fixes where possible.
- A frame rate estimate from your own past runs, read from the engine's logs.
- Updates itself from this repository's GitHub releases, checking each download's size and SHA-256.
In the game
- Mod menu (F4). Player: heal and armour, wanted level, never wanted. Vehicles: the game's nine vehicle spawns. World: time of day, freeze time, weather by name, freeze weather. Teleport: save and return to a position, jump ahead. Info: position, time, weather, wanted level and frame rate. Every action is done by the game's own functions on the game's own thread. It can be switched off completely in Settings, Engine.
- Saves as JSON. Each story save the game loads or writes is also written as readable JSON to
saves-jsonin the install folder. - Ray-traced lighting (Settings, Light; off by default). The game's own ray tracing, for real light in rooms and shadows. Much slower and needs about 3 GB more memory, so it is for fast PCs with 32 GB of RAM. Turning it on or off needs no new shader preload.
- Window and controls (Settings, Display): fullscreen, mouse and keyboard, and the US English keyboard layout while the game is open. Keys are in
bindings.iniin the install folder and can be changed in the game with F1, Key bindings. - F1 in the game: save export and import (to share saves), key bindings, the frame rate line and the stats panel. Everything else is set in the launcher.
- Leila's name and icon on the game window.
Requirements
- Windows 10 or 11, 64-bit
- A CPU with AVX2
- A Direct3D 12 graphics card with a recent driver. NVIDIA RTX cards get DLSS. AMD and Intel cards run on the Series S profile without DLSS and have not been tested
- 16 GB of RAM at least (32 GB recommended), and a page file of 24 GB or more on 16 GB
- An SSD with room for the shader cache
- Your own dump of the Xbox Series build v1.0.2.1
Performance
The game runs at 30 fps at most. One CPU thread feeds the graphics card every frame, so the processor sets the frame rate far more than the graphics settings do.
Measured in game with the engine's own frame counter:
| PC | Frame rate |
|---|---|
| Core i5-14400F, RTX 2060 SUPER 8 GB, 16 GB RAM | 8-15 fps |
Building
Only needed if you build Leila yourself. Players just download leila.exe.
You need Windows, Git, Rust, Node.js 20.19 or newer, and the Visual Studio Build Tools with "Desktop development with C++".
- Rust builds the engine and the launcher.
- Visual Studio Build Tools give Rust the Windows linker it needs.
- Node.js only builds the launcher's interface. The launcher is a Tauri app: its window is a small web page that Windows shows with WebView2, which comes with Windows 10 and 11. Node turns that page into plain HTML and JavaScript, which is packed into
leila.exe. Node is not part of the exe.
git clone https://github.com/tshadofr/Leila
cd Leila
powershell -ExecutionPolicy Bypass -File .\engine\build.ps1
cd launcher
npm ci
npm run release
engine\build.ps1 clones VIctory-NVIDIA at the commit in engine\BASE, applies the patches in engine\patches in order and builds the engine with its own pinned Rust toolchain. It also downloads AMD's FidelityFX frame generation DLLs, checked against fixed SHA-256 hashes. Both go into launcher\src-tauri\resources\engine, from where they are built into the launcher.
The exe ends up in launcher\src-tauri\target\release\leila.exe. For live reload while working on the interface, run npm run app in launcher.
The launcher can show cover art from launcher\src\assets\local\cover.* and hero.* if they are there. They are not part of the repository and release builds leave them out; without them it shows the Leila logo.
How it works
- First start. The engine is unpacked to the install folder (
%LOCALAPPDATA%\Leilaby default, changeable in the Library). DLSS files are fetched on NVIDIA RTX cards, and the Direct3D 12 runtime on Windows 10. - Settings. Your choices go into the game's
settings.xmland into the engine's switches. - Preload. The game's shaders are translated and the pipelines from earlier runs are built.
engine\translator-key.ps1fingerprints the translator's source when the engine is built, and the preload runs again only when that fingerprint changes. - Play. The game starts through the engine. The first start of a new engine version restarts once after it loads.
Launcher settings are in %APPDATA%\Leila\config.json. Logs are in the install folder under logs.
Releases
.\scripts\release.ps1 -Version 1.0.1 -Notes "What changed"
It sets the version, builds the engine and the launcher, commits, tags, pushes and creates a GitHub release with leila.exe, then checks that the size and SHA-256 GitHub reports match the built exe. Launchers on an older version offer the update the next time they open.
What Leila changes in the engine
On top of the engine, Leila adds:
- Speed: lighter CPU work every frame (the part that holds the frame rate back most), and a shader preload that only builds what your runs use.
- Picture: no black cutscenes, no dark patches on open water, no white grain on shiny floors, no green or black textures on 8 GB cards, and lit rooms in mirrors.
- Its own features: the mod menu, story saves as JSON, mouse and keyboard from the launcher, and Leila's name and icon on the game window.
- Stability: slow loads no longer end the game, and memory is given back to Windows when the PC runs short.
Every change is a readable patch in engine/patches, applied in order on top of the engine commit in engine/BASE. Each patch's message says what it does and why.
Credits
Leila is made by tshado. It stands on these open projects:
- Engine: VIctory-NVIDIA (trustno1-coder and contributors), based on Marvisak/VIctory.
- Fixes brought in from fxceless/victory-fork, ProjectLeonida/mandy (also the game code addresses the mod menu calls), advantyx/VIctyx, and VIctory-NVIDIA pull requests and commits by ballsimulation, wike1701, shawn, ByFxbian, fxceless, PsyloZ, Eduardo Oliveira, JoeY54, Wiktorxd-1, Kyle Soderlund, Walid ben miled, qlfu and icdmkg2.
- Downloaded at run time, not part of this repository: NVIDIA DLSS (Streamline), AMD FidelityFX, Microsoft's Direct3D 12 Agility SDK, each under its own licence.
Check your download
Each release's notes give the SHA-256 of its leila.exe, and GitHub shows the same digest beside the file. In PowerShell, in the folder you downloaded it to:
Get-FileHash .\leila.exe -Algorithm SHA256
If the hash is not the one in the release notes, do not run the file. Leila is only released here; a leila.exe from anywhere else is not mine.
Community and bugs
- Discord: https://discord.gg/5TTPDJ26z
- Bugs: open an issue on this repository's Issues page with what happened, your PC (CPU, GPU, RAM, Windows version), your Leila version and the newest log from the
logsfolder in the install folder (Settings, Engine, Open logs).
License
GNU General Public License v3.0, the same as the engine. See LICENSE.
Disclaimer
Leila does not provide the game or any of its files. Rockstar Games and Take-Two Interactive own Grand Theft Auto and all related marks. Leila is not affiliated with, endorsed by or connected to them.
Explorar proyectos relacionados
Cargando…