niacdoial / blemd

BMD importer for blender (BDL format also partially supported)
GNU General Public License v3.0
31 stars 12 forks source link

Individual seperate animations #80

Open MarioGladiator opened 10 months ago

MarioGladiator commented 10 months ago

How would I seperate animaitons and make them indiviual using the converter batch script?

niacdoial commented 7 months ago

I'm really not sure what you mean, sorry. do you want one exported file per animation? or do you want to be able to import the resulting file somewhere and have the animations separated in some way?

MarioGladiator commented 6 months ago

I'm really not sure what you mean, sorry. do you want one exported file per animation? or do you want to be able to import the resulting file somewhere and have the animations separated in some way?

one exported file per animation

niacdoial commented 6 months ago

Okay. now, it should be possible to do. there's one line near the top of the IOmanager.py file, defining one_action_per_file as false. change it to true, then run the batch importer.

MarioGladiator commented 6 months ago

Okay. now, it should be possible to do. there's one line near the top of the IOmanager.py file, defining one_action_per_file as false. change it to true, then run the batch importer.

thanks, it exports multiple animations as supposed to do but i have one more issue. is there a way i can have 1 animation per file instead of multiple animations per 1 file. because it exports multiple animations in 1 file and each file that exports i would like them to have their own animation to the file that it was exported in. sorry if i do not make any sense.

niacdoial commented 6 months ago

I'm not sure what you mean here, sorry. 1) Are you saying that: Currently, converter.bat, when given a single bmd file, only creates one fbx file, but you want it to create multiple fbx files. 2) If not, are you saying that: When you give a single bmd file to converter.bat, it creates multiple fbx files, but they all have multiple animations in them

MarioGladiator commented 6 months ago

2.

MarioGladiator commented 6 months ago

I'm not sure what you mean here, sorry.

  1. Are you saying that: Currently, converter.bat, when given a single bmd file, only creates one fbx file, but you want it to create multiple fbx files.
  2. If not, are you saying that: When you give a single bmd file to converter.bat, it creates multiple fbx files, but they all have multiple animations in them

Number 2. It creates multiple fbx files and they all have multiple animations in them. And I only want 1 animation in each FBX File.

niacdoial commented 6 months ago

hm... alright it should be fixed now. sorry for not checking properly last time. (again, you need to change that one line in IOmanager.py before calling converter.bat)

MarioGladiator commented 6 months ago

hm... alright it should be fixed now. sorry for not checking properly last time. (again, you need to change that one line in IOmanager.py before calling converter.bat)

Thanks, it now works as expected but I think I got one more error. So today I tried converting all of Mario's animations from Mario Sunshine using the batch exporter into fbx but for some reason it exports them slowly and I'm not sure why because there is not a lot of data in the animations they are even in KB sizes so not sure why it exports really slowly. I can send the animations to you + the model. image image MarioANIMS.ZIP

niacdoial commented 6 months ago

Sadly, there's nothing I can do to speed the exports up. Each fbx file has its own copy of the full model. Including geometry, material and textures. Exporting all of this over and over is likely why it's so slow.