Skip to content

Textures chokes on STRIFE1.WAD #48

Description

CRC32 for STRIFE1.WAD is 4234ACE5

from omg import WAD
from omg.txdef import Textures
Textures( WAD("STRIFE1.WAD").txdefs )
Traceback (most recent call last):
  File "pydevconsole.py", line 364, in runcode
    coro = func()
           ^^^^^^
  File "<input>", line 1, in <module>
  File "omg\txdef.py", line 50, in __init__
    self.from_lumps(*args)
  File "omg\txdef.py", line 59, in from_lumps
    if "TEXTURE1" in g: self.from_lumps(g["TEXTURE1"], g["PNAMES"])
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "omg\txdef.py", line 62, in from_lumps
    self._from_lumps(args[0], args[1])
  File "omg\txdef.py", line 78, in _from_lumps
    texture.patches.append(PatchDef(x, y, name=pnames[idn]))
                                               ~~~~~~^^^^^
IndexError: list index out of range

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