[BUNDLE] HLE host side (files, paths, host DLLs, display, xmem, net, speech): #337 #359 #357 #531 #1125 #133 #290 #207 #480 #76 #538 #997 #1169 #1193 #1386

Closed
MamaLeVrai wants to merge 33 commits from upstream-pr/1386 into main
MamaLeVrai commented 2026-11-24 17:40:18 +00:00 (Migrated from github.com)

Imported from Marvisak/VIctory. Originally posted by MamaLeVrai on 2026-11-24T17:40:18Z.


One PR in place of 14. The HLE PRs on the host side: runtime and host DLL loading, virtual-drive paths and files, media shares, display deferral, xmem pages, the net redirect and speech. Every head is merged unchanged onto main (70564ae, the maintainer's 28 commits of Nov 24, 22:36 CET), and the result is built and tested together.

For reviewers and for anyone verifying with an agent (Claude, Codex, a person): this is a [BUNDLE] PR. The re-verification commands are below, so one run covers all of it.

What is inside

PR Author Head Title
#337 CesarLopesO 5cf259e5f fix(hle): saturate storage quota conversion
#359 Dufftwt d549b6397 HLE: a '>' in a quoted manifest attribute does not end its tag
#357 Dufftwt c6959acba HLE: load a host DLL outside the module cache's lock (loader-lock deadlock)
#531 pushkarreddyy 26912a953 HLE: check null and invalid handle in display deferral
#1125 EatCodeSleep2 efe102eda Handle unsupported display deferrals in the HLE test
#133 Dufftwt 01ae55a3b Files: a title run by its file name alone gets its own folder as G:
#290 Quat3rnion ae6ebd9ec HLE tests: cover Windows path rules on every host
#207 Maraco91 11ca3ce49 Media: a share is refused however it is spelled
#480 enzoduarte1 75fe6c02b HLE: require two hex digits in percent escapes
#76 SuryaK5125 dea90ccc7 xmem: map a run of physical pages over several placeholders
#538 coderanonymus 65062e133 xmem: report allocations the host refuses
#997 Hiiva 7d1a0a585 HLE: prevent automatic WinHTTP redirects
#1169 geiyiliyabumo 212778a4b HLE: implement remaining XAccessibility closed-caption, high-contrast, and speech-to-text slots
#1193 geiyiliyabumo 62abb6071 HLE: add synthetic unit tests for storage.rs and host.rs

Changes made while bundling

No merge conflicts. One change of mine, in its own commit: a test #290 adds wrapped a raw string in format!(), which clippy::useless_format rejects under -D warnings (#290's own CI run fails on it). It now compares with the string directly.

Rebuilt on the new main. main moved (28 commits by the maintainer); the branch is the previous one with main merged in. One conflict, in xmem.rs: main records which views show each page (shown, title_memory_aliased) inside map_view, where one of this bundle's PRs moved the view bookkeeping into map() (one view per placeholder). The same bookkeeping now runs in map() for each view.

Verification

Windows 11, RX 6950 XT, Rust 1.98.1 (the pinned toolchain):

Check Result
cargo clippy --workspace --all-targets --locked -- -D warnings clean
cargo clippy --workspace --all-targets --all-features --locked -- -D warnings clean
cargo test --workspace --locked 513 passed, 0 failed, 7 ignored (two runs; main: 476 passed, 7 ignored)

The title was not run, so this says nothing about in-game effect. No game data is used or committed.

Re-verify in one go

git fetch https://github.com/MamaLeVrai/VIctory.git bundle/hle-host-files
git checkout FETCH_HEAD
cargo clippy --workspace --all-targets --locked -- -D warnings
cargo clippy --workspace --all-targets --all-features --locked -- -D warnings
cargo test --workspace --locked

To confirm that no component PR moved since this was built, compare each Head above with gh pr view <n> --repo Marvisak/VIctory --json headRefOid. If one differs, the branch needs a rebuild: merge the new head in the same order.

If this lands

The component heads are in the history unchanged, so each PR's commits and authorship are kept and GitHub should mark them merged. Merging them one by one instead works too, with the exceptions noted above.

AI-assisted (Claude Code); no game data.

🤖 Generated with Claude Code

<!-- greyfinch-sync:Marvisak/VIctory:issue:6587821391 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/pull/1386). Originally posted by [MamaLeVrai](https://github.com/MamaLeVrai) on 2026-11-24T17:40:18Z. --- **One PR in place of 14.** The HLE PRs on the host side: runtime and host DLL loading, virtual-drive paths and files, media shares, display deferral, xmem pages, the net redirect and speech. Every head is merged unchanged onto `main` (`70564ae`, the maintainer's 28 commits of Nov 24, 22:36 CET), and the result is built and tested together. > For reviewers and for anyone verifying with an agent (Claude, Codex, a person): this is a `[BUNDLE]` PR. The re-verification commands are below, so one run covers all of it. ## What is inside | PR | Author | Head | Title | |---|---|---|---| | #337 | CesarLopesO | `5cf259e5f` | fix(hle): saturate storage quota conversion | | #359 | Dufftwt | `d549b6397` | HLE: a '>' in a quoted manifest attribute does not end its tag | | #357 | Dufftwt | `c6959acba` | HLE: load a host DLL outside the module cache's lock (loader-lock deadlock) | | #531 | pushkarreddyy | `26912a953` | HLE: check null and invalid handle in display deferral | | #1125 | EatCodeSleep2 | `efe102eda` | Handle unsupported display deferrals in the HLE test | | #133 | Dufftwt | `01ae55a3b` | Files: a title run by its file name alone gets its own folder as G: | | #290 | Quat3rnion | `ae6ebd9ec` | HLE tests: cover Windows path rules on every host | | #207 | Maraco91 | `11ca3ce49` | Media: a share is refused however it is spelled | | #480 | enzoduarte1 | `75fe6c02b` | HLE: require two hex digits in percent escapes | | #76 | SuryaK5125 | `dea90ccc7` | xmem: map a run of physical pages over several placeholders | | #538 | coderanonymus | `65062e133` | xmem: report allocations the host refuses | | #997 | Hiiva | `7d1a0a585` | HLE: prevent automatic WinHTTP redirects | | #1169 | geiyiliyabumo | `212778a4b` | HLE: implement remaining XAccessibility closed-caption, high-contrast, and speech-to-text slots | | #1193 | geiyiliyabumo | `62abb6071` | HLE: add synthetic unit tests for storage.rs and host.rs | ## Changes made while bundling No merge conflicts. One change of mine, in its own commit: a test #290 adds wrapped a raw string in `format!()`, which `clippy::useless_format` rejects under `-D warnings` (#290's own CI run fails on it). It now compares with the string directly. **Rebuilt on the new `main`.** `main` moved (28 commits by the maintainer); the branch is the previous one with `main` merged in. One conflict, in `xmem.rs`: main records which views show each page (`shown`, `title_memory_aliased`) inside `map_view`, where one of this bundle's PRs moved the view bookkeeping into `map()` (one view per placeholder). The same bookkeeping now runs in `map()` for each view. ## Verification Windows 11, RX 6950 XT, Rust 1.98.1 (the pinned toolchain): | Check | Result | |---|---| | `cargo clippy --workspace --all-targets --locked -- -D warnings` | clean | | `cargo clippy --workspace --all-targets --all-features --locked -- -D warnings` | clean | | `cargo test --workspace --locked` | 513 passed, 0 failed, 7 ignored (two runs; `main`: 476 passed, 7 ignored) | The title was not run, so this says nothing about in-game effect. No game data is used or committed. ## Re-verify in one go ```powershell git fetch https://github.com/MamaLeVrai/VIctory.git bundle/hle-host-files git checkout FETCH_HEAD cargo clippy --workspace --all-targets --locked -- -D warnings cargo clippy --workspace --all-targets --all-features --locked -- -D warnings cargo test --workspace --locked ``` To confirm that no component PR moved since this was built, compare each `Head` above with `gh pr view <n> --repo Marvisak/VIctory --json headRefOid`. If one differs, the branch needs a rebuild: merge the new head in the same order. ## If this lands The component heads are in the history unchanged, so each PR's commits and authorship are kept and GitHub should mark them merged. Merging them one by one instead works too, with the exceptions noted above. AI-assisted (Claude Code); no game data. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
copilot-pull-request-reviewer[bot commented 2026-11-24 18:05:09 +00:00 (Migrated from github.com)

Imported from Marvisak/VIctory. Originally posted by copilot-pull-request-reviewer[bot] on 2026-11-24T17:40:33Z.

Review: COMMENTED


Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

<!-- greyfinch-sync:Marvisak/VIctory:review:6044358827 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/pull/1386#pullrequestreview-6044358827). Originally posted by [copilot-pull-request-reviewer[bot]](https://github.com/copilot-pull-request-reviewer%5Bbot%5D) on 2026-11-24T17:40:33Z. **Review:** COMMENTED --- Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.
sinan-cmyk commented 2026-11-24 19:04:24 +00:00 (Migrated from github.com)

Imported from Marvisak/VIctory. Originally posted by sinan-cmyk on 2026-11-24T18:45:25Z.


Runtime boot check on real hardware with a retail dump

Result: no difference from main in this test.

I merged head bea3c81 onto main ffe310e (clean merge), built it (release), and ran victory run <title exe> --execute with an empty data folder for 100 s, without any input. I compared the run with main built and run the same way.

main ffe310e this PR
Reaches the first-boot screens yes yes
Caption at 100 s (one sample) 30 fps, 12 draws/frame 32 fps, 12 draws/frame
Frames presented 2,048 2,048
crashes.log entries 0 0
Committed memory 11.1 GB 11.1 GB

Warnings: 7, the same kinds and counts as on main. 0 errors.

Limits. Without input, the title stays on the first-boot screens. This run does not exercise saves, the intro video, the start screen, loading or the world. It shows only that the change does not break startup or the first menus on this machine. I did not run the PR's tests.

Machine: Ryzen 7 7800X3D, RTX 4070 SUPER, Windows 11 25H2, game 1.0.2.1. AI-assisted (Claude Code).

<!-- greyfinch-sync:Marvisak/VIctory:comment:7141107879 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/pull/1386#issuecomment-7141107879). Originally posted by [sinan-cmyk](https://github.com/sinan-cmyk) on 2026-11-24T18:45:25Z. --- ### Runtime boot check on real hardware with a retail dump **Result: no difference from `main` in this test.** I merged head bea3c81 onto `main` ffe310e (clean merge), built it (release), and ran `victory run <title exe> --execute` with an empty data folder for 100 s, without any input. I compared the run with `main` built and run the same way. | | `main` ffe310e | this PR | |---|---|---| | Reaches the first-boot screens | yes | yes | | Caption at 100 s (one sample) | 30 fps, 12 draws/frame | 32 fps, 12 draws/frame | | Frames presented | 2,048 | 2,048 | | `crashes.log` entries | 0 | 0 | | Committed memory | 11.1 GB | 11.1 GB | **Warnings:** 7, the same kinds and counts as on `main`. 0 errors. **Limits.** Without input, the title stays on the first-boot screens. This run does not exercise saves, the intro video, the start screen, loading or the world. It shows only that the change does not break startup or the first menus on this machine. I did not run the PR's tests. Machine: Ryzen 7 7800X3D, RTX 4070 SUPER, Windows 11 25H2, game 1.0.2.1. AI-assisted (Claude Code).
upstream-sync closed this pull request 2026-11-25 01:06:26 +00:00
Marvisak commented 2026-11-25 01:08:11 +00:00 (Migrated from github.com)

Imported from Marvisak/VIctory. Originally posted by Marvisak on 2026-11-25T00:39:36Z.


Automated triage for the maintainers. Closing because this pull request re-packages other open pull requests. Each of those is reviewed on its own, so a bundle cannot be merged.

If this is mistaken, reply here with what was missed (or push a change and say so) and it will be looked at again. Thank you for the contribution.

<!-- greyfinch-sync:Marvisak/VIctory:comment:7148742739 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/pull/1386#issuecomment-7148742739). Originally posted by [Marvisak](https://github.com/Marvisak) on 2026-11-25T00:39:36Z. --- Automated triage for the maintainers. Closing because this pull request re-packages other open pull requests. Each of those is reviewed on its own, so a bundle cannot be merged. If this is mistaken, reply here with what was missed (or push a change and say so) and it will be looked at again. Thank you for the contribution.

Pull request closed

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
Marvisak/VIctory!1386
No description provided.