Kuribo64
Views: 19,854,112 Home | Forums | Uploader | Wiki | Object databases | IRC
Rules/FAQ | Memberlist | Calendar | Stats | Online users | Last posts | Search
03-29-24 04:37 AM
Guest:

0 users reading Help with mdl2obj.py! | 1 bot

Main - Misc. ROM hacking - Help with mdl2obj.py! Hide post layouts | New reply


Yoshimaster96
Posted on 10-11-18 07:47 PM Link | #96147
I get this error when running mdl2obj:
C:\Users\jacob\Desktop\Gaming\GameCube+Wii\Modding\LuigisMansion\mdl2obj-v0.1>python mdl2obj.py map2\room_00.arc_dir\room_00\room.bin
Traceback (most recent call last):
File "mdl2obj.py", line 162, in <module>
texobjs = [stream >> TexObj for i in range(header.num_texobjs)]
File "mdl2obj.py", line 162, in <listcomp>
texobjs = [stream >> TexObj for i in range(header.num_texobjs)]
File "C:\Users\jacob\Desktop\Gaming\GameCube+Wii\Modding\LuigisMansion\mdl2obj-v0.1\btypes.py", line 214, in __rshift__
return btype.unpack(self)
File "C:\Users\jacob\Desktop\Gaming\GameCube+Wii\Modding\LuigisMansion\mdl2obj-v0.1\btypes.py", line 163, in unpack
field.unpack_part(struct,stream)
File "C:\Users\jacob\Desktop\Gaming\GameCube+Wii\Modding\LuigisMansion\mdl2obj-v0.1\btypes.py", line 184, in unpack_part
setattr(struct,self.name,self.type.unpack(stream))
File "C:\Users\jacob\Desktop\Gaming\GameCube+Wii\Modding\LuigisMansion\mdl2obj-v0.1\btypes.py", line 31, in unpack
return data_unpack(stream.endian + self.basic,stream.read(self.size))[0]
struct.error: unpack requires a buffer of 2 bytes

What do I do to fix this? I'm on Windows 10 64-bit.

My Youtube Channel:
Yoshimaster96smwc
Some layout tips/code!

-Yoshimaster96


Main - Misc. ROM hacking - Help with mdl2obj.py! Hide post layouts | New reply

Page rendered in 0.014 seconds. (2048KB of memory used)
MySQL - queries: 28, rows: 106/106, time: 0.008 seconds.
[powered by Acmlm] Acmlmboard 2.064 (2018-07-20)
© 2005-2008 Acmlm, Xkeeper, blackhole89 et al.