feat: anyxboxx run --console series-s starts the title as a Series S #523

Merged
Luke-Ervin merged 2 commits from upstream-pr/523 into main 2026-11-27 19:38:44 +00:00
Luke-Ervin commented 2026-11-27 16:14:59 +00:00 (Migrated from github.com)

Imported from LooperSalty/AnyXboxX. Originally posted by Luke-Ervin on 2026-11-27T16:14:59Z.


Change

anyxboxx run --console series-s starts the title as an Xbox Series S. --console series-x, the default, changes nothing.

anyxboxx run ran victory run <game> --execute, so VIctory's own --console option (series-x | series-s, default series-x, in apps/victory/src/main.rs) never reached it. #504 asks for it for 8 GB cards: the Series S profile asks the title for half the memory plan and renders at 1280x720, and the reporter's Series X run on a 4060 Laptop held 19.2-22.9 GB in the process. Asked for when #338 was closed ("Series S support would have to be ported to crates/anyxboxx/src/run").

  • run/mod.rs: Console (SeriesX by default, SeriesS) and Console::victory_args(): nothing for Series X, --console series-s for Series S. RunArgs gets --console (alias --Console, like the other PowerShell names).
  • run/steps.rs: Victory::game_command_as(game_dir, env, console) adds those arguments after --execute. game_command(game_dir, env) is kept and calls it with Series X, so the graphical launcher (launch.rs) runs exactly the command it ran before.
  • anyxboxx-launcher/src/env.rs builds a RunArgs field by field for its environment, so it now names console: Console::SeriesX. The console only changes the command line, not the environment.
  • docs/running-gta6.md and docs/fr/lancer-gta6.md: the option, beside the existing note on Series S mode.

Series X passes nothing rather than --console series-x, because it is VIctory's default: the default command stays byte for byte the same, and tests/test_anyxboxx_run.py's check of it is unchanged.

