Key lines from a file (VICTORY_KEYS_LIVE) and render-scale viewports #131

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

@⁠HrHd on GitHub · 2026-11-26 06:13 UTC · original
HrHd:keys-live → main · +270 −22 · 4 files · 1 commits · open

Two small things from playing this tree on a small PC, offered rather than kept to myself:

1. VICTORY_KEYS_LIVE — <file>: lines appended to the file while the title runs are pressed in order, with or without focus. It is how our runs get from the account picker into the world without a person at the desk (upstream fxceless #1027). Nothing else in the tree changes; the switch is diagnostics-only.

2. The render-scale viewports/scissors on the card — set_viewports divides by target_scale(), as set_scissors already did here, so VICTORY_RENDER_SCALE=2 keeps the drawn rectangle the size of the halved target instead of the title's full-size one.

Context, in case it is useful for #92/#11/#124: on an RTX 4060 Ti 8 GB, 15.7 GB RAM this tree dies entering the world with 0x8007000E at make_prelude on the fork's -Safe set, its default set and a plain run alike. VRAM peaked at 3.1 GB of 8 GB with a 7.4 GB working set, so it is resource exhaustion rather than capacity. With VICTORY_RELAY=1 VICTORY_CARD_STEPS=1 VICTORY_CARD_BUFFERS_MIN_MB=1 VICTORY_LIST_POOL=0 VICTORY_CARD_WINDOWS_MB=8 VICTORY_KEEP_SNAPSHOTS_MB=8 it gets into the world (frame 4092) and then removes the device (0x887A0006). With #92 applied it also still removes, so that pair is where the small-PC wall sits; the build runs clean enough to measure the rest.

**@⁠HrHd** on GitHub · 2026-11-26 06:13 UTC · [original](https://github.com/avatarmanz/VIctory-7900XTX/pull/131) `HrHd:keys-live` → `main` · +270 −22 · 4 files · 1 commits · open Two small things from playing this tree on a small PC, offered rather than kept to myself: **1. `VICTORY_KEYS_LIVE`** — `<file>`: lines appended to the file while the title runs are pressed in order, with or without focus. It is how our runs get from the account picker into the world without a person at the desk (upstream fxceless `#1027`). Nothing else in the tree changes; the switch is diagnostics-only. **2. The render-scale viewports/scissors on the card** — `set_viewports` divides by `target_scale()`, as `set_scissors` already did here, so `VICTORY_RENDER_SCALE=2` keeps the drawn rectangle the size of the halved target instead of the title's full-size one. Context, in case it is useful for `#92`/`#11`/`#124`: on an **RTX 4060 Ti 8 GB, 15.7 GB RAM** this tree dies entering the world with `0x8007000E` at `make_prelude` on the fork's `-Safe` set, its default set and a plain run alike. VRAM peaked at 3.1 GB of 8 GB with a 7.4 GB working set, so it is resource exhaustion rather than capacity. With `VICTORY_RELAY=1 VICTORY_CARD_STEPS=1 VICTORY_CARD_BUFFERS_MIN_MB=1 VICTORY_LIST_POOL=0 VICTORY_CARD_WINDOWS_MB=8 VICTORY_KEEP_SNAPSHOTS_MB=8` it gets into the world (frame 4092) and then removes the device (`0x887A0006`). With `#92` applied it also still removes, so that pair is where the small-PC wall sits; the build runs clean enough to measure the rest.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 06:25:45 +00:00
Author
Owner

@⁠avatarmanz on GitHub · 2026-11-26 07:33 UTC · original

Not merged: the README change deletes the credits section and leaves merge-conflict markers in it; the render-scale part would need a PR of its own.

**@⁠avatarmanz** on GitHub · 2026-11-26 07:33 UTC · [original](https://github.com/avatarmanz/VIctory-7900XTX/pull/131#issuecomment-7185584841) Not merged: the README change deletes the credits section and leaves merge-conflict markers in it; the render-scale part would need a PR of its own.
This pull request can be merged automatically.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin '+refs/pull/131/head:github-bot/gh-131'
git switch 'github-bot/gh-131'

Merge

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