Grimrukh / soulstruct

Python tools for inspecting and modifying FromSoft games (mainly Dark Souls 1).
145 stars 16 forks source link

DS3, fail on EMEVD import #2

Closed Nahnahchi closed 3 years ago

Nahnahchi commented 4 years ago

soulstruct fails when trying to work with DS3. The line from soulstruct.events.darksouls3 import EMEVD fails with the following error:

Traceback (most recent call last):
  File "C:/Users/sawal/Downloads/soulstruct/evs.py", line 73, in <module>
    from soulstruct.events.darksouls3 import EMEVD
  File "C:\Users\sawal\Downloads\soulstruct\soulstruct\events\darksouls3\__init__.py", line 1, in <module>
    from .core import EMEVD, convert_events
  File "C:\Users\sawal\Downloads\soulstruct\soulstruct\events\darksouls3\core.py", line 8, in <module>
    from .constants import ALL_MAPS
  File "C:\Users\sawal\Downloads\soulstruct\soulstruct\events\darksouls3\constants.py", line 47, in <module>
    ALL_MSB_FILE_NAMES = [m.msb_file_stem for m in ALL_MAPS if m.msb_file_stem]
  File "C:\Users\sawal\Downloads\soulstruct\soulstruct\events\darksouls3\constants.py", line 47, in <listcomp>
    ALL_MSB_FILE_NAMES = [m.msb_file_stem for m in ALL_MAPS if m.msb_file_stem]
AttributeError: type object 'COMMON' has no attribute 'msb_file_stem'