Installation

From OpenTTD

Jump to: navigation, search
ENESFRRU

Contents

[edit] Introduction

Since version 1.0.0 OpenTTD, installation is simplified enough, the game is a completely (play and graphics) on open source and are included in the installer. To download the latest version of OpenTTD click here.

Installation can be a little complicated, as the base graphics are not distributed with the game. So beside downloading the game, you need to obtain a set of base graphics as well.

Currently, there are two sets of base graphics that OpenTTD can use:

  • One fully functional set is located on the Transport Tycoon Deluxe (TTD) CD. As opposed to OpenTTD, TTD is not freeware;
  • An Open Source alternative to the TTD base graphics called OpenGFX is currently finished. The OpenGFX base graphics set is for those guys not having the original TTD CD.

Also, there are different versions for different platforms (Windows, MacOSX, Linux).

[edit] Installation

Select the installation instructions for the base graphics set you chose and your operating system:

(If you have access to the TTD base graphics and can't decide what base graphics to use, install the game using the TTD base graphics. OpenGFX can easily be installed afterwards.)

Downloads page of OpenTTD: www.openttd.org/download-stable
Downloads page of OpenTTD: www.openttd.org/download-stable

[edit] Installation on Windows

[edit] Using TTD base graphics

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

2. Download the Windows installer for OpenTTD from the downloads page.

The Windows installer for OpenTTD
The Windows installer for OpenTTD

3. Install OpenTTD. Chose the components OpenTTD and Copy data from TTD CD-ROM.

Chose components
Chose components

4. Tell OpenTTD where to find your TTD files; it should find them automatically if you used the TTD Windows installer, if not point it to the TTD CD in the drive.

Locate TTD
Locate TTD

5. Chose the folder in wich to install OpenTTD.

Chose Install Location
Chose Install Location

6. Select the Star Menu folder in wich you would like to create te program's shortcuts.

Chose Start Menu Folder
Chose Start Menu Folder

7. Select Run OpenTTD and click Finish

OpenTTD has been installed!
OpenTTD has been installed!

[edit] Using OpenGFX base graphics

1. Download the Windows installer for OpenTTD from the OpenTTD website.

The Windows installer for OpenTTD
The Windows installer for OpenTTD

2. Install OpenTTD.

3. Skip the step where the installer asks for the TTD files. Do this by unchecking "Copy Game Graphics" in the "Choose Components" menu.

Para los que no tengan los archivos de TTD
Para los que no tengan los archivos de TTD

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 base graphics set is listed in it's obg-file and may or may not be identical to the obg's file name.
Example
Example
4.4. Save the changes you made and run OpenTTD.
Out of Date
This article or section is outdated. Some of its content may no longer be accurate due to changes in the latest release. Please update this article.
The page doesnt include OpenTTD 1.0.0 automatic installation and a bit rough, see installation readme for reference.
Also note almost duplicate page at FAQ installation

[edit] Installation on Mac OS X

[edit] Using TTD base graphics

  1. Get Transport Tycoon Deluxe for Windows or DOS. If you don't have your CD, see tt-forums.net, or Google it.
  2. Create an openttd/ folder on your computer.
  3. OpenTTD requires some files from TTD, see below for what files need to go where.
  4. Get the OSX installer for OpenTTD from the downloads page.
  5. Run 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. Restart OpenTTD.


[edit] Using OpenGFX base graphics

  1. Download the OSX installer for OpenTTD from the OpenTTD website. You need at least version 0.7.0.
  2. Install OpenTTD.
  3. Skip the step where the installer asks for the TTD files.
  4. Consult the OpenGFX Readme for further instructions.


[edit] Installation on Linux

[edit] Using TTD base graphics

  1. Get Transport Tycoon Deluxe for Windows or DOS. If you don't have your CD, see tt-forums.net, or Google it.
  2. Create an openttd/ directory on your computer.
  3. OpenTTD requires some files from TTD, see below for what files need to go where.
  4. Download the OpenTTD from the downloads page.
  1. Run OpenTTD.


[edit] Using OpenGFX base graphics

  1. Create an openttd/ directory on your computer.
  2. Download OpenTTD from the OpenTTD website. You need at least version 0.7.0.
  1. Consult the OpenGFX Readme for further instructions.


[edit] Files from TTD

If you're installing OpenTTD with the TTD base graphics, OpenTTD requires several original game files from your Transport Tycoon Deluxe installation CD.

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 TTD CD 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 TTD game CD to your OpenTTD /data folder.
  • Unzip a TTD installation zip file, and copy the folders.
  • Install TTD for Windows in another directory and then copy the folders.

[edit] See also

Personal tools