Skip to content

N64 textures in a chunked-RNC filesystem and a deflated model table (decomp-assets 0.4.0) - #1194

Merged
RetroGameDeveloper merged 1 commit into
mainfrom
feat/n64-revolt-banjo-textures
Nov 14, 2026
Merged

RetroGameDeveloper merged 1 commit into
mainfrom
feat/n64-revolt-banjo-textures

Conversation

@RetroGameDeveloper

@RetroGameDeveloper RetroGameDeveloper commented Nov 14, 2026 •

Copy link
Copy Markdown

What

Bumps decompassets to v0.4.0:

  • an off-road RC racer's assets are one RNC stream with method byte 0x81 (4 KB chunks, each packed on its own) holding an FFS filesystem; its I64 images (CI4, CI8, I4, I8) are found, one region per chunk that starts images, and previews unpack only that file;
  • a platformer sequel's assets are raw deflate behind an offset table; its models' texture lists are read (CI4, CI8, RGBA16, RGBA32, IA8; first mip level).

ROADMAP: the texture row mentions both; "Next" lists which N64 containers are still unread.

Why

Both games' texture browsers were empty.

Checked

Through the app's code (consoles.get('n64').asset_regions → rom.explorer.analyse → asset_preview) on the user's cartridges in a scratch home, read only:

Cartridge Texture browser
off-road RC racer 0 → 103 regions, 220 images
platformer sequel 0 → 861 models, 5,013 textures
the other 49 N64 cartridges unchanged (both recognisers find nothing there)

Samples of 40–48 rendered correctly.

The platformer sequel's project in the app is a forked decomp, so ROM Explorer doesn't run on it yet (ROM mode only, the existing image-adapter gap); its textures show when the cartridge is imported as a ROM project. Noted in ROADMAP.

Targeted tests (test_decompassets, test_archived_textures, test_asset_inspection, test_native_textures, test_rom_assets, test_rom_explorer, test_texture_browser, test_asset_map): 147 passed, 1 failed. The failure is test_texture_browser.py::test_api_selections_persist_and_usage_keeps_recorded_references_separate, which fails on main too.

Existing projects need a ROM Explorer rescan.

🤖 Generated with Claude Code


Autofix with [code]smith
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

…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 <noreply@anthropic.com>
@RetroGameDeveloper
RetroGameDeveloper merged commit aeb5d6f into main Nov 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant