COD4 COD: WAW Lounge
Call of Duty 4 Forums
Home UserCP Members Register Calendar FAQ Downloads Clans


Go Back   Call of Duty 4 Forums > Call of Duty 4 Discussion > COD4: PC > COD4 Server Support
Register FAQ Members List Calendar Downloads Search Today's Posts Mark Forums Read


Welcome to the Call of Duty 4 Forums! Please REGISTER!
Hey there!

It looks like you're enjoying Call of Duty 4 Forums but haven't created an account yet. Why not take a minute to register for your own free account now? As a member you get free access to all of our forums and posts plus the ability to post your own messages, communicate directly with other members and much more. You also have the chance to win great prizes just for posting! Register now!

Already a member? Login at the top of this page to stop seeing this message.

Reply
 
LinkBack Thread Tools Display Modes
  #1  
Old 04-18-2008, 01:08 AM
Recruit
 
Join Date: Mar 2008
Posts: 1
K3ggy is on a distinguished road
Default Half Nub getting a linux server working

OK so i know how to work with the windows one

but i want to get a linux server working for a local lan
i can get it started and all..but i want to know how to give it a cmd line
(./cod4_lnxded +set dedicated 1 +set sv_punkbuster 1 +exec mp-server.cfg +map_rotate)

and im unsure on how to do that....is there a step by step guide somewere that can help me out etc..>>><<<<???
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post! Submit to N4G
Reply With Quote
Payin' The Bills (Register to get rid of this advertisement!)
  #2  
Old 05-05-2008, 11:25 AM
Recruit
 
Join Date: May 2008
Posts: 3
ubuntuskinny is on a distinguished road
Default

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!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post! Submit to N4G
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On






All times are GMT -6. The time now is 10:04 PM.

COD4boards.com is an Privacy Policy and Legal
Style designed by: vBSkinworks SEO by vBSEO 3.1.0 Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.