No reviewers
Labels
No labels
accessibility
area: build
area: formats
area: gpu
area: loader
area: runtime
area: shader
bug
documentation
duplicate
enhancement
good first issue
gpu: amd
gpu: intel
gpu: nvidia
help wanted
host: wine
invalid
out of scope
question
request
run report
triage: confirmed
triage: has patch
triage: merge candidate
triage: needs info
triage: needs rebase
triage: needs work
triage: proposed close
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/Marvisak--VIctory!1456
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/1456/head"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@MamaLeVrai on GitHub · 2026-11-24 18:08 UTC · original
MamaLeVrai:bundle/loader-pe-core→main· +2731 −292 · 16 files · 51 commits · closed without mergingOne PR in place of 20. Twenty PRs on the loader, the PE reader and the config: TLS scan speed, relocation and section bounds, import binding, unwind and crash reports, thread shutdown, CPU instruction emulation (CLZERO, RDPRU, CLWB), the watchdog opt-out, and the policy and data-directory checks. Every head is merged unchanged onto
main(ffe310e), and the result is built and tested together.What is inside
2a6e6a4bc7f00a62a4514927de57e76a7bacdcc41681251a24b7c37793afd44561eab33c704e385c04d129609c74fbd1aac20aa8a9698e74852f0a099e60d2cf9cbadeb9ff495f8800dd9121412bec98716d1a529d78bae7Changes made while bundling
No merge conflicts. One change of mine, in its own commit: the long-format import descriptor code that #963 adds nests
if size == 0inside anif let, whichclippy::collapsible_ifrejects under-D warnings(#963's own CI run fails on it). It is now oneif let ... && size == 0(cargo clippy --fix, same behaviour).Left out, and why
victory-pelayout, image and implib;victory-loaderprepare, tls/stacks and windows;victory-corepolicy); they need a rebase after these land.Verification
Windows 11, RX 6950 XT, Rust 1.98.1 (the pinned toolchain):
cargo clippy --workspace --all-targets --locked -- -D warningscargo clippy --workspace --all-targets --all-features --locked -- -D warningscargo test --workspace --lockedmain: 342 passed, 6 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
To confirm that no component PR moved since this was built, compare each
Headabove withgh 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
`default_dir` resolved both the cache and the data directory from LOCALAPPDATA, then XDG_CACHE_HOME, then `$HOME/.cache`. On any host without LOCALAPPDATA — Linux, or Windows with it unset — the data directory therefore landed at `<cache>/victory/data`, inside a root the docs say may be deleted at any time: /// What titles write and must keep (persistent local storage). Never /// inside the cache, which may be deleted at any time. Split the two defaults. Windows behaviour is unchanged: LOCALAPPDATA still provides both. Elsewhere the cache keeps XDG_CACHE_HOME or `$HOME/.cache`, and the data directory moves to XDG_DATA_HOME or `$HOME/.local/share`. Both take the environment lookup as a parameter, so the new test `data_dir_not_under_cache_without_localappdata` needs no unsafe env mutation. Review fixes: - `env_dir` filters each variable before the `or_else` chain. A set-but-empty LOCALAPPDATA no longer hides XDG_CACHE_HOME / XDG_DATA_HOME, and an empty HOME no longer yields a relative `.cache/victory/cache`. - `empty_test_titles_env_is_ignored` and `test_titles_env_splits_paths`, added on main after this branch point, now give their mock environment a HOME. Without it the mock hid the real environment and resolve() errored. - New tests: empty LOCALAPPDATA falls through to XDG, XDG with no HOME, and an empty HOME errors instead of resolving to a relative path. Existing saves under the old `<cache>/victory/data` are not migrated; set VICTORY_DATA_DIR to that path to keep using them. Verified: cargo test -p victory-core 15 passed, clippy -D warnings clean, cargo xtask policy 154 files ok...in the not-yet-existing part of a path 52f0a099ed2a6e6a4bce' into trial/loader-pe-core 9b1b5c8e197f00a62a4b' into trial/loader-pe-core 9903b3c34acb40900dc4' into trial/loader-pe-core 06c9190a05e57e76a7b4' into trial/loader-pe-core 37c8dd6024acdcc41687' into trial/loader-pe-core b1ea34081e1251a24b78' into trial/loader-pe-core e21fb5519f8fc3a1bb2f' into trial/loader-pe-core b3c57e381afd44561ea1' into trial/loader-pe-core bc178e2c51b33c704e33' into trial/loader-pe-core 6b2b66b23d85c04d129a' into trial/loader-pe-core f16a8e5744609c74fbd5' into trial/loader-pe-core ed0c8e12ca1aac20aa8f' into trial/loader-pe-core 734e596d1aa9698e7488' into trial/loader-pe-core 50c4ccf1e352f0a099ed' into trial/loader-pe-core 35081824fe60d2cf9cbc' into trial/loader-pe-core a79a9e7896adeb9ff49d' into trial/loader-pe-core 5446289acc5f8800dd93' into trial/loader-pe-core fcc554e045121412bec2' into trial/loader-pe-core c56016fd8698716d1a58' into trial/loader-pe-core e8dd6f477a29d78bae70' into trial/loader-pe-core 6de78dc117@sinan-cmyk on GitHub · 2026-11-24 18:45 UTC · original
Runtime boot check on real hardware with a retail dump
Result: no difference from
mainin this test.I merged head
b99cbdeontomainffe310e(clean merge), built it (release), and ranvictory run <title exe> --executewith an empty data folder for 100 s, without any input. I compared the run withmainbuilt and run the same way.mainffe310ecrashes.logentriesWarnings: 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).
@Marvisak on GitHub · 2026-11-25 00:40 UTC · original
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