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

Frame names are not preserved when importing/exporting #12

Open
flarn2006 opened this issue May 14, 2021 · 2 comments
Open

Frame names are not preserved when importing/exporting #12

flarn2006 opened this issue May 14, 2021 · 2 comments

Comments

@flarn2006
Copy link

I tried importing a character model from Sonic Robo Blast 2 (which also uses MD3 models) and then exporting it immediately, and it was all garbled. I looked at the files in a hex editor, and I suspect the issue is that the frames were all renamed to (md3 frame). I understand this data may simply be unsupported (maybe Wolfenstein doesn't use that field for anything) but I thought I'd mention it in case it is a bug, or in case it's a feature that you'd want to add.

@mino-git
Copy link
Owner

mino-git commented May 21, 2021

Hit there, what happens if you export, and then immediately import?

EDIT can you provide me the log? You can find it in the system console in blender. Also the model file if possible.

@flarn2006
Copy link
Author

flarn2006 commented Jul 20, 2021

I'm sorry for the delay; I actually forgot about this!

Please see this attachment: diagnostic.zip
It contains three files:

  • SONIC.md3: The 3D model file I used for this test, taken from Sonic Robo Blast 2.
  • export.md3: The same 3D model after importing, then re-exporting. After this, I reimported the file into a new Blender file.
  • blender.log: The system console log after the import, export, and re-import.

Notice how SONIC.md3 contains meaningful frame names like SPR2_ROLL02 and SUPERTRNS00, whereas in export.md3 they have all just been exported as (md3 frame). Sonic Robo Blast 2 uses the frame names to determine what animation each frame is a part of. What would be really nice would be if it would actually parse these names to import and export multiple actions, but just having some way to import, export, and set the name of each frame would be really useful.

Please let me know if you need anything else.

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