uxmal / reko

Reko is a binary decompiler.
https://uxmal.github.io/reko
GNU General Public License v2.0
2.1k stars 251 forks source link

"An internal error occurred. Index was outside the bounds of the array." when attempting to load Keen 1 #1290

Closed juj closed 10 months ago

juj commented 10 months ago

Downloading Keen Version 1.1 from https://keenwiki.shikadi.net/wiki/Keen_1_Versions ( http://cd.textfiles.com/wildcatgold/games/1keen.zip ) and opening it in Reko gives the following:

image

It reads like Reko is at least attempting to identify and process LZ compressed executables, but then gets confused.

Manually unpacking via https://keenwiki.shikadi.net/wiki/UNLZEXE does seem to work around.

uxmal commented 10 months ago

This was fixed in commit 61bbcfa. You can use the CI build of Reko to verify this (I just verified on my end). There is no perma-link to the most recent CI build, but if you navigate to Github's "Actions" tab: image

then click on the topmost (most recent) successful run, and navigate to the bottom of the page, you'll find the artifacts from that CI run.

juj commented 10 months ago

Awesome!