docs(native-host): who answers "not written" at 0x1330a44, and the folder's download state #633
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/633"
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 LakshanSivakumar/Native-Victory-macOS. Originally posted by AnastasisKon on 2026-11-28T17:47:06Z.
Closes #632.
What
Two additions to the
image+0x1330a44section ofdocs/native-host.md, both measured today on this Mac (M3 Pro, 36 GB) with/Volumes/Anastasis' SSD/GTA6.Xbox.v1.0.2.1-CYBERLEEK.Who answers "not written". The destination is not per-run state.
0x1331110isxor eax,eax; cmp cl,3; lea image+0x6dd5b08; cmove rax,rdx; retand0x13310f0iskind == 3, so for the record's kind byte 3 the gather-write asks the singleton atimage+0x6dd5b08(in.data) to take the chunk. Its vtable isimage+0x66fdd40, in.rdata— a dump taken with the.datafile offset is misaligned by0x200and shows code-looking slots that are not its methods; with the right offset the slots are+0x28=image+0x1331660,+0x30=image+0x1331210,+0x38=image+0x1331100,+0x50=image+0xc11a50.+0x30reads the descriptor0x1330cd0has just written (+0x00data,+0x08size,+0x18source,+0x20remaining) and takes its early path at0x13312d9when the size or the remaining count is zero. So the answer comes from a statically constructed object against the descriptor's own counts, not from the lookup and not from a host call.The folder's download state. From the torrent's resume file rather than the file sizes (
piecesis one byte per piece againstinfo.piece lengthandinfo.files): 8,829 of 13,345 pieces, 148.1 GB of 223.9 GB.shaders.rpfholds pieces 0, 12 and 24 of 25 — header, one middle piece, last piece — and everything between them reads as zeros, while the file is preallocated to its full 411,695,600 bytes, so its size, header and last piece all look valid.packs.rpf,levels.rpf,story000.rpf,core_bvh4.rpf,navmeshes.rpfandcore_restofworld.rpfare partial too. That is a second, independent way to arrive at "a shader database that references a state the loaded data does not have", and it means no run on this folder can settle what the write needs until the download finishes.What this does not claim
That the missing shader pieces are the cause of the missing state, and nothing here changes behaviour: docs only, no code.
Testing
nice -n 10 sh tools/macos/verify.sh full—== gate PASSED ==(suite-hle 554, suite-shader 593, suite-gpu 493, policy, clippy-win), onx86_64-pc-windows-gnullvm..textraw0x400/VA0x1000,.rdataraw0x5f3fe00/VA0x5f41000,.dataraw0x67e0c00/VA0x67e2000) and each function begin checked against.pdata.du(142 GB allocated of 223.9 GB in the torrent).View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.