Installation

From OpenTTD
Jump to: navigation, search


Contents

Introduction

Since version 1.0.0 OpenTTD, installation is simplified enough, the game is completely (play and graphics) open source; everything is 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).

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. However, the easiest way is to install the game with all files from the start: TTD base graphics, OpenGFX, OpenMFX and OpenSFX files.)

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

Installation on Windows

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

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

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

5. Chose the folder in which to install OpenTTD.

Chose Install Location

6. Select the Start Menu folder 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!

Using OpenGFX base graphics

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

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.

Installer setup for users without TTD files

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
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 TTD base graphics

1 Get Transport Tycoon Deluxe for Windows or DOS. 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 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.

1.1.2 for Mac OSX

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.

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.

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 TTD graphics if you have a copy of original game around. OpenGFX is faster and prefered.

Choosing OpenGFX for base graphics

  1. Start the game
  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 TTD for base graphics

  1. Get Transport Tycoon Deluxe for Windows or DOS.
  • If you don't have your CD, 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.

Manual Installation from source on Linux

See Compiling on Linux.

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 /baseset directory, which is in your personal 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 the /baseset in your personal OpenTTD directory.


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.

See also

Personal tools