docs: clone with --recurse-submodules so the root workspace builds #589

Open
KainanP wants to merge 1 commit from upstream-pr/589 into main
KainanP commented 2026-11-28 16:52:08 +00:00 (Migrated from github.com)

Imported from LooperSalty/AnyXboxX. Originally posted by KainanP on 2026-11-28T16:52:08Z.


Fixes #490, fixes #493.

Both reports stop at the same place: failed to read third_party\tombox\crates\compat\xma\Cargo.toml (os error 3). anyxboxx-audio (xma) and anyxboxx-rdna2 (tombox-xshader) take path dependencies into the third_party/tombox submodule. A plain git clone leaves that folder empty, so any cargo build at the root fails: the launcher from source and anyxboxx both. The guides still said to clone with a plain git clone ... and that "there is nothing else to download". The launcher-only build of VIctory (third_party/victory, its own workspace) isn't affected, which is why prebuilt-launcher users don't see this.

Change (docs and one test, no code):

  • README.md / docs/i18n/README.fr.md, docs/launcher.md / docs/fr/lanceur.md and docs/running-gta6.md / docs/fr/lancer-gta6.md: clone with git clone --recurse-submodules ... and give git submodule update --init for an existing clone. launcher.md quotes the error, so people who search for it find the fix. English and French are changed together. No README table row or test count line changes.
  • tests/test_clone_instructions.py:
    • Every clone command for this repository in those six guides must use --recurse-submodules, and each guide must give git submodule update --init. On main, 6 of these 7 tests fail (one per guide).
    • A premise check that a root crate still builds from a submodule. If TomBox is ever vendored (rule 10), it fails and says the guides can go back to a plain clone.

VILauncher (#490, #493) is a third-party installer. It probably needs the same --recurse-submodules (or a git submodule update --init after its git fetch/reset). This PR can't change that, but its maintainers can now point to the README.

Tests: pytest tests/test_clone_instructions.py: 7 passed (6 failed on main). Full pytest (ANYXBOXX_REQUIRE_RUNTIME=1 python -m pytest -n auto): 1990 passed (RTX 4060 Laptop, run on main 66b92fbe with this PR and the two companion PRs from the same triage applied together).

AI use: written and tested by Claude Code (Claude Opus 5.5) for KainanP. The test was run red before the fix and green after.

🤖 Generated with Claude Code

<!-- greyfinch-sync:LooperSalty/AnyXboxX:issue:5542479112 --> Imported from [LooperSalty/AnyXboxX](https://github.com/LooperSalty/AnyXboxX/pull/589). Originally posted by [KainanP](https://github.com/KainanP) on 2026-11-28T16:52:08Z. --- Fixes #490, fixes #493. Both reports stop at the same place: `failed to read third_party\tombox\crates\compat\xma\Cargo.toml` (os error 3). `anyxboxx-audio` (`xma`) and `anyxboxx-rdna2` (`tombox-xshader`) take path dependencies into the `third_party/tombox` submodule. A plain `git clone` leaves that folder empty, so any `cargo build` at the root fails: the launcher from source and `anyxboxx` both. The guides still said to clone with a plain `git clone ...` and that "there is nothing else to download". The launcher-only build of VIctory (`third_party/victory`, its own workspace) isn't affected, which is why prebuilt-launcher users don't see this. **Change** (docs and one test, no code): - `README.md` / `docs/i18n/README.fr.md`, `docs/launcher.md` / `docs/fr/lanceur.md` and `docs/running-gta6.md` / `docs/fr/lancer-gta6.md`: clone with `git clone --recurse-submodules ...` and give `git submodule update --init` for an existing clone. `launcher.md` quotes the error, so people who search for it find the fix. English and French are changed together. No README table row or test count line changes. - `tests/test_clone_instructions.py`: - Every clone command for this repository in those six guides must use `--recurse-submodules`, and each guide must give `git submodule update --init`. On main, 6 of these 7 tests **fail** (one per guide). - A premise check that a root crate still builds from a submodule. If TomBox is ever vendored (rule 10), it fails and says the guides can go back to a plain clone. VILauncher (#490, #493) is a third-party installer. It probably needs the same `--recurse-submodules` (or a `git submodule update --init` after its `git fetch`/`reset`). This PR can't change that, but its maintainers can now point to the README. **Tests**: `pytest tests/test_clone_instructions.py`: 7 passed (6 failed on main). Full pytest (`ANYXBOXX_REQUIRE_RUNTIME=1 python -m pytest -n auto`): 1990 passed (RTX 4060 Laptop, run on main `66b92fbe` with this PR and the two companion PRs from the same triage applied together). _AI use: written and tested by Claude Code (Claude Opus 5.5) for KainanP. The test was run red before the fix and green after._ 🤖 Generated with [Claude Code](https://claude.com/claude-code)
This pull request cannot be merged automatically due to conflicts.
Merge manually to resolve the conflicts.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'upstream-pr/589:upstream-pr/589'
git switch 'upstream-pr/589'

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch 'main'
git merge --no-ff 'upstream-pr/589'
git switch 'upstream-pr/589'
git rebase 'main'
git switch 'main'
git merge --ff-only 'upstream-pr/589'
git switch 'upstream-pr/589'
git rebase 'main'
git switch 'main'
git merge --no-ff 'upstream-pr/589'
git switch 'main'
git merge --squash 'upstream-pr/589'
git switch 'main'
git merge --ff-only 'upstream-pr/589'
git switch 'main'
git merge 'upstream-pr/589'
git push origin 'main'
Sign in to join this conversation.
No reviewers
No labels
No milestone
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.

Reference
LooperSalty/AnyXboxX!589
No description provided.