Closed lukateras closed 6 years ago
I wrote this a while ago and haven't touched it since.
Your example unpacks the Zip file at the end of the archive, as the --mojo
option does. A MojoSetup makeself archive also contains a tar archive sandwiched between the shellscript stub and the Zip file on the end. If you just want to unpack the Zip file with no concern for the rest, it's entirely possible to just use unzip <game>.sh
.
I see, thanks for clearing that up! unzip
also works, although there are ignorable errors at least with some game installers, like use of BSD-only lchmod
.
Hi! Stumbled upon this while packaging some GOG games. This program is redundant, look into libarchive and bsdtar that comes with it. It just looks for gzip headers and extracts from that point, as suggested in your ideas list.
bsdtar xf <game>.sh
will unpack the game into the following tree: