![]() |
How to unpack installer (or corrupt installer)? - Printable Version +- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum) +-- Forum: Technical Support (https://www.frictionalgames.com/forum/forum-57.html) +--- Forum: Technical Support - Amnesia: A Machine for Pigs (https://www.frictionalgames.com/forum/forum-52.html) +---- Forum: Linux - AMFP (https://www.frictionalgames.com/forum/forum-53.html) +---- Thread: How to unpack installer (or corrupt installer)? (/thread-23199.html) |
How to unpack installer (or corrupt installer)? - nitro322 - 09-16-2013 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: Code: $ sh ~/download/Amnesia\ -\ A\ Machine\ for\ Pigs/AmnesiaAMFP-1.0.0.sh --tar xfv 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: Code: $ sh ~/download/Amnesia\ -\ A\ Machine\ for\ Pigs/AmnesiaAMFP-1.0.0.sh --target ~/temp/AmnesiaAMFP-1.0.0 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. RE: How to unpack installer (or corrupt installer)? - jens - 09-16-2013 MD5 is correct. I don't know that much about Linux, but a common problem with the installer in the past has been: 1. There has not been enough free space on temp or where you want to extract it. 2. It needs executable permissions for the temp (or is that writeable, can't 100% remember). Have you checked the suggestions in this thread? http://www.frictionalgames.com/forum/thread-22830.html RE: How to unpack installer (or corrupt installer)? - Urkle - 09-19-2013 So.. what this installer is, is a "makeself" wrapped mojosetup for 32bit and 64bit linux. (thus higher chances of it running). the actual "game content" is actually appended to the END of the .sh file as a simple zip. You should be able to simply run Code: unzip ./AmneiaAMFP-1.0.0.sh to get the actual game contents. The next update will have "tweaks" to handle tmp dir oddities. RE: How to unpack installer (or corrupt installer)? - nitro322 - 09-23-2013 (09-19-2013, 08:24 PM)Urkle Wrote: the actual "game content" is actually appended to the END of the .sh file as a simple zip. You should be able to simply runThanks, Urkle. That did the trick. Sorry for the delay in response - have been away from my computer for a bit. |