Title traps at +0x29DEFB1: a 409-bucket table holding ONE entry (count=409, gen=30), with a payload verified against community hashes #3492
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Imported from Marvisak/VIctory. Originally posted by 123ddd111111 on 2026-11-27T09:44:42Z.
Summary
Every build I try traps at the title's own
int3at+0x29DEFB1, 60-240 s after boot, whilethe keyart / loading screen is up. The lookup table is built (
count=409,gen=30) but holdsexactly one entry, so the key the title asks for is never found.
My payload and executable match the community's byte for byte, and the same build fails
identically on two different GPU stacks, so I do not think this is a data or GPU problem.
I would like to know what is supposed to fill that table, and whether one entry is expected
at that point.
Machine
TargetReleaseVersion=23H2policy pinning it)game_scarlett_master.exe, SHA-256e95020b2fa4a721db3df59fdecf75621730ac559d8835252f6c3b658d5a08993, build 930.048.020-vb_sub_storypack/The executable hash is the same
e95020b2...quoted in #1063, so it is the same retail image.Where it stops
which is the
call 0x29DE7A0 / not eax / test eax,0x3FFFFF / jne / int3shape described inxcl-dev/xcl#337 and sub-north/xbox-hle-lab#26 (same 409-bucket, 12-byte-entry,
-1-head table;they report
count=409 gen=0x1e, I seegen=30).What the table looks like (measured, not inferred)
I added a probe to my own local loader build (
crash.rs, logging only, no behaviour change)that dumps the table when the trap fires:
and
VICTORY_WATCH=9dd7c48,9dd7c58,9dd7c60,9dd7bd4shows those four fields going0 -> valueonce during startup and never changing again, i.e. the table is initialised andthen effectively never populated.
Why I do not think it is my payload
Nine archives verified with the Leonida tools against their published references:
levels.rpfcensus exact: 23,535 maps / 1,670,442 entities, 36/36 shards,census_exactstory000.rpf: 141,385 streams / 10,231,531,520 stored / 17,094,635,373 inflated - exactstory000_script.rpf: 2,632 / 20,408,094 / 74,729,504 - exactshared_minigame000.rpf,story000_bvh4.rpf,story000_restofworld.rpf(Bink 7 / 120,187,756),data.rpf(coverage 87.9%),core_restofworld.rpf,core_restofworld001.rpf,core_licenses_data.rpf- all exactNo failed opens, no refused allocations, no
1455, in any log.Why I do not think it is the GPU
Forcing the same build onto the Intel UHD iGPU (per-app GPU preference) gives the identical
trap at
+0x29DEFB1- different driver stack, different memory model.What I tried, all identical
10 code states: Marvisak
940d32f; victory-forkc96b4f2,52ac4ec; VI-BR-PORT latest;Vice-Tay; soldsawn/victory-nvidia-8gb; Yaekai/victory-scarlett-3070 with its full
play-3070.ps1switch set; a clean52ac4ectarball with only the three path variables set.Also: Windows 11 23H2 -> 25H2, MSVC and GNU builds, the real (non-junction, non-ASCII) game
path, 3840x2160 / 2560x1440 / 1920x1080 / 1280x720, series-x and series-s, cold and warm shader
cache (
shaders+warm: 23,000 shaders / 82,185 pipelines), fresh and existingdata_dir,elevated and not.
VICTORY_DSTORAGE_TRACE=2shows DirectStorage working normally right up to the trap(10,138 enqueues / 10,004 submits; 2,232 requests in the last 12 s at 14.5 MB/s), and the
texture queue drains to 0 waiting before it dies.
My questions
count=409andgen=30at the trap, isentries_total=1expected at that point, or should it hold ~hundreds of entries?0xb407af85? It is the only entry, and it is not a joaat of any of the~300 path/stem strings my run opens.
+0x29DEFB1on a payload that passes the Leonida checks and has thee95020b2...executable - i.e. is it ever seen with inputs that are provably clean?which and I will collect it; I can rebuild with diagnostics and add a probe.
I can attach a full
VICTORY_LOG=inforun log plus the probe output on request.Imported from Marvisak/VIctory. Originally posted by 123ddd111111 on 2026-11-27T13:41:10Z.
Correction: my payload is not clean — full hash check found three damaged files
I need to correct something I wrote earlier in this issue. I claimed the archives passed verification. That claim was wrong, and I found out why.
I ran a full SHA-256 verification of the whole package against the official file list
game/xbox-1.0.2.1.json(108 files, 223.88 GB) rather than the content-metric checks I used before.Result: 105 of 108 match. Three do not.
pack/story000/data/ttdb/maps/ttdb_maps.ttpfpack/story000/data/ttdb/terrain/ttdb_terrain_image_based.ttpfpack/story000_restofworld/story000_restofworld.rpfAll three have the correct size but wrong contents. The last one is the clearest: its first 16 MiB are zeros (first non-zero byte at exactly 16,777,216), so it has no
9FPRheader at all, while its siblingcore_restofworld.rpfopens with9FPRas it should.That is the signature of an interrupted download written with zeros, and the download log from the day I got the package shows exactly this: a
sha1 不一致was logged for the large file and the run then reported success anyway.Why my earlier check missed it: I verified stream counts and Bink payload sizes, which only look at the parts that still parse. A zeroed header and zeroed regions inside a file pass that kind of check.
What this means for the report above: the
+0x29DEFB1single-entry table may well be a consequence of this, not of the layer — which is exactly the failure modesub-north/xbox-hle-lab#26describes, where replacing a torn archive cleared the same assert. I am re-downloading the three files now and will report whether the trap changes when the payload actually matches the manifest.Everything else in the original report stands: the executable hash matches, the GPU/iGPU comparison holds, and the table probe reads what I said. What does not stand is the sentence "nine archives verified" — treat the payload as unverified until this re-download finishes.
I will post the result either way: trap gone, or trap unchanged with a verified-clean payload.
Imported from Marvisak/VIctory. Originally posted by 123ddd111111 on 2026-11-27T15:55:36Z.
Resolved: the assert was a damaged payload, not the layer — details and what I got wrong
Closing this with the answer, because it changes the conclusion of the whole report.
Root cause: three files in my package were corrupt. Same sizes as the official build, wrong contents, zero-filled in places.
I verified every byte of the package against the official file list
game/xbox-1.0.2.1.json(108 files, 223.88 GB), hashing all of it rather than sampling:The three, all with correct size and wrong contents:
pack/story000_restofworld/story000_restofworld.rpf9FPRheader at allpack/story000/data/ttdb/maps/ttdb_maps.ttpfpack/story000/data/ttdb/terrain/ttdb_terrain_image_based.ttpfThe download log from the day I got the package shows it: a
sha1 不一致was logged for the large file and the run then reported success anyway. A bitmap-resumed download wrote zeros into blocks it had marked done.Why this produced exactly the symptom in the title of this issue: the archive could not be mounted, so the world's assets were never registered, so the 409-bucket table still held one entry when the title asked for a handle — and the title trapped on its own
int3. That is the same mechanism assub-north/xbox-hle-lab#26, where replacing a torn archive cleared the identical assert.After replacing the three files, on the same machine, same build, same settings:
So: not the GPU, not the driver, not the Windows build, not the shader cache, not the preset, and not ten different builds. My own report above pointed at all of those, and it was wrong about the payload because my earlier "archive verification" only counted streams and payload bytes, which a zero-filled header and zeroed regions pass.
One more thing worth recording, since it may bite others on 8 GB cards: with
VICTORY_RENDER_SCALE=0.5the run is stable; at 0.75 and at 1.0 it traps at a different place,0x80000003 at +0x2219650, while allocating the render target, with VRAM at about 7.0 of 8.2 GB. Frame time at 0.5 is ~310 ms, of which ~240 ms is on the GPU, with the card at ~30 W — memory-starved rather than compute-bound.Practical takeaway I would ask be added to the docs: verify the package against the manifest before reading any loader symptom, because a zero-filled file passes every stream-count and payload-size check. Everything I chased for a day was downstream of three bad files.
Thanks to everyone here for the time — the counter report and the snapshot boundary were good tools and are not wasted; they just were not the cause this time.