We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Most likely an issue with pyctr, but someone reported that ninfs would not mount the content properly.
The text was updated successfully, but these errors were encountered:
This is because ExeFSReader.decompress_code fails with a GBA rom. With a valid 3DS codebin (compressed or decompressed) it exits just fine.
ExeFSReader.decompress_code
>>> from pyctr.type import exefs as e >>> a = e.ExeFSReader('exefs.bin') >>> a.decompress_code() Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/pyctr/type/exefs.py", line 308, in decompress_code code_dec = decompress_code(code) File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/pyctr/type/exefs.py", line 126, in decompress_code byte = dec[ptr_out + seg_off] IndexError: bytearray index out of range
Sorry, something went wrong.
Best way to detect a GBA game seems to be to read the core version from the extheader (https://www.3dbrew.org/wiki/NCCH/Extended_Header#ARM11_Local_System_Capabilities). This would be best after an extheader reader is added. #2
No branches or pull requests
Most likely an issue with pyctr, but someone reported that ninfs would not mount the content properly.
The text was updated successfully, but these errors were encountered: