安装/Zh

From OpenTTD
Jump to: navigation, search
Translation.png

This article is being translated from English to Chinese

Title of original article: Installation
Percentage: 50%
  
  • Please help improve it by helping in drafting.
  • Use the Manual of Style for a correct edition.
  • Remember to remove this template once the article has been correctly translated.

Contents

简介

自从推出1.0.0版本开始,OpenTTD的安装程序变得更简单,游戏及图形都完全使用开放源代码,并不需要额外下载基本图形。如要下载OpenTTD,请点击这里

在安装过程中,您需要下载一套基本图形

现在有两套基本图形供玩家下载:

  • 使用开放源代码OpenGFX基本图形。如您没有运输大亨的游戏光盘,请下载此套基本图形。
  • 原本在运输大亨(TTD)光盘上的基本图形。这套基本图形跟OpenGFX不同,这基本图形不是免费的。

另外,不同的操作系统(Windows, MacOSX, Linux)有不同的版本。

安装

选择基本图形及操作系统的安装说明:

(如你拥有运输大亨里的基本图形,但却不能选择应选用哪套基本图形,你应选择使用在运输大亨光盘上的基本图形。OpenGFX基本图形可以事后安装。但在安装开始时把所有档案都安装(运输大亨基本图形、OpenGFX、 OpenMFX及OpenSFX 档案)是最简单的方法。)

OpenTTD的下载页面: www.openttd.org/download-stable

在Windows上安装

使用运输大亨基本图形

  1. 取得Windows版本的运输大亨。如果你没有游戏光盘,请参见 谷歌:由于运输大亨的图形是有版权的,从网上下载运输大亨是非法的。
  2. 下载页下载Windows版本的OpenTTD。
    OpenTTD的Windows安装程式
  3. 安装OpenTTD。选择元件OpenTTDCopy data from TTD CD-ROM
    选择元件
  4. Tell OpenTTD where to find your运输大亨 files; it should find them automatically if you used the运输大亨 Windows installer, if not point it to the运输大亨光盘 in the drive.
Locate运输大亨
  1. 选择安装OpenTTD的位置。
    选择安装位置
  2. 选择开始选单中的目录 in which you would like to create the program's shortcuts.
Chose Start Menu Folder

7. Select Run OpenTTD and click Finish

OpenTTD has been installed!

使用OpenGFX基本图形

  1. Download the Windows installer for OpenTTD from the OpenTTD website.
    OpenTTD的Windows安装程式
  2. 安装OpenTTD.
  3. 取消勾选"Copy Game Graphics"来跳过需要运输大亨基本图形的安装程序。
    不使用运输大亨档案的安装设置
  4. Editing the config file
4.1. Locate openttd.cfg. It is located in:
Win XP : "C:\Documents and Settings\<username>\My Documents\OpenTTD"
Vista  : "C:\Users\<username>\Documents\OpenTTD"
Linux  : "~/.openttd"
4.2. Open openttd.cfg using your favourite plain text editor.
4.3. Locate the [misc] section and add the following (or edit the existing) line to the end of that section:
graphicsset = "OpenGFX"
The name of the 基本图形 set is listed in it's obg-file and may or may not be identical to the obg's file name.
Example
4.4. Save the changes you made and run OpenTTD.


Installation on Mac OS X

Notice.png

Note
There were no official binaries for Mac OS X for the 1.0.x branch. However, support has now resumed for the 1.1.x branch, please download the latest official testing binary (currently 1.1.0 beta5) to make sure any remaining bugs are found

Using运输大亨基本图形

1 Get Transport Tycoon Deluxe for Windows or DOS. If you don't have your 光盘, see Google. Note: The original graphics are copyrighted, it may be illegal (in some countries) to download them.

2 Create an openttd/ folder on your computer.

3 OpenTTD requires some files from运输大亨, see below for what files need to go where.

4 Get the OSX installer for OpenTTD from the downloads page.

1.1.2 for Mac OSX

5 启动OpenTTD.


Attention: To run the original soundtrack, you will need TiMidity and Freepats. See Playing the soundtrack for more information.


If the music doesn't work, the cause might be the file permissions.
  1. Select all of the .gm files in the gm/ folder, press CMD + I to "Get Info".
  2. Under "Ownership & Permissions" select "you can: Read & Write".
  3. 重新启动OpenTTD.

Using OpenGFX 基本图形

  1. Download the OSX installer for OpenTTD from the OpenTTD website. You need at least version 0.7.0.
  2. 安装OpenTTD.
  3. Skip the step where the installer asks for the运输大亨 files.
  4. Consult the OpenGFX Readme for further instructions.

Installation on Linux

  1. Within Software Center of your distribution (or Package Manager), pick OpenTTD
  2. Click install

You can now choose either OpenGFX graphics, or use original运输大亨 graphics if you have a copy of original game around. OpenGFX is faster and prefered.

选择OpenGFX基本图形

  1. 开始游戏
  2. In game main menu go to Check Online Options
  3. Check OpenGFX, OpenMSX, OpenSFX; press download, close window
  4. In game main menu, select Settings and make sure you are using three packs above
  5. Play

Choosing运输大亨 for 基本图形

  1. Get Transport Tycoon Deluxe for Windows or DOS.
  • If you don't have your 光盘, see Google.
  • Note: The original graphics are copyrighted, it may be illegal (in USA and some countries) to download them.
  1. Create an ~/openttd/ directory and put them there.


从Linux中的代码源手动安装

参见 Compiling on Linux

运输大亨里的档案

If you're installing OpenTTD with the运输大亨 基本图形, OpenTTD requires several original game files from your Transport Tycoon Deluxe installation 光盘.

The following files are mandatory. You need to copy them to the /data directory, which is in your OpenTTD directory. These files contain the graphics and the sound effects:

  • trg1r.grf
  • trgcr.grf
  • trghr.grf
  • trgir.grf
  • trgtr.grf
  • sample.cat

Additionally, you may want to copy the original game music. To accomplish that, you need to copy the /gm/ folder from the运输大亨 光盘 to your OpenTTD directory (don't put it in the data/dir!).

There are a few ways to get these files:

  • Copy the folder and files from the运输大亨 game 光盘 to your OpenTTD /data folder.
  • Unzip a运输大亨 installation zip file, and copy the folders.
  • 安装TTD for Windows in another directory and then copy the folders.

参见

Personal tools