Not known: whether Series S draws the 3D scene on the current base. On the Neptune base (c4c93bd) it drew the interface but left the scene black (#338). This only makes the profile reachable from anyxboxx run, so someone with an 8 GB card can check it. Nothing is added to the launcher, and the guide says the picture has not been checked on the current base.

Linked issue: Refs #504 (the anyxboxx run part; the launcher option it also asks for is left until Series S is known to draw, so the issue is not closed by this).

Verification

Linux, Rust 1.98.1, GNU Windows target (x86_64-pc-windows-gnu, MinGW), on top of main at a445308:

cargo check -p anyxboxx -p anyxboxx-launcher --target x86_64-pc-windows-gnu --all-targets → no errors, no warnings
cargo clippy -p anyxboxx -p anyxboxx-launcher --target x86_64-pc-windows-gnu --all-targets -- -D warnings → no warnings
python -m pytest → 1500 passed, 465 skipped
python -m ruff check --select W605,F,E9 PrototypeScarlett tests tools → All checks passed!

The check is what found the launcher's RunArgs literal. rustfmt --check reports no more diffs in the touched files than on main (steps.rs, tests.rs and env.rs already have some there; they are left alone). Not run here: the Rust tests (the Windows CI runs them) and the game.

Oracle and test data

  • Oracle: VIctory's Run arguments (#[arg(long, value_enum, default_value_t = Console::SeriesX)] console).
  • Test data: none; the test builds the commands.
  • Test: run::tests::the_title_runs_as_a_series_x_unless_series_s_is_asked. The default parses to Series X and gives run <game> --execute exactly, through both game_command and game_command_as. --console series-s and --Console series-s give --console series-s after --execute, and --console series-x parses to Series X. It does not compile without the change.

Checklist

  • The PR covers a single reviewable behaviour.
  • A test fails without this change and passes with it. (It cannot compile without the change; it was not run here, see Verification. The Windows CI job runs it.)
  • The commands and results of each check are given above.
  • An unimplemented function returns an error (E_NOTIMPL), never a fake success.
  • README: the same change in the English and French READMEs (test_readme_sync.py checks it). No README change; the run guide is changed in both languages.
  • No game, console or SDK file, no key, no dump, no download link.
  • Findings drawn from a title: only the measurements quoted from #504 and #338.
  • Code taken from another project: none in this PR.

This change was made with AI assistance (Claude Code): written and statically checked by the AI as described above. It was not run on Windows, and no game was run.

🤖 Generated with Claude Code

<!-- greyfinch-sync:LooperSalty/AnyXboxX:issue:5529746654 --> Imported from [LooperSalty/AnyXboxX](https://github.com/LooperSalty/AnyXboxX/pull/523). Originally posted by [Luke-Ervin](https://github.com/Luke-Ervin) on 2026-11-27T16:14:59Z. --- ## Change `anyxboxx run --console series-s` starts the title as an Xbox Series S. `--console series-x`, the default, changes nothing. `anyxboxx run` ran `victory run <game> --execute`, so VIctory's own `--console` option (`series-x | series-s`, default `series-x`, in `apps/victory/src/main.rs`) never reached it. #504 asks for it for 8 GB cards: the Series S profile asks the title for half the memory plan and renders at 1280x720, and the reporter's Series X run on a 4060 Laptop held 19.2-22.9 GB in the process. Asked for when #338 was closed ("Series S support would have to be ported to crates/anyxboxx/src/run"). - `run/mod.rs`: `Console` (`SeriesX` by default, `SeriesS`) and `Console::victory_args()`: nothing for Series X, `--console series-s` for Series S. `RunArgs` gets `--console` (alias `--Console`, like the other PowerShell names). - `run/steps.rs`: `Victory::game_command_as(game_dir, env, console)` adds those arguments after `--execute`. `game_command(game_dir, env)` is kept and calls it with Series X, so the graphical launcher (`launch.rs`) runs exactly the command it ran before. - `anyxboxx-launcher/src/env.rs` builds a `RunArgs` field by field for its environment, so it now names `console: Console::SeriesX`. The console only changes the command line, not the environment. - `docs/running-gta6.md` and `docs/fr/lancer-gta6.md`: the option, beside the existing note on Series S mode. Series X passes nothing rather than `--console series-x`, because it is VIctory's default: the default command stays byte for byte the same, and `tests/test_anyxboxx_run.py`'s check of it is unchanged. **Not known:** whether Series S draws the 3D scene on the current base. On the Neptune base (`c4c93bd`) it drew the interface but left the scene black (#338). This only makes the profile reachable from `anyxboxx run`, so someone with an 8 GB card can check it. Nothing is added to the launcher, and the guide says the picture has not been checked on the current base. Linked issue: Refs #504 (the `anyxboxx run` part; the launcher option it also asks for is left until Series S is known to draw, so the issue is not closed by this). ## Verification Linux, Rust 1.98.1, GNU Windows target (`x86_64-pc-windows-gnu`, MinGW), on top of `main` at `a445308`: ``` cargo check -p anyxboxx -p anyxboxx-launcher --target x86_64-pc-windows-gnu --all-targets → no errors, no warnings cargo clippy -p anyxboxx -p anyxboxx-launcher --target x86_64-pc-windows-gnu --all-targets -- -D warnings → no warnings python -m pytest → 1500 passed, 465 skipped python -m ruff check --select W605,F,E9 PrototypeScarlett tests tools → All checks passed! ``` The check is what found the launcher's `RunArgs` literal. `rustfmt --check` reports no more diffs in the touched files than on `main` (`steps.rs`, `tests.rs` and `env.rs` already have some there; they are left alone). Not run here: the Rust tests (the Windows CI runs them) and the game. ## Oracle and test data - Oracle: VIctory's `Run` arguments (`#[arg(long, value_enum, default_value_t = Console::SeriesX)] console`). - Test data: none; the test builds the commands. - Test: `run::tests::the_title_runs_as_a_series_x_unless_series_s_is_asked`. The default parses to Series X and gives `run <game> --execute` exactly, through both `game_command` and `game_command_as`. `--console series-s` and `--Console series-s` give `--console series-s` after `--execute`, and `--console series-x` parses to Series X. It does not compile without the change. ## Checklist - [x] The PR covers a single reviewable behaviour. - [x] A test fails without this change and passes with it. (It cannot compile without the change; it was not run here, see Verification. The Windows CI job runs it.) - [x] The commands and results of each check are given above. - [x] An unimplemented function returns an error (`E_NOTIMPL`), never a fake success. - [x] README: the same change in the English and French READMEs (`test_readme_sync.py` checks it). No README change; the run guide is changed in both languages. - [x] No game, console or SDK file, no key, no dump, no download link. - [x] Findings drawn from a title: only the measurements quoted from #504 and #338. - [x] Code taken from another project: none in this PR. This change was made with AI assistance (Claude Code): written and statically checked by the AI as described above. It was not run on Windows, and no game was run. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
chatgpt-codex-connector[bot] commented 2026-11-27 16:15:12 +00:00 (Migrated from github.com)

Imported from LooperSalty/AnyXboxX. Originally posted by chatgpt-codex-connector[bot] on 2026-11-27T16:15:12Z.


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-27T16:19:42.259375Z 6c351d2 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:7223039463 --> Imported from [LooperSalty/AnyXboxX](https://github.com/LooperSalty/AnyXboxX/pull/523#issuecomment-7223039463). Originally posted by [chatgpt-codex-connector[bot]](https://github.com/apps/chatgpt-codex-connector) on 2026-11-27T16:15:12Z. --- <!-- codex-pull-request-review-summary --> <!-- codex-review-state:v1 {"code_review":{"commit_sha":"6c351d230d270da2214da6da226d72da6d0f389a","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-27T16:19:42.259375Z">2026-11-27T16:19:42.259375Z</relative-time> | `6c351d2` | 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-27 16:19:39 +00:00 (Migrated from github.com)

Imported from LooperSalty/AnyXboxX. Originally posted by chatgpt-codex-connector[bot] on 2026-11-27T16:19:39Z.

Review: COMMENTED


💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 6c351d230d

ℹ️ 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:6090900633 --> Imported from [LooperSalty/AnyXboxX](https://github.com/LooperSalty/AnyXboxX/pull/523#pullrequestreview-6090900633). Originally posted by [chatgpt-codex-connector[bot]](https://github.com/apps/chatgpt-codex-connector) on 2026-11-27T16:19:39Z. **Review:** COMMENTED --- <!-- codex-review-receipt:v1 --> ### 💡 Codex Review Here are some automated review suggestions for this pull request. **Reviewed commit:** `6c351d230d` <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-27 16:19:40 +00:00 (Migrated from github.com)

Imported from LooperSalty/AnyXboxX. Originally posted by chatgpt-codex-connector[bot] on 2026-11-27T16:19:40Z.

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

@@ -253,7 +253,7 @@ All are diagnostics: they need the `diag` build (the `diagnostics` feature). Pro
 
 Measured by running our own copy of the 1.0.2.1 build under VIctory, on the local integration branch (VIctory `main` + pull requests + local fixes not all published), i7-13700KF + RTX 4070 SUPER. These are run measurements (fps, counts, traces) and the output of `victory translate`; nothing comes from reading the game's code.
 
-- **Series S mode is faster (measured).** `victory run --console series-s ...` gives about 3.1 to 3.3 fps in the world, against about 2.0 to 2.4 fps in Series X mode (about +50%), with the same image symptom. The game then renders internally at 1280x720 and presents at 1920x1080. Recommended for iterating.
+- **Series S mode is faster (measured).** `victory run --console series-s ...` gives about 3.1 to 3.3 fps in the world, against about 2.0 to 2.4 fps in Series X mode (about +50%), with the same image symptom. The game then renders internally at 1280x720 and presents at 1920x1080. Recommended for iterating. `anyxboxx run --console series-s` starts the title this way (`series-x`, the default, passes nothing). Those measurements are from 24 November, on an earlier VIctory base; on the Neptune base (`c4c93bd`) a Series S run drew the interface but left the 3D scene black (#338), and the current base has not been checked.

P2 Badge Include the required game directory in the command

When a reader copies this literal command, it cannot start the game: RunArgs.game_dir is a required Clap argument (crates/anyxboxx/src/run/mod.rs:82-83), so parsing exits for missing --game-dir before the console selection is applied. Include --game-dir <folder> and update the French counterpart, or mark this invocation as abbreviated.

Useful? React with 👍 / 👎.

<!-- greyfinch-sync:LooperSalty/AnyXboxX:review-comment:4721620427 --> Imported from [LooperSalty/AnyXboxX](https://github.com/LooperSalty/AnyXboxX/pull/523#discussion_r4721620427). Originally posted by [chatgpt-codex-connector[bot]](https://github.com/apps/chatgpt-codex-connector) on 2026-11-27T16:19:40Z. **Code review location:** `docs/running-gta6.md`; line 256 ~~~~diff @@ -253,7 +253,7 @@ All are diagnostics: they need the `diag` build (the `diagnostics` feature). Pro Measured by running our own copy of the 1.0.2.1 build under VIctory, on the local integration branch (VIctory `main` + pull requests + local fixes not all published), i7-13700KF + RTX 4070 SUPER. These are run measurements (fps, counts, traces) and the output of `victory translate`; nothing comes from reading the game's code. -- **Series S mode is faster (measured).** `victory run --console series-s ...` gives about 3.1 to 3.3 fps in the world, against about 2.0 to 2.4 fps in Series X mode (about +50%), with the same image symptom. The game then renders internally at 1280x720 and presents at 1920x1080. Recommended for iterating. +- **Series S mode is faster (measured).** `victory run --console series-s ...` gives about 3.1 to 3.3 fps in the world, against about 2.0 to 2.4 fps in Series X mode (about +50%), with the same image symptom. The game then renders internally at 1280x720 and presents at 1920x1080. Recommended for iterating. `anyxboxx run --console series-s` starts the title this way (`series-x`, the default, passes nothing). Those measurements are from 24 November, on an earlier VIctory base; on the Neptune base (`c4c93bd`) a Series S run drew the interface but left the 3D scene black (#338), and the current base has not been checked. ~~~~ --- **<sub><sub>![P2 Badge](https://img.shields.io/badge/P2-yellow?style=flat)</sub></sub> Include the required game directory in the command** When a reader copies this literal command, it cannot start the game: `RunArgs.game_dir` is a required Clap argument (`crates/anyxboxx/src/run/mod.rs:82-83`), so parsing exits for missing `--game-dir` before the console selection is applied. Include `--game-dir <folder>` and update the French counterpart, or mark this invocation as abbreviated. Useful? React with 👍 / 👎. <!-- codex-code-review-finding:v1 -->
Luke-Ervin commented 2026-11-27 16:39:14 +00:00 (Migrated from github.com)

Imported from LooperSalty/AnyXboxX. Originally posted by Luke-Ervin on 2026-11-27T16:39:14Z.

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

@@ -253,7 +253,7 @@ All are diagnostics: they need the `diag` build (the `diagnostics` feature). Pro
 
 Measured by running our own copy of the 1.0.2.1 build under VIctory, on the local integration branch (VIctory `main` + pull requests + local fixes not all published), i7-13700KF + RTX 4070 SUPER. These are run measurements (fps, counts, traces) and the output of `victory translate`; nothing comes from reading the game's code.
 
-- **Series S mode is faster (measured).** `victory run --console series-s ...` gives about 3.1 to 3.3 fps in the world, against about 2.0 to 2.4 fps in Series X mode (about +50%), with the same image symptom. The game then renders internally at 1280x720 and presents at 1920x1080. Recommended for iterating.
+- **Series S mode is faster (measured).** `victory run --console series-s ...` gives about 3.1 to 3.3 fps in the world, against about 2.0 to 2.4 fps in Series X mode (about +50%), with the same image symptom. The game then renders internally at 1280x720 and presents at 1920x1080. Recommended for iterating. `anyxboxx run --console series-s` starts the title this way (`series-x`, the default, passes nothing). Those measurements are from 24 November, on an earlier VIctory base; on the Neptune base (`c4c93bd`) a Series S run drew the interface but left the 3D scene black (#338), and the current base has not been checked.

Fixed in b5f20ae: the example now includes --game-dir.

<!-- greyfinch-sync:LooperSalty/AnyXboxX:review-comment:4721779802 --> Imported from [LooperSalty/AnyXboxX](https://github.com/LooperSalty/AnyXboxX/pull/523#discussion_r4721779802). Originally posted by [Luke-Ervin](https://github.com/Luke-Ervin) on 2026-11-27T16:39:14Z. **Code review location:** `docs/running-gta6.md`; line 256 ~~~~diff @@ -253,7 +253,7 @@ All are diagnostics: they need the `diag` build (the `diagnostics` feature). Pro Measured by running our own copy of the 1.0.2.1 build under VIctory, on the local integration branch (VIctory `main` + pull requests + local fixes not all published), i7-13700KF + RTX 4070 SUPER. These are run measurements (fps, counts, traces) and the output of `victory translate`; nothing comes from reading the game's code. -- **Series S mode is faster (measured).** `victory run --console series-s ...` gives about 3.1 to 3.3 fps in the world, against about 2.0 to 2.4 fps in Series X mode (about +50%), with the same image symptom. The game then renders internally at 1280x720 and presents at 1920x1080. Recommended for iterating. +- **Series S mode is faster (measured).** `victory run --console series-s ...` gives about 3.1 to 3.3 fps in the world, against about 2.0 to 2.4 fps in Series X mode (about +50%), with the same image symptom. The game then renders internally at 1280x720 and presents at 1920x1080. Recommended for iterating. `anyxboxx run --console series-s` starts the title this way (`series-x`, the default, passes nothing). Those measurements are from 24 November, on an earlier VIctory base; on the Neptune base (`c4c93bd`) a Series S run drew the interface but left the 3D scene black (#338), and the current base has not been checked. ~~~~ --- Fixed in b5f20ae: the example now includes --game-dir.
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!523
No description provided.