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.
Where the failure sits
Source
Rows2The source group holds the ZIP that drops third_party/rpf9-explorer, and a third-party Leonida.exe that GitHub does not publish.
LLVM
Rows2The LLVM group holds the stock Windows build with no AMDGPU target, and the two point releases the Linux cross build tells you to skip.
Runtime
Rows4The 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 submodule
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-explorerThird-party Leonida.exe
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.exeSame limitGame does not boot
LLVM
Stock Windows LLVM lacks AMDGPU
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.
Signalgfx1013LLVM 22.1.7 and 22.1.8
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.8Runtime
Game does not boot
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 bootFull build needs about 350 GB
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 GBShader stage looks finished with zero shaders
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 shadersAMD Windows driver and emulated LDS
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 LDSAction table
| Symptom | Area | Action | State |
|---|---|---|---|
| source | git-clone-recursive | known | |
| boot | no-launch-fix | current | |
| disk | stages-or-work-drive | known | |
| llvm | build-llvm-mc-or-conda | known | |
| llvm | avoid-those-two | known | |
| shaders | keep-disasm | known | |
| gpu | wave64-auto | known | |
| source | use-github-only | unsafe |
Keep going
Setup has the toolchain checklist and Build.bat. Status shows which subsystems are done, partial, or blocked.