niacdoial / blemd

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

Softlocks on every build I've tried #38

Open GoomShroom opened 4 years ago

GoomShroom commented 4 years ago

I've tried 2.77, 2.78, 2.79, and 2.83 and it stops responding when I try to import a bmd model. It did load one model that was under 2kb, but it just loaded as a big blue cube instead of the actual model. Any help? I'm trying to do Sunshine model replacements.

niacdoial commented 4 years ago

Hi! So, first off, BleMD not working on 2.8x is expected, I never found the time to make a version of it that is adapted to the new API.

Second off... As dumb as this advice might seem, did you look inside the cube? A similar thing happened to me a few times, where the model was a room, and imported result had a blue "shell" around it. As for the other models, how long did it stop responding? Short freezes are (sadly) expected behavior. Depending on the size of the model and the amount of animations imported at the same time, it could take up to a minute, in my experience. Otherwise, it could be linked to issue #33 (or not). If that is the case, you might have an easier time using BleMD at commit 4d26777987a0eea3ad0fa8edc7f413f72df6dc8d.

I hope that helps.

GoomShroom commented 4 years ago

Okay, I got it to import models by selecting "do not import animations".

As for the blue cube, I think maybe it's just supposed to be a blue cube? I'm not really sure from the file name what the model is even supposed to be so that might not even be a bug. I'll download a bmd viewer and see if I can figure it out.

This is my first venture into Blender and modding so honestly it's hard for me to tell what's working as intended, so feel free to attribute any of my issues to my own inexperience rather than it being a bug with BleMD.

niacdoial commented 4 years ago

You might want to check what material this blue color corresponds to. if the (blender) material is called "error material", then it means that either the cube's actual (bmd) material couldn't be imported, or there is no (bmd) material attached to the faces in question (in the bmd file). If there was an error in importing the material, you should be able to see that in the console log.

Maybe it could be a dummy mesh that only has an impact in the game's physics? I have no idea.