From 798db7ac72fd1330d650c7fb37e045066945f056 Mon Sep 17 00:00:00 2001 From: RetroGameDeveloper <40120498+RetroGameDeveloper@users.noreply.github.com> Date: Sat, 14 Nov 2026 20:47:28 +0000 Subject: [PATCH] N64 textures from a demolition game's texture table: 3,599 show decomp-assets 0.6.0 unpacks the game's six texture codecs from its table and infers each texture's width from its texels (96% agree with its decompilation), so a game that showed no textures shows them, in ROM mode and as a fork. Co-Authored-By: Claude Opus 5.5 --- ROADMAP.md | 6 ++++-- pyproject.toml | 2 +- uv.lock | 8 ++++---- 3 files changed, 9 insertions(+), 7 deletions(-) diff --git a/ROADMAP.md b/ROADMAP.md index eadafa2c4..4b41a679e 100644 --- a/ROADMAP.md +++ b/ROADMAP.md @@ -702,7 +702,7 @@ folder, `src/decompnet/consoles//`; a new console adds a column (CONTRIBUTIN | Feature | N64 | PS1 | PS2 | PSP | GameCube · Wii | Windows PC | DS | Public decomps | | :-- | :-: | :-: | :-: | :-: | :-: | :-: | :-: | :-: | | Loader/buffer tracing, named contracts and small wrappers | ✓ MIPS / named PI DMA | ✓ MIPS static | ✓ MIPS EE EABI | ✓ shared MIPS reader | — original image adapter | — original image adapter | — original image adapter | — original image adapter | -| Automatic texture banks (CI4/CI8, mixed CI8 palettes, RGBA32, RGBA16 mipmaps, RNC 1/2, named four-block banks, embedded ZIP packs, textures loaded by uncompressed display lists, I64 images in a chunked-RNC filesystem, model textures in a deflated asset table, UVTX files in a UV FORM filesystem) | ✓ ROM | — native formats planned | — native formats planned | — native formats planned | — image adapter | — image adapter | — image adapter | ✓ forks with the game file (N64 checked) | +| Automatic texture banks (CI4/CI8, mixed CI8 palettes, RGBA32, RGBA16 mipmaps, RNC 1/2, named four-block banks, embedded ZIP packs, textures loaded by uncompressed display lists, I64 images in a chunked-RNC filesystem, model textures in a deflated asset table, UVTX files in a UV FORM filesystem, a texture table of back-reference-packed textures with inferred widths) | ✓ ROM | — native formats planned | — native formats planned | — native formats planned | — image adapter | — image adapter | — image adapter | ✓ forks with the game file (N64 checked) | | Audio browser, filters, sortable samples and explicit WAV preparation | ✓ ROM | ✓ ROM | ✓ ROM | ✓ ROM | — original image adapter | — original image adapter | — original image adapter | — original image adapter | | Texture gallery, filters and distinct address / loader reference links | ✓ ROM | ✓ ROM | ✓ ROM | ✓ ROM | — original image adapter | — original image adapter | — original image adapter | ✓ forks with the game file (N64 checked) | | Native directory roles: animation, collision, placements, grid, sequences and demos | ✓ validated schema / linked records | — native formats planned | — native formats planned | — native formats planned | — original image adapter | — original image adapter | — original image adapter | — original image adapter | @@ -1945,7 +1945,9 @@ Phases: Yay0, Vpk0 or FLA2 blocks, sized by code or tables (a futuristic racer, a jet-ski racer, a snowboarding game, a monster-battle game), Rare's other packers, and a survival horror port. Done in 0.4.0: an off-road RC racer's chunked-RNC filesystem (I64 images) and a platformer sequel's deflated model table. Done in 0.5.0: the UV FORM - filesystem of a flight game and a beetle racer (UVTX files drawn by their own display lists). + filesystem of a flight game and a beetle racer (UVTX files drawn by their own display lists). Done in 0.6.0: a + demolition game's texture table and its six codecs (widths inferred, 96% agree with its decompilation). +- That demolition game's widths could come from the code that draws each texture instead of being inferred. - UVTX files whose palette is another texture file (which one comes from the level) are not shown yet. - That platformer sequel's ~2,000 sprite assets (`0103…`) and its models' smaller mip levels. - A Turok-engine shooter's front-end images (a small header with a type, dimensions, then RGBA16 pixels, RNC-packed) diff --git a/pyproject.toml b/pyproject.toml index 4a7095b51..b54f0e2e0 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -20,7 +20,7 @@ dependencies = [ # the repair families, RetroReversing/decomp-repair: a tagged archive, so installing needs no git "decomprepair @ https://github.com/RetroReversing/decomp-repair/archive/refs/tags/v0.4.0.tar.gz", # the asset recognisers (N64 textures, sound banks, models, fonts; RNC), RetroReversing/decomp-assets - "decompassets @ https://github.com/RetroReversing/decomp-assets/archive/refs/tags/v0.5.0.tar.gz", + "decompassets @ https://github.com/RetroReversing/decomp-assets/archive/refs/tags/v0.6.0.tar.gz", "httpx>=0.28", "uvicorn>=0.30", "ninja>=1.11", # builds GameCube/Wii (dtk) and other ninja-based decomp projects diff --git a/uv.lock b/uv.lock index f53b700cf..0f3cdb554 100644 --- a/uv.lock +++ b/uv.lock @@ -291,9 +291,9 @@ wheels = [ [[package]] name = "decompassets" -version = "0.5.0" -source = { url = "https://github.com/RetroReversing/decomp-assets/archive/refs/tags/v0.5.0.tar.gz" } -sdist = { hash = "sha256:23afff1673babf8b1dc87a55ec0a0bd3631cac2abd7322d45a38048b77ebc3b8" } +version = "0.6.0" +source = { url = "https://github.com/RetroReversing/decomp-assets/archive/refs/tags/v0.6.0.tar.gz" } +sdist = { hash = "sha256:ba781ddaab40007801ee623f4f90bb396a70ed589d92994cb40a808d48861adb" } [[package]] name = "decompnet" @@ -329,7 +329,7 @@ dev = [ [package.metadata] requires-dist = [ { name = "capstone", specifier = ">=5.0.9" }, - { name = "decompassets", url = "https://github.com/RetroReversing/decomp-assets/archive/refs/tags/v0.5.0.tar.gz" }, + { name = "decompassets", url = "https://github.com/RetroReversing/decomp-assets/archive/refs/tags/v0.6.0.tar.gz" }, { name = "decomprepair", url = "https://github.com/RetroReversing/decomp-repair/archive/refs/tags/v0.4.0.tar.gz" }, { name = "httpx", specifier = ">=0.28" }, { name = "mcp", specifier = ">=2.3.0" },