OpenTTD Updaters

From OpenTTD
Jump to: navigation, search


The general idea of an an Updater is that it is a program that runs before openttd.exe which checks if there is a newer nightly available and if so it may ask the user if it wants to upgrade and if so it downloads the newer nightly and installs it. After the installation is done openttd.exe is executed and the game starts as normal.

For OpenTTD there exist more than one updating program. Some of them are listed below.

Contents

OpenTTD Manager

OpenTTD Manager
OpenTTD Manager screenshot

OpenTTD Manager is a simple and clear multi-language tool for Windows that allows the user to update and change OpenTTD versions easily.

Features:

  • All-in-one OpenTTD deployment and updating solution
  • Check for updates and install any OpenTTD version directly
  • Restore any previous OpenTTD version
  • Ability to download original GRF graphic files if needed
  • Does not require .NET framework to run
  • Currently available in: Chinese, English, French, Korean, Polish, Portuguese (BR), Slovak, Spanish

To submit a translation for OpenTTD Manager, go to Options > Settings and click the plus sign.

For more information and download, visit the OpenTTD Manager website.

OpenTTD Auto Update 2.0

OpenTTD Auto Update
OpenTTD Auto Update screenshot

Features:

  • Updates to Last Stable, Last Stable (including pre-stable), Last Nightly, Last Cargodest, #openttdcoop PS, #openttdcoop ProZone, Dihedral AutoNightly Server, NewGRF Airports (Yexo), Custom (stable or nightly) server
  • Handles multiple OpenTTD installations through a single user interface
  • Support for GRF pack updates. (only those added to the server-side part of OpenTTDAutoUpdate2, so users can not add packs on their own) (#openttdcoop GRFPack is the only currently available GRF pack)
  • Show Change log before update
  • Change log can be filtered using filter strings (eg. find all changes by a specific developer or only NoAI changes)
  • Checks for updates of itself and can also update itself
  • Built using Delphi Win32, so no need for .Net
  • Unzip-installation (no installer)
  • Intro guide/wizard on first startup, also available in the help menu.
  • Proxy support

For further information and download please continue to the website.

AutoTTD

AutoTTD
AutoTTD screenshot

AutoTTD is, somewhat similar to OpenTTD AU, an Updater for OpenTTD to be used with numerous servers. It is built in C# allowing for a somewhat portability to unix (which somebody can pick up as I do not use unix). Requires .NET Framework 2.0 or newer.

AutoTTD takes a different approach, as it's main functionality is based upon the Master Server list, allowing you to browse that list and update your client accordingly. It will also let you know if there are any mismatches between NewGRFs so you can install those. Due to the touchy subject NewGRFs can get from time to time, AutoTTD will NOT installl those for you, however, it can (in the future) point you to places where you can look to get them.

You can find out more about AutoTTD here

Supported servers

Currently, AutoTTD is aware of the following servers:

  • Releases (0.6.3, 0.7.0 etc)
  • Nightlies
  • Head2Head (might not be 100%)
  • CargoDest Branch (also, far from 100%)

NewGRFs

AutoTTD, in it's current way, can identify a large amount of GRFs by their GRF ID's and their hash, identical to how the client identifies them. This allows AutoTTD to identify which NewGRFs you have installed, and if they match what the server wants... this will allow you to see whether you are missing some NewGRFs or not.

In addition, AutoTTD queries the Content Server for the list of content currently in the database.. as said before, AutoTTD will NOT download any NewGRFs, but it CAN tell you if the NewGRFs the server uses are available for download.

Limitations

Seeing this is the first release, the app will come with some restrictions.

  • Favourites are loaded, but NO code is in place for users to edit their favourite list without editing xml files directly.
  • There is little to no validation to make it idiot-proof.. the app can and most likely WILL crash if you do funky stuff with it.
  • There is no extra code in place to inform the user of the success (or lack thereof) of certain processes.

Requirements

Until somebody ports this to unix the requirements will be as follows: A Windows pc running the .NET Framework version 2.0 or later.

Usage As mentioned in the Limitations section, no extra validation in place, so from time to time I might tell you to restart the app, this is to make sure invalid stuff gets ignored properly and won't crash your app.

Start AutoTTD go to Tools->Options , and set your OpenTTD directory, and the current platform you are using (most users will probably use win32 for this, unless you are using 64bit Xp/Vista OR windows 95/98/ME .... in which case I doubt the app will actually work properly :shock: ) Restart AutoTTD to have the changes take effect

Pressing Refresh will reload both Master Server and your Favourite list (if you have any), Favourite Servers will show up bold, allowing you identify them easily., or you can click on the triangle to select what you want to reload.

To update your client (granted you set the correct directory), select the server you wish to play on, if the update button is enabled you do not have the correct client version, and you can click Update to update it.. at which point you'll see the progress bar update, once it is done the Play button should be enabled and the Update button should be disabled.. guess what you have to do to play....

To view extended information on NewGrfs, double-click the Yes behind NewGRFs, this will show you the GRF Ids and Hashes and the status of that NewGRF ... Available meaning you can download them through the Content Server, Installed meaning.. well.. you have it .. and Unavailable meaning it's not installed and not on the Content Server.

OpenTTD Updater

OpenTTD Updater was an updating tool developed by cmircea from the tt-forums.net, and it was discontinued on November 1, 2007. OpenTTD Updater comes with an installer for easy installation. For more information please continue to this forum topic.

This tool was last updated on September 6, 2007 and was shortly discontinued.

A replacement project is being started by the original developer - see this forum topic for more information.

Autostart

Autostart is a small bash script written by Ammler which can update to the revision certain servers run. It is easily adopted for new servers. It is capable of retreiving the proper nightly or - if desired - obtain the sources and optionally then patch them with some (client side) patches. Get the scripts via svn from [1] or download all files and folders as found there.

openttd_update

openttd_update is a small bash script which checks the latest nightly version available on the openttd server, downloads and extracts it. It also stores the version number, so later when you run the script it can check whether an update is required or not. For further information and download please visit the related forum topic.

Resources

The idea with this section is to collect some pointers for resources that can be useful for someone interesting in writing a updater script or program.

Personal tools