[BUNDLE] Four fixes carried from Peppacodes' fork: #762 #764 #765 #832 #1602

Closed
MamaLeVrai wants to merge 9 commits from upstream-pr/1603 into main
MamaLeVrai commented 2026-11-24 19:42:11 +00:00 (Migrated from github.com)

Imported from Marvisak/VIctory. Originally posted by MamaLeVrai on 2026-11-24T19:42:11Z.


Four small fixes from one contributor's fork, in one PR. Each was reported as an issue with a branch, a commit, a repro and a test, written when pull requests were still limited to collaborators, and none has a pull request. The branches are merged here as they are, with their commits and their author, onto main (ffe310e); nothing is changed.

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

What is inside

Issue Fork branch Commit(s) What it fixes
#762 Peppacodes/VIctory:fix/title-dll-name-case 1e24f34, 22c3d00 a title DLL in a case-sensitive folder (WSL makes them) is found by any spelling, and a folder spelled like it does not hide it
#764 Peppacodes/VIctory:fix/getprocaddress-last-error d0662f4 GetProcAddress on our pseudo modules sets ERROR_PROC_NOT_FOUND on a miss, as the host's does
#765 Peppacodes/VIctory:fix/oem-key-empty-subkey 8e9f9b3 RegOpenKeyW / RegOpenKeyExW with a null or empty subkey under our OEM key open the key itself
#832 Peppacodes/VIctory:fix/fcmp-false-true e04929d v_cmp_f_* and v_cmp_tru_* on floats lower as constants, not fcmp false / fcmp true, which remove the WARP device

Every one has its own test (the two loader tests skip where Windows cannot make a case-sensitive folder). The reasoning of each is in its issue.

Notes

  • #832 and #1262. My double-precision PR #1262 has a special case for v_cmp_f_f64 and v_cmp_tru_f64 that does what #832 does for every float width, so the two overlap in the same arm of the compare lowering and conflict textually; if both land, #832's if op == "f" || op == "tru" is the one to keep.
  • Authorship. The commits are Peppacodes' own, not rewritten. If they would rather open these as their own pull requests, this one can be closed.

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 347 passed, 0 failed, 6 ignored (main: 342 passed, 6 ignored)

The title was not run. No game data is used or committed.

Re-verify in one go

git fetch https://github.com/MamaLeVrai/VIctory.git bundle/carried-peppacodes
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

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

🤖 Generated with Claude Code

<!-- greyfinch-sync:Marvisak/VIctory:issue:6589952513 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/pull/1603). Originally posted by [MamaLeVrai](https://github.com/MamaLeVrai) on 2026-11-24T19:42:11Z. --- **Four small fixes from one contributor's fork, in one PR.** Each was reported as an issue with a branch, a commit, a repro and a test, written when pull requests were still limited to collaborators, and none has a pull request. The branches are merged here as they are, with their commits and their author, onto `main` (`ffe310e`); nothing is changed. > For reviewers and for anyone verifying with an agent (Claude, Codex, a person): this is a `[BUNDLE]` PR. The re-verification commands are below. ## What is inside | Issue | Fork branch | Commit(s) | What it fixes | |---|---|---|---| | #762 | `Peppacodes/VIctory:fix/title-dll-name-case` | `1e24f34`, `22c3d00` | a title DLL in a case-sensitive folder (WSL makes them) is found by any spelling, and a folder spelled like it does not hide it | | #764 | `Peppacodes/VIctory:fix/getprocaddress-last-error` | `d0662f4` | `GetProcAddress` on our pseudo modules sets `ERROR_PROC_NOT_FOUND` on a miss, as the host's does | | #765 | `Peppacodes/VIctory:fix/oem-key-empty-subkey` | `8e9f9b3` | `RegOpenKeyW` / `RegOpenKeyExW` with a null or empty subkey under our OEM key open the key itself | | #832 | `Peppacodes/VIctory:fix/fcmp-false-true` | `e04929d` | `v_cmp_f_*` and `v_cmp_tru_*` on floats lower as constants, not `fcmp false` / `fcmp true`, which remove the WARP device | Every one has its own test (the two loader tests skip where Windows cannot make a case-sensitive folder). The reasoning of each is in its issue. ## Notes - **#832 and #1262.** My double-precision PR #1262 has a special case for `v_cmp_f_f64` and `v_cmp_tru_f64` that does what #832 does for every float width, so the two overlap in the same arm of the compare lowering and conflict textually; if both land, #832's `if op == "f" || op == "tru"` is the one to keep. - **Authorship.** The commits are Peppacodes' own, not rewritten. If they would rather open these as their own pull requests, this one can be closed. ## 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` | 347 passed, 0 failed, 6 ignored (`main`: 342 passed, 6 ignored) | The title was not run. No game data is used or committed. ## Re-verify in one go ```powershell git fetch https://github.com/MamaLeVrai/VIctory.git bundle/carried-peppacodes 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 ``` 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 20:02:50 +00:00 (Migrated from github.com)

Imported from Marvisak/VIctory. Originally posted by copilot-pull-request-reviewer[bot] on 2026-11-24T19:42:20Z.

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:6046141202 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/pull/1603#pullrequestreview-6046141202). Originally posted by [copilot-pull-request-reviewer[bot]](https://github.com/copilot-pull-request-reviewer%5Bbot%5D) on 2026-11-24T19:42:20Z. **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.
upstream-sync closed this pull request 2026-11-25 02:04:35 +00:00
Marvisak commented 2026-11-25 02:05:55 +00:00 (Migrated from github.com)

Imported from Marvisak/VIctory. Originally posted by Marvisak on 2026-11-25T01:21:33Z.


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.

See #1434.

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:7149465029 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/pull/1603#issuecomment-7149465029). Originally posted by [Marvisak](https://github.com/Marvisak) on 2026-11-25T01:21:33Z. --- 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. See #1434. 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.
Marvisak commented 2026-11-25 02:06:09 +00:00 (Migrated from github.com)

Imported from Marvisak/VIctory. Originally posted by Marvisak on 2026-11-25T01:31:55Z.


Automated triage for the maintainers.

Needs rebase. This pull request conflicts with main (conflicting: crates/victory-hle/src/modules/kernel.rs). It will be reviewed once it is rebased onto the current main.


Generated by Claude Code

<!-- greyfinch-sync:Marvisak/VIctory:comment:7149653144 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/pull/1603#issuecomment-7149653144). Originally posted by [Marvisak](https://github.com/Marvisak) on 2026-11-25T01:31:55Z. --- <!-- victory-triage v1 head=9ec15138f66ed9be9dcca4e39d5ca5a51512e61b verdict=needs-rebase at=2026-11-25T01:31:55Z --> Automated triage for the maintainers. **Needs rebase.** This pull request conflicts with `main` (conflicting: `crates/victory-hle/src/modules/kernel.rs`). It will be reviewed once it is rebased onto the current `main`. --- _Generated by [Claude Code](https://claude.ai/code)_

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!1602
No description provided.