Skip to content

The Powerpuff Girls : Him and Seek (USA) ~ Loads but can't be unpacked #8

Description

@beanieaxolotl

The game uses GAX Sound Engine 3.0 (Jul 16 2002), so I'm not really surprised that this almost works, but fails.

When unpacking the GAX song data in order to create a .gax file, The program errors out due to it trying to get a perf list pointer from an empty instrument.

Traceback (most recent call last):
  File "C:\Users\User\....\Gaxripper v2.py", line 163, in <module>
    gax_object = gax.unpackGAXFromROM(song_settings, gba_rom)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\User\....\libs\shinen_gax.py", line 1039, in unpackGAXFromROM
    instrument_object = instrument(rom, pointer, is_gax_gba = True)
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\User\....\libs\shinen_gax.py", line 584, in __init__
    perflist_struct = struct.unpack_from('<B?Bx4B', data, offset)
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
struct.error: unpack_from requires a buffer of at least 134217736 bytes for unpacking 8 bytes at offset 134217728 (actual buffer size is 8388608)

Metadata

Metadata

Assignees

Labels

GAX v3Regarding GAX Sound Engine version 3+bugSomething isn't workingdocumentationImprovements or additions to documentation

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions