run-native.sh: Series S is the default up to 24 GB, as the README says #325

Manually merged
github merged 1 commit from github-bot/gh-325 into main 2026-11-27 13:08:27 +00:00 AGit
Owner

@⁠KLVSH-1 on GitHub · 2026-11-27 11:38 UTC · original
KLVSH-1:fix/series-s-default-24gb → main · +37 −11 · 5 files · 1 commits · merged 2026-11-27 13:05 UTC

What this changes

Refs #324

The README's memory row calls Series S the default on 16 to 24 GB Macs, but run-native.sh only picked it at 16 GB or less. 18 and 24 GB Macs ran Series X, which can run out of GPU memory at the world load (#8, #79, #110).

  • The default moves to default_console in native-binary.sh, and the threshold becomes 24 GB.
  • New script test tools/macos/tests/console-default.sh checks the default at 8, 16, 18, 24, 32, 36, 48 and 128 GB, and runs in the macOS CI job.
  • docs/ROADMAP.md names the new default.

If you would rather keep 16 GB and correct the README row instead, say so and I will change this pull request.

How it was tested

  • cargo test --target x86_64-apple-darwin -p victory-hle -p victory-loader -p victory (not run: no Rust code changes)
  • cargo clippy --workspace --all-targets --locked --target x86_64-pc-windows-gnullvm -- -D warnings (not run: no Rust code changes)
  • Ran the game (say how far it got), or not needed: not needed

Run on Linux, not on a Mac: console-default.sh passes, and fails at 18 GB against the old 16 GB rule; bash -n on the three scripts; run-summary.sh --self-test; cargo xtask policy. target-directory.sh needs macOS, so CI is its first run with this change.

Checklist

  • No game files, game code, disassembly listings or SDK files are included
  • Guesses about undocumented console behaviour are marked in the code and in docs/native-host.md (none here)
  • New diagnostics are behind a VICTORY_* variable and documented (none here)
**@⁠KLVSH-1** on GitHub · 2026-11-27 11:38 UTC · [original](https://github.com/LakshanSivakumar/Native-Victory-macOS/pull/325) `KLVSH-1:fix/series-s-default-24gb` → `main` · +37 −11 · 5 files · 1 commits · merged 2026-11-27 13:05 UTC ## What this changes Refs #324 The README's memory row calls Series S the default on 16 to 24 GB Macs, but `run-native.sh` only picked it at 16 GB or less. 18 and 24 GB Macs ran Series X, which can run out of GPU memory at the world load (#8, #79, #110). - The default moves to `default_console` in `native-binary.sh`, and the threshold becomes 24 GB. - New script test `tools/macos/tests/console-default.sh` checks the default at 8, 16, 18, 24, 32, 36, 48 and 128 GB, and runs in the macOS CI job. - `docs/ROADMAP.md` names the new default. If you would rather keep 16 GB and correct the README row instead, say so and I will change this pull request. ## How it was tested - [ ] `cargo test --target x86_64-apple-darwin -p victory-hle -p victory-loader -p victory` (not run: no Rust code changes) - [ ] `cargo clippy --workspace --all-targets --locked --target x86_64-pc-windows-gnullvm -- -D warnings` (not run: no Rust code changes) - [x] Ran the game (say how far it got), or not needed: not needed Run on Linux, not on a Mac: `console-default.sh` passes, and fails at 18 GB against the old 16 GB rule; `bash -n` on the three scripts; `run-summary.sh --self-test`; `cargo xtask policy`. `target-directory.sh` needs macOS, so CI is its first run with this change. ## Checklist - [x] No game files, game code, disassembly listings or SDK files are included - [x] Guesses about undocumented console behaviour are marked in the code and in docs/native-host.md (none here) - [x] New diagnostics are behind a `VICTORY_*` variable and documented (none here)
The README's memory row calls Series S the default on 16 to 24 GB Macs, but the script only picked it at 16 GB or less, so 18 and 24 GB Macs ran Series X, which can run out of GPU memory at the world load (#8, #79, #110).

The choice moves to default_console in native-binary.sh so a script test can check it for each RAM size without a game.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-27 12:02:40 +00:00
Author
Owner

@⁠LakshanSivakumar on GitHub · 2026-11-27 11:54 UTC · original

Thank you for finding that the README and the script disagree.

I would rather keep Series S as the default up to 24 GB, as the README says (the 24 GB runs posted today on #301 were Series S and were already short of memory). So the change is right in direction. I have approved your workflow so the checks can run. Please also claim #324 with /claim so the bot can record it. If #312 or #314 are merged first you will have to rebase ci.yml; keep all the steps.

**@⁠LakshanSivakumar** on GitHub · 2026-11-27 11:54 UTC · [original](https://github.com/LakshanSivakumar/Native-Victory-macOS/pull/325#issuecomment-7217609406) Thank you for finding that the README and the script disagree. I would rather keep Series S as the default up to 24 GB, as the README says (the 24 GB runs posted today on #301 were Series S and were already short of memory). So the change is right in direction. I have approved your workflow so the checks can run. Please also claim #324 with `/claim` so the bot can record it. If #312 or #314 are merged first you will have to rebase `ci.yml`; keep all the steps.
github manually merged commit 9225e1862d into main 2026-11-27 13:08:27 +00:00
This discussion has been locked. Commenting is limited to contributors.
No description provided.