This script will download the latest nightly build of Spring, start SpringLobby and auto-join the "official" test server at springlobby.info:8300.
Every day at 10am German time the version is bumped to the newest installer on http://buildbot.eat-peet.net/spring/. I'll also provide a web interface for devs to request an update but for now only I can do it.
Since this is the first version, I'd like to get some feedback. No output of the scripts is hidden so you can pastebin it in case of problems. Once it looks stable, I'll probably change it to user-friendly output like "Downloading wget", "Checking for new version" etc.
The attached script only downloads wget, 7z and the actual files that do the work. The idea behind it is that it could be included in the installer. It's only 1.71 KiB in size atm but all it takes is launching it.
Windows Test Build Updater
Moderator: Moderators
Windows Test Build Updater
- Attachments
-
- Start Nightly Build.7z
- The launcher. Extract into Spring directory and launch. (Couldn't attach .cmd.)
- (923 Bytes) Downloaded 17 times
Re: Windows Test Build Updater
IMHO junctions are too dangerous for normal people, make them a non-default option.
Also, a good idea would be to rewrite this in VBScript, I believe you can access IE (or a downloader com, or something) and registry then, so it could do without downloading wget (nothing wrong with that, besides less dependencies == better) and could figure out the correct spring dir by itself.
Otherwise good work!
Also, a good idea would be to rewrite this in VBScript, I believe you can access IE (or a downloader com, or something) and registry then, so it could do without downloading wget (nothing wrong with that, besides less dependencies == better) and could figure out the correct spring dir by itself.
Otherwise good work!
Re: Windows Test Build Updater
Rewriting in VB will probably not happen since I have the scripting host disabled on my system and I can access the registry just fine in batch files. I currently use the registry to find out the TASClient lobby username for example. The dependency to ftp.exe bugs me more than the one to wget though. Oh well, I'll think about it. 
I actually wanted to read the Spring dir from the registry but I now think it's better this way since people probably move the directory around and there is even the portable edition.
About the junctions: yeah, I actually deleted all my maps and mods twice using them.
I'll just ask the user if he wants them.

I actually wanted to read the Spring dir from the registry but I now think it's better this way since people probably move the directory around and there is even the portable edition.
About the junctions: yeah, I actually deleted all my maps and mods twice using them.

-
- Spring Developer
- Posts: 1254
- Joined: 24 Jun 2007, 08:34
Re: Windows Test Build Updater
Include newly updated archivemover and move maps to "my games" 

Re: Windows Test Build Updater
Might be a good idea as another option. Like "Use junctions to my dirs", "Move my dirs to My Games" or "Let me manage my dirs myself"..
Re: Windows Test Build Updater
and the "Use junctions" option should have "!!!" and "WARNING" all over it ^^
Re: Windows Test Build Updater
Bad childhood experience? :D
Re: Windows Test Build Updater
no, more like care for clueless users.
Re: Windows Test Build Updater
Yeah, I totally agree.. While they work fine, the Windows tools don't really make it easy to spot and handle them.
Re: Windows Test Build Updater
I don't think you need the crazy warnings on Win7, but check that before leaving them off. You might still want something for the truly clueless.
Re: Windows Test Build Updater
Now that you mention Win 7.. I only have tested this on XP so any feedback about what this does in Vista and 7 would be appreciated. :)