niacdoial / blemd

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

Blender freezes on importing .bmd #61

Open lunanasa opened 1 year ago

lunanasa commented 1 year ago

After trying to import the model .bmd blender just freezes. I don't know much about blender but would like to import the model for future editing. Can you help me? изображение_2022-09-18_102907482 If I can provide some data or logs for error, then just write me how to do it

ajd-262 commented 1 year ago

What model are you trying to load?

Chipboard commented 1 year ago

I'm having this same issue when importing various Super Mario Sunshine models, most importantly the ma_mdl1.bmd model.

Edit - It's Mario's model

ajd-262 commented 1 year ago

Well it works fine with my vary old version but did take about 2 mins for Blender 2.78 to load the Mario model since it also loaded 12872 frames of animation from the bck folder. Try loading with out importing animations. This should be an option to to not import them or just move the .bmd to someplace else so Blender/the plug in can't read the bck folder.

Chipboard commented 1 year ago

It eventually appeared! I'm curious where the animations are, though, as I don't see them imported. I made sure to keep the original structure.

Well it works fine with my vary old version but did take about 2 mins for Blender 2.78 to load the Mario model since it also loaded 12872 frames of animation from the bck folder. Try loading with out importing animations. This should be an option to to not import them or just move the .bmd to someplace else so Blender/the plug in can't read the bck folder.

Chipboard commented 1 year ago

It works with one animation at a time which is all I need. Thank everyone who contributed to this project, it's a lifesaver!

niacdoial commented 1 year ago

What do you mean, "It works with one animation at a time"? It only imports one animation each time you import the model? I don't think it should. Is it that all animations happen in a row? If that's the case, there is an option (in the import dialog) to have all animations be their separate "actions" which happen one after the other. And if there are multiple BMD models with the file you extracted, it's possible that some animations are just not meant to load with that specific model.

niacdoial commented 1 year ago

As for @lunanasa. does any of this solve your problem? (if not: is the BMD file in question from a gamecube/wii game? Because that's the only thing BleMD can import. …There's a surprising number of times where people tried to use this to import files from pixelmon (a minecraft mod I think) of all things.)

niacdoial commented 1 year ago

@lunanasa I recently put a patch that fixed another bug that caused BleMD to hang. If the previous fix didn't do the trick, did this one do it?