Skip to content

N64 texture banks with a name block are found and named (decomp-assets 0.2.0) - #1176

Merged
RetroGameDeveloper merged 1 commit into
mainfrom
feat/n64-named-texture-banks
Nov 14, 2026
Merged

RetroGameDeveloper merged 1 commit into
mainfrom
feat/n64-named-texture-banks

Conversation

@RetroGameDeveloper

@RetroGameDeveloper RetroGameDeveloper commented Nov 14, 2026 •

Copy link
Copy Markdown

What

Bumps decompassets to v0.2.0: indexed N64 texture banks may carry a fourth block, the texture's source file name, which becomes the bank's label in the texture browser. ROADMAP's texture-bank row mentions it.

Why

A 16 MB Turok-engine shooter had an empty texture browser: all 5,856 RNC blocks decode, but each texture bank has a fourth name block and the recogniser required exactly three.

Checked

  • Through the app's own code (consoles.get('n64').asset_regions → rom.explorer.analyse → asset_decode/asset_preview) on the user's cartridge in a scratch home, read only: 990 banks (930 CI4, 33 RGBA16 mipmap, 27 CI8), labelled BUSH01.GIF, DAISY.GIF w/mask, ...; previews render. The Turok-format game still gives 1,070.
  • pytest on test_decompassets, test_archived_textures, test_asset_inspection, test_native_textures, test_rom_assets, test_rom_explorer, test_texture_browser: 140 passed, 1 failed. test_texture_browser.py::test_api_selections_persist_and_usage_keeps_recorded_references_separate fails on main as well (checked in a clean main worktree), so it isn't caused by this change.
  • Other consoles: unaffected (N64-only recogniser).

Existing projects need a ROM Explorer rescan to pick these up.

🤖 Generated with Claude Code


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

…a Turok-engine shooter's browser shows 990 textures

decomp-assets 0.2.0 accepts the indexed texture bank's fourth block, the texture's
source file name ("BUSH01.GIF"), which a later version of the engine appends. The
recogniser required exactly three blocks, so a 16 MB Turok-engine shooter's texture
browser was empty although all its RNC blocks decode. Rescanned, it finds 990 banks,
labelled by their file names; the original Turok-format game is unchanged (1,070).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@RetroGameDeveloper
RetroGameDeveloper merged commit b3478b9 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