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

Merged
KLVSH-1 merged 1 commit from upstream-pr/325 into main 2026-11-27 13:05:59 +00:00
KLVSH-1 commented 2026-11-27 11:38:39 +00:00 (Migrated from github.com)

Imported from LakshanSivakumar/Native-Victory-macOS. Originally posted by KLVSH-1 on 2026-11-27T11:38:39Z.


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)
<!-- greyfinch-sync:LakshanSivakumar/Native-Victory-macOS:issue:5525981924 --> Imported from [LakshanSivakumar/Native-Victory-macOS](https://github.com/LakshanSivakumar/Native-Victory-macOS/pull/325). Originally posted by [KLVSH-1](https://github.com/KLVSH-1) on 2026-11-27T11:38:39Z. --- ## 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)
LakshanSivakumar commented 2026-11-27 11:54:17 +00:00 (Migrated from github.com)

Imported from LakshanSivakumar/Native-Victory-macOS. Originally posted by LakshanSivakumar on 2026-11-27T11:54:17Z.


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.

<!-- greyfinch-sync:LakshanSivakumar/Native-Victory-macOS:comment:7217609406 --> Imported from [LakshanSivakumar/Native-Victory-macOS](https://github.com/LakshanSivakumar/Native-Victory-macOS/pull/325#issuecomment-7217609406). Originally posted by [LakshanSivakumar](https://github.com/LakshanSivakumar) on 2026-11-27T11:54:17Z. --- 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.
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
LakshanSivakumar/Native-Victory-macOS!325
No description provided.