Installation FAQ
From OpenTTD
FAQ series:
This FAQ covers questions about installing OpenTTD.
Contents |
[edit] What do I need to run OpenTTD?
You will need to be running one of the supported operating systems. Then check that your system meets the System Requirements.
You may still be able to play OpenTTD even with an unlisted operating system.
[edit] How do I install OpenTTD?
[edit] On Windows:
- Quite simple, only a few steps:
- Obtain a copy of Transport Tycoon Deluxe for Windows or DOS.
- Note down where you installed/unzipped the game.
- Get the windows installer for OpenTTD from the downloads page.
- Double click!
- Tell it where to find your TTD files.
- Run OpenTTD.
- Marvel at the splendourificatiousness of the welcome screen.
- There are, of course, other (longer) ways to perform this installation, this is just the easiest/quickest route. (but if you took the longer route... would it increase the route income?.. or should you wait for monorail... ..)
[edit] On Pocket PC:
Visit these forums for installation instructions
[edit] On Linux:
- As with most things in Linux, there are various ways to get a working copy of OpenTTD:
- You may find OpenTTD in your distro's packaging system, e.g. Aptitude, Yum, Portage and YaST. For info about using such a system, check your distro's manual or website.
- You can find packages for some distros on the sourceforge project page, such as .deb and .rpm files.
- You can download the source and compile the game yourself! You can read how to do this here: Compiling on Linux
- Now that you should have a copy of OpenTTD, you will need some of the Transport Tycoon Deluxe data files which contain images and sounds:
- If you used a package to install the game:
- You can insert your TTD CD-ROM and copy the needed files to your /usr/share/games/openttd/data directory. (The needed files are listed below)
- If you have a multiboot system which includes a windows partition or if you have access to a windows system over your network which has TTD installed, you can copy the needed files from the installation directory to /usr/share/games/openttd/data. (The needed files are listed below)
- If you copy the files from another PC on the network, be sure that you are in the posession of a license to the files!
- If you compiled the game yourself:
- You can insert your TTD CD-ROM and copy the needed files to the ./data directory in the directory where you compiled the game. (The needed files are listed below)
- If you have a multiboot system which includes a windows partition or if you have access to a windows system over your network which has TTD installed, you can copy the needed files from the installation directory to the ./data directory in the directory where you compiled the game. (The needed files are listed below)
- If you copy the files from another PC on the network, be sure that you are in the posession of a license to the files!
[edit] On Mac OS X:
- Quite simple, only a few steps:
- Obtain a copy of Transport Tycoon Deluxe for Windows or DOS.
- Get the OSX installer for OpenTTD from the downloads page.
- Mount the downloaded image and copy OpenTTD into a folder of your choice, i.e. /Applications/OpenTTD/ (it is recommended that it's empty as OpenTTD will add files to it).
- Make a folder called "data" in the folder you placed OpenTTD and move the .grf files and sample.cat into it from your copy of TTD.
- [optional] Also make a "gm" folder, and copy the .gm files across into it for all the cheesy midi goodness.*
- Run OpenTTD!
*If you are having problems hearing the music, it sometimes helps to change the file permissions. Select all of the .gm files you just added, hit CMD-I to 'Get Info'. Then, under "Ownership & Permissions" select "you can: Read & Write". Restart OpenTTD, and off you go!
[edit] On other systems:
- If it is a unix-like system you have good chances to play OpenTTD on it. It runs on more different systems and architectures than mentioned here.
- Look into the Operating System Matrix whether there are reports on your system.
- Make sure, that the SDL library is available for your platform and installed on your system.
- Download the OpenTTD source code and try to compile the game yourself.
- Add an entry to the Operating System Matrix, even if you were not successful.
[edit] What files do I need from TTD?
- If you are not using the installer to install OpenTTD, (or are just curious) you need to copy certain files by hand.
- Required files; put these in the data/ folder:
- Graphic files: trg1r.grf, trgcr.grf, trghr.grf, trgir.grf, trgtr.grf
- If you are using the DOS version of TTD to copy the files from, you need the files which are named above but without the "R" on the end, e.g. trg1.grf etc.
- Sound files: sample.cat
- If you also want music, (the all important cheesy midi goodness) copy the following files to the gm/ folder:
- Music files: *.gm
- If there is no gm folder, just create it in the main openttd folder, and put the files there. Note that DOS version of TTD does not have *.gm files.
On *nix computers, you need make sure you have permission to view the above files as a normal user, otherwise, you will only be able to run OTTD as root.
[edit] What about nightly builds?
The nightly builds are installed over the top of the latest stable build. Download the latest nightly build archive, then extract it to your OpenTTD installation folder. Backing up the latest stable installation is recommended.
To always play the latest nightly you can use an updater to update to latest nightly when you start the OpenTTD.

