Venomalia / DolphinTextureExtraction-tool

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

Handling textures inside executables (.DOL, .REL) #31

Open Neui opened 1 year ago

Neui commented 1 year ago

Executables can have textures (and other files) in them, but they are directly accessed by code and thus harder to "find". For example, Pokémon XD Gale of Darkness has some GTX textures in its .DOL file that it "loads" during startup.

Since we can't really rely on trying to search for possible textures by searching for magic values (since formats like GTX doesn't have one), maybe we would have an separate table that for a given executable (identified by file size and some hash) it would show where a texture is located in and what format (via filename?), so that those can also be extracted.

Venomalia commented 1 year ago

Yes I have thought about it, but mostly it's just the startup logos. I don't think it's worth the effort as they can be dumped very quickly with dolphin.