Epicsoft-Op
10-15-2002, 01:30 AM
Hello,
I was searching for help about this around the net and found only this site wich seems to be helpfull.
I've started my own hosting company and I'am using a Mandrake Linux 9.0 server. Also I'am a newbie to it, trying to get used to Linux.
However, i got a prob about the .bin files. I was trying to make a .bin file extractable, and converting to the tar.gz file formate.
This is what I do:
cd /<dir>/....
chmod a+x <filename>.bin
till here everything worked well.
./<filename>.bin
After this the pages loads and I only get a blank page.
Tell me if i did something wrong
Need help.
Thx in advance
Jackmaninov
10-15-2002, 01:58 AM
.BIN is a rather generic file extension, it really only means that a file contains binary data. Therefore the file is not necessarily SELF-extractable (ie, running it with ./filename.bin will not cause something to extract)
Where did you get this .BIN file? Is it a CD image? If so you probably need to burn it to CD with a CD recording program.
I believe .BIN is also used for files created by Alladin's StuffIt. Those can be extracted (under Windows) with the StuffIt Expander (http://www.stuffit.com/expander/). I don't know of a UNIX program that would expand it though, as this is not a very common file format to use under UNIX.
Epicsoft-Op
10-15-2002, 06:46 AM
It is the "Halflife Dedicated Server" in .BIN format. U got to use "a chmod" command to formate it to tar.gz and make it extraxtable.
I found only little help about it on a HL site it only said run:
cd /usr/local/games/halflife
chmod a+x hlds_l_3109_full.bin
./hlds_l_3109_full.bin
Accept the license agreement....
tar -zxvf hlds_l_3109_full.tar.gz
And it will extract into /halflife
But when i type ./hlds_l_3109_full.bin i only get a blank page no license agreement.
But thx for ur reply, ill try using this un-bin prog and extract it in windows then upload each file to the server.
Epicsoft-Op
10-15-2002, 07:07 AM
nevermind, there's a StuffIt version for linux.
Jackmaninov
10-15-2002, 12:56 PM
Hmmm, never seen the Half-life server as a BIN file before, although it does sound like the file you have is self-extracting.
The file might have become corrupt during download if the self-extractor fails with no error.
Epicsoft-Op
10-15-2002, 01:56 PM
Is there a HL-DS in tar.gz file format somewhere avaiable? (v31.10)
The .bin isn't self-extracting, u gotta make it extracable, as tar.gz.
But like i said, the chmod command doesn't works well, it only gives me a blank page.
bitserve
10-16-2002, 05:41 AM
You're probably not going to find a legal copy of the server that is just a gzipped tar file. Because it sounds like they want you to read their license agreement before you can access the tarball.
The chmod just allows you to execute the file.
When you execute the file, it should ask you to accept a license agreement. When you accept it, it should extract itself into a tarball that you have to extract again. It sounds like it's not doing the first extraction because you're unable to accept the license agreement?
Perhaps your terminal settings are just messed up, causing the agreement to not be formatted on your screen correctly, resulting in a blank page.
Epicsoft-Op
10-16-2002, 05:44 AM
how can i fix that?
thx in adv.
Epicsoft-Op
10-16-2002, 02:33 PM
is there any site having a manual on configuring the terminal?
WALoeIII
10-16-2002, 07:49 PM
I've done this:
% chmod 755 hlds_whatever.bin
% ./hlds_whatever.bin
% tar -zxvf hlds_whatever.tar.gz
Epicsoft-Op
10-17-2002, 03:37 AM
when i type % i get:
sh: line 1: fg: no job control
% the same thing as c:>
you just need to type:
chmod 755 hlds_whatever.bin
without the %