Skip to content

N64 textures found from the display lists that load them (decomp-assets 0.3.0) - #1180

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

RetroGameDeveloper merged 1 commit into
mainfrom
feat/n64-display-list-textures

Conversation

@RetroGameDeveloper

@RetroGameDeveloper RetroGameDeveloper commented Nov 14, 2026 •

Copy link
Copy Markdown

What

Bumps decompassets to v0.3.0: a new N64 recogniser finds textures from the uncompressed display lists that load them (format, dimensions, palette from the RDP commands), placing each file in the cartridge by its vertex loads and the pointers to its lists. They show in the texture browser as CI8 32×64 texture etc., with confidence inferred. ROADMAP: the texture row mentions it; "Next" lists what it doesn't read yet.

Why

Cartridges with no container format the recognisers know had empty texture browsers.

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
kart racer (8 MB) 0 → 453 (28 s scan)
futuristic racer 0 → 394 (17 s)
cartridges whose lists are compressed or built at run time (4) unchanged, no false positives

48 random textures from each were rendered and all are real images with correct palettes.

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.

Other consoles: unaffected (N64 recogniser). 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.

…r 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 <noreply@anthropic.com>
@RetroGameDeveloper
RetroGameDeveloper merged commit 4c2253a 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