Author Topic: Linux installation with *.bin file  (Read 1198 times)

atze

  • Wayfarer
  • *
  • Posts: 2
    • View Profile
Linux installation with *.bin file
« on: August 15, 2006, 08:03:56 am »
Hello,

I've just downloaded the bin-file, which is linked at the download page.
http://psmirror.org/PlaneShift_CBV0.3.015b.bin
Now I wonder, what I can do with it... I've tried "sh Planeschift_..._.bin" but it doesn't work ("cannot execute bin file", and yes, I've made the bin file executable).
In the forum, I've found no topic, where it is explained, how to install the game with the bin-file. Just the Planeshift_.._.run file is mentioned everywhere!
Is there anywhere a HowTo file? I have not found anything like that. At the download page is just the annotation, "Launch the run command, and it will unpack." But how???

Hope, someone can help me!!

Atze

Bereror

  • Hydlaa Notable
  • *
  • Posts: 773
    • View Profile
    • Planeshift API
Re: Linux installation with *.bin file
« Reply #1 on: August 15, 2006, 08:37:38 am »
Why do you use "sh PlaneShift_CBV0.3.015b.bin"? Once you have made the file executable, just enter./PlaneShift_CBV0.3.015b.bin to the command line and it should do the job.
PlaneShift Sources
PlaneShift API
"Words never spoken
Are the strongest resounding"

atze

  • Wayfarer
  • *
  • Posts: 2
    • View Profile
Re: Linux installation with *.bin file
« Reply #2 on: August 15, 2006, 09:27:09 am »
Thanks!!

Will try it later!
Sorry for the question, but I'm kind of a linux noob... Don't know so very much about bin's etc...


Rolf Blacksmith

  • Hydlaa Resident
  • *
  • Posts: 167
    • View Profile
Re: Linux installation with *.bin file
« Reply #3 on: August 15, 2006, 09:02:46 pm »
Just as a remark:

On Linux it doesn't really matter what, if any, ending a filename has. (However, there are some linux progs that depend on them.)
Typing and grammatic errors may be safely ignored, they come without charge ...

Bigglez

  • Traveller
  • *
  • Posts: 10
    • View Profile
Re: Linux installation with *.bin file
« Reply #4 on: August 17, 2006, 04:59:57 pm »
Why wouldn't "sh something.bin' work?
On my distro (Kubuntu 6.06) it's a link to Bash. So what's the diffs between:
sh something
and making it executable and:
./something

?

PS - The second option works, the first does not, so there is something going on here.

Bereror

  • Hydlaa Notable
  • *
  • Posts: 773
    • View Profile
    • Planeshift API
Re: Linux installation with *.bin file
« Reply #5 on: August 17, 2006, 05:34:46 pm »
sh something executes a shell script in that file.

Code: [Select]
$ echo "echo \"Hello World\"" > test.sh
$ sh test.sh

PlaneShift installer is not a shell script, but a binary installer.
PlaneShift Sources
PlaneShift API
"Words never spoken
Are the strongest resounding"

Xordan

  • Crystal Space Developer
  • Forum Addict
  • *
  • Posts: 3845
  • For God and the Empire
    • View Profile
Re: Linux installation with *.bin file
« Reply #6 on: August 17, 2006, 05:42:43 pm »
Therefore it isn't parsed by bash, but opened in a seperate process.

Peacer

  • Veteran
  • *
  • Posts: 1079
  • I've got balls of steel
    • View Profile
Re: Linux installation with *.bin file
« Reply #7 on: August 22, 2006, 07:29:05 pm »
hmm i think you might want to try

chmod a+x PlaneShift_CBV0.3.015b.bin
The Guardians of Power

left the game, looking in now and then to check progress, if you want to contact me use the email attached to the msn contact on this forum account