Page 1 of 1

Cannot install Factorio

Posted: Sat Nov 07, 2015 3:40 am
by mineus64
I downloaded the Linux version, since the Windows version won't run properly and nobody seems to want to help me resolve that issue. Whenever I try to run the installer with "[home directory]/Downloads/Linux-x64-x86/factorio_alpha_i386_0.12.16", it returns the following:
"bash: [home directory]Downloads/Linux-x64-x86/factorio_alpha_i386_0.12.16: cannot execute binary file: Exec format error"
I have already given it execute permission, so what's going on?

Re: Cannot install Factorio

Posted: Sat Nov 07, 2015 7:59 am
by joon
You have to extract it first. Then you go into the folder "factorio/bin/i386/ and double click Factorio and this should start the game.

Re: Cannot install Factorio

Posted: Sat Nov 07, 2015 3:28 pm
by mineus64
Jhonny wrote:You have to extract it first. Then you go into the folder "factorio/bin/i386/ and double click Factorio and this should start the game.
I extract the file "factorio_alpha_i386_0.12.16" and get a file called "factorio_alpha_i386_0.12.16", which gives me that error whenever I try to do anything with it.
EDIT: When I try to open the file with Archive Manager it tells me "Archive type not supported"

Re: Cannot install Factorio

Posted: Sat Nov 07, 2015 3:36 pm
by prg
mineus64 wrote:I extract the file "factorio_alpha_i386_0.12.16" and get a file called "factorio_alpha_i386_0.12.16", which gives me that error whenever I try to do anything with it.
How did you extract it? The file you downloaded is supposed to be a gzipped tarball, the .tar.gz ending must have been gotten lost somehow. You can use "file" on the file to see what you're looking at.

Code: Select all

$ file factorio_alpha_x64_0.8.8.tar.gz 
factorio_alpha_x64_0.8.8.tar.gz: gzip compressed data, last modified: Thu Jan  9 15:44:12 2014, from Unix
If you already ran gunzip on it you're left with a plain tarball and just need to tar xf it.

Re: Cannot install Factorio

Posted: Sat Nov 07, 2015 3:45 pm
by mineus64
prg wrote:
mineus64 wrote:I extract the file "factorio_alpha_i386_0.12.16" and get a file called "factorio_alpha_i386_0.12.16", which gives me that error whenever I try to do anything with it.
How did you extract it? The file you downloaded is supposed to be a gzipped tarball, the .tar.gz ending must have been gotten lost somehow. You can use "file" on the file to see what you're looking at.

Code: Select all

$ file factorio_alpha_x64_0.8.8.tar.gz 
factorio_alpha_x64_0.8.8.tar.gz: gzip compressed data, last modified: Thu Jan  9 15:44:12 2014, from Unix
If you already ran gunzip on it you're left with a plain tarball and just need to tar xf it.
I'm not very good with tar commands, sorry. How would I go about doing that?

Re: Cannot install Factorio

Posted: Sat Nov 07, 2015 3:49 pm
by prg
mineus64 wrote:I'm not very good with tar commands, sorry. How would I go about doing that?
What's the output of "file" for that file? If it's "POSIX tar archive", you just run

Code: Select all

tar xf factorio_alpha_i386_0.12.16

Re: Cannot install Factorio

Posted: Sat Nov 07, 2015 4:36 pm
by mineus64
prg wrote:
mineus64 wrote:I'm not very good with tar commands, sorry. How would I go about doing that?
What's the output of "file" for that file? If it's "POSIX tar archive", you just run

Code: Select all

tar xf factorio_alpha_i386_0.12.16
Tried that. The terminal sat there without outputting anything for a little while, then gave me the standard command prompt thing again. I tried opening the file. No dice.

Re: Cannot install Factorio

Posted: Sat Nov 07, 2015 4:38 pm
by mineus64
FIXED!
I just added .tar.gz after the filename. It works now. Thanks for helping!

Re: Cannot install Factorio

Posted: Sat Nov 07, 2015 4:48 pm
by prg
mineus64 wrote:Tried that. The terminal sat there without outputting anything for a little while, then gave me the standard command prompt thing again. I tried opening the file. No dice.
This already created a new directory containing the game, it didn't modify the file itself, so
mineus64 wrote:FIXED!
I just added .tar.gz after the filename. It works now. Thanks for helping!
wasn't necessary after that anymore. But... glad it works now for you.