It seems that you're using an outdated browser. Some things may not work as they should (or don't work at all).
We suggest you upgrade newer and better browser like: Chrome, Firefox, Internet Explorer or Opera

×
I am using innoextract to get the game files from the installer under linux, but instead I just got a bunch of installer files and readmes + about 40 folders named 00, 01, 3f, 6d, .. but no game files (or they are compressed and split over those 'byte id' folders, dunno..)
The game I'm trying to extract is 'Legend of Kyrandia 1' and while I could use wine to install the game and copy the files over, it's really bothersome..

Is this a known issue with innoextract or is there a better / more reliable way to extract the files under non-Windows systems?

While I understand GOG wants to provide an easy solution for people to just install and play, I wish they would offer .iso files of the original game. No enhancements, no dosbox/scummvm wrapper or the like. Just the 'good old game'.
Probably easier to go on abandonware sites...
In this post they talk about using a customised version of innoextract:

https://www.gog.com/forum/general/adamhms_linux_wine_wrappers_news_faq_discussion/post234
avatar
Joefish90: *snip*
It may be a plus if you walked us thru what you;re doing, like the commands used.

Like the post maestroruffy links to, gog installers are handled differently:

https://github.com/dscharrer/innoextract/issues/37
Post edited May 09, 2018 by drmike
Thanks everyone for your fast replies!

I used the following command to extract the installer
> innoextract --gog -m -d ./kyra1/ setup_legend_of_kyrandia_1.1_\(20270\).exe

I compiled immi101's extractor and it now gives me a DAT folder with the game files but KYRA.DAT is missing (maybe the DAT folder is it but extracted is as well?) so scummvm can't start it.

I will keep an eye on the port and write a report to dscharrer's repo but for now I will just keep using wine to install and extract the game files manually..
Also the abandonware sites are a good idea to get the orignials.

Thanks everyone!
I agree with you Linux and Windows .exe's don't work smoothly together. Linux users situation is only made worse by not supporting developers, publishers and retailers like gog.com.
avatar
Joefish90: Thanks everyone for your fast replies!

I used the following command to extract the installer
> innoextract --gog -m -d ./kyra1/ setup_legend_of_kyrandia_1.1_\(20270\).exe

I compiled immi101's extractor and it now gives me a DAT folder with the game files but KYRA.DAT is missing (maybe the DAT folder is it but extracted is as well?) so scummvm can't start it.
kyra.dat belongs to scummvm, it's not part of the game data

if you install scummvm via your package manager you should already have the file. (at least that's how it works here)
there shouldn't be any need to extract kyra.dat from the gog installer.

alternatively you can download kyra.dat from scummvm homepage directly :)
Post edited May 14, 2018 by immi101
avatar
Joefish90: Thanks everyone for your fast replies!

I used the following command to extract the installer
> innoextract --gog -m -d ./kyra1/ setup_legend_of_kyrandia_1.1_\(20270\).exe

I compiled immi101's extractor and it now gives me a DAT folder with the game files but KYRA.DAT is missing (maybe the DAT folder is it but extracted is as well?) so scummvm can't start it.
avatar
immi101: kyra.dat belongs to scummvm, it's not part of the game data

if you install scummvm via your package manager you should already have the file. (at least that's how it works here)
there shouldn't be any need to extract kyra.dat from the gog installer.

alternatively you can download kyra.dat from scummvm homepage directly :)
oh wow.. :facepalm:
I compile from source so they are not automatically added. Works like a charm now.
Thanks :)
GOG seems to abandon Inno Setup in favor of something else, e.g. GOG_Galaxy_Champions_of_Krynn.exe is compressed with UPX and then something I could not figure out.

So here is how to extract the Mojo Setup installer for Linux:

> unzip gog_champions_of_krynn_2.0.0.1.sh
Archive: gog_champions_of_krynn_2.0.0.1.sh
warning [gog_champions_of_krynn_2.0.0.1.sh]: 888360 extra bytes at beginning or within zipfile
(attempting to process anyway)
error: invalid zip file with overlapped components (possible zip bomb)

Get rid of the 888360 extra bytes.
> dd if=gog_champions_of_krynn_2.0.0.1.sh bs=1 skip=888360 of=ck.zip

Finally uncompress the game files.
> unzip ck.zip
Post edited April 11, 2021 by dogwhelk
high rated
avatar
dogwhelk: GOG seems to abandon Inno Setup in favor of something else, e.g. GOG_Galaxy_Champions_of_Krynn.exe is compressed with UPX and then something I could not figure out.
It looks like you got tricked by GOG dark pattern and downloaded their games client Galaxy installer instead of the game DRM-free installer.

See the attached image, the big blue button is not what you should use ;)
Attachments:
Yes, you're right.

Innoxtract V1.10 works fine with setup_champions_of_krynn_1.2_(28043).exe.
(V1.9 messes with the directory structure.)
avatar
dogwhelk:
For extracting the shell script installers, https://github.com/yepoleb/gogextract seems to work as a pretty convenient solution.