CLI: inspect names every DLL characteristics bit #1988
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!1988
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/1988/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?
@wilu222 on GitHub · 2026-11-25 02:26 UTC · original
wilu222:inspect-dll-flags→main· +45 −2 · 2 files · 1 commits · merged 2026-11-25 21:52 UTCvictory inspectnamed six of the optional header's DllCharacteristics bits and silently dropped the rest. The title executable of Series 1.0.2.1 carries0x8160, so its line read0x8160 (high-entropy-va, dynamic-base, nx): the number had the terminal-server-aware bit (0x8000), the names did not.This names the remaining documented bits (no-isolation, no-seh, no-bind, wdm-driver, terminal-server-aware) and shows any bit still without a name (the reserved ones) in hex instead of dropping it.
What is in it
crates/victory-pe/src/layout.rs: the five missingdll_flagsconstants, next to the existing ones.apps/victory/src/inspect.rs:dll_flagsnames them and appends unnamed bits as hex; two unit tests (no game data).Tested
main940d32f.main(left: " (high-entropy-va, dynamic-base, nx)") and pass with the change.cargo clippy --workspace --all-targets --locked -- -D warningsand the--all-featuresvariant: clean.cargo xtask policy --staged: 2 files ok.cargo test --workspace --locked --no-fail-fast: 625 passed, 78 failed, 10 ignored.mainon the same machine: 623 passed, 78 failed, 10 ignored, the same 78 tests. They are the GPU shader tests that need shader model 6.6, which Windows 10's inbox D3D12 does not expose (neither hardware nor WARP SM 6.6 device available/no SM 6.6 device; #84). 90 tests print a skip for the same reason.victory inspecton the title executable now printsdll flags 0x8160 (high-entropy-va, dynamic-base, nx, terminal-server-aware); its DLLs (0x0160,0x4160) print as before.Not tested
@DesertGamer on GitHub · 2026-11-25 02:28 UTC · original
VIctory V2: community PRs, merged and tested
Open PRs sitting in the queue? V2 pulls them into one build, screens each one (binaries, build scripts, hooks, new deps) and runs tests after every batch.
Where it stands today: launches, runs the menu at 30 fps, plays the intro video, reaches the start screen and loads the world (~50 s). Entering the world is the current blocker: rendering fails with a GPU "device removed" error (tracked in issue #1).
⚠️ Entering the world on a real GPU can hang it and make Windows reset the driver. Try it at your own risk.
Not playable yet, but every batch of merged fixes moves it closer. If you have a PR that's stuck, or a GPU to test on, I'd love your help:
https://DesertGamer/VIctory-V2
Unofficial community fork of Marvisak/VIctory, GPL-3.0.
@Marvisak on GitHub · 2026-11-25 08:26 UTC · original
Automated triage for the maintainers.
Merge candidate.
This is a small fix to
victory inspect. Onmain,dll_flagsinapps/victory/src/inspect.rsnames only six DllCharacteristics bits and silently drops the rest. The PR adds the five missing documented PE bits tovictory-pe'slayout::dll_flagsand prints any remaining unnamed bits in hex. I checked the constants against the public PE format spec: 0x0200, 0x0400, 0x0800, 0x2000 and 0x8000 are all correct. I also worked through the two new tests' expected strings, including the leftover-bits fold and{:#06x}formatting, and they match. CI (check) passes.Generated by Claude Code
@cloph-dsp on GitHub · 2026-11-25 12:07 UTC · original
Independent local validation (Windows, Rust 1.100.0/MSVC, head
b157c07, no game data):cargo test --locked -p victory --bins-> 12 tests passed, includingdll_flags_names_every_bit_the_title_setsanddll_flags_shows_bits_without_a_name, exit 0. Real Windows system DLL check (no game data):cargo run --locked -q -p victory -- inspect C:\Windows\System32\kernel32.dll --importsexited 0 and printeddll flags 0x4160 (high-entropy-va, dynamic-base, nx, cfg), file size 862016, blake3, PDB, sections and 1276 imports from 104 DLLs. The 44 stderr lines are pre-existingfetch_updatedeprecation warnings, not from this change. AI-assisted (Hy4 flash). GPU/driver: N/A (CPU/CLI). No game data, assets or extracted content used.