make_game: document putting the package, port and work files on separate drives (OLD-7034, OLD-1434) #353
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
missing claim
needs rebase
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/ubiquitarianism--leonida!353
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/353/head"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@ItsMrDubey on GitHub · 2026-11-24 03:50 UTC · original
ItsMrDubey:make-game-split-dirs→main· +94 −0 · 2 files · 1 commits · merged 2026-11-24 17:38 UTCClaimed in the coordination issue as: OLD-7034, OLD-1434 (#14)
What and why
Old #7034 asked to keep the large install files on a hard drive and what the game runs from on the SSD; old #1434 asked to choose the install location.
make_game.pyalready supports this:--game(the package, read in place at run time throughgame_path.txt),--work(carved shaders and asset exports, hundreds of GB) and--out(the port:gta6rt.exe, path files, pipeline cache,overlay) each take any folder on any drive. The runtime reads only<work>/shaders/spirv(throughshader_path.txt) and never<work>/assets, and the free-space preflight already counts the--workdrive, the only place the large files go. No code change was needed.What was missing is the documentation, so this adds a README "Disk space and drives" section: a table of the three folders with their flags, contents, the sizes the repo already measures (about 30 GB for shaders, about 370 GB for assets,
MIN_FREE_GB) and what is read when playing, plus a two-run recipe that keeps the package, port and translated shaders on an SSD and puts the asset exports on a hard drive (--stages check,shaders,runtime,pipelineswith one--work, then--stages check,assetswith another; the second run does not rewriteshader_path.txt).Two regression tests in
tests/test_make_game_destinations.py(SeparateRootsTests) pin this down with the package,--outand--workin separate temporary roots (the work root on another drive when the repository's drive differs from the temp drive, as on the PC this was tested on, C: and D:): every stage gets the folder it was given and preflight counts the--workfolder; and an assets-only rerun with a different--workleavesgame_path.txt/shader_path.txtpointing at the first run's folders.Tested
Windows 11, Python 3.12 (make_game.py needs 3.12+), no GPU needed.
python -I make_game.py --helpon origin/main:--game,--out,--workalready present.python -I tests/test_make_game_destinations.py: 8 tests OK (6 before, 2 new; the new ones ran with work on D: and the rest on C:).python -m pytest -q tests/test_make_game_destinations.py tests/test_make_game_platform.py tests/test_make_game_preflight.py tests/test_make_game_argparse.py tests/test_make_game_paths.py: 192 passed, 3 skipped.tests/test_docs_encoding.py,test_docs_env_vars.py,test_docs_links.py,test_docs_table_rows.py,test_i18n_index.py: OK.python -I scripts/check_no_game_data.py README.md tests/test_make_game_destinations.py: clean.AI-assisted: yes
Checklist
docs/design.md, with how it was confirmed. n/a: no translator rule@Oliwettoo on GitHub · 2026-11-24 10:30 UTC · original
Checked the new README section against
make_game.py: the defaults (--outDocuments/Leonida,--work<out>/work), the stage names,MIN_FREE_GB(30 / 370) and the free-space check on the--workdrive all match, andshader_path.txtis only written by the runtime stage, so the two-run SSD/HDD recipe holds.tests/test_make_game_destinations.pypasses on currentmain. Nit: the existing "Low disk space" paragraph a few lines up says part of this again; one could point to the other. Ship. AI-assisted review.@QemmHD on GitHub · 2026-11-24 17:38 UTC · original
Merging.
Why merged: OLD-7034 / OLD-1434: a README section on putting the package, port and work folders on separate drives, plus 2 tests. Oliwettoo checked it against make_game.py (MIN_FREE_GB 30/370, the free-space check on the --work drive, shader_path written only by the runtime stage): "Ship".
Why it's good: test_make_game_destinations: 8 passed, and the consistency set with its 2 new tests: 568 passed. His optional nit (some overlap with the "Low disk space" paragraph) can be a follow-up.
Tested on Windows 11 / RTX 4070 SUPER: merged alone onto main
82a2aabcc. With it in, the repo-consistency set (cmake/translator-deps, shader_stage_resume, runtime_paths, docs, make_game, no-game-data, run_semantic_tests) gives 566 passed / 5 skipped / 0 failed, and check_no_game_data on the changed files is clean. git merge-tree against current main32950551e: no conflicts. Security read of the three-dot diff: no binaries, game data, downloads, network calls or build/CI changes.AI-assisted (Claude Code, Claude Opus 5.5).