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

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

Open
beanieaxolotl opened this issue Aug 27, 2024 · 0 comments
Assignees
Labels
bug Something isn't working documentation Improvements or additions to documentation GAX v3 Regarding GAX Sound Engine version 3+

Comments

@beanieaxolotl
Copy link
Owner

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)
@beanieaxolotl beanieaxolotl added bug Something isn't working documentation Improvements or additions to documentation labels Aug 27, 2024
@beanieaxolotl beanieaxolotl self-assigned this Aug 27, 2024
@beanieaxolotl beanieaxolotl added the GAX v3 Regarding GAX Sound Engine version 3+ label Aug 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working documentation Improvements or additions to documentation GAX v3 Regarding GAX Sound Engine version 3+
Projects
None yet
Development

No branches or pull requests

1 participant