I started the OpenYR add-on work with one question. When the game directory, a pack and an archive all contain the same palette, which copy should the engine read?
I put original art under addons/<pack>/assets/ and made the lookup order explicit.1
- A loose file in the game directory wins.
- The last matching add-on pack in directory name order comes next.
- Mounted archives supply the fallback.
The synthetic palette test removes the winning pack, reopens the asset store and gets the earlier pack's bytes. Removing that pack too restores the archive bytes. A separate loose sprite wins over its pack copy in the same fixture. The lookup folds ASCII case, so two names that differ only by case inside one pack are rejected as ambiguous.2
mix-dump vfs <gamedir> <asset> reports the source of the winning file. That gives me a place to start when installing a pack leaves a sprite looking the same. INI patch merging and custom unit registration are still open.