Skip to content

Error decoding Secret of Monkey Island. #29

@pjschaafsma

Description

@pjschaafsma

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions