Jump to content

Welcome to Geeks to Go - Register now for FREE

Geeks To Go is a helpful hub, where thousands of volunteer geeks quickly serve friendly answers and support. Check out the forums and get free advice from the experts. Register now to gain access to all of our features, it's FREE and only takes one minute. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more.

Create Account How it Works
Photo

Call of Duty 2 Linux Install and Server


  • Please log in to reply

#1
Bobbydoo8

Bobbydoo8

    Member

  • Member
  • PipPipPip
  • 173 posts
Ok I've been searching around the web for about 3 days and have not been able to find my answer. I just now decided to engage in some forum activity to see if anyone can help.


The System ---

O/S: Fedora Core 5, Windows XP/SP2, Mandrake
Installed Apps: Wine
Hard Drives: Mounted


The Problem #1---

I'm fairly new to Linux and brand new to my new Fedora Core 5. I need to know if Call of Duty 2 will work on Fedora Core 5, and if so how to install it. I do have wine installed, and my harddrives for windows are mounted onto linux.


The Problem #2---

I have not been able to create a server for Call of Duty 2 for Linux or Windows. In Windows I can create servers for LAN activity, but not over the internet. ALSO: I can play COD2 on the internet with others.


What's Working ---

I do have the game working on my Windows XP/SP2 boot, but cannot get it going for Linux.

:whistling:

Any help towards Linux would be greatly appreciated. And if anyone does know how to install via Linux, please try not to be to complicated. I am a beginner Linux user.

P.S.
I do have Mandrake so if its possible to install Call of Duty 2 through there I would be very happy.



Additional Info:
I was looking at a post and noticed that it said Call of Duty 2 could not be used on an onboard video card. I would have replied through that post, but it was closed. I have successfully managed to install and run COD2 on an onboard card, Compaq Presario 256mb Onboard Card. There was a little noticable lag, but it does work. ***Just a little something****

Thanks!!! for any info :blink:
  • 0

Advertisements


#2
-=blaster=-

-=blaster=-

    Member

  • Member
  • PipPipPip
  • 181 posts
Call of Duty 2 is a windows only game.

To run an "internet" game add "+set dedicated 2" to your Windows launch sequence.

i.e. "C:\Program Files\Activision\Call of Duty 2\CoD2MP_s.exe" +set dedicated 2 +exec dedicated.cfg +map_rotate <something like that.

Windows *.exe and Linux *.bin files are not interchangeable and will not work on the other operating system.

The linux server version can be downloaded here.

From the ReadMe:

1. Introduction

This document explains how to install the Call of Duty 2™ Linux server
version 1.0. Installation from scratch and upgrading an existing installation
are both covered.

Usage is very similar to Call of Duty™ and United Offensive™... many
of the console commands, command lines, and cvars are identical, so if you
are comfortable maintaining dedicated servers for those games, you will find
this process familiar.

MOD USERS: PLEASE READ...
It is recommended that any user modifications that have been
installed to the Call of Duty 2™ directory be removed before
installing this package. These modifications are not supported
by Activision® and may not be compatible with some of the new
features that are included. When installing or upgrading a server,
if problems or unexpected behavior arise, your first step in
troubleshooting should be to do a clean install with the original
data files.

IF YOU HAVE A PROBLEM WITH "LIBSTDC++.SO.5" ...
(This is a frequent-enough problem to merit discussion in the introduction.)

If you are reading this, it's probably because you tried to start your Linux
server and saw this message:

./cod2_lnxded: error while loading shared libraries: libstdc++.so.5:
cannot open shared object file: No such file or directory

COD2 is a C++ program built with gcc 3.3.4, which means it needs a
system library specific to gcc 3.3. Older Linux systems won't have
this installed, and we're starting to see newer Linux distributions that
don't have this either, since they are supplying an incompatible
gcc 3.4 version. The good news is that you can drop the needed library
into your system without breaking anything else.

Here is the library you need, if your Linux distribution doesn't supply it:
http://icculus.org/u...c3-libs.tar.bz2

You want to unpack that somewhere that the dynamic linker will see it
(if you are sure it won't overwrite any files, you can even use /lib).

The brave can put it in the same directory as the game and run the server
like this:
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:. ./cod2_lnxded

Now the server will start.


2. Installation From Scratch

- Get the retail Call of Duty 2™ 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 each disc's "Setup/Data" directory to wherever you
want to install the Call of Duty 2™ Linux server. There should be a
"localization.txt" file in the root of this directory, and a "main"
subdirectory when you have copied everything. Final installation size is
around 3.5 gigabytes.
- Alternately, you may install on Windows® 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 3.5 gigabytes.
- Unpack this archive in the root of the newly-copied tree, so
"cod2_lnxded" is in the same directory as "localization.txt". Unlike the
original Call of Duty™, there are not seperate .so files like
"game.mp.i386.so", so don't be concerned when you don't see them.
- Now, run the server:
cd /where/i/copied/callofduty2
./cod2_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_leningrad

("mp_leningrad" 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, but that is beyond the scope of this document.


3. Support Channels

There are a LOT of knobs you can tweak to customize and automate your server,
but it is beyond the scope of this documentation. Please refer to the
admin manuals for any Quake 3™ based Multiplayer game (including Quake 3
Arena™, Return to Castle Wolfenstein™, the original Call of Duty™
and United Offensive™, etc) for specifics.

There is a mailing list for discussion and support of Linux servers for all
of the Call of Duty™ games and expansion packs. Hundreds of experienced
server admins and even some of the game's developers monitor this list, and
are eager to help with politely asked questions. Send a blank email to
cod-subscribe@icculus.org to get on the list, and list archives can be seen
at:

http://icculus.org/c...lm/ezmlm-cgi?38

Bug reports should NOT be sent to the list. We have a web-based
bugtracking system for this. If you don't report bugs there, we don't
promise to even be aware of them, let alone fix them! You can find the bug
tracker here:

https://bugzilla.icculus.org/


Also, http://callofduty.com/ and http://infinityward.com/ may direct you to
important information, documentation and current news about Call of Duty™
titles.


4. FreeBSD users

This server is known to work on FreeBSD with the Linux binary compatibility
layer. If it doesn't, we consider it a bug and appreciate the report since we
won't necessarily be testing on FreeBSD ourselves. Please note that the
game server requires that you use at least the linux_base-8 package for
binary compatibility (it has a C++ runtime library we now need that previous
linux_base packages don't supply...alternately, see notes about libstdc++ in
this document's introduction if you can't or won't update linux_base).

// end of ReadMe ...

To add packages in FC 5, open a Konsole...type...yum -y install <nameofpackage>

:whistling:
  • 0






Similar Topics

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

As Featured On:

Microsoft Yahoo BBC MSN PC Magazine Washington Post HP