Page 1 of 5

OpenTTD Updater

Posted: 16 Jul 2007 21:06
by CMircea
This will now be the official topic, the one from the suggestions forum can be locked.

Version 0.7.6 is out, it might be the last until 1.0, since it's going through a rewrite using PHP-GTK --> Cross-platform baby!

It is on sendspace: http://www.sendspace.com/file/r34m17

Re: OpenTTD Updater

Posted: 17 Jul 2007 01:17
by OzBabe
Deso, sweety, just to let you know, your third link is not loadable, but ty for the updater, hugzzzzzzz



Luv,
Leanne

P.s
This is from desolators readme file for the updater
NOTE: OpenTTD Updater is available for nightly builds only. You cannot use it with stable or RC versions.

-- *** Patching *** --

Re: OpenTTD Updater

Posted: 17 Jul 2007 05:51
by CMircea
Thanks, fixed, wrong extension (I put exe instead of zip).

Re: OpenTTD Updater

Posted: 18 Jul 2007 13:27
by CMircea
Bump. Anyone got ideas for new features?

Re: OpenTTD Updater

Posted: 18 Jul 2007 15:21
by Digitalfox
Desolator wrote:Bump. Anyone got ideas for new features?
It's not exactly a new feature, but how about creating a page on wiki explaining what it does and how to use it ( i know theres read me, but still ) ;)

Re: OpenTTD Updater

Posted: 18 Jul 2007 18:11
by CMircea
Not 'till 1.0.

Re: OpenTTD Updater

Posted: 19 Jul 2007 20:51
by Zuu
Desolator wrote:Bump. Anyone got ideas for new features?
I've not tested your program, so I do not know if you already have implemented this. Anyway, a logical step after just doing revision checking to determinate if OpenTTD should be updated or not would be to extract the changes since last update from changes.log and display in a dialog after the update is done.

Re: OpenTTD Updater

Posted: 20 Jul 2007 06:36
by CMircea
I think that sounds kinda useless, since with a nightly you always want the latest version of you have a server of want to play on servers.

Re: OpenTTD Updater

Posted: 20 Jul 2007 07:27
by DaleStan
There's a difference between not wanting the latest version and wanting to know what's been changed in the latest version.

Re: OpenTTD Updater

Posted: 20 Jul 2007 07:47
by smile64
I've tried it. Nice work but...
1. If you already have the latest version the program will download and install it anyway. A version check, maybe?
2. I couldn't quit after the installation. Every time I pressed the Exit button, the program just said it can't download the latest version. I had to shoot it down from the Task Manager. Did I do something wrong or is it a bug?

Re: OpenTTD Updater

Posted: 20 Jul 2007 14:30
by CMircea
smile64 wrote:I've tried it. Nice work but...
1. If you already have the latest version the program will download and install it anyway. A version check, maybe?
2. I couldn't quit after the installation. Every time I pressed the Exit button, the program just said it can't download the latest version. I had to shoot it down from the Task Manager. Did I do something wrong or is it a bug?
1. Please copy everything from the debug window in a text file and upload it here.
2. Already fixed in the next version. It's kinda annoying and I still don't see why it loops again (I "fixed" it by forcing the script to close).

EDIT: And about seeing what's changed in the latest nightly, you want the whole changelog, only from your previous nightly or only the latest nightly?

Re: OpenTTD Updater

Posted: 20 Jul 2007 20:48
by Zuu
Desolator wrote:EDIT: And about seeing what's changed in the latest nightly, you want the whole changelog, only from your previous nightly or only the latest nightly?
Getting a log of what have changed since last update would be preferable. But if that is so long time ago that not all changes are in changes.log I think the program do not need to lookup the rest elsewhere (SVN).

And as DaleStan pointed out, the case I had in mind was that the user have updated OpenTTD to last nightly, and want to know what have changed? What new cool features are there? Have that bug been fixed? etc... etc...

Re: OpenTTD Updater

Posted: 20 Jul 2007 21:06
by CMircea
OK, and if not everything in the changes.log file since your previous revision or an error occurs, what to do? Show what it can or only the latest nightly?

Re: OpenTTD Updater

Posted: 10 Aug 2007 18:37
by CMircea
Big bump. OK, OpenTTD Updater will "double-click" on your changes.log file if it has updated to a newer nightly, if you want and isn't silent, of course.

Re: OpenTTD Updater

Posted: 11 Aug 2007 18:39
by CMircea
Setup:
http://www.playmenow.org/OpenTTD%20Upda ... 0Setup.exe

Patch from 0.6:
http://www.playmenow.org/OpenTTD%20Upda ... 0Patch.exe

Source (AutoPlay Media Studio, InnoSetup and Visual Patch Express project files):
http://www.playmenow.org/OpenTTD%20Upda ... ojects.zip

More GPL stuff added to the readme, renamed license file to COPYING (no extension), lots of bugs fixed, new -d command-line argument, readme file shown by the installer before installing, released on my birthday anniversary though it was on 8 August but I was in vacation.

Re: OpenTTD Updater

Posted: 12 Aug 2007 07:34
by CMircea
0.7.5:

Setup:
http://www.playmenow.org/OpenTTD%20Upda ... 0Setup.exe

Patch from 0.7:
http://www.playmenow.org/OpenTTD%20Upda ... 0Patch.exe

Source (AutoPlay Media Studio, InnoSetup and Visual Patch Express project files):
http://www.playmenow.org/OpenTTD%20Upda ... ojects.zip

Prettier dialogs and a few bug fixes.

Re: OpenTTD Updater

Posted: 13 Aug 2007 01:27
by Dave_McMahon
I just installed the 0.75 version and it bombed out after install

OTTD was not running at the time and is currently 10839 This is the contents of the debug window

*** LOCATION: Project -> On Startup
[3]: Debug.ShowWindow(true);
[6]: if _CommandLineArgs then
[8]: for numCmdIndex, strCmdLine in _CommandLineArgs do
[32]: if File.DoesExist(_SourceFolder .. "\\openttd.exe") then
TRACE: LastError = 0 ("Success.")
[34]: strGameFolder = _SourceFolder;
[37]: boolIsGameFolder = true;
[50]: if Folder.DoesExist(strTempUpdate) == false then
TRACE: LastError = 0 ("Success.")
[52]: Folder.Create(strTempUpdate);
TRACE: LastError = 0 ("Success.")
[53]: end

*** LOCATION: Main Page -> On Preload
[2]: if boolIsSilent == true then
[11]: end

*** LOCATION: Main Page -> On Show
[2]: if boolIsGameFolder == true then
[4]: Button.SetEnabled("Browse", false);
TRACE: LastError = 0 ("Success.")
[5]: end


********* Edit *********
Maybe I was too hasty as after a few seconds it downloaded the new version and now the yellow and black bar (nice :) ) comes up and UPDATE is now yellowed

didn't have time to tell you how welcome this program is saves more wear and tear on the mouse downloading and win-raring the file then navigating to folder then cut and pasting the contents!!!

Thank you.

Re: OpenTTD Updater

Posted: 13 Aug 2007 18:00
by CMircea
Thanks. I though about many utilities for OTTD nightlies and an updater is a great choice.

Re: OpenTTD Updater

Posted: 13 Aug 2007 22:59
by Dave_McMahon
I think integration with OTTD would be the next step, can it be done? Good luck if you pursue it

Re: OpenTTD Updater

Posted: 14 Aug 2007 06:44
by CMircea
I can't do it since they're coded in very different languages.