Linux Server – Operation Flashpoint

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[(http.+flashpoint1985\.com.+) (.+)\]" to "{{ExternalLink|link= $1|text= $2}}")
m (Text replacement - "\[ *(ftps?:\/\/[^ = ]+) +([^= ]+) *\]" to "{{Link|$1|$2}}")
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{GameCategory|ofp|_Multiplayer}}
{{GameCategory|ofp|Multiplayer}}
=== Introduction ===
=== Introduction ===


Line 57: Line 57:
=== Resources ===
=== Resources ===


The Linux Server executable can be found [ftp://www.flashpoint1985.com/flashpoint/patches/linux/ofp-server-1.96.shar.gz here].
The Linux Server executable can be found {{Link|ftp://www.flashpoint1985.com/flashpoint/patches/linux/ofp-server-1.96.shar.gz|here}}.


Kegetys' packing script for Linux installations can be found [http://koti.mbnet.fi/kegetys/flashpoint/linuxarch10.zip here].
Kegetys' packing script for Linux installations can be found {{Link|http://koti.mbnet.fi/kegetys/flashpoint/linuxarch10.zip|here}}.


{{ExternalLink|link= http://www.flashpoint1985.com/cgi-bin/ikonboard311/ikonboard.cgi?s=993fb5320a460e8a1ea33e68d6836f4b;act=ST;f=2;t=38678|text= Linux OFP:R Server Setup Tutorial}} on the BI Forums
{{Link|link= http://www.flashpoint1985.com/cgi-bin/ikonboard311/ikonboard.cgi?s=993fb5320a460e8a1ea33e68d6836f4b;act=ST;f=2;t=38678|text= Linux OFP:R Server Setup Tutorial}} on the BI Forums

Latest revision as of 15:39, 28 April 2023

Introduction

The Linux version of Operation Flashpoint was released which is an alternative to the Windows OFPServer. This allows you to run the multiplayer server on just about any variety of Linux.

The current version of the Linux Server for OFP is 1.96


Installation

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).

Note: DON'T DO ANY DATA CONVERSIONS ("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).


Resources

The Linux Server executable can be found here (dead link).

Kegetys' packing script for Linux installations can be found here.

Linux OFP:R Server Setup Tutorial (dead link) on the BI Forums