Smash-Forge icon indicating copy to clipboard operation
Smash-Forge copied to clipboard

Material anim files don't save properly

Open stinny7 opened this issue 3 years ago • 0 comments

If you open a .mta from a character's material_anime_eye.pac and save it, a few things get messed up. First, the Second Material Hash gets changed to match the first Material Hash, which causes the character's eyes to move in the wrong direction.

Before saving: 1 After saving: 2 Second, the offsets within the file are all off by 0x10 (h), so the file basically becomes unreadable. In order to fix these you would have to go through the file in a hex editor and add 0x10 to all of the offsets.

For example, the corrupt mta vs. the readable mta: 3

These offset changes need to be done for each material in order for the file to become readable again (6 materials in this mta)

stinny7 avatar Dec 14 '20 20:12 stinny7