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

SA2 Chaos model crash #22

Open
MainMemory opened this issue Aug 8, 2018 · 1 comment
Open

SA2 Chaos model crash #22

MainMemory opened this issue Aug 8, 2018 · 1 comment
Labels

Comments

@MainMemory
Copy link
Contributor

Splitting and then building the chaos0mdl.prs file will cause the game to crash on a null pointer as soon as the stage loads.

@MainMemory MainMemory added the bug label Aug 8, 2018
@MainMemory
Copy link
Contributor Author

So the reason why the game crashes is because Chaos has a texture animation on most of his models, and in order to achieve that, it accesses specific offsets from the poly data of the models. Presumably our tools output the data in such a way that there are more or fewer bytes in the poly data, so the offsets end up pointing to the wrong things and the model is corrupted.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant