From 09de6fc09a3acb68c3865c1efd0e260e429b706f Mon Sep 17 00:00:00 2001 From: RetroGameDeveloper <40120498+RetroGameDeveloper@users.noreply.github.com> Date: Sat, 14 Nov 2026 17:05:38 +0000 Subject: [PATCH] N64 textures in a chunked-RNC filesystem and a deflated model table: an RC racer shows 220, a platformer sequel 5,013 decomp-assets 0.4.0 reads an off-road RC racer's filesystem, packed as one RNC stream of 4 KB chunks, and its I64 images; and a platformer sequel's deflated asset table and its models' texture lists. Both texture browsers were empty. ROADMAP lists the containers other N64 games still need. Co-Authored-By: Claude Opus 5.5 --- ROADMAP.md | 11 ++++++++--- pyproject.toml | 2 +- uv.lock | 8 ++++---- 3 files changed, 13 insertions(+), 8 deletions(-) diff --git a/ROADMAP.md b/ROADMAP.md index a848abb29..a0fc25dec 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) | ✓ 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, I64 images in a chunked-RNC filesystem, model textures in a deflated asset table) | ✓ 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 | @@ -1841,8 +1841,13 @@ reuse the saved map. See [ROM Explorer](docs/ROM_EXPLORER.md) for support and li - 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. +- N64 games whose textures sit in their own containers still need a recogniser each: raw texture data in MIO0, + Yay0, Vpk0 or FLA2 blocks, sized by code or tables (a futuristic racer, a beetle racer, a flight 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. +- That platformer sequel's ~2,000 sprite assets (`0103…`) and its models' smaller mip levels; and it is a forked + decomp, so its textures show only when the cartridge is imported as a ROM project until ROM Explorer has an + image adapter for project mode. - 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. diff --git a/pyproject.toml b/pyproject.toml index 97e8e1925..e9df91776 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.3.0.tar.gz", + "decompassets @ https://github.com/RetroReversing/decomp-assets/archive/refs/tags/v0.4.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 98b18e790..2fcf7bf33 100644 --- a/uv.lock +++ b/uv.lock @@ -291,9 +291,9 @@ wheels = [ [[package]] name = "decompassets" -version = "0.3.0" -source = { url = "https://github.com/RetroReversing/decomp-assets/archive/refs/tags/v0.3.0.tar.gz" } -sdist = { hash = "sha256:136108382b9809385668bbf3d29255ca80de6cce2f53edace1cde89e8c5470e5" } +version = "0.4.0" +source = { url = "https://github.com/RetroReversing/decomp-assets/archive/refs/tags/v0.4.0.tar.gz" } +sdist = { hash = "sha256:21d2850674571e05c84fb80ce3307f8e255751096d46f77b680c63bb99e95a02" } [[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.3.0.tar.gz" }, + { name = "decompassets", url = "https://github.com/RetroReversing/decomp-assets/archive/refs/tags/v0.4.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" },