PredatorCZ / RevilMax

Revil plugin for 3ds Max
GNU General Public License v3.0
49 stars 15 forks source link

some motlist.484 has empty name #24

Closed qiankanglai closed 2 years ago

qiankanglai commented 2 years ago

Hi PredatorCZ,

Thanks for this great work. I follow the instruction here trying to extract some MHRise animation, but the plugin crashes for some motlist.484.

But it is the same format as RE8's animations internally. I've built a version of Revilmax for 3dsmax 2017 that can import MHRise motlists, but it will not work for RE8 anymore.

From this, I modified the source code a bit to debug (duplicate motion_list_486 and motion_458 and rename) and found it crashes due to empty name.

image

I add some protection code to avoid this and it works, but any idea for better extracting? It seems some motlist does have NULL name 😢

PredatorCZ commented 2 years ago

Some names might be missing on purpose for some reason. There is no way to get them, since they were omitted at build.

qiankanglai commented 2 years ago

Got it. Thank you.