feat: launcher -Console SeriesS runs the title as a Series S #338

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

@⁠Skyfrye on GitHub · 2026-11-26 06:29 UTC · original
Skyfrye:nep/launcher-console → main · +25 −2 · 4 files · 1 commits · draft

Change

tools/lancer_victory.ps1 gets -Console SeriesX|SeriesS (default SeriesX). With SeriesS it runs victory run <game> --execute --console series-s, so the title runs as a Series S and renders at 1280x720 instead of 4K. Without it the command is the same as before. The help text and the guides (docs/running-gta6.md, docs/fr/lancer-gta6.md) say what it does and what it measured.

Measured, my copy of the game, RTX 5080, Ryzen 7 9800X3D, the world, runs of 300 s (engine at c4c93bd with #308 and VICTORY_INDIRECT_RAW=3):

Console fps (median of the last minute) Card busy (nvidia-smi)
Series X (4K) 17.5, 17.8 about half
Series S (1280x720) 20.3, 20.9 (20.8, 21.6 with #337) 31-35 %

No exception and no device lost in any of these runs. With the card about a third busy as a Series S, what is left is the CPU's.

Linked issue: none.

Verification

python -m pytest -q tests/test_lanceur_victory.py   -> 26 passed

New test test_console_series_s_runs_the_title_as_a_series_s: fails with the launcher of main (no -Console), passes with this one. test_launcher_takes_the_series_x_path_and_taps_a_only_when_asked now checks that Series X stays the default and series-s appears in one branch only (it checked that the text had no series-s at all). ruff check on the test file reports the same two PLW1510 lines as main's copy.

Checklist

  • The PR covers a single reviewable behaviour (the launcher can run the title as a Series S).
  • A test fails without this change and passes with it.
  • The commands and results of each check are given above.
  • An unimplemented function returns an error (E_NOTIMPL), never a fake success. (Nothing unimplemented here.)
  • README: not touched (the two guides that list the launcher's options are, in English and French).
  • No game, console or SDK file, no key, no dump, no download link.
  • Findings drawn from a title: frame rates; no title code.
  • Code taken from another project: none.

AI assistance: written with Claude Code (Claude Opus 5.5): the measurements, the change, its test and this description.

🤖 Generated with Claude Code

**@⁠Skyfrye** on GitHub · 2026-11-26 06:29 UTC · [original](https://github.com/LooperSalty/AnyXboxX/pull/338) `Skyfrye:nep/launcher-console` → `main` · +25 −2 · 4 files · 1 commits · draft ## Change `tools/lancer_victory.ps1` gets `-Console SeriesX|SeriesS` (default `SeriesX`). With `SeriesS` it runs `victory run <game> --execute --console series-s`, so the title runs as a Series S and renders at 1280x720 instead of 4K. Without it the command is the same as before. The help text and the guides (`docs/running-gta6.md`, `docs/fr/lancer-gta6.md`) say what it does and what it measured. Measured, my copy of the game, RTX 5080, Ryzen 7 9800X3D, the world, runs of 300 s (engine at `c4c93bd` with #308 and `VICTORY_INDIRECT_RAW=3`): | Console | fps (median of the last minute) | Card busy (nvidia-smi) | |---|---|---| | Series X (4K) | 17.5, 17.8 | about half | | Series S (1280x720) | 20.3, 20.9 (20.8, 21.6 with #337) | 31-35 % | No exception and no device lost in any of these runs. With the card about a third busy as a Series S, what is left is the CPU's. Linked issue: none. ## Verification ``` python -m pytest -q tests/test_lanceur_victory.py -> 26 passed ``` New test `test_console_series_s_runs_the_title_as_a_series_s`: fails with the launcher of `main` (no `-Console`), passes with this one. `test_launcher_takes_the_series_x_path_and_taps_a_only_when_asked` now checks that Series X stays the default and `series-s` appears in one branch only (it checked that the text had no `series-s` at all). `ruff check` on the test file reports the same two `PLW1510` lines as `main`'s copy. ## Checklist - [x] The PR covers a single reviewable behaviour (the launcher can run the title as a Series S). - [x] A test fails without this change and passes with 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. (Nothing unimplemented here.) - [x] README: not touched (the two guides that list the launcher's options are, in English and French). - [x] No game, console or SDK file, no key, no dump, no download link. - [x] Findings drawn from a title: frame rates; no title code. - [x] Code taken from another project: none. AI assistance: written with Claude Code (Claude Opus 5.5): the measurements, the change, its test and this description. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
victory run --console series-s renders at 1280x720 instead of 4K: the
world at 20.3 to 21.6 fps against 17.5 to 17.8 as a Series X on an RTX
5080 and a Ryzen 7 9800X3D. Series X stays the default and its command
is unchanged.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 06:36:41 +00:00
Author
Owner

@⁠Skyfrye on GitHub · 2026-11-26 10:27 UTC · original

Back to draft: do not merge. With --console series-s the title draws its UI (objective text, the skip prompt) but the 3D scene stays black, in the first cutscene and in the world (checked by looking at the window, build ec22880 = main c4c93bd + #308 + #340, VICTORY_INDIRECT_RAW=3, no other switch; the same build as a Series X draws the scene). So this option only makes the title run a mode the engine does not render yet. I had judged those runs by the frame log alone (frame rate, draws, no device lost), which said nothing about the picture.

🤖 Generated with Claude Code

**@⁠Skyfrye** on GitHub · 2026-11-26 10:27 UTC · [original](https://github.com/LooperSalty/AnyXboxX/pull/338#issuecomment-7189383674) Back to draft: do not merge. With `--console series-s` the title draws its UI (objective text, the skip prompt) but the 3D scene stays black, in the first cutscene and in the world (checked by looking at the window, build ec22880 = main c4c93bd + #308 + #340, `VICTORY_INDIRECT_RAW=3`, no other switch; the same build as a Series X draws the scene). So this option only makes the title run a mode the engine does not render yet. I had judged those runs by the frame log alone (frame rate, draws, no device lost), which said nothing about the picture. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Author
Owner

@⁠KainanP on GitHub · 2026-11-26 10:55 UTC · original

Test report for #338.

Merges cleanly onto current main. Setup: current origin/main (afa30ce) merged with this PR, Windows 11, Python 3.12, python -m pytest -q tests/test_lanceur_victory.py (the only test file that reads the launcher or the two guides). CPU only, so not repeated per adapter.

tests/test_lanceur_victory.py main main + #338
result 25 passed 26 passed (twice)

No failure. The new test passes, and the stricter series-s check in test_launcher_takes_the_series_x_path_and_taps_a_only_when_asked passes.

Notes from reading the diff:

  • --console series-s matches the victory CLI on main (apps/victory/src/main.rs, enum Console { SeriesX, SeriesS } as a clap ValueEnum), so the spelling is right.
  • The two & $exe run ... branches differ only by the flag. An argument array ($runArgs = @('run', $gameExe, '--execute'); if ($Console -eq 'SeriesS') { $runArgs += '--console', 'series-s' }; & $exe @runArgs) would keep one call site if more run flags get added later. The test's texte.count("series-s") == 1 would still hold.
  • You moved this back to draft (the 3D scene stays black with --console series-s). These results cover the launcher side only, on its current head.

AI use: Claude Code (Claude Opus 5.5) ran the tests and wrote this.

**@⁠KainanP** on GitHub · 2026-11-26 10:55 UTC · [original](https://github.com/LooperSalty/AnyXboxX/pull/338#issuecomment-7190022289) Test report for #338. Merges cleanly onto current main. Setup: current `origin/main` (afa30ce) merged with this PR, Windows 11, Python 3.12, `python -m pytest -q tests/test_lanceur_victory.py` (the only test file that reads the launcher or the two guides). CPU only, so not repeated per adapter. | `tests/test_lanceur_victory.py` | main | main + #338 | |---|---|---| | result | 25 passed | 26 passed (twice) | No failure. The new test passes, and the stricter `series-s` check in `test_launcher_takes_the_series_x_path_and_taps_a_only_when_asked` passes. Notes from reading the diff: - `--console series-s` matches the `victory` CLI on main (`apps/victory/src/main.rs`, `enum Console { SeriesX, SeriesS }` as a clap `ValueEnum`), so the spelling is right. - The two `& $exe run ...` branches differ only by the flag. An argument array (`$runArgs = @('run', $gameExe, '--execute'); if ($Console -eq 'SeriesS') { $runArgs += '--console', 'series-s' }; & $exe @runArgs`) would keep one call site if more run flags get added later. The test's `texte.count("series-s") == 1` would still hold. - You moved this back to draft (the 3D scene stays black with `--console series-s`). These results cover the launcher side only, on its current head. _AI use: Claude Code (Claude Opus 5.5) ran the tests and wrote this._
This pull request has changes conflicting with the target branch.
  • tests/test_lanceur_victory.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/338/head:github-bot/gh-338'
git switch 'github-bot/gh-338'

Merge

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