Leila V2

Now runs on AMD and NVIDIA cards

Your game on PC with one click.
By tshado.

Big thanks to miz for lots of the texture fixes.

Leila V2 is the community's open work collected in one place, with our patches on top.

How to use

  1. Download leila.exe from Releases. Only get it there, and check its SHA-256 (see Check your download).
  2. Open it and pick your game folder.
  3. Press Play.

That's all. Leila picks good starting settings for your PC the first time it opens. The first start builds the shaders, with progress shown. Everything else can be changed in the launcher.

Leila does not include the game or any of its files. You need your own copy.

Features

Launcher

  • One portable exe, no installer.
  • Starting settings picked for your PC, so the first start already looks and runs its best.
  • Quick settings on the Play page: graphics, upscaling, frame generation and frame rate, one click each.
  • NVIDIA DLSS on RTX cards, AMD FSR upscaling and FSR frame generation on every other card.
  • DLSS frame generation on RTX 30 cards through MFG Unlocker, set up for you (experimental).
  • Shaders built before the first start, and again only when an update changes them.
  • A check of what your PC needs (Visual C++ runtime, drivers, memory, page file, free space) with one-click fixes where possible.
  • A frame rate estimate from your own past runs.

In the game

  • Leila's own look for every in-game box, the frame rate line and the stats panel.
  • Mod menu (F4): heal and armour, wanted level, time of day, weather and more. It can be switched off in Settings.
  • F1: save export and import, key bindings, the frame rate line and the stats panel.
  • Story saves also written as readable JSON.
  • Ray-traced lighting for fast PCs (off by default).
  • Fixes for AMD cards: no driver crash when the pipeline cache loads, no device resets from copy work.
  • Leila's name and icon on the game window and the taskbar.

Requirements

  • Windows 10 or 11, 64-bit
  • A CPU with AVX2
  • A Direct3D 12 graphics card with a recent driver (NVIDIA, AMD or Intel)
  • 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

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++".

git clone https://github.com/tshadofr/Leila
cd Leila
powershell -ExecutionPolicy Bypass -File .\scripts\build.ps1

engine holds the engine's source and launcher the launcher's. The script builds the engine, fetches AMD's FidelityFX DLLs (checked against fixed SHA-256 hashes), builds the launcher with the engine inside it and prints the exe's path and SHA-256.

Credits

Leila is made by tshado, with help from miz (mizzied) on lots of the texture fixes.

  • Built on the V engine and the D engine, with our patches on top.
  • DLSS frame generation on RTX 30: MFG Unlocker by dashdogy, brought into Leila by nexpid.
  • Downloaded or bundled, each under its own licence: NVIDIA DLSS (Streamline), AMD FidelityFX, Microsoft's Direct3D 12 Agility SDK and MFG Unlocker.
  • Third-party code in the engine keeps its licences: see engine/THIRD-PARTY-NOTICES.txt.

Check your download

Each release's notes give the SHA-256 of its leila.exe. 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.

Community and bugs

  • Discord: https://discord.gg/5TTPDJ26z
  • Bugs: open an issue with what happened, your PC (CPU, GPU, RAM, Windows version), your Leila version and the newest log (Settings, Engine, Open logs).

License

GNU General Public License v3.0. See LICENSE.

Disclaimer

Leila does not provide the game or any of its files, and is not affiliated with or endorsed by the game's publisher.