Hello,
this is copied from the readme for the linux binaries
Quote:
2. Installation From Scratch
- Get the retail Call of Duty 4(tm) disc(s) (there may be multiple discs
depending on what edition of the game you have obtained, or perhaps a
single DVD-ROM disc).
- Copy the contents of disc one's "Setup/Data" directory to wherever you
want to install the Call of Duty 4(tm) Linux server. There should be a
"localization.txt" file in the root of this directory, and a "main"
Subdirectory. Each additional disc should be opened and the contents of
each "Data" folder should be copied over to the existing Main folder. When
you have copied everything, the final installation size is around 3.5
gigabytes.
- Alternately, you may install on Windows(r) and copy the installed game to
your Linux system, but many will opt to skip this step since the data
files are uncompressed and easily accessible on the discs. Final
installation size is around 6.3 gigabytes.
- Unpack this archive in the root of the newly-copied tree, so
"cod4_lnxded" is in the same directory as "localization.txt". Unlike the
original Call of Duty(tm), there are not seperate .so files like
"game.mp.i386.so", so don't be concerned when you don't see them.
- OPTIONAL: Install PunkBuster:
./pbsetup.run -e
./pbsetup.run --add-game=cod4 --add-game-path=/where/i/uploaded/cod4/
./pbsetup.run -u
You will need to agree to the PunkBuster license before you may install it.
This will download the latest version of the Punkbuster software to your
Linux server, so you need an Internet connection.
- Now, run the server:
cd /where/i/copied/callofduty4
./cod4_lnxded
- When you see "--- Common Initialization Complete ---", the game
server has started, but you need to start a map before the server will
accept connections. At this point, type:
map mp_crash
("mp_crash" being a given map's name).
- Now you should see your server in the in-game browser. You will now want to
customize your server, including writing config files and command lines
that don't require human interaction, but that is beyond the scope of this
document.
3. Note for localized versions of the game
If you have a copy of the game that does not include the English translations,
you will need to explicitly set the game's language or the server will not
be able to find its data files. If you have, for example, the french data
files, you must add this to your server's command line:
./cod4_lnxded +set loc_language 1
This is a list of values for various languages. English installations can
ignore this.
English (default): +set loc_language 0
French: +set loc_language 1
German: +set loc_language 2
Italian: +set loc_language 3
Spanish: +set loc_language 4
|
*********************************
An important note for you is that to install punkbuster properly you may have to install upx, which i believe unpacks the pbsetup.run program in order that it may be run. The pbsetup.run doesn't throw up errors or such if you don't upx it, but it didn't work for me until I had. [
Ubuntu Forums - View Single Post - [SOLVED] PunkBuster update failure]
The pbsetup.run can be easily found and downloaded from punkbusters site. Installing upx is a simple enough, depending on your linux distro. eg in Ubuntu it is simply a matter of opening a terminal and
Code:
sudo apt-get install upx
Quote:
|
i can get it started and all..but i want to know how to give it a cmd line
|
Does this mean you are running it in a terminal (command line) window or you are just unsure how to issue commands to the server once it is running?
If the server is up and running in a terminal, then you may simply type the server commands straight into the window, it works fine for me.
Good luck, persevere, and I hope this helps!