Skip to content

OverflowError when calling loadArm9 #1

@MathyFurret

Description

@MathyFurret

Hi, I am running ndspy 3.0.0 in Python 3.8.1 and I am getting an OverflowError when trying to loadArm9 on a ROM of Pokemon Conquest:

>>> rom.loadArm9()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "C:\Program Files (x86)\Python38-32\lib\site-packages\ndspy\rom.py", line 503, in loadArm9
    return code.MainCodeFile(self.arm9,
  File "C:\Program Files (x86)\Python38-32\lib\site-packages\ndspy\code.py", line 106, in __init__
    struct.unpack_from('<3I', data, self.codeSettingsOffs)
OverflowError: Python int too large to convert to C ssize_t

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