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

GCX MGS3 ERROR #1

Open
Digote opened this issue Oct 31, 2023 · 0 comments
Open

GCX MGS3 ERROR #1

Digote opened this issue Oct 31, 2023 · 0 comments

Comments

@Digote
Copy link

Digote commented Oct 31, 2023

I'm trying to use it in an HD collection file but it gives me this error, file scenerio_stage_r_sna01.gcx

scenerio_stage_r_sna01.zip

C:\Users\diego\Downloads\Teste\gcx_decompiler-main>py gcx_decompiler.py scenerio_stage_r_sna01.gcx ".\out"
Traceback (most recent call last):
File "C:\Users\diego\Downloads\Teste\gcx_decompiler-main\gcx_decompiler.py", line 1023, in
gcx = gcx_parser(data, dictionary = STRCODES)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\diego\Downloads\Teste\gcx_decompiler-main\gcx_decompiler.py", line 251, in init
size = self.get_block_size()
^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\diego\Downloads\Teste\gcx_decompiler-main\gcx_decompiler.py", line 334, in get_block_size
value = self.read_u8() & 0xF
^^^^^^^^^^^^^^
File "C:\Users\diego\Downloads\Teste\gcx_decompiler-main\gcx_decompiler.py", line 263, in read_u8
value = self.read_u8_at_offset(self.pos)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\diego\Downloads\Teste\gcx_decompiler-main\gcx_decompiler.py", line 259, in read_u8_at_offset
value = struct.unpack("<B", self.data[offset:offset+1])[0]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
struct.error: unpack requires a buffer of 1 bytes

C:\Users\diego\Downloads\Teste\gcx_decompiler-main>pause
Pressione qualquer tecla para continuar. . .

Thanks for the tool

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

1 participant