2.0.6 is available later in the thread
Website with introduction
Read on for version 1.1
Note (2008-11-01): Version 1.1 does not work anymore since the server migration of OpenTTD, some months ago.
Since there have been an increase of discussions about other updaters than OpenTTD Updater by Madassasin I have started this thread about my updater OpenTTD Auto Update so that if you have any comments about it there is a thread for it where it is not off-topic.
A list of updaters for OpenTTD can be found at the wiki. But since you are here, you're probably interested in this updater and should continue to reed this page.
I've also moved the information about the program from a post in another thread which I've until now updated with new versions of the program.
- Download zip-file (attached at the bottom of the post)
- Unpack it and place the unziped files directly in your OpenTTD dir. (no subdirectory)
- Double click on OpenTTDAutoUpdate.exe
- Make a shortcut on your desktop or in the start menu to OpenTTDAutoUpdate.exe
- Hard: Add the option /auto to the shortcut which will hide the configuration-dialog independent of if the checkbox to skip the configuration-dialog is checked or not. This way you can use the shortcut to play and still don't have to edit the ini-file to change the settings. (just use another shortcut without /auto or browse to the actual exe-file)
- Now when you want to play the last nightly use this new shortcut you just created instead of your old shortcut to openttd.exe. When you have the latest nightly installed OpenTTD wil just start, and if there is an update you will be asked if you want to update.
What is it doing?
- Display the configuration every startup until you get pissed of and check the lower left check box that disables the configuration window.
- Checks for updates of the updater itself.
- If there is a nightly available for the selected revision source (nightly or #openttdcoop PS) with a different revision number than the one you have installed then it will ask you if you want to upgrade/downgrade. If you say no or if you already have the "correct" revision it will keep your existing installation untouched and continue to point 6 (k+3, where k is current point).
- Downloads last nightly zip-file and then unpacks it in the configured OpenTTD directory. If "Ask before overwriting" have been checked the unzip program will ask you before it overwrites any existing file.
- Displays an extract of the change log with just the changes that are new for this update. You can turn this of if you wish, just check the don't show this dialog anymore checkbox.
- Start OpenTTD. (unless you have disabled that)
- Exit OpenTTDAutoUpdate, just after OpentTTD have started. So it will not waste your memory while you are playing.
The website-link in the about dialog actually looks up the current website URL from the same server that it checks for self updates (users.tt-forums.net) and on failure it falls back to this forum thread.
-- 1.1 (2008-04-06) --
- Checks for updates of the program itself.
- Reads version information from openttd.exe instead of changes.log.
- Made it easier to use the updater without a pre-existing OpenTTD installation. (In 1.0 you had to create a fake openttd.exe, now you just have to answer a dialog)
- The tab order of the main window was wrong in 1.0, now fixed.
- Pimped the About dialog. Now text such as URLs can be selected and copied from this dialog. The website button will open the current OpenTTD Auto Update website in your default browser. (As of now, this thread is the website)
- In 1.0 when your changes.log was missing a error message was displayed that you could ignore. This error message, but for failure in interpreting openttd.exe have been changed from "error" to "warning", since you can ignore the dialog and update anyway.
- Users can now select between Latest Nightly or the nightly used by #openttdcoop Public Server. (Revision Source)
- As a result of this it is now possible to downgrade to a lower version of OpenTTD. Therefor I've introduced a zip-file cache that stores zip-files untill they are not needed anymore, to reduce downloading. Cache cleaning can be disabled if you wish. The cache directory is named "AutoUpdateCache" and is automatically created in your OpenTTD directory. If you currently have a file/directory with that name, you should rename it.
- The dialog that asks if OpenTTD should be updated can now be disabled => always update. (Ask before updating OpenTTD)
- Added option to disable starting of OpenTTD after updating. (Start OpenTTD)
- Windows are centered even if you don't use 1024x768.
- Some entries in changes.txt end with an empty line, some do not. Remove the empty line from those who have that so that the change log looks more consistent.
- Tweaked tab order of some windows.
- Added constraints for how small the change log window can become.
- When /noauto is given, don't tell user how to show the configuration window again.
- Even more robust error handling. (including catch unzip failures better)
- Log what the program is doing to a file "OpenTTDAutoUpdate.log" in the OpenTTD directory.
- The icon have been slightly tweaked.
- Displays new changes (from changes.txt) since last update after upgrade.
- Handles exceptions/errors better. Shows helpful dialogs on many more errors.
- The bundled unzip.exe have been exchanged by another compatible build from info-zip that takes about 100 kB less space.
- Shows a small banner (no advert, just informative text that OpenTTD is starting) when starting OpenTTD.
- Added an icon for the program.
- Fixed /auto bug that raised an exception/assertion at startup.
- Old GUI removed.
- New GUI let users configure OpenTTDAutoUpdate and then update OpenTTD.
- Check box to skip configuration dialog at startup.
- Now visually indicate that downloading is in progress, when downloading latest nightly. (useful on slower connections where download takes longer than a second or two)
- Show either progressbar-window or confirmation window when unzipping OpenTTD, not both.
- Fix: Releases the changes.log files after reading it.
- Feature: Stores the path to OpenTTD in a ini-file: conf.ini located in the same directory as the program. The status of the checkbox (not in the beta1 picture) is also saved in the ini-file.
- Feature: If parameter '/auto' is given, the program will check for updates and if any updates are found it asks for confirmation. And after that it starts OpenTTD. (currently the window is not hidden, but that is on my ToDo-list )
- Does include an option to ask before overwriting files when unzipping.
- Shows the output of unzip.exe to allow users confirm overwriting.
- Works with paths that contain spaces.
Currently this is a freeware program, since that was the decision I took in 2007 when I started with the program, but it's not set into stone that it will not become open source in future.