zhangjiequan / AssetStudio

AssetStudio - Based on the archived Perfare's AssetStudio, I continue Perfare's work to keep AssetStudio up-to-date, with support for new Unity versions and additional improvements.
MIT License
1.14k stars 86 forks source link

Very broken textures on mesh export #32

Open Ry3yr opened 3 weeks ago

Ry3yr commented 3 weeks ago

While it was possibleto use AssetStudio to get a perfect rip on DeadlyPremonition2's models,

a more recent title (2024, Reynatis - Nintendo Switch) will only produce a mesh with garbled textures

Screenshot_2024-11-01-12-41-58

Texture Format DXT5 Screenshot_2024-11-01-12-47-52

Is there a way to fix this ? All textures in this game come out strange like this, asif they are missing data partially

This issue has been part of AssetStudio since 2020 it appears (!) https://github.com/Perfare/AssetStudio/issues/559


It appears the textures in question are SWIZZLED: "Unfortunately, there doesn't really seem to be a reliable way to unswizzle textures at this time, but the only thing I know of that ever produced usable results is rawtex on raw exported textures which doesn't support many newer texture formats and seems to work with less and less even of the formats it does support (like this) -- I just get almost empty files with a few squares in a corner from most now. You can try your luck with it though. Just make sure to export raw, not a conversion." https://github.com/Perfare/AssetStudio/issues/1095

Ry3yr commented 3 weeks ago

This fork includes unswizzel capabilities: https://github.com/nesrak1/AssetStudio/releases

(Source: https://github.com/nesrak1/UABEA/issues/185#https://gbatemp.net/threads/un-swizzling-switch-image-textures-and-bundle-files.623523/ )