koolkdev / rsdkv5_extract

42 stars 13 forks source link

Can't convert meshes #15

Open theblackwidower opened 1 year ago

theblackwidower commented 1 year ago

I was trying to use the mdl2stl utility, but I keep getting error messages. First was:

  File "C:\Users\thebl\Downloads\RSDKv5U_Extract\rsdkv5_extract\mdl2stl.py", line 66
    print "Usage: mdl2stl.py mesh.bin"
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?

But of course I know python, so I fixed it. Then I encountered this error:

Traceback (most recent call last):
  File "C:\Users\thebl\GitHub\rsdkv5_extract\mdl2stl.py", line 1, in <module>
    from construct import *
ModuleNotFoundError: No module named 'construct'

And I have no idea how to fix this. I assume I'd need to install a module, but which one, and how many of them? Surely this should be listed in the readme.