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

Open
HrHd wants to merge 1 commit from upstream-pr/131 into main
HrHd commented 2026-11-26 06:13:21 +00:00 (Migrated from github.com)

Imported from avatarmanz/VIctory-7900XTX. Originally posted by HrHd on 2026-11-26T06:13:21Z.


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.

<!-- greyfinch-sync:avatarmanz/VIctory-7900XTX:issue:6620732616 --> Imported from [avatarmanz/VIctory-7900XTX](https://github.com/avatarmanz/VIctory-7900XTX/pull/131). Originally posted by [HrHd](https://github.com/HrHd) on 2026-11-26T06:13:21Z. --- 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.
avatarmanz commented 2026-11-26 07:33:26 +00:00 (Migrated from github.com)

Imported from avatarmanz/VIctory-7900XTX. Originally posted by avatarmanz on 2026-11-26T07:33:26Z.


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.

<!-- greyfinch-sync:avatarmanz/VIctory-7900XTX:comment:7185584841 --> Imported from [avatarmanz/VIctory-7900XTX](https://github.com/avatarmanz/VIctory-7900XTX/pull/131#issuecomment-7185584841). Originally posted by [avatarmanz](https://github.com/avatarmanz) on 2026-11-26T07:33:26Z. --- 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 cannot be merged automatically due to conflicts.
Merge manually to resolve the conflicts.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'upstream-pr/131:upstream-pr/131'
git switch 'upstream-pr/131'

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch 'main'
git merge --no-ff 'upstream-pr/131'
git switch 'upstream-pr/131'
git rebase 'main'
git switch 'main'
git merge --ff-only 'upstream-pr/131'
git switch 'upstream-pr/131'
git rebase 'main'
git switch 'main'
git merge --no-ff 'upstream-pr/131'
git switch 'main'
git merge --squash 'upstream-pr/131'
git switch 'main'
git merge --ff-only 'upstream-pr/131'
git switch 'main'
git merge 'upstream-pr/131'
git push origin 'main'
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
avatarmanz/VIctory-7900XTX!131
No description provided.