assets: allow skipping audio export #726

Open
github-bot wants to merge 1 commit from github-bot/gh-726 into main AGit
Owner

@⁠Ggfortnite99 on GitHub · 2026-11-24 12:58 UTC · original
ubiquitarianism:asset-audio-skip-current → main · +161 −65 · 5 files · 1 commits · open

What and why

Adds an opt-in --no-audio flag for the assets stage. It skips audio extraction and conversion, preserves existing audio files, and leaves full audio export as the default. A later assets run without the flag can export audio. Preflight uses a 340 GiB assets estimate for the no-audio path, based on the documented ~337 GiB non-audio measurement.

This reduces time and storage when audio exports are not needed; it does not implement splitting files across drives. Context: the storage request recorded as old #7034 in issue #18.

Claimed in the coordination issue as: Not claimed; submitted directly for maintainer review (no matching open-work item is listed in #14).
Depends on: none.
Fixes: none.

Tested

  • python -I tests/test_audio_stage_resume.py — 13 passed
  • python -I tests/test_make_game_argparse.py — 40 passed
  • python -I tests/test_make_game_preflight.py — 100 passed, 2 skipped
  • python -I tests/test_docs_cli_flags.py — 4 passed
  • python -I tests/test_leonida_tui.py — 25 passed
  • python -m compileall -q make_game.py tools tests
  • python -I scripts/check_no_game_data.py on changed source, documentation and tests
  • Git merge-tree check against current main completed without conflicts

No full game build or performance benchmark was run.

GPUs tested: n/a.
AI-assisted: yes.

Checklist

  • Based on current main and merges cleanly.
  • One topic; follow-up work goes in a new pull request.
  • No game data, keys or decryption included.
  • New translator rule documented (not applicable; no translator rule added).
**@⁠Ggfortnite99** on GitHub · 2026-11-24 12:58 UTC · [original](https://github.com/ubiquitarianism/leonida/pull/726) `ubiquitarianism:asset-audio-skip-current` → `main` · +161 −65 · 5 files · 1 commits · open ### What and why Adds an opt-in `--no-audio` flag for the assets stage. It skips audio extraction and conversion, preserves existing audio files, and leaves full audio export as the default. A later assets run without the flag can export audio. Preflight uses a 340 GiB assets estimate for the no-audio path, based on the documented ~337 GiB non-audio measurement. This reduces time and storage when audio exports are not needed; it does not implement splitting files across drives. Context: the storage request recorded as old #7034 in [issue #18](https://git.gtahub.st/github/ubiquitarianism--leonida/issues/18). Claimed in the coordination issue as: Not claimed; submitted directly for maintainer review (no matching open-work item is listed in #14). Depends on: none. Fixes: none. ### Tested - `python -I tests/test_audio_stage_resume.py` — 13 passed - `python -I tests/test_make_game_argparse.py` — 40 passed - `python -I tests/test_make_game_preflight.py` — 100 passed, 2 skipped - `python -I tests/test_docs_cli_flags.py` — 4 passed - `python -I tests/test_leonida_tui.py` — 25 passed - `python -m compileall -q make_game.py tools tests` - `python -I scripts/check_no_game_data.py` on changed source, documentation and tests - Git merge-tree check against current `main` completed without conflicts No full game build or performance benchmark was run. GPUs tested: n/a. AI-assisted: yes. ### Checklist - [x] Based on current `main` and merges cleanly. - [x] One topic; follow-up work goes in a new pull request. - [x] No game data, keys or decryption included. - [ ] New translator rule documented (not applicable; no translator rule added).
Add an opt-in assets-stage switch to skip audio extraction and conversion, preserve existing audio outputs, and account for the lower disk requirement. AI-assisted implementation; focused tests passed.

Co-authored-by: Copilot <[email protected]>
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 09:18:13 +00:00
Author
Owner

@⁠abnalstlll-byte on GitHub · 2026-11-24 13:25 UTC · original · approved these changes

Audited and verified. Clean-room compliant.

  • Adds --no-audio option to make_game.py assets stage, reducing disk space footprint to ~370 GB.
  • Correctly records and credits ASSETS_NO_AUDIO_MARKER on completion.
  • Unit tests in tests/test_make_game_preflight.py PASS.
**@⁠abnalstlll-byte** on GitHub · 2026-11-24 13:25 UTC · [original](https://github.com/ubiquitarianism/leonida/pull/726#pullrequestreview-6039976861) · **approved these changes** Audited and verified. Clean-room compliant. - Adds --no-audio option to make_game.py assets stage, reducing disk space footprint to ~370 GB. - Correctly records and credits ASSETS_NO_AUDIO_MARKER on completion. - Unit tests in tests/test_make_game_preflight.py PASS.
This pull request has changes conflicting with the target branch.
  • make_game.py
View command line instructions

Manual merge helper

Use this merge commit message when completing the merge manually.

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin '+refs/pull/726/head:github-bot/gh-726'
git switch 'github-bot/gh-726'

Merge

Merge the changes and update on Forgejo.
git switch 'main'
git merge --no-ff 'github-bot/gh-726'
git switch 'github-bot/gh-726'
git rebase 'main'
git switch 'main'
git merge --ff-only 'github-bot/gh-726'
git switch 'github-bot/gh-726'
git rebase 'main'
git switch 'main'
git merge --no-ff 'github-bot/gh-726'
git switch 'main'
git merge --squash 'github-bot/gh-726'
git switch 'main'
git merge --ff-only 'github-bot/gh-726'
git switch 'main'
git merge 'github-bot/gh-726'
git push origin 'main'
This discussion has been locked. Commenting is limited to contributors.
No description provided.