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

Error decoding Secret of Monkey Island. #29

Open
pjschaafsma opened this issue Feb 11, 2025 · 0 comments
Open

Error decoding Secret of Monkey Island. #29

pjschaafsma opened this issue Feb 11, 2025 · 0 comments

Comments

@pjschaafsma
Copy link

Command running: nutcracker sputm room decode ./monkey.000

After room 23 out of about 99, nutcracker errors out after logging

48 === <function decode_basic at 0x7978e6329940> === HORIZONTAL === None === 8
=====================
---------------------
589 589 307
ORIG b'$\x03k$\x92a\x8d\x00\xc0\x1aY#\x805\x12\xc9\xb0F\x00k\x04kd\x8d\x00\xd6H$\x894\xb2F\[...]\x91,\x92E\x02\x00'
ENCODED b'$\x03\xfb\x8e\x1d\x00\xfe\x1f\xf0\xef\xd8\x01?\xfe\x1f\xf0/\x91\xff?\xf8\x7f\xfc?\xe0\xf7\[...]\x1f'

╭─────────────────────────────── Traceback (most recent call last) ────────────────────────────────╮
│ in decode:39                                                                                     │
│                                                                                                  │
│ in extract_room_images:209                                                                       │
│                                                                                                  │
│ in read_room:60                                                                                  │
│                                                                                                  │
│ in read_room_background:33                                                                       │
│                                                                                                  │
│ in decode_smap:381                                                                               │
│                                                                                                  │
│ in parse_strip:342                                                                               │
╰──────────────────────────────────────────────────────────────────────────────────────────────────╯
NameError: name 'exit' is not defined
[84133] Failed to execute script 'runner' due to unhandled exception!

Now, the NameError is not the problem, but rather the mismatch between ORIG and ENCODED above, already in their sizes.

I'm running this against monkey.000 of 9135 bytes and monkey.001 of 6653379 bytes.

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