Jump to content
主视角中国

LINUX COD4 服务器架设说明 - 请英文高手翻译


Bouncing

Recommended Posts

Call Of Duty 4

Linux Multiplayer Server Code

Version 1.7

Readme

Last update: 2008-06-28

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

!! IMPORTANT !!

Call of Duty 4 Linux Server is NOT SUPPORTED by Activision® Customer

Support. Please do not call with any questions related to this free beta

product. There are other channels to aid you listed at the bottom of this

document.

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

TABLE OF CONTENTS

1. Introduction

2. Upgrading to 1.7

3. Installation From Scratch

4. Note for localized versions of the game

5. Support Channels

6. FreeBSD Note

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

1. Introduction

This document explains how to install the Call of Duty 4 Linux server

version 1.7. Installation from scratch and upgrading an existing installation

are both covered.

Usage is very similar to other Call of Duty titles ... 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 4 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.

2. Upgrading to 1.7

Just stop the game server, replace cod4_lnxded-bin, etc on your server with

the files included in this package, and restart the game server. New files

may be added, such as main/iw_12.iwd; make sure they land in the correct

subdirectory. Please verify that your mods are compatible with the new

version; that is beyond the scope of this document.

3. Installation From Scratch

- Get the retail Call of Duty 4 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 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 6.3

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 6.3 gigabytes.

- Please make sure you transfer the data as BINARY and not TEXT or ASCII if

you use the FTP protocol to upload the files!

- 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, there are not seperate .so files like

"game.mp.i386.so", so don't be concerned when you don't see them.

Files such as main/iw_12.iwd need to go into the correct subdirectories;

make sure they don't lose the path information and all copy into the base

directory!

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

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

5. 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/cgi-bin/ezmlm/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.

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

// end of README.linux ...

Link to comment
Share on other sites

:mellow: LINUX没用过几次,很多术语不知确切翻译 :mellow:

:mellow: 第二是升级到1.7,第三是安装,其他的感觉很多无用 :mellow:

:mellow: 草草翻译;COD2时候跟LZ对过枪的样子……JIM貌似也认识的样子 :mellow:

1.介绍

本文档着重内容为COD4如何在LINUX服务器下安装和升级到1.7版

过程和各参数设置等类似其他COD系列游戏

MOD使用者注意

鉴于兼容性考虑,推荐安装升级时移除任何MOD文件;安装升级时出现任何非预期问题,建议首先考虑清除非官方文件。

2.升级到1.7

停止游戏服务,用升级包内的文件覆盖cod4_lnxded-bin等文件,重启服务;

会出现main/iw_12.iwd,确认文件子目录是否正确(应该是main下);请确定原有的mod与新版本兼容。

3.安装:

拷贝光盘1或DVD上的SETUP/DATA目录到想要安装COD4的LINUX SERVER 目录,目录内需localization.txt文件和main子目录,所有光碟的DATA目录都应拷贝到main目录下(指若干CD版);当所需文件都被拷入后目录大小应为6.3G。

也可以拷贝在视窗下安装的完整游戏到LINUX系统下。

如果使用FTP上传文件,确认你转移数据用的BINARY而不是TEXT或者ASCII(格式)

解压目录中的新拷入的文件会发现cod4_lnxded出现在localization.txt所在目录。

不像原始的COD不存在若干分离的.so文件如game.mp.i386.so;看不到这些文件也不要在意。

如main/iw_12.iwd的文件需要放在正确地子目录里,确认不要丢失路径信息且所有文件拷贝进了同一目标目录

可选择安装PunkBuster

./pbsetup.run -e

./pbsetup.run --add-game=cod4 --add-game-path=/where/i/uploaded/cod4/

(./pbsetup.run --添加游戏=cod4 --添加游戏路径=/where/i/uploaded/cod4/)

./pbsetup.run -u

安装升级PB需要网络接入

- 启动服务器:

cd /where/i/copied/callofduty4(安装路径)

./cod4_lnxded

- 当你看到 "--- Common Initialization Complete ---", 游戏服务器正在启动, 但在服务器接受链接前你需要选择一个启示地图,如:map mp_crash(地图名和调用命令同视窗系统)

这样你便可以在游戏内置搜索里找到你的服务器了;现在你将需要设置你的服务器,包括写入配置和命令行等,此文档不包括这些内容。(如果刚看到 9 崩溃吧)

4.确认游戏版本

如果你的游戏不包括英文……(国内基本都是英文版,这个没用,略)

5.支持的通路 Support Channels

很多设置可以引入服务器,但超出本文范围。请参考Q3引擎的多人连线游戏管理员手册,(Quake 3 Arena™, Return to Castle Wolfenstein™, the original Call of Duty™ and United Offensive™, etc)

如果需要COD系列游戏LINUX服务器讨论资讯的邮件目录

发送一封空白邮件到cod-subscribe@icculus.org索取邮件目录;

目录内上千的有经验的服务器管理员,甚至游戏开发者,他们会热情和礼貌的帮助你解决问题。

也可以到这里获得邮件目录

http://icculus.org/cgi-bin/ezmlm/ezmlm-cgi?38

但是BUG报告不应被送往这一目录,我们有专门的BUG跟踪系统,如果你不在下述BUG跟踪系统提供BUG报告,我们很可能无法获知,更别说修复他们:

https://bugzilla.icculus.org/

另外, http://callofduty.com/

http://infinityward.com/

可以帮助你获得重要的信息,文档,和有关COD系列的新闻

6.FreeBSD 用户

游戏服务器理论上可以在使用Linux 二进制兼容的FreeBSD系统上运行,如果不行,我们推荐将其汇报为一个系统BUG,我方无需自己测试FreeBSD

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

访客
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 创建新的...