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

8ing renderware anm #5

Open
Kendaman opened this issue Apr 26, 2023 · 2 comments
Open

8ing renderware anm #5

Kendaman opened this issue Apr 26, 2023 · 2 comments

Comments

@Kendaman
Copy link

Kendaman commented Apr 26, 2023

Thanks for the great plugin. dff and anm from a company called 8ing, but I can't load them, maybe they are in a special format.
dff can be loaded in blender by using rwio's 3dsmax plugin and then exporting them again.
As for anm, the header looks the same, but the data content looks different from the other anm.
I will upload a sample later, could you take a look at it?

https://drive.google.com/file/d/1aWEmvjgsnTSY-C8VPa17A6VFmTd79pN7/view?usp=sharing
The sample I had previously sent to rwio was still there.

*EDIT
https://drive.google.com/file/d/1jeuxefeX84HMubAve3GxHNV2GaHFULzz/view?usp=sharing
Animation file for Hagane, concatenated as tmo, contents are anm with 0x1B header. It is already split.

@Psycrow101
Copy link
Owner

Greetings. I looked at the structure of anm files and found a difference in the keyframe storage format. The overall structure does match RenderWare, but the keyframe fields have changed. I defined the following keyframe fields:

Keyframe (24 bytes):
    0x0: supposedly quaternion (8 bytes)
    0x8: supposedly position (6 bytes)
    0xe: bone id (2 bytes)
    0x10: time (4 bytes)
    0x14: previous frame offset (4 bytes)

The problem is that I can't interpret the values of the supposed quartanions and positions correctly. Additional research is needed. What game are these animations for? Fullmetal Alchemist: Dream Carnival?

@Kendaman
Copy link
Author

Yes, I'm pretty sure that's the title.
This is the only 8ing PS2 RW title that can load models in rwio. Other titles (Inuyasha, Rurouni Kenshin) cannot even load dff.

At some point, 8ing started using its own mot for animation, but in the early days it used renderware anm like this,
which would be very nice to be able to import.

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

2 participants