
- Boots: No
- Release: None
- File: None
Leonida Disk Space Explained: The 400 GB Build and the 30 GB Check
A full Leonida build needs about 400 GB free, while a check without assets needs about 30 GB. This guide explains what consumes the space and how to free it.
Contents
Two Sizes, Two Different Jobs
Leonida has two headline disk figures, and they describe two different jobs. A full build needs about 400 GB free. A check with shaders and runtime needs about 30 GB. The difference between them is not a rounding difference or a choice of wording: it is the difference between a build that exports assets and a build that does not. Leonida disk space planning starts with choosing which job is wanted, because the space needed follows the job, not the other way round.
The full build runs the stages check, shaders, assets, runtime, and pipelines, including the assets stage that exports models, textures, and audio from the builder's own package. The check runs check plus shaders plus runtime, without the full asset export load. A builder who wants asset export must plan for the full size. A builder who wants to validate a copy and translate shaders can plan for the smaller size. Both jobs are legitimate, and both should be planned honestly, with the size that matches the stages selected.
Confusing the two sizes is the most common disk planning error for Leonida. A builder who plans 30 GB for a full build will run out of space during asset export, and a builder who plans 400 GB for a simple check will reserve far more than the check needs. This guide keeps the two figures apart in every section, so that the size, the stages, and the time for each job stay linked together in the reader's mind.
The Full Build Breakdown
A full build needs about 400 GB free. Of that total, about 337 GB is assets export. The remaining space, about 63 GB by subtraction, covers the check, shaders, runtime, pipelines, and working files for the full run. Those two parts, assets export and everything else, should be understood as a split: assets export dominates the full build, and the rest of the build, while substantial, is much smaller than the export alone.
The assets export step takes about 2h 35m. That time belongs to the export step in a full build, and it should be reported with the stages and settings of the run that produced it. A different run, with different stages or different jobs settings, may take a different time, and the export time should not be treated as a fixed time for every full build. The disk figure and the time figure together describe the cost of the full job: a large amount of free space, and a long export step within the build.
The output of a full build lands in Documents\Leonida, and the work directory holds logs in work/logs/ and a pipeline cache file, pipeline_cache.bin. A builder planning a full build should check that the drive holding the output and work locations has the full free space, not just the drive holding the source code. Output, work, and source can sit in different places, and the free space check must cover the place where the large output will actually be written.
| Job | Free space needed | What it includes |
|---|---|---|
| Full build | About 400 GB | Check, shaders, assets, runtime, and pipelines |
| Assets export within the full build | About 337 GB | Exported models, textures, and audio from the builder's own package |
| Check with shaders and runtime | About 30 GB | Check plus shaders plus runtime, without full asset export |
What Consumes the Space
Assets consume the space in a full build. The project reports 382,781 models exported, with 343,327 from levels.rpf, and 1,589 audio-config records, alongside textures as part of asset export. Hundreds of thousands of exported models, plus textures and audio, occupy far more space than translated shaders and a runtime alone. The export count and the disk figure are two views of the same fact: the asset set is large, and preparing it at scale needs a large amount of free space.
Shader work consumes far less space by comparison. The project reports 26,503 shaders translated and validated, and the check that includes shaders and runtime needs about 30 GB in total. That total covers the check, the translated shaders, and the runtime, and it shows that the non-asset parts of the build, while real work, are not the driver of the 400 GB figure. A reader who attributes the full size to shaders alone has misunderstood the breakdown.
Working files also consume space, though at a smaller scale than the export. Logs in work/logs/ record build runs, and pipeline_cache.bin records pipeline state. Those files are part of the work directory, and they grow as runs accumulate. They are not the main cost, but they are part of the space a builder should account for, especially across repeated runs. The asset export pipeline guide explains the export counts in full, and this guide explains the space those counts imply.
The 30 GB Check
The 30 GB figure covers check plus shaders plus runtime. It is the size for a builder who wants to validate a copy, translate and validate shaders, and build the runtime and loader, without running the full asset export. The stages option makes this job possible: by selecting check, shaders, and runtime stages, a builder avoids the assets stage that drives the full size. The size follows the stages, and the stages option is the control that links them.
The check itself works for Xbox Series 1.0.2.1, and the shader work in the check is the same translation work measured at 26,503 shaders. The runtime work in the check builds the runtime and the loader, gta6rt, which runs a stand-in program end to end. A 30 GB run therefore produces real, checkable results: a validated copy, translated shaders, and a working loader path for a stand-in. It does not produce the exported asset set, and it should not be judged as if it did.
Builders should choose the 30 GB job when the question they want answered is about the copy, the shaders, or the runtime. They should choose the 400 GB job when the question they want answered is about the full asset set. The Leonida requirements guide lists the space figures alongside the other requirements, so that space planning happens with the full requirement set in view, not as an afterthought discovered during a build.
Planning and Freeing Space
Planning for Leonida disk space means checking free space before the build starts, on the drive that will hold the output. For a full build, the check is for about 400 GB free. For a check, the check is for about 30 GB free. The check should be made at the output location, Documents\Leonida by default, and at the work location, because logs and the pipeline cache also need room. A free space check made on the wrong drive does not protect a build that writes to another drive.
Freeing space means removing material that is no longer needed, and the safest material to review first is old output and old work files from earlier runs. A builder who has run several builds may hold several copies of output and work state, and earlier copies that are no longer needed can be removed to make room for a new run. Logs in work/logs/ and the pipeline cache file pipeline_cache.bin belong to earlier runs, and a builder should understand what a run's work files contain before removing them, so that a needed record is not removed by mistake.
Check free space at the output drive before starting. A full build that runs out of space during asset export wastes the export time already spent, and the export step takes about 2h 35m.
Build Options and Space
Build options control how much space a run needs, because they control which stages run and where output goes. The --stages option selects stages, and selecting assets adds the export load while omitting assets avoids it. The --out option sets the output location, and the --work option sets the work location. A builder who understands those three options can predict the space a run will need, and can place output and work where space is available.
The guide to Build.bat options explains every option in full, including the stages, output, and work controls. This guide adds the space reading of those options: stages determine the job, the job determines the size, and output and work locations determine where the size must be available. A build command that names its stages and locations is a build command whose space needs can be checked in advance.
One further option affects output in a specific way. The --wav option concerns WAV output, and ffmpeg is required for --wav because ffmpeg handles XMA2 material. WAV output adds output material, and a builder using --wav should account for that output alongside the main build output. The option is not part of the headline space figures, and its output should be planned separately from the 400 GB and 30 GB figures, which describe the build stages themselves.
Conclusion
Leonida disk space comes down to two jobs. A full build needs about 400 GB free, with about 337 GB for assets export and about 2h 35m for that export step, because it exports 382,781 models and related assets from the builder's own package. A check with shaders and runtime needs about 30 GB, because it validates a copy, translates 26,503 shaders, and builds the runtime and loader without the full export. The stages selected determine which size applies, and the output and work locations determine where the space must be free.
Planning honestly means choosing the job first, checking free space at the output drive second, and leaving room for rebuilds and work files third. Even a well-planned build ends at the same honest position as every other Leonida result: the game does not boot, there are 0 releases and 0 tags, and the loader runs a stand-in. Disk space makes the preparation possible. It does not make the game run.
Frequently Asked Questions
How much free space does a full Leonida build need?
About 400 GB free, with about 337 GB for assets export. The export step takes about 2h 35m.
How much space does a check need?
About 30 GB for check plus shaders plus runtime, without the full asset export. The stages selected determine which size applies.
Where does build output go?
Output lands in Documents\Leonida by default, set with the --out option. Work files, including logs and the pipeline cache, sit in the work location set with --work.