Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Editing a Skeletal Animation in a .bcres file consistently corrupts the animation in a way that causes a crash when trying to resave the file #70

Open
Longboost opened this issue Oct 31, 2024 · 0 comments

Comments

@Longboost
Copy link

Exporting the same animation to a .json before and after modifying it gives a clue as to what is going wrong.

Before:
image

After:
image

As you can see, both the "Flags" and "Name" keys have had their values wiped, being set to 0 and null, respectively. Reimporting this corrupted version of the animation also causes a crash. Correcting these values of course fixes this, and also prevents the crash when trying to save.

Furthermore, it seems that the corruption of these animations is also preventing CTR Studio from being able to update the playback of the animation to reflect the changes made (also meaning that the only way to check how the changes you've made look is to export the animation, fix the values, and reimport them!)

I am using the latest version of CTR Studio, and have had this problem occur without fail across both existing .bcres exported from games and .bcres files made from scratch in CTR Studio. So, please: if someone could check if this is happening for everyone, that'd be very helpful.

@Longboost Longboost changed the title Editing a Skeletal Animation in a .bcres file consistently corrupts the animation in way that causes a crash when trying to resave the file Editing a Skeletal Animation in a .bcres file consistently corrupts the animation in a way that causes a crash when trying to resave the file Oct 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant