Failure to load Texture2D assets from Pokemon UNITE (Switch) (2019.4.4f1) #769
Comments
I think there's also something parsing wrong with meshes, too. |
According to your description, the structure of Texture2D has been modified. |
Obviously the developer deleted the structural information to prevent others from viewing it. The best thing to do in this case is to try to obtain structural information from the executable file. |
@ElChicoEevee In the #740 file, only the AnimationClip structure is different from the original one. Because I don’t have the latest file, my guess is that the version of NSwitch is newer. In the new version, the developer modified the structure of Texture2D and Mesh. Perhaps you can find the structure information from the latest Android version. |
@ElChicoEevee The structure of these two files has not been modified. |
As long as the code of Mesh/Texture2D.cs is modified to the modified structure, it can be read normally. |
Files are loaded successfully by DevX Unity Editor, supposedly.
I got Texture2Ds to load by adding an extra u32 read to the texture2d deserialization section (before image data size), but I don't think that's actually correct.
As it is, AssetStudio reads size=1 and reads out of bounds data as images.
Archive format is 2019.4.4f1.
The text was updated successfully, but these errors were encountered: