Closed quarkblitz closed 1 month ago
@quarkblitz How well is the decoding working now? Maybe I can come up with a way to import/export these to simplify further research/debug
@quarkblitz How well is the decoding working now? Maybe I can come up with a way to import/export these to simplify further research/debug
The code is based on a dumper I wrote earlier. The output of said dumper looked fine (as in no NaNs or anything weird, at least from what I noticed) for the (few) animations I tested it with. However I haven't tested playback of the decoded data on a model or something along those lines so maybe there's still something off that's hard to spot by just staring at the raw dump.
That being said, the code is entirely untested as Animation2Loader
is not yet wired up anywhere in the project. It's basically a port of the loader code from the dumper, but it's well possible I got some bits wrong along the way, like range accessors for instance.
PR has been replaced with https://github.com/Greavesy1899/MafiaToolkit/pull/99
Animation research, based on @RoadTrain's work.