Facebook Twitter YouTube Frictional Games | Forum | Newsletter | Dev Blog | Dev Wiki | Support | Gametee


Thread Closed 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to unpack installer (or corrupt installer)?
Author Message
nitro322 Offline
Junior Member

Posts: 4
Joined: Jun 2012
Reputation: 0
Post: #1
Solved: 3 Years, 4 Months, 5 Days, 15 Hours, 46 Seconds ago How to unpack installer (or corrupt installer)?

I'm trying to package Amnesia: AMfP for my distribution (gentoo), but I'm having trouble non-interactively unpacking the files from the installer. This appears to be a makeself 2.1.5 installer, which supports (or is supposed to support) the --tar argument to unpack the files. However, when attempting to do so, I get the following:

$ sh ~/download/Amnesia\ -\ A\ Machine\ for\ Pigs/AmnesiaAMFP-1.0.0.sh --tar xfv
basename: extra operand ‘A’
Try 'basename --help' for more information.
./
./startmojo.sh
./bin/
./bin/linux/
./bin/linux/x86_64/
./bin/linux/x86_64/guis/
./bin/linux/x86_64/guis/libmojosetupgui_gtkplus2.so
./bin/linux/x86_64/guis/libmojosetupgui_ncurses.so
./bin/linux/x86_64/mojosetup
./bin/linux/x86/
./bin/linux/x86/guis/
./bin/linux/x86/guis/libmojosetupgui_gtkplus2.so
./bin/linux/x86/guis/libmojosetupgui_ncurses.so
./bin/linux/x86/mojosetup

The basename error occurs inside the script - not sure why, but it may be related to this problem. Although some files were extracted, this doesn't include the game data. In fact, it's only about 1 MB total worth of extracted files.

As an alternative, I tried using the --target option to specify where the extract files should be placed:

$ sh ~/download/Amnesia\ -\ A\ Machine\ for\ Pigs/AmnesiaAMFP-1.0.0.sh --target ~/temp/AmnesiaAMFP-1.0.0
basename: extra operand ‘A’
Try 'basename --help' for more information.
Creating directory ~/temp/AmnesiaAMFP-1.0.0
Verifying archive integrity... All good.
Uncompressing Mojo Setup..............
Collecting info for this system...
Operating system: linux
CPU Arch: x86_64
trying mojosetup in bin/linux/x86_64

But, it again only extracts a small number of files (same as before, with the addition of "frontendstarted"). It tries to kick off the installers, but fails with an error message that states:

PANIC
Failed to start. Is your download incomplete or corrupt?

So, I checked to see if maybe that was the case, but the MD5 checksum for my downloaded installer exactly matches the MD5 checksum provided by Humble Bundle (I purchased this through tthe Humble Store):

bc92782fafc84475dff306906184e060

I can, however, interactively install and play the game just fine (at least through the first level).

So, I'm stuck right now. Is there a bug in the installer that breaks this functionality for some reason? Is the version provided to the Humble store somehow corrupt? Is there some other method I should be using instead to do this?

Would appreciate any feedback. Thanks.
(This post was last modified: 09-16-2013 01:18 AM by nitro322.)
09-16-2013 01:05 AM
Find all posts by this user
Thread Closed 


Messages In This Thread
How to unpack installer (or corrupt installer)? - nitro322 - 09-16-2013 01:05 AM



User(s) browsing this thread: 1 Guest(s)