From dff15c69b950cd91754af348c98d618599a8d1ed Mon Sep 17 00:00:00 2001 From: RetroGameDeveloper <40120498+RetroGameDeveloper@users.noreply.github.com> Date: Sat, 14 Nov 2026 16:20:33 +0000 Subject: [PATCH] N64 textures found from the display lists that load them: a kart racer shows 453, a futuristic racer 394 decomp-assets 0.3.0 reads uncompressed display lists' texture loads (format, size, palette) and works out where each file sits in the cartridge from its vertex loads and the pointers to its lists. Cartridges with no container format had empty texture browsers. ROADMAP lists what it doesn't read yet. Co-Authored-By: Claude Opus 5.5 --- ROADMAP.md | 9 ++++++++- pyproject.toml | 2 +- uv.lock | 8 ++++---- 3 files changed, 13 insertions(+), 6 deletions(-) diff --git a/ROADMAP.md b/ROADMAP.md index b941a34e1..2743cded9 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) | ✓ ROM | — native formats planned | — native formats planned | — native formats planned | — image adapter | — image adapter | — image adapter | — 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) | ✓ ROM | — native formats planned | — native formats planned | — native formats planned | — image adapter | — image adapter | — image adapter | — image adapter | | 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 | — original image adapter | | 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 | @@ -1836,6 +1836,13 @@ reuse the saved map. See [ROM Explorer](docs/ROM_EXPLORER.md) for support and li the regular expressions for code tree-sitter can't parse (macros, old dialects). - Readers for PowerPC, x86 and ARM (today the evidence is MIPS). - Publish it on PyPI, so other projects can depend on it by version. +- N64 display-list textures (0.3.0) read only uncompressed lists. Next: lists inside compressed blocks (a + Turok-engine shooter's RNC-packed models), textures loaded as a sub-rectangle of a wider image, multi-tile and + mipmapped tiles, and a file's displacement from the code that loads it where the file itself can't decide. +- N64 games whose lists are compressed or built at run time (a Ridge-style racer, a survival horror port) still + need a recogniser for their own texture containers. +- A Turok-engine shooter's front-end images (a small header with a type, dimensions, then RGBA16 pixels, RNC-packed) + are not recognised yet. - Move the tests here that only need a compiler to decomp-repair, with the compilers as an optional part. ### decomp-assets: other consoles, and other projects using it diff --git a/pyproject.toml b/pyproject.toml index 0ede14afd..97e8e1925 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.2.0.tar.gz", + "decompassets @ https://github.com/RetroReversing/decomp-assets/archive/refs/tags/v0.3.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 c1f129fed..98b18e790 100644 --- a/uv.lock +++ b/uv.lock @@ -291,9 +291,9 @@ wheels = [ [[package]] name = "decompassets" -version = "0.2.0" -source = { url = "https://github.com/RetroReversing/decomp-assets/archive/refs/tags/v0.2.0.tar.gz" } -sdist = { hash = "sha256:f8e5fb6e8494689462b5c524bd2bfb8d1a215b57113b424d7236c07b58deaa84" } +version = "0.3.0" +source = { url = "https://github.com/RetroReversing/decomp-assets/archive/refs/tags/v0.3.0.tar.gz" } +sdist = { hash = "sha256:136108382b9809385668bbf3d29255ca80de6cce2f53edace1cde89e8c5470e5" } [[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.2.0.tar.gz" }, + { name = "decompassets", url = "https://github.com/RetroReversing/decomp-assets/archive/refs/tags/v0.3.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" },