Skip to content

Resolve Warcraft file aliases when loading model textures - #155

Merged
Frotty merged 1 commit into
masterfrom
codex/game-file-aliases
Oct 8, 2026
Merged

Frotty merged 1 commit into
masterfrom
codex/game-file-aliases

Conversation

@Frotty

@Frotty Frotty commented Oct 8, 2026 •

Copy link
Copy Markdown
Member

ScrollOfTownPortal.mdx requests Textures/GenericGlow2_mip1.blp, which Warcraft resolves through FileAliases.json to Textures/GenericGlow2.blp. The extension searched only physical archive paths, leaving the glow texture missing and producing filled particle squares.

The CASC adapter now resolves the installed game's aliases, including BLP/DDS/TGA variants for texture entries. Alias tables are loaded lazily and shared per installation storage. Direct files keep precedence, archive namespaces are preserved, and alias chains terminate safely on cycles. Map-local resolution continues to run before game archive lookup.

Validation: TypeScript, ESLint, npm test, extension build, and all 127 browser end-to-end tests passed. Regression tests cover the glow alias, HD namespaces, model alias chains, cycles, direct-file precedence, table caching, and installations without alias tables. The reported scroll was rendered with installed Warcraft data through the updated adapter and had zero missing textures.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 8, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-08T12:23:40.606179Z 11155f7 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@Frotty
Frotty merged commit cbba49c into master Oct 8, 2026
1 check passed
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