docs: guide d'installation et de lancement de GTA VI #127

Merged
LooperSalty merged 1 commit from upstream-pr/127 into main 2026-11-24 11:14:21 +00:00
LooperSalty commented 2026-11-24 11:07:06 +00:00 (Migrated from github.com)

Imported from LooperSalty/AnyXboxX. Originally posted by LooperSalty on 2026-11-24T11:07:06Z.


Résumé

  • Ajoute docs/running-gta6.md (anglais) et docs/fr/lancer-gta6.md (français) : état mesuré le 24/11, prérequis, installation, compilation du profil diag, lancement par tools/lancer_victory.ps1, pas à pas jusqu'à la première cinématique, lancements scriptés et diagnostics, branche expérimentale, sécurité, tests, où signaler.
  • Ajoute dans l'encadré « Where we are » des 8 README une ligne qui pointe vers le guide.
  • Aucun fichier du jeu, aucune adresse ni hash de shader.

Vérifications

  • pytest tests/test_readme_sync.py tests/test_site.py : 6 passés, 1 ignoré
  • ruff --select W605,F,E9 : OK

🤖 Generated with Claude Code

https://claude.ai/code/session_01LwHrL6fhkpeG9ByE1rJxrt

<!-- greyfinch-sync:LooperSalty/AnyXboxX:issue:6580393811 --> Imported from [LooperSalty/AnyXboxX](https://github.com/LooperSalty/AnyXboxX/pull/127). Originally posted by [LooperSalty](https://github.com/LooperSalty) on 2026-11-24T11:07:06Z. --- ## Résumé - Ajoute `docs/running-gta6.md` (anglais) et `docs/fr/lancer-gta6.md` (français) : état mesuré le 24/11, prérequis, installation, compilation du profil diag, lancement par `tools/lancer_victory.ps1`, pas à pas jusqu'à la première cinématique, lancements scriptés et diagnostics, branche expérimentale, sécurité, tests, où signaler. - Ajoute dans l'encadré « Where we are » des 8 README une ligne qui pointe vers le guide. - Aucun fichier du jeu, aucune adresse ni hash de shader. ## Vérifications - pytest tests/test_readme_sync.py tests/test_site.py : 6 passés, 1 ignoré - ruff --select W605,F,E9 : OK 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01LwHrL6fhkpeG9ByE1rJxrt
chatgpt-codex-connector[bot] commented 2026-11-24 11:07:19 +00:00 (Migrated from github.com)

Imported from LooperSalty/AnyXboxX. Originally posted by chatgpt-codex-connector[bot] on 2026-11-24T11:07:19Z.


Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-24T11:08:24.682295Z 4f2d58e PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

<!-- greyfinch-sync:LooperSalty/AnyXboxX:comment:7129683558 --> Imported from [LooperSalty/AnyXboxX](https://github.com/LooperSalty/AnyXboxX/pull/127#issuecomment-7129683558). Originally posted by [chatgpt-codex-connector[bot]](https://github.com/apps/chatgpt-codex-connector) on 2026-11-24T11:07:19Z. --- <!-- codex-pull-request-review-summary --> <!-- codex-review-state:v1 {"code_review":{"commit_sha":"4f2d58ef08a568731eee1ddfb3fe2253f6d26183","has_any_findings":true,"has_unresolved_findings":true,"status":"completed"},"security_review":{"commit_sha":null,"has_any_findings":null,"has_unresolved_findings":null,"status":null}} --> <details> <summary><strong>Codex Review Summary</strong>: ✅ Completed</summary> This comment shows the latest Codex review activity on this pull request. | Review | Status | Commit | Review trigger | | --- | --- | --- | --- | | 📝 **Code Review** | ✅ **Completed** <relative-time datetime="2026-11-24T11:08:24.682295Z">2026-11-24T11:08:24.682295Z</relative-time> | `4f2d58e` | PR opened | <details> <summary>ℹ️ About Codex in GitHub</summary> <br/> [Your team has set up Codex to review pull requests in this repo](https://chatgpt.com/codex/cloud/settings/general). Reviews are triggered when you - Open a pull request for review - Mark a draft as ready - Comment "@codex review" or "@codex security review". Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. </details> </details>
chatgpt-codex-connector[bot] commented 2026-11-24 11:08:22 +00:00 (Migrated from github.com)

Imported from LooperSalty/AnyXboxX. Originally posted by chatgpt-codex-connector[bot] on 2026-11-24T11:08:22Z.

Review: COMMENTED


💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 4f2d58ef08

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

<!-- greyfinch-sync:LooperSalty/AnyXboxX:review:6038102335 --> Imported from [LooperSalty/AnyXboxX](https://github.com/LooperSalty/AnyXboxX/pull/127#pullrequestreview-6038102335). Originally posted by [chatgpt-codex-connector[bot]](https://github.com/apps/chatgpt-codex-connector) on 2026-11-24T11:08:22Z. **Review:** COMMENTED --- <!-- codex-review-receipt:v1 --> ### 💡 Codex Review Here are some automated review suggestions for this pull request. **Reviewed commit:** `4f2d58ef08` <details> <summary>ℹ️ About Codex in GitHub</summary> <br/> [Your team has set up Codex to review pull requests in this repo](https://chatgpt.com/codex/cloud/settings/general). Reviews are triggered when you - Open a pull request for review - Mark a draft as ready - Comment "@codex review". If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". </details>
chatgpt-codex-connector[bot] commented 2026-11-24 11:08:22 +00:00 (Migrated from github.com)

Imported from LooperSalty/AnyXboxX. Originally posted by chatgpt-codex-connector[bot] on 2026-11-24T11:08:22Z.

Code review location: docs/running-gta6.md; line 123

@@ -0,0 +1,149 @@
+> Français : [lancer-gta6.md](fr/lancer-gta6.md)
+
+# Running GTA VI (Xbox Series 1.0.2.1 build) with AnyXboxX
+
+This guide installs and starts the project, and lists everything you need to repeat our tests on the Xbox Series 1.0.2.1 build of GTA VI, up to where we are today: the first cutscene. It does not provide the game and does not explain how to get it: you bring your own copy. Never put game files in this repository or attach them to an issue.
+
+The launch goes through [VIctory](https://github.com/Marvisak/VIctory) (Marvisak, GPL-3.0 or later), tracked here as the `third_party/victory` submodule (fork `LooperSalty/victory`, branch `anyxboxx/stable`). The script `tools/lancer_victory.ps1` builds it and starts it on your game folder.
+
+## What you get today
+
+Measured on 2026-11-24 on an i7-13700KF + RTX 4070 SUPER, Windows 11:
+
+- Boot, profile screen, first-run settings, legal screens, loading and the pause menu work, at 30 fps in the menus.
+- The first cutscene (opening credits of mission 1) is reached.
+- The 3D scene behind the credits is black (the lighting passes are not translated yet).
+- In the world the game runs at 0.3 to 0.6 frames per second.
+- It is not playable.
+
+## Requirements
+
+- Windows 10 or 11, x64.
+- A CPU with AVX2. Intel is fine: the instructions specific to AMD are emulated.
+- A Direct3D 12 GPU with shader model 6.6 and mesh shaders (NVIDIA RTX 20 series or newer, AMD RDNA 2 or newer).
+- 32 GB of RAM recommended, and a large enough Windows paging file: the game commits several GiB at startup. If it does not, `crashes.log` reports Windows error 1455: close other applications or enlarge the paging file.
+- Your own copy of the Xbox Series 1.0.2.1 build: a folder that contains `game_scarlett_master.exe`. Not provided, not explained here.
+- Free disk space for the shader cache (it grows as you play; see the status page for the figures to plan for).
+
+## Install
+
+1. [Git](https://git-scm.com/).
+2. Rust through [rustup](https://rustup.rs/). The exact toolchain is pinned by the submodule's `rust-toolchain.toml` and is installed automatically on the first `cargo` command.
+3. Visual Studio 2022 or 2026 Build Tools with the "Desktop development with C++" workload (MSVC).
+4. Windows SDK 10.0.26100 (provides `dxc`).
+5. Optional: the Windows optional feature "Graphics Tools" (D3D12 debug layer, needed only for `VICTORY_D3D12_DEBUG`).
+6. Python 3.12, only for the AnyXboxX test suite (see Tests).
+
+Get the code with its submodule:
+
+```powershell
+git clone --recurse-submodules https://github.com/LooperSalty/AnyXboxX.git
+cd AnyXboxX
+# or, in an existing clone:
+git submodule update --init third_party/victory
+```
+
+## Build
+
+```powershell
+cargo build --profile diag -p victory --features diagnostics --manifest-path third_party/victory/Cargo.toml
+```
+
+The `diag` profile is required for the scripted keys, the frame captures and the diagnostic options below. The first build downloads and compiles all dependencies, so expect several minutes. The executable is `third_party\victory\target\diag\victory.exe` (or `%CARGO_TARGET_DIR%\diag\victory.exe` if you set that variable). `tools/lancer_victory.ps1` runs this build for you when the executable is missing.
+
+## Run
+
+```powershell
+.\tools\lancer_victory.ps1 -GameDir <game folder>
+```
+
+The script sets three variables and then runs `victory.exe run <game folder>\game_scarlett_master.exe --execute`:
+
+| Variable | Value | Why |
+| --- | --- | --- |
+| `VICTORY_GAME_DIR` | your game folder | No `victory.toml` is needed. |
+| `VICTORY_CAPPED_DYNAMIC` | `262144` | NVIDIA caps the descriptor heap at 1,000,000 entries. With the default dynamic range, about 720 indirect draws per frame were dropped; with 262,144 slots they are not. |
+| `VICTORY_SHADER_LOOP_LIMIT` | `32` | Translated shader loops were almost endless; with a limit of 32 iterations the GPU is about 6 times faster. |
+
+`-SkipPipelines <hash,...>` is passed to `VICTORY_SKIP_PIPELINES` (see below).
+
+Where things are kept:
+
+- Saves, settings and `crashes.log`: `%LOCALAPPDATA%\victory\data`.
+- Derived data (shader and pipeline caches): `%LOCALAPPDATA%\victory\cache`.
+
+Both are outside the repository on purpose. Delete the cache folder to start from a clean cache; keep the data folder if you want to keep your save.
+
+## Getting to the first cutscene
+
+The window caption shows the frame rate. The window must have the focus.
+
+1. Profile screen: press Enter.
+2. First-run settings: press Enter on each screen.
+3. Legal notices: move down to "Next", wait for the countdown of the photosensitivity warning to end, tick the two boxes, then "Confirm".
+4. Loading, then the first cutscene (opening credits).
+5. Escape opens the pause menu.
+
+Keyboard or pad. With no XInput pad connected, the keyboard acts as a pad while the title's window has focus:
+
+| Keys | Pad |
+| --- | --- |
+| Enter, Backspace, X, Y | A, B, X, Y |
+| Arrows | D-pad |
+| W A S D / I J K L | left stick / right stick |
+| Q / E, Z / C | shoulders, triggers |
+| F / H | stick clicks |
+| Escape | Menu |
+| Tab | View |
+
+Hold each key for a moment: the game reads its input at 30 Hz, so a very short tap can be missed. Later launches resume directly from the save.
+
+## Scripted runs and diagnostics
+
+These need the `diag` build.
+
+| Variable | Effect |
+| --- | --- |
+| `VICTORY_KEYS=40:Enter,55:Enter,70:Enter` | Presses the keys at those seconds, with or without focus. |
+| `VICTORY_CAPTURE=<folder>` and `VICTORY_CAPTURE_FRAMES=<list>` | Saves the presented frames (those frame numbers). |
+| `VICTORY_SHOW_TARGET=busiest` | Shows the busiest render target instead of the final image (for example the G-buffer). |
+| `VICTORY_D3D12_DRED=1` | On a GPU failure, reports the commands in flight. |
+| `VICTORY_D3D12_DEBUG=1` | D3D12 debug layer (Graphics Tools required). |
+| `VICTORY_GPU_TIMING=1` | Times each command list and logs the slow ones. |
+| `VICTORY_SKIP_PIPELINES=<hash,...>` | Omits the draws and dispatches that use the listed 16-digit shader hashes. |
+| `VICTORY_LOG=<target>=debug,...` | Debug and trace output. |
+
+To stop the game: `taskkill /F /IM victory.exe`. The `timeout` command of Git Bash does not kill the executable.
+
+## Experimental branch
+
+```powershell
+git -C third_party/victory fetch origin anyxboxx/essai
+git -C third_party/victory checkout FETCH_HEAD
+```

P2 Badge Rebuild VIctory after switching branches

After following the stable build instructions above, switching to the experimental branch and launching through tools/lancer_victory.ps1 still runs the previously built stable executable: the launcher's build block runs only when diag\victory.exe is missing (tools/lancer_victory.ps1, lines 40–44). Conversely, returning to stable after manually building the experimental version leaves that experimental executable in use. Add an explicit rebuild after each branch switch in both language versions so users actually test the selected code and can reliably return to stable.

Useful? React with 👍 / 👎.

<!-- greyfinch-sync:LooperSalty/AnyXboxX:review-comment:4679080779 --> Imported from [LooperSalty/AnyXboxX](https://github.com/LooperSalty/AnyXboxX/pull/127#discussion_r4679080779). Originally posted by [chatgpt-codex-connector[bot]](https://github.com/apps/chatgpt-codex-connector) on 2026-11-24T11:08:22Z. **Code review location:** `docs/running-gta6.md`; line 123 ~~~~diff @@ -0,0 +1,149 @@ +> Français : [lancer-gta6.md](fr/lancer-gta6.md) + +# Running GTA VI (Xbox Series 1.0.2.1 build) with AnyXboxX + +This guide installs and starts the project, and lists everything you need to repeat our tests on the Xbox Series 1.0.2.1 build of GTA VI, up to where we are today: the first cutscene. It does not provide the game and does not explain how to get it: you bring your own copy. Never put game files in this repository or attach them to an issue. + +The launch goes through [VIctory](https://github.com/Marvisak/VIctory) (Marvisak, GPL-3.0 or later), tracked here as the `third_party/victory` submodule (fork `LooperSalty/victory`, branch `anyxboxx/stable`). The script `tools/lancer_victory.ps1` builds it and starts it on your game folder. + +## What you get today + +Measured on 2026-11-24 on an i7-13700KF + RTX 4070 SUPER, Windows 11: + +- Boot, profile screen, first-run settings, legal screens, loading and the pause menu work, at 30 fps in the menus. +- The first cutscene (opening credits of mission 1) is reached. +- The 3D scene behind the credits is black (the lighting passes are not translated yet). +- In the world the game runs at 0.3 to 0.6 frames per second. +- It is not playable. + +## Requirements + +- Windows 10 or 11, x64. +- A CPU with AVX2. Intel is fine: the instructions specific to AMD are emulated. +- A Direct3D 12 GPU with shader model 6.6 and mesh shaders (NVIDIA RTX 20 series or newer, AMD RDNA 2 or newer). +- 32 GB of RAM recommended, and a large enough Windows paging file: the game commits several GiB at startup. If it does not, `crashes.log` reports Windows error 1455: close other applications or enlarge the paging file. +- Your own copy of the Xbox Series 1.0.2.1 build: a folder that contains `game_scarlett_master.exe`. Not provided, not explained here. +- Free disk space for the shader cache (it grows as you play; see the status page for the figures to plan for). + +## Install + +1. [Git](https://git-scm.com/). +2. Rust through [rustup](https://rustup.rs/). The exact toolchain is pinned by the submodule's `rust-toolchain.toml` and is installed automatically on the first `cargo` command. +3. Visual Studio 2022 or 2026 Build Tools with the "Desktop development with C++" workload (MSVC). +4. Windows SDK 10.0.26100 (provides `dxc`). +5. Optional: the Windows optional feature "Graphics Tools" (D3D12 debug layer, needed only for `VICTORY_D3D12_DEBUG`). +6. Python 3.12, only for the AnyXboxX test suite (see Tests). + +Get the code with its submodule: + +```powershell +git clone --recurse-submodules https://github.com/LooperSalty/AnyXboxX.git +cd AnyXboxX +# or, in an existing clone: +git submodule update --init third_party/victory +``` + +## Build + +```powershell +cargo build --profile diag -p victory --features diagnostics --manifest-path third_party/victory/Cargo.toml +``` + +The `diag` profile is required for the scripted keys, the frame captures and the diagnostic options below. The first build downloads and compiles all dependencies, so expect several minutes. The executable is `third_party\victory\target\diag\victory.exe` (or `%CARGO_TARGET_DIR%\diag\victory.exe` if you set that variable). `tools/lancer_victory.ps1` runs this build for you when the executable is missing. + +## Run + +```powershell +.\tools\lancer_victory.ps1 -GameDir <game folder> +``` + +The script sets three variables and then runs `victory.exe run <game folder>\game_scarlett_master.exe --execute`: + +| Variable | Value | Why | +| --- | --- | --- | +| `VICTORY_GAME_DIR` | your game folder | No `victory.toml` is needed. | +| `VICTORY_CAPPED_DYNAMIC` | `262144` | NVIDIA caps the descriptor heap at 1,000,000 entries. With the default dynamic range, about 720 indirect draws per frame were dropped; with 262,144 slots they are not. | +| `VICTORY_SHADER_LOOP_LIMIT` | `32` | Translated shader loops were almost endless; with a limit of 32 iterations the GPU is about 6 times faster. | + +`-SkipPipelines <hash,...>` is passed to `VICTORY_SKIP_PIPELINES` (see below). + +Where things are kept: + +- Saves, settings and `crashes.log`: `%LOCALAPPDATA%\victory\data`. +- Derived data (shader and pipeline caches): `%LOCALAPPDATA%\victory\cache`. + +Both are outside the repository on purpose. Delete the cache folder to start from a clean cache; keep the data folder if you want to keep your save. + +## Getting to the first cutscene + +The window caption shows the frame rate. The window must have the focus. + +1. Profile screen: press Enter. +2. First-run settings: press Enter on each screen. +3. Legal notices: move down to "Next", wait for the countdown of the photosensitivity warning to end, tick the two boxes, then "Confirm". +4. Loading, then the first cutscene (opening credits). +5. Escape opens the pause menu. + +Keyboard or pad. With no XInput pad connected, the keyboard acts as a pad while the title's window has focus: + +| Keys | Pad | +| --- | --- | +| Enter, Backspace, X, Y | A, B, X, Y | +| Arrows | D-pad | +| W A S D / I J K L | left stick / right stick | +| Q / E, Z / C | shoulders, triggers | +| F / H | stick clicks | +| Escape | Menu | +| Tab | View | + +Hold each key for a moment: the game reads its input at 30 Hz, so a very short tap can be missed. Later launches resume directly from the save. + +## Scripted runs and diagnostics + +These need the `diag` build. + +| Variable | Effect | +| --- | --- | +| `VICTORY_KEYS=40:Enter,55:Enter,70:Enter` | Presses the keys at those seconds, with or without focus. | +| `VICTORY_CAPTURE=<folder>` and `VICTORY_CAPTURE_FRAMES=<list>` | Saves the presented frames (those frame numbers). | +| `VICTORY_SHOW_TARGET=busiest` | Shows the busiest render target instead of the final image (for example the G-buffer). | +| `VICTORY_D3D12_DRED=1` | On a GPU failure, reports the commands in flight. | +| `VICTORY_D3D12_DEBUG=1` | D3D12 debug layer (Graphics Tools required). | +| `VICTORY_GPU_TIMING=1` | Times each command list and logs the slow ones. | +| `VICTORY_SKIP_PIPELINES=<hash,...>` | Omits the draws and dispatches that use the listed 16-digit shader hashes. | +| `VICTORY_LOG=<target>=debug,...` | Debug and trace output. | + +To stop the game: `taskkill /F /IM victory.exe`. The `timeout` command of Git Bash does not kill the executable. + +## Experimental branch + +```powershell +git -C third_party/victory fetch origin anyxboxx/essai +git -C third_party/victory checkout FETCH_HEAD +``` ~~~~ --- **<sub><sub>![P2 Badge](https://img.shields.io/badge/P2-yellow?style=flat)</sub></sub> Rebuild VIctory after switching branches** After following the stable build instructions above, switching to the experimental branch and launching through `tools/lancer_victory.ps1` still runs the previously built stable executable: the launcher's build block runs only when `diag\victory.exe` is missing (`tools/lancer_victory.ps1`, lines 40–44). Conversely, returning to stable after manually building the experimental version leaves that experimental executable in use. Add an explicit rebuild after each branch switch in both language versions so users actually test the selected code and can reliably return to stable. Useful? React with 👍 / 👎. <!-- codex-code-review-finding:v1 -->
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!127
No description provided.