Commit Graph

37 Commits

Author SHA1 Message Date
9ff55521ab ttpf_mips: add DXGI 11 and validate 2D uncompressed tiling (RDNA2 64K 4BPP) 2026-11-22 05:01:41 -08:00
38d43286b9 ttpf_mips: decode BC6H and BC7 blocks in check 2026-11-22 04:29:11 -08:00
5d32ddb7f4 Docs: textures.rpf header variants, say only what was seen
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 11:33:22 +00:00
7149907c8f Docs: what textures.rpf holds
rpf9_carve over textures.rpf: 2,749 streams; 1,313 system/graphics page pairs
of one two-texture dictionary template (128x128, format code 0x5f, payload
exactly 2 x 16,384 bytes) with 1,117 distinct payloads, and 121 opaque raw
streams holding 91% of the inflated bytes. Counts only.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 11:33:14 +00:00
c833ae6d48 ASSET-44: Bump rpf9-explorer for C# BCPack BC1/BC3/BC4/BC5 decode 2026-11-22 06:57:22 -03:00
23fe0a0c3a Complete BCPack DDS entries during the normal assets export 2026-11-22 16:04:49 +08:00
0a288c3cd0 textures: support locally calibrated BCPack DDS exports 2026-11-22 15:33:40 +08:00
cd5a8c484b Merge pull request #951 from Lucy 2026-11-22 00:33:14 -05:00
b7ec22e798 Merge pull request #890 from nicolas 2026-11-22 00:33:00 -05:00
3bce1fd0d0 Docs: name and measure map material texture parameters
Adds joaat names for 0x1E77BF4C (bumptex), 0xC6F46E79 (speculartex),
0x739E3D0D (speculartex2), 0x3FB7964F (tinttexture) and 0xC075F9B6
(lookuptexture), and a content check on a 1,500-model map sample: bumptex is
normal-map-like (1,394 vs 74), speculartex is not (69 vs 1,469). Notes the
conflict with the character table's 0xC6F46E79 row and three sRGB colour
parameters missing from ModelTextureBindings. Counts only.

AI-assisted (Claude). Measured on my own copy (1.0.2.1); docs only.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 05:05:39 +00:00
ed784a2300 Report incomplete texture pool exports and retry missing DDS files 2026-11-21 21:10:28 -07:00
5d5885559f Docs: RDS5 chunk tag to BCPack codec table and a strict BC7 fixture (#827)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-22 01:09:07 -03:00
03d1e118a6 bcpack: add BC6H and BC7 decoders with external runtime history loader (ASSET-5) 2026-11-21 18:27:01 -08:00
c77944a465 Merge pull request #647 from SirAmong 2026-11-21 21:08:33 -05:00
bffc4942f3 docs: textures.md step 1 names ASSET-38 and no longer closes step 3 (PROC-18 review)
Review of #647: #576 only closes step 1 (the BC6H/BC7 block rebuilders), not
step 3 (BC6H/BC7 pixel decoders for ttpf_mips.py check), and its tracker ID
is ASSET-38 (ASSET-5 is the old #156 ID its description uses).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-21 20:59:32 -05:00
016f39c484 Merge pull request #650 from Kam471
# Conflicts:
#	docs/textures.md
2026-11-21 20:39:07 -05:00
3816356e05 third_party: bump rpf9-explorer to 917e9b9 and decode packs.rpf dictionary children
The 48557ea pin predates the merged model-layout recovery, the packs.rpf drawable-dictionary roots, the TTPF compact/array/cubemap/volume layouts and the external skeleton reader. Re-pin to upstream 917e9b9.

rpf9dump now passes e.ResourceDrawableOffset to RageModelDecoder.Decode; without it every dictionary child would decode as the first child. The manifest also records Drawable so a row can be traced to its dictionary offset.

Measured on the 1.0.2.1 package with .NET 8.0.428: a fresh packs.rpf scan recovers 24,034 models (23,720 dictionary children plus 314 fragments) from 23,838 candidates, against 314 at the old pin. docs/models.md keeps the 48557ea/c3708fb table as the control and adds the new packs.rpf result; docs/design.md notes the other archives were not re-counted at the new pin. Build: 0 warnings, 0 errors.
2026-11-22 01:35:02 +00:00
248ca96b4d docs: textures.md next steps point at what is left (PROC-18)
The list still sent people to work that was done or is in review:
- step 1: the BC6H/BC7 rebuilders are in #576, not on main yet, so it says so
  and notes that steps 1 and 3 stay open until it merges;
- step 2: the compact layout rule and multi-slice layouts are already upstream
  in rpf9-explorer; only the BCPack decoder is left (ASSET-44);
- step 5: the multi-slice layouts are done (#520, rpf9-explorer #5 and #6);
  what is left is the submodule pin (BUILD-101).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-21 20:33:16 -05:00
72314f8051 Merge pull request #554 from Kam471
# Conflicts:
#	docs/design.md
2026-11-21 20:09:21 -05:00
9251d2f3d7 Merge pull request #542 from kotorvr 2026-11-21 19:53:11 -05:00
fa0b52f754 Merge pull request #520 from SombraSoft 2026-11-21 19:53:07 -05:00
0786a08395 Docs: measure the character skeleton and clip sidecars
Add a character-skeleton page: 597-name #ft table, the following 597-record parent/reference-TRS table, the model bone-hash mapping, and the character material texture-parameter split. Update animation.md with the partial clip decode (two named clips, 0x48-byte track arrays, 63/38 and 12/38 masks) and the 46-byte MoVE header correction. Link the new page from models.md and design.md. No game data.
2026-11-22 00:44:04 +00:00
24bfb65867 Follow up three review points on merged PRs (#326, #308, #292)
- ci.yml: cancel only superseded pull request runs; a push to main was
  cancelled by the next merge and left that commit without a CI result
  (#326 review).
- world_census.py: --jobs above 61 is rejected with an argparse error on
  Windows instead of ProcessPoolExecutor's ValueError traceback, with a
  test next to the below-1 test (#308 review).
- docs/textures.md: drop the duplicated "The BCPack counts above..."
  paragraph (#292 review).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 00:37:20 +00:00
5cd151c551 docs: refresh the README status table and stale BCPack rows (PROC-9)
README: the GPU-test row counts the 30+ entries now in #166 (adds AMD
GCN3/RDNA1/RDNA4, Intel Gen9, llvmpipe) and drops the cs_w64x_partial
note that #204 fixed; the translation row says wave64 emulation makes
compute and mesh exact on 32-wide GPUs; the texture row names the
BCPack decoder from #312 and that the export doesn't use it yet; the
D3D12 row lists texture views, samplers and resolves (#228, #328).
docs/design.md: the TTPF row points at the decoder instead of calling
BCPack the hard blocker. docs/textures.md: drop the superseded
'no decoder is added' paragraph left above the new one.

AI-assisted.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01D7JEiKsTUaHQbCTdc4Eghy
2026-11-22 00:33:19 +00:00
569d4aa33a Textures: decode all 697 TTPF 2D arrays, streaming cubemaps and 3D volumes (ASSET-36) 2026-11-21 21:31:04 -03:00
77fb672cf2 Merge pull request #312 from Tim Elery
# Conflicts:
#	docs/textures.md
2026-11-21 18:07:40 -05:00
526e123878 Docs: measure the BCPack block structure and limits
Record the 48-byte lane header, block counts, the exact BC1/BC4 constant-lane check, and the 200-chunk entropy convergence. A public BC1 candidate is mip-consistent on 40/200 chunks but has no byte-exact plaintext check and an unpublished predictor window, so no decoder is added. Also record that no shipped DLL contains a BCPack/BCn/DStorage decoder or dispatcher.
2026-11-21 22:48:49 +00:00
80fb7f2e41 Textures: add clean-room BCPack decoder (rANS + BC1/BC3/BC4/BC5) 2026-11-21 14:44:27 -08:00
a15ed8817d Merge pull request #292 from Kam471 2026-11-21 17:38:20 -05:00
ccb001882f Docs: measure the BCPack block structure and limits
Record the 48-byte lane header, block counts, the exact BC1/BC4 constant-lane check, and the 200-chunk entropy convergence. A public BC1 candidate is mip-consistent on 40/200 chunks but has no byte-exact plaintext check and an unpublished predictor window, so no decoder is added. Also record that no shipped DLL contains a BCPack/BCn/DStorage decoder or dispatcher.
2026-11-21 22:37:31 +00:00
c42377b758 Docs: clarify the compact skip rows after the rule 2026-11-21 21:23:49 +00:00
0589fb5a37 Textures: share the compact layout and record the after split 2026-11-21 21:23:48 +00:00
bb20c19651 Textures: make the compact mode split reproducible in scan 2026-11-21 21:02:00 +00:00
4be73f9bbb Textures: tighten the compact tool wording and BC coverage note 2026-11-21 21:01:03 +00:00
c3cd32888f Textures: report the compact standalone/tail split in scan 2026-11-21 21:01:03 +00:00
39631ee147 Textures: decode the TTPF compact mip tail 2026-11-21 21:01:03 +00:00
df87229ce4 docs: measure the BCPack texture gap and the next step 2026-11-21 18:26:19 +00:00