[PR #726] assets: allow skipping audio export #764

Open
opened 2026-11-26 20:18:58 +01:00 by 4ld0 · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ubiquitarianism/leonida/pull/726
Author: @Ggfortnite99
Created: 11/24/2026
Status: 🔄 Open

Base: main ← Head: asset-audio-skip-current


📝 Commits (1)

  • 53a70ae ASSET-AUDIO-SKIP: allow skipping audio export

📊 Changes

5 files changed (+161 additions, -65 deletions)

View changed files

📝 README.md (+7 -2)
📝 make_game.py (+89 -55)
📝 tests/test_audio_stage_resume.py (+15 -2)
📝 tests/test_make_game_argparse.py (+31 -4)
📝 tests/test_make_game_preflight.py (+19 -2)

📄 Description

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).

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ubiquitarianism/leonida/pull/726 **Author:** [@Ggfortnite99](https://github.com/Ggfortnite99) **Created:** 11/24/2026 **Status:** 🔄 Open **Base:** `main` ← **Head:** `asset-audio-skip-current` --- ### 📝 Commits (1) - [`53a70ae`](https://github.com/ubiquitarianism/leonida/commit/53a70ae065e6cc7c9941c5e155883a24d4325f93) ASSET-AUDIO-SKIP: allow skipping audio export ### 📊 Changes **5 files changed** (+161 additions, -65 deletions) <details> <summary>View changed files</summary> 📝 `README.md` (+7 -2) 📝 `make_game.py` (+89 -55) 📝 `tests/test_audio_stage_resume.py` (+15 -2) 📝 `tests/test_make_game_argparse.py` (+31 -4) 📝 `tests/test_make_game_preflight.py` (+19 -2) </details> ### 📄 Description ### 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://github.com/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). --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Sign in to join this conversation.
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
starred/leonida#764
No description provided.