Jump to content
Sign in to follow this  
Ciberputa

Please, help installing linux dedicated server

Recommended Posts

Hi

When I try to execute the OFP Linux dedicated server I got this:

[root@d4 ofp]# ./server-1.91c.shar

Operation Flashpoint Resistance dedicated server 1.91c

x - creating lock directory

x - extracting server (binary)

./server-1.91c.shar: line 60: uudecode: command not found

restore of server failed

./server-1.91c.shar: line 1: server: No existe el fichero o el directorio

./server-1.91c.shar: line 150310: test: : integer expression expected

server: original size 6760568, current size !

x - extracting tolower.c (binary)

./server-1.91c.shar: line 150315: uudecode: command not found

restore of tolower.c failed

./server-1.91c.shar: line 1: tolower.c: No existe el fichero o el directorio

./server-1.91c.shar: line 150398: test: : integer expression expected

tolower.c: original size 3040, current size !

Converting OFP directory:

gcc: tolower.c: No existe el fichero o el directorio

gcc: no hay ficheros de entrada

./server-1.91c.shar: line 150405: ./tolower: No existe el fichero o el directorio

I don't know what do I have to do and I can't find any readme or help on how to do it. Could you helop me?.

Thx

Share this post


Link to post
Share on other sites

I cant help you sry, but i do like your knickname, im sure most will not understand my post tounge_o.gif ...

Share this post


Link to post
Share on other sites

1. be sure to install as root

2. run: sh server-1.91c.shar

3. possible problem - u have to transfer files to linux binary

otherwise files are not "the same copy"

4. be sure to copy fresh installation of OFP - no addons

(you can add them later)

what is your distribution?

Share this post


Link to post
Share on other sites

1) be sure NOT to install as root, this is unnecessary and potentially dangerous

2) as the error msg says: you do not have uudecode which is required for the installation (well, it's not really required if someone sends you the server file and the tolower file ;)) Search for uudecode/uuencode in your distribution and install the software. Or even better: READ THE README OF THE OFP SERVER, it's all written there...

3) if you tell me which distribution and version you have i can give you more detailed help

Share this post


Link to post
Share on other sites

I use Red hat 8.

I cant find the readme file, when I download the tar I only find a SH file with no readme. Where Could I find that uuecode?

Share this post


Link to post
Share on other sites

In redhat 8.0 uudecode is part of the sharutils rpm, install it with

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">

rpm -ivh sharutils-4.2.1-12.i386.rpm

You can get it here.

I just d/l the 1.91c dedi again... there really is no readme included sad_o.gif

What a shame, in earlier versions there was one... i include the readme from the v1.90 linux dedi for you:

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">

================================================================

Copyrigt (c) 2002 Bohemia Interactive Studio and Codemasters. All rights reserved.

Installation instructions:

==========================

1. Following programs must have been installed on your Linux-box:

uudecode, gunzip, gcc. Optional: md5sum (for setup integrity check)

2. Copy the whole "OperationFlashpoint" directory from Windows

to some Linux-directory (OFP). DON'T DO ANY DATA CONVERSIONS

(even "dos2unix" translation of text files is not necessary).

Example: you can use PKZIP (WinZip, PowerArchiver, etc.) on

Windows and "unzip" on Linux.

Don't use upper case letters in the OFP directory name

(/home/bob/ofp will be good, /home/bob/OperationFlashpoint

may cause some troubles).

OFP directory should contain subdirectories "Addons", "Bin",

"Campaigns", etc.

3. Copy the "server-x.xx.shar.gz" (x.xx is version number) file into

the OFP directory. Unpack and install it with commands:

ofp$ gunzip server-x.xx.shar.gz

ofp$ sh server-x.xx.shar

Watch the messages - they will inform you whether your installation

is successful.

4. Dedicated server can be started in foreground:

ofp$ ./server

Or in background:

ofp$ nohup ./server > out.txt 2> err.txt &

[1] <pid>

5. Running server can be stopped by pressing CTRL+C (foreground)

or by executing:

$ kill -s SIGINT <pid>

Where <pid> is process-id of mother server thread (printed out in

"nohup" command).

Share this post


Link to post
Share on other sites

thx.

So, I need to copy the full game into Linux to use dedicated server?. What a mesh, I have not so many free space into the server.

Share this post


Link to post
Share on other sites

Actually, you do NOT need the WHOLE game, some pbos just contain for example textures, which the server does not need. Kegetys made a list of the needed files and even wrote a script for windows which just packs all the files you need for a dedicated server into a zip archive or something similar. The size of the needed files is about 300mb unpacked after that...

Share this post


Link to post
Share on other sites

Look at this Thread, there has been a lot of discussion about the linux server. Especially the archive script, the Replacement for the data.pbo file and the file list Kegetys made:

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">

flashpoint.cfg

server

tolower

server.cfg

res\bin\resource.bin

res\bin\ijl15.dll

res\bin\config.bin

res\bin\stringtable.csv

res\addons\abox.pbo

res\addons\apac.pbo

res\addons\bmp2.pbo

res\addons\brmd.pbo

res\addons\flags.pbo

res\addons\g36a.pbo

res\addons\ch47.pbo

res\addons\hunter.pbo

res\addons\kolo.pbo

res\addons\humr.pbo

res\addons\laserguided.pbo

res\addons\kozl.pbo

res\addons\m2a2.pbo

res\addons\mini.pbo

res\addons\mm-1.pbo

res\addons\noe.pbo

res\addons\o.pbo

res\addons\o_wp.pbo

res\addons\oh58.pbo

res\addons\xms.pbo

res\addons\su25.pbo

res\addons\trab.pbo

res\addons\vulcan.pbo

res\addons\6g30.pbo

res\addons\bizon.pbo

res\addons\steyr.pbo

res\dta\data3d.pbo

res\dta\misc.pbo

res\dta\anim.pbo

res\dta\anims.pbo

worlds\abel.wrp

worlds\cain.wrp

worlds\eden.wrp

worlds\intro.wrp

users\player\userinfo.cfg

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×