[GH #29] 0x80000003 at +0x1ce6e13 immediately after opening shaders.rpf, before D3D12 device creation #29

Open
opened 2026-11-25 04:11:29 +00:00 by liang-kai-shui · 1 comment
liang-kai-shui commented 2026-11-25 04:11:29 +00:00 (Migrated from github.com)

Imported from Zettrox/ztrx. Originally posted by liang-kai-shui on 2026-11-25T03:55:02Z.


Summary

ztrx exits with 0x80000003 about 1 second after launch, before the host D3D12 device is created.

The last log lines are dstorage opening appdata0.rpf, common.rpf, movies.rpf and shaders.rpf; the next expected files (anim.rpf, data.rpf, levels.rpf) are never opened. There is no host D3D12 adapter picked and no host D3D12 device ready.

Environment

  • ztrx commit: 90b529f
  • Built with Rust 1.98.1, cargo build --release -p victory
  • OS: Windows 11 Pro 25H2, build 26200.9457
  • GPU: NVIDIA GeForce RTX 5050 Laptop GPU
  • Driver: 32.0.16.2114
  • No ToDesk / virtual display adapter present; only the RTX 5050 is listed
  • Console profile: Xbox Series X
  • Game: GTA VI Xbox dump 1.0.2.1, TitleId 7952987A
  • Game path: E:\GTA6xbox\GTA6.Xbox (renamed from a path containing a space; no change)
  • Available commit memory: 19.9 GB

The binary was built from 90b529f with two local compatibility patches: Windows 10 Agility exports, and automatic selection of the hardware DXGI adapter. Neither is reached before this crash.

Steps to reproduce

  1. Start victory.exe run <game>\game_scarlett_master.exe --execute --console series-x
  2. The title loads TLS, imports, xgameruntime, GameInput and dstorage
  3. dstorage opens appdata0/common/movies/shaders.rpf
  4. Process exits with 0x80000003 about 1 second after launch
  5. Happens 100% of the time, including after renaming the path to remove spaces

Log excerpt

INFO victory_hle::modules::dstorage: file opened path="G:\appdata0.rpf"
INFO victory_hle::modules::dstorage: file opened path="G:\common.rpf"
INFO victory_hle::modules::dstorage: file opened path="G:\movies.rpf"
INFO victory_hle::modules::dstorage: file opened path="G:\shaders.rpf"
VIctory: first-chance exception 0x80000003 at victory-image-b99f876b74d4a77f.dll+0x1ce6e13
VIctory: unhandled exception 0x80000003 at victory-image-b99f876b74d4a77f.dll+0x1ce6e13

###Stack
#0  victory-image-b99f876b74d4a77f.dll+0x1ce6e13
#1  victory-image-b99f876b74d4a77f.dll+0x293ef38
#2  victory-image-b99f876b74d4a77f.dll+0x2236cf6
#3  victory-image-b99f876b74d4a77f.dll+0x2240eab
#4  victory-image-b99f876b74d4a77f.dll+0x81b253
#5  victory-image-b99f876b74d4a77f.dll+0x53ec04f
#6  victory-image-b99f876b74d4a77f.dll+0x53ebf3a
#7  victory-image-b99f876b74d4a77f.dll+0x661f0
#8  victory-image-b99f876b74d4a77f.dll+0x1d109c9
#9  victory-image-b99f876b74d4a77f.dll+0x5a91c0d
#10 victory-image-b99f876b74d4a77f.dll+0x56a1e5a
#11 victory.exe+0x13ec17
#12 victory.exe+0x149eba
#13 victory.exe+0x53fe93
#14 KERNEL32.DLL+0x2cd87
#15 ntdll.dll+0xacaec

###Questions
What does +0x1ce6e13 correspond to? It looks like a title-side assert after shaders.rpf is opened.
Is there a required pre-step such as victory translate --cache or a shader pack that must be generated before the first run?
Is there an environment switch that gives more diagnostics before this assert (for example naming the file or check that failed)?
Should shaders.rpf be hash-verified against a known-good dump, or is exact size sufficient?
<!-- greyfinch-sync:Zettrox/ztrx:issue:6596845920 --> Imported from [Zettrox/ztrx](https://github.com/Zettrox/ztrx/issues/29). Originally posted by [liang-kai-shui](https://github.com/liang-kai-shui) on 2026-11-25T03:55:02Z. --- ### Summary ztrx exits with `0x80000003` about 1 second after launch, before the host D3D12 device is created. The last log lines are dstorage opening `appdata0.rpf`, `common.rpf`, `movies.rpf` and `shaders.rpf`; the next expected files (`anim.rpf`, `data.rpf`, `levels.rpf`) are never opened. There is no `host D3D12 adapter picked` and no `host D3D12 device ready`. ### Environment - ztrx commit: `90b529f` - Built with Rust 1.98.1, `cargo build --release -p victory` - OS: Windows 11 Pro 25H2, build 26200.9457 - GPU: NVIDIA GeForce RTX 5050 Laptop GPU - Driver: 32.0.16.2114 - No ToDesk / virtual display adapter present; only the RTX 5050 is listed - Console profile: Xbox Series X - Game: GTA VI Xbox dump 1.0.2.1, TitleId `7952987A` - Game path: `E:\GTA6xbox\GTA6.Xbox` (renamed from a path containing a space; no change) - Available commit memory: 19.9 GB The binary was built from `90b529f` with two local compatibility patches: Windows 10 Agility exports, and automatic selection of the hardware DXGI adapter. Neither is reached before this crash. ### Steps to reproduce 1. Start `victory.exe run <game>\game_scarlett_master.exe --execute --console series-x` 2. The title loads TLS, imports, xgameruntime, GameInput and dstorage 3. dstorage opens appdata0/common/movies/shaders.rpf 4. Process exits with `0x80000003` about 1 second after launch 5. Happens 100% of the time, including after renaming the path to remove spaces ### Log excerpt ```text INFO victory_hle::modules::dstorage: file opened path="G:\appdata0.rpf" INFO victory_hle::modules::dstorage: file opened path="G:\common.rpf" INFO victory_hle::modules::dstorage: file opened path="G:\movies.rpf" INFO victory_hle::modules::dstorage: file opened path="G:\shaders.rpf" VIctory: first-chance exception 0x80000003 at victory-image-b99f876b74d4a77f.dll+0x1ce6e13 VIctory: unhandled exception 0x80000003 at victory-image-b99f876b74d4a77f.dll+0x1ce6e13 ###Stack #0 victory-image-b99f876b74d4a77f.dll+0x1ce6e13 #1 victory-image-b99f876b74d4a77f.dll+0x293ef38 #2 victory-image-b99f876b74d4a77f.dll+0x2236cf6 #3 victory-image-b99f876b74d4a77f.dll+0x2240eab #4 victory-image-b99f876b74d4a77f.dll+0x81b253 #5 victory-image-b99f876b74d4a77f.dll+0x53ec04f #6 victory-image-b99f876b74d4a77f.dll+0x53ebf3a #7 victory-image-b99f876b74d4a77f.dll+0x661f0 #8 victory-image-b99f876b74d4a77f.dll+0x1d109c9 #9 victory-image-b99f876b74d4a77f.dll+0x5a91c0d #10 victory-image-b99f876b74d4a77f.dll+0x56a1e5a #11 victory.exe+0x13ec17 #12 victory.exe+0x149eba #13 victory.exe+0x53fe93 #14 KERNEL32.DLL+0x2cd87 #15 ntdll.dll+0xacaec ###Questions What does +0x1ce6e13 correspond to? It looks like a title-side assert after shaders.rpf is opened. Is there a required pre-step such as victory translate --cache or a shader pack that must be generated before the first run? Is there an environment switch that gives more diagnostics before this assert (for example naming the file or check that failed)? Should shaders.rpf be hash-verified against a known-good dump, or is exact size sufficient?
Key-rs commented 2026-11-25 05:09:09 +00:00 (Migrated from github.com)
Author

Imported from Zettrox/ztrx. Originally posted by Key-rs on 2026-11-25T04:50:37Z.


+0x1ce6e13 is what the title does when its asset set is incomplete — I can reproduce it deliberately

Your report matches something I produced on purpose: I built a package with the 26 largest files removed (a hardlink copy of the dump minus everything over 1.5 GiB, 84 files, 24.4 GiB instead of 208.51 GiB) and ran the same commit:

04:24  imports bound … 0 missing
04:24  dstorage: file opened path="G:\\appdata0.rpf" / common.rpf / movies.rpf / shaders.rpf
VIctory: first-chance exception 0x80000003 at victory-image-…dll+0x1ce6e13
VIctory: unhandled exception 0x80000003 at victory-image-…dll+0x1ce6e13

Same address, same place in the boot, same short log (102 lines). With the complete 208.51 GiB set the same build gets much further — it boots, renders the first-boot screens at 30 fps for ~19 s and dies later, at +0x1330a44.

So on my side the two addresses mean two different things:

address when
+0x1ce6e13 a file the title needs is missing or unreadable — it asserts immediately after the first four .rpf opens
+0x1330a44 the full set is present and the title reaches the world bootstrap

That suggests your run is not a platform problem but an incomplete or unreadable asset set: the four opens that do happen (appdata0, common, movies, shaders) are the ones it gets through before it needs something it cannot find. anim.rpf, data.rpf and levels.rpf never being opened is consistent with that — it dies on the shaders.rpf read rather than after it.

Three things worth checking on your side before blaming the build:

  1. File count and total size of E:\GTA6xbox\GTA6.Xbox. The reference set is 108 files, 224,001,388,709 – 120,181,760 = 223,881,206,949 bytes (208.51 GiB), plus the executable. A dump that was copied with a size limit, a partial extraction, or a filesystem that dropped a large file will show up here.
  2. shaders.rpf specifically: 392.6 MB (411,760,000-ish bytes); if it is truncated, the pack reader gets a short record and the title traps exactly where you see it.
  3. Whether the files are all readable: a sparse or cloud-backed file (OneDrive/Google Drive folder, or a file with the "free up space" attribute) reads as zeros and produces the same result. fsutil sparse queryflag <file> and opening it with the read attribute cleared is enough to rule that out.

If all of that checks out and it still dies at +0x1ce6e13 with anim.rpf never opened, then it is a genuine platform difference and I would like to know — my machine with a complete set never reaches that address.

<!-- greyfinch-sync:Zettrox/ztrx:comment:7153214637 --> Imported from [Zettrox/ztrx](https://github.com/Zettrox/ztrx/issues/29#issuecomment-7153214637). Originally posted by [Key-rs](https://github.com/Key-rs) on 2026-11-25T04:50:37Z. --- **`+0x1ce6e13` is what the title does when its asset set is incomplete — I can reproduce it deliberately** Your report matches something I produced on purpose: I built a package with the 26 largest files removed (a hardlink copy of the dump minus everything over 1.5 GiB, 84 files, 24.4 GiB instead of 208.51 GiB) and ran the same commit: ``` 04:24 imports bound … 0 missing 04:24 dstorage: file opened path="G:\\appdata0.rpf" / common.rpf / movies.rpf / shaders.rpf VIctory: first-chance exception 0x80000003 at victory-image-…dll+0x1ce6e13 VIctory: unhandled exception 0x80000003 at victory-image-…dll+0x1ce6e13 ``` Same address, same place in the boot, same short log (102 lines). With the complete 208.51 GiB set the same build gets much further — it boots, renders the first-boot screens at 30 fps for ~19 s and dies later, at `+0x1330a44`. So on my side the two addresses mean two different things: | address | when | |---|---| | `+0x1ce6e13` | a file the title needs is missing or unreadable — it asserts immediately after the first four `.rpf` opens | | `+0x1330a44` | the full set is present and the title reaches the world bootstrap | That suggests your run is not a platform problem but an **incomplete or unreadable asset set**: the four opens that do happen (`appdata0`, `common`, `movies`, `shaders`) are the ones it gets through before it needs something it cannot find. `anim.rpf`, `data.rpf` and `levels.rpf` never being opened is consistent with that — it dies on the *shaders.rpf* read rather than after it. Three things worth checking on your side before blaming the build: 1. **File count and total size** of `E:\GTA6xbox\GTA6.Xbox`. The reference set is **108 files, 224,001,388,709 – 120,181,760 = 223,881,206,949 bytes (208.51 GiB)**, plus the executable. A dump that was copied with a size limit, a partial extraction, or a filesystem that dropped a large file will show up here. 2. **`shaders.rpf` specifically**: 392.6 MB (411,760,000-ish bytes); if it is truncated, the pack reader gets a short record and the title traps exactly where you see it. 3. **Whether the files are all readable**: a sparse or cloud-backed file (OneDrive/Google Drive folder, or a file with the "free up space" attribute) reads as zeros and produces the same result. `fsutil sparse queryflag <file>` and opening it with the read attribute cleared is enough to rule that out. If all of that checks out and it still dies at `+0x1ce6e13` with `anim.rpf` never opened, then it is a genuine platform difference and I would like to know — my machine with a complete set never reaches that address.
Sign in to join this conversation.
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
Zettrox/ztrx#29
No description provided.