Skip to content

Unpack error #3

Description

@Lufims

Some maps just doesn't convert, something related to the unpacking.

BSP version 30
Traceback (most recent call last):
  File "C:\Users\LUÍS\AppData\Local\Programs\Python\Python310\lib\site-packages\bsp2obj-0.3-py3.10.egg\bsp2obj\command_line.py", line 59, in main
    bsp = BSP(data, paks, palettePath, game)
  File "C:\Users\LUÍS\AppData\Local\Programs\Python\Python310\lib\site-packages\bsp2obj-0.3-py3.10.egg\bsp2obj\bsp.py", line 79, in __init__
    self.textures = self.parseTextures(lumps[2])
  File "C:\Users\LUÍS\AppData\Local\Programs\Python\Python310\lib\site-packages\bsp2obj-0.3-py3.10.egg\bsp2obj\bsp.py", line 318, in parseTextures
    textures.append(TextureLoader.loadWAL(self.game, self.data, self.palette))
  File "C:\Users\LUÍS\AppData\Local\Programs\Python\Python310\lib\site-packages\bsp2obj-0.3-py3.10.egg\bsp2obj\image.py", line 93, in loadWAL
    index, = struct.unpack("B", data.read(1))
struct.error: unpack requires a buffer of 1 bytes

I tried to convert "boot_camp"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions