
- Boots: No
- Release: None
- File: None
The Leonida Loader and Its Stand-In: What the Loader Proves
The Leonida loader runs a stand-in program end to end. This guide explains what the loader is for, what the stand-in proves, and what it does not prove.
Contents
What the Loader Is For
A loader loads and runs a program. In a static recompilation project, the loader is the part that takes the prepared code and runtime and brings them together into a running process. It is the bridge between building and running: the build stages prepare shaders, assets, and the runtime, and the loader is the part that would start the program that uses them. Without a loader, prepared work would stay as files on disk. With a loader, prepared work can be started, tested, and observed.
The loader, the Leonida loader, is named gta6rt, and it is run with options that describe what kind of run is wanted. The loader is built in the runtime stage of the build, alongside the runtime itself. That placement matters, because it shows that the loader is part of the runtime work, not part of asset export or shader translation. A builder who runs the runtime stage is building the loader as well as the runtime it loads into.
The loader's job should not be confused with the game's job. The loader does not contain the game, and running the loader does not run the game unless game code is loaded. The distinction between the loader and the loaded program is the key to this whole guide. Everything the loader proves depends on what was loaded, and in the current state, what was loaded is a stand-in.
The Stand-In Program
A stand-in is a substitute program that takes the place of the real program for testing. Leonida's loader runs a stand-in program end to end, which means the loader can start a program, run it through its path, and finish the run. The stand-in is deliberately not the game. It exists so that the loader path can be exercised, observed, and fixed without the game's executable, which is absent from the project.
The value of a stand-in is that it separates loader problems from game problems. If the loader cannot run even a stand-in, the problem is in the loader path. If the loader runs a stand-in cleanly, the loader path works for that substitute, and the remaining questions concern the real program, its calls, its graphics work, and its assets. That separation is practical engineering, and it is why a stand-in run is reported as a result rather than dismissed as a placeholder.
The limit of a stand-in is equally clear. A stand-in does not make the calls that game code makes, does not present the graphics work that game code presents, and does not use assets the way game code uses them. A clean stand-in run therefore proves the loader path for a substitute, and nothing more. Readers who treat it as proof about the game have gone beyond what the run shows.
Run, Dry Run, and Init
The loader accepts three named modes: gta6rt --run, gta6rt --dry-run, and gta6rt --init. Each mode answers a different question. The run mode starts the program. The dry run mode goes through the motions without the full run, so that the path can be checked without committing to a complete execution. The init mode prepares initial state. Together, the three modes let a builder check the loader path in stages, rather than only in a single all-or-nothing attempt.
gta6rt --run
gta6rt --dry-run
gta6rt --initThe three modes should be read as loader controls, not as game controls. A dry run that succeeds shows that the dry run path works. An init that succeeds shows that initialisation works. A run that succeeds with a stand-in shows that a stand-in can be run end to end. None of the three modes changes the fact that the game does not boot, because none of them loads game code. The modes are useful precisely because they let the loader be tested honestly, without pretending that a test run is a game run.
Builders should also note the environment variables that affect the loader and runtime path. LEONIDA_D3D12 with the value vulkan selects the Vulkan path for D3D12 work, LEONIDA_SHADERS points to shader material, and LEONIDA_RT_AS with the value khr relates to ray tracing acceleration structure work. Those variables are part of the runtime environment, and they are covered in practical detail in the build guides. They do not change the stand-in position: they configure the path, they do not supply the missing game code.
What the Loader Proves
The loader proves that a program can be loaded and run end to end through the Leonida runtime path, when that program is the stand-in. That proof covers the mechanics of loading, the runtime that supports the loaded program, and the completion of the run. It is a real result, and it is the result the project states. A loader that could not do this would be a loader that could not be trusted to start anything, and the stand-in run removes that doubt for the substitute case.
The loader also proves that the runtime stage produces a working loader and runtime pair. The build stages are check, shaders, assets, runtime, and pipelines, and the runtime stage is where this pair is built. A stand-in run that completes end to end is evidence that the runtime stage output works as a loader, at least for the program it was given. That evidence belongs to the runtime stage, and it should be credited there.
The status and progress record for Leonida keeps the loader result in its proper place, alongside shader counts, asset counts, and the in-progress graphics work. Readers who check that record will see the loader result listed as a stand-in run, not as a game run. That placement is deliberate, and it is the correct way to credit the loader without overstating it.
What the Loader Does Not Prove
The loader does not prove that the game can be loaded. The game's executable is absent, so no run has loaded game code, and no run has shown the loader handling the calls, graphics work, and asset use that game code would present. The guide to the missing executable explains that absence in full, and this section should be read with it. The loader result and the missing executable result are two sides of the same position: a working loader path, and no game code to load through it.
The loader does not prove that the shims are complete either. Shims for GDK, XMem, and d3d12_xs answer Xbox calls on Windows, and the guide to GDK shims explains those layers. A stand-in does not make the full pattern of game calls through those shims, so shim behaviour under real game load remains unproven. The loader run and the shim layers are separate pieces of evidence, and neither one proves the other.
The loader also does not prove that the graphics layer is complete. The D3D12 to Vulkan layer is still in progress, and ray tracing BVH work is still in progress. A stand-in run does not exercise those layers the way game rendering would. The loader proves loading, the graphics layers prove what they prove on their own evidence, and the game does not boot. Keeping those proofs separate is the only way to read Leonida honestly.
A stand-in run is a loader result. It is not a game result, and it does not change the position that there are 0 releases and 0 tags.
The Loader and the Build
The loader is reached through the build. The build is run with Build.bat, and the runtime stage builds the runtime and loader. The build output lands in Documents\Leonida, and the work directory holds logs in work/logs/ and a pipeline cache file, pipeline_cache.bin. A builder who wants to see the loader result must first run the build stages that produce it, and must understand that a completed build is not a running game.
The build also has a runtime build option, --runtime-build, and a stages option that selects which stages run. Those options let a builder focus on runtime work without repeating unrelated stages. The full set of build options is explained in the build options guide, and the practical build sequence is explained in the build guide. This article does not repeat those guides: it explains what the loader result means once the build has produced a loader.
Finally, the loader should be judged by the same standard as every other Leonida result: what was actually run, and what was actually shown. What was run was a stand-in. What was shown was an end-to-end loader run for that stand-in. That is the loader's proof, and it is enough to credit the loader path while leaving the game itself unproven, unreleased, and not booting.
Conclusion
The Leonida loader, gta6rt, runs a stand-in program end to end, with run, dry run, and init modes for checking the loader path. That run proves that the loader and runtime pair built in the runtime stage can load and run a substitute program through the full path. It is a genuine loader result, and it should be credited as one.
It does not prove that the game can be loaded, that the shims behave correctly under game calls, or that the graphics layer is complete. The game's executable is absent, the D3D12 to Vulkan layer and ray tracing BVH work are still in progress, the game does not boot, and there are 0 releases and 0 tags. The loader proves its own path, and the game remains beyond that path until different evidence is demonstrated.
Frequently Asked Questions
What does the Leonida loader run?
The loader runs a stand-in program end to end. The stand-in is a substitute for testing the loader path, not the game, because the game's executable is absent.
What are the loader modes?
The loader accepts gta6rt --run, gta6rt --dry-run, and gta6rt --init. Run starts the program, dry run checks the path without a full run, and init prepares initial state.
Does a successful loader run mean the game boots?
No. A successful stand-in run proves the loader path for a substitute. The game does not boot, and there are 0 releases and 0 tags.