RiiStudio icon indicating copy to clipboard operation
RiiStudio copied to clipboard

Removes "Unused" Textures upon saving.

Open gayfrogog opened this issue 3 years ago • 1 comments

Saving a BMD/BDL with textures not being used by any materials on the model will remove said textures. This breaks multiple animations and causes crashes when replacing character models in Super Mario Sunshine and Super Mario Galaxy for example. Attached is a zip containing two files, one being the original Mario.bdl file, and the other a Mario.bmd saved using RiiStudio. Unsure if this is intentional or not, but the issue still stands. Mario.zip

gayfrogog avatar Aug 20 '21 12:08 gayfrogog

This problem is a bit more challenging under-the-hood than it might appear. I'll need to think of how I want to approach it.

riidefi avatar Aug 20 '21 22:08 riidefi

Addressed in 7d3a769

riidefi avatar Nov 22 '22 05:11 riidefi