Venomalia / DolphinTextureExtraction-tool

Dumps GC and Wii textures, compatible with the Dolphin texture hash.
MIT License
29 stars 5 forks source link

Fix duplicate keys causing errors when reading contents of BRRES archives #22

Closed squidgy617 closed 1 year ago

squidgy617 commented 1 year ago

BRRES archives with multiple items with the same name would cause an error when being extracted. This fix makes it so items with a key already in the collection will simply be skipped instead.

Venomalia commented 1 year ago

Could you adjust it so that it is renamed like here https://github.com/Venomalia/DolphinTextureExtraction-tool/commit/829f8dc97a09cfd9d6f7cbcca0b89f35fa432253

squidgy617 commented 1 year ago

Updated to rename it instead.