Fixes

Leonida Troubleshooting

Eight build symptoms from the Leonida README, grouped as source, LLVM, and runtime. Match the row, then follow its action label. The game still does not launch.


Symptoms8
Source2
LLVM2
Unsafe1

Where the failure sits

1

Source

Rows2

The source group holds the ZIP that drops third_party/rpf9-explorer, and a third-party Leonida.exe that GitHub does not publish.

2

LLVM

Rows2

The LLVM group holds the stock Windows build with no AMDGPU target, and the two point releases the Linux cross build tells you to skip.

3

Runtime

Rows4

The runtime group holds the blocked boot, the 350 GB disk budget, a shader stage that can report success at zero shaders, and the AMD Windows crash on emulated LDS.

Symptom rows

Each row keeps the area, state, and action stored for that symptom. Action labels include use-github-only and avoid-those-two. Open a row for the cause. Red is used only on the unsafe executable row.

Source

ZIP omits submodulesourcegit-clone-recursiveknown

GitHub's Download ZIP leaves out third_party/rpf9-explorer. The clone that includes it is git clone --recursive https://github.com/ItsNotRexed/Leonida. In a folder you already have, git submodule update --init --recursive fetches that same directory. Build.bat fetches the submodule when git is installed, and otherwise tells you what is missing. tools/rpf9dump needs the submodule.

Signalthird_party/rpf9-explorer
Third-party Leonida.exesourceuse-github-onlyunsafe

The repository does not contain the game, keys, or an executable, and it does not explain how to obtain them. Releases and tags are both empty, so GitHub has no Leonida.exe asset. A precompiled file from another site is not a build of this tree. Stay on the GitHub source. The boot row is still no, so an executable would not be a shortcut around that limit.

SignalLeonida.exe

Same limitGame does not boot

LLVM

Stock Windows LLVM lacks AMDGPUllvmbuild-llvm-mc-or-condaknown

llvm-mc needs the AMDGPU target. The official Windows LLVM installer does not ship it. From the repository root, scripts\build_llvm_mc.ps1 builds a native llvm-mc.exe and sets LLVM_MC. The script needs git and the Visual Studio C++ tools, and it takes about 20 to 40 minutes. conda install -c conda-forge llvm-tools is the faster Windows option written next to it. On Linux, llvm-mc on PATH is enough. A refusal of gfx1013 is this missing target.

Signalgfx1013
LLVM 22.1.7 and 22.1.8llvmavoid-those-twoknown

The Linux runtime stage cross-builds with clang-cl and lld-link. LLVM 19 or newer is the accepted range, except point releases 22.1.7 and 22.1.8. Those two are the pair called out for that cross build. Use another 19+ build, either the plain tool names or all five LLVM tools with one version suffix such as clang-cl-21. The stored action on this row is avoid-those-two.

Signal22.1.7 / 22.1.8

Runtime

Game does not bootbootno-launch-fixcurrent

Booting, story mode, and anything playable are no. Translated shaders, exported models, and the stand-in loader do not start the game. There is no black-screen preset and no launch switch that turns this tree into a running copy of the Xbox build. Work that does not need the game executable is already in the repository.

Signaldoes not boot
Full build needs about 350 GBdiskstages-or-work-driveknown

A full build wants about 350 GB of work files. The assets stage is about 300 GB and exists for the asset tools. --stages check,shaders,runtime needs about 30 GB when you are not exporting assets. --work and --out can place those folders on another drive. --wav stays off unless you pass it, because 16-bit PCM WAV is several times the Ogg Opus size. The preflight prints that choice when the assets stage is what will not fit.

Signal~350 GB
Shader stage looks finished with zero shadersshaderskeep-disasmknown

Leave the .s files in work/shaders/dxbc/disasm where they are. Deleting them together with work/shaders/spirv/index.json can make the shaders stage look finished while the shader count is zero. A disasm directory that is a symlink is refused when that stage has to clear it. Changing the llvm-mc command or its version reruns disassembly and keeps the extracted shader inputs.

Signalzero shaders
AMD Windows driver and emulated LDSgpuwave64-autoknown

AMD's Windows driver can crash on emulated LDS code. With --wave64-emulate auto, RDNA1 and RDNA2 stay on native wave64 when the runtime GPU can run it, even if vulkaninfo is missing or another GPU is 32-wide. auto is the default. Pass on to force emulation, or off to force native wave64. NVIDIA and Intel cards have 32-wide subgroups and need emulation for compute and mesh shaders.

Signalemulated LDS

Action table

SymptomAreaActionState
sourcegit-clone-recursiveknown
bootno-launch-fixcurrent
diskstages-or-work-driveknown
llvmbuild-llvm-mc-or-condaknown
llvmavoid-those-twoknown
shaderskeep-disasmknown
gpuwave64-autoknown
sourceuse-github-onlyunsafe
Bar chart of eight README blocker rows grouped as source 2, boot 1, disk 1, LLVM 2, shaders 1, and GPU 1
Eight README rows: source 2, boot 1, disk 1, LLVM 2, shaders 1, GPU 1. The runtime group on this page gathers boot, disk, shaders, and GPU.

Keep going

Setup has the toolchain checklist and Build.bat. Status shows which subsystems are done, partial, or blocked.

Sources