Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Textures chokes on STRIFE1.WAD #48

Open
ghost opened this issue Jun 4, 2024 · 0 comments
Open

Textures chokes on STRIFE1.WAD #48

ghost opened this issue Jun 4, 2024 · 0 comments

Comments

@ghost
Copy link

ghost commented Jun 4, 2024

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants