mino-git / rtcw-wet-blender-model-tools

Support for MD3, MDC, MDS, MDM/MDX and TAG file formats for the 3D modeling software Blender.
GNU General Public License v2.0
34 stars 3 forks source link

Frame names are not preserved when importing/exporting #12

Open flarn2006 opened 3 years ago

flarn2006 commented 3 years ago

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 commented 3 years ago

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 commented 3 years ago

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

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

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.

mino-git commented 4 weeks ago

Could you maybe suggest a workflow (how you would like it) and show me which windows or on which panels there might be modifications possible? Because it would actually be quite awesome to parse a frame, see which animation name it belongs to, and then summarize that info. On export i could then provide you with a panel so it exports your (maybe modified) frame / action names.