OpenXcom Forum

Contributions => Programming => Topic started by: pjlasl on July 08, 2015, 09:05:45 pm

Title: Nightly Updater
Post by: pjlasl on July 08, 2015, 09:05:45 pm
I started to build a tool for those of us that like to stay up to date with the latest nightly releases.

It is still in alpha mode, but here is what I have left to do:

1. Data Retrieval
     A. Retrieve list of nightly zip files
     B. Retrieve description of nightly zip files

2. Display
     A. Display nightly versions
     B. Display description of nightly version when selected

3. Functionality
     A. Download File
     B. Provide Backup option of current installed version
     C. Install Nightly
     D. Include Settings for Proxy

4. GUI
     A. Look and feel

Version 1.0 (Available for Download) See below  :) I need testers

Title: Re: Nightly Downloader
Post by: Angelus_EV on July 09, 2015, 12:50:30 am
name it OpenXcom Updater! ;D ;D ;D
Title: Re: Nightly Downloader
Post by: pjlasl on July 09, 2015, 03:26:09 am
name it OpenXcom Updater! ;D ;D ;D

Yh. Wasn't sure what the best name would be, but your's make sense  :)
Title: Re: Nightly Downloader
Post by: pjlasl on July 09, 2015, 07:50:17 pm
Worked on the GUI. It now displays the available nightlies and the description that follows it.

See first post for image update.
Title: Re: Nightly Downloader
Post by: Aldorn on July 09, 2015, 09:08:56 pm
Very interesting dude  :)
Title: Re: Nightly Downloader
Post by: pjlasl on July 09, 2015, 09:38:44 pm
Very interesting dude  :)

Thanks. It is coming along nicely.
Title: Re: Nightly Downloader
Post by: pjlasl on July 10, 2015, 06:58:52 am
Updated first post to include image showing the zip file being downloaded after clicking 'Install'

Slowly getting there  ;D
Title: Re: Nightly Downloader
Post by: pjlasl on July 14, 2015, 12:16:20 am
Very close to being complete.

I have it downloading, backing up, and updating the core files.  ;D

I am going to make a change to the listview (has some quirks I don't like), but in its current state, it is FULLY functional.
Title: Re: Nightly Downloader
Post by: pjlasl on July 14, 2015, 05:54:48 am
ITS HERE!

See the first post for download of executable. Please give it a go and advise on issues or features you would like to see.
Title: Re: Nightly Updater (Download Now Available)
Post by: Ishmaeel on July 15, 2015, 01:20:00 pm
First suggestion: Make it opensource and put it on GitHub. 8)
Title: Re: Nightly Updater (Download Now Available)
Post by: Mazian on July 16, 2015, 09:51:38 pm
My only question... is it actually easier than just unzipping the nightly into the openxcom folder?
Title: Re: Nightly Updater (Download Now Available)
Post by: Mr. Quiet on July 28, 2015, 03:33:42 am
Integrate this with OXC in 1.1 and have it check online automatically.
Title: Re: Nightly Updater (Download Now Available)
Post by: Solarius Scorch on July 28, 2015, 12:51:15 pm
Integrate this with OXC in 1.1 and have it check online automatically.

Sure thing!
Title: Re: Nightly Updater (Download Now Available)
Post by: SupSuper on July 28, 2015, 10:05:36 pm
Integrate this with OXC in 1.1 and have it check online automatically.
And require another DLL? The horror! :P

ITS HERE!

See the first post for download of executable. Please give it a go and advise on issues or features you would like to see.

We can give you an API if you prefer so you don't have to page-scrape the website.
Title: Re: Nightly Updater (Download Now Available)
Post by: Solarius Scorch on July 28, 2015, 11:17:12 pm
I don't personally care much for auto-update, I don't mind doing it by hand, but well... OpenTTD has it, so, just saying... ;D
Title: Re: Nightly Updater (Download Now Available)
Post by: kkmic on July 29, 2015, 02:42:44 pm
Give the man an API.
Title: Re: Nightly Updater (Download Now Available)
Post by: the_third_curry on August 03, 2015, 11:15:01 pm
I got a message saying OpenXcomUpdater.exe is not a valid Win32 application.
Title: Re: Nightly Updater (Download Now Available)
Post by: Phoenix7786 on August 06, 2015, 10:32:33 am
Speaking of Nightlies, I want to show a new player that's been an old-hat X-com vet that had no idea this project existed. The problem is I can't find the latest EU Nightly before the flood of TFTD Nightlies took over the page. For the sake of easing this new player in, what was the latest EU Nightly?
Title: Re: Nightly Updater (Download Now Available)
Post by: Meridian on August 06, 2015, 11:01:45 am
The nightlies are for both EU and TFTD.
Or in other words the latest nightly is also the latest EU nightly.
Title: Re: Nightly Updater (Download Now Available)
Post by: Phoenix7786 on August 06, 2015, 08:22:55 pm
>.>

<.<

I uh, TOTALLY knew that! Yeah! I was uh, testing you all! Yes that's it!
Title: Re: Nightly Updater (Download Now Available)
Post by: Sputnik on August 09, 2015, 01:17:31 pm
Pardon me, but I don't get it. How should it actually work, anyone?
Yesterday I bought UFO Defence on Steam, set up OpenXCom Nightly version.
Now today I'm trying to update OpenXCom, but the updater is telling me that the game is not found.
I've extracted it to every possible folder but there was always the same result. MODS dir, UFO dir, Openxcom core dir...
WAIDW? :) Please?
WIN7, all latest frameworks...
Title: Re: Nightly Downloader
Post by: niculinux on August 16, 2015, 08:01:45 pm
name it OpenXcom Updater! ;D ;D ;D

Sure!! A very useful tool for both win and linux users, espacially with "finalmrelases" so that there be no need anymore to repackage it all over again! Provided that it will be avaiable even for linux... :/ Once finished it may be linked in openxocm homepage! Again, plesse pin upmthe thread!
Title: Re: Nightly Updater (Download Now Available)
Post by: ceilingrat on August 22, 2015, 02:02:11 pm
I'm also getting 'game not found, process cancelled'. I've unzipped the updater into the core directory, starts ok and finds the nightlies. Click install and 'game not found'.
Title: Re: Nightly Updater (Download Now Available)
Post by: Warboy1982 on August 22, 2015, 03:29:31 pm
Pardon me, but I don't get it. How should it actually work, anyone?
Yesterday I bought UFO Defence on Steam, set up OpenXCom Nightly version.
Now today I'm trying to update OpenXCom, but the updater is telling me that the game is not found.
I've extracted it to every possible folder but there was always the same result. MODS dir, UFO dir, Openxcom core dir...
WAIDW? :) Please?
WIN7, all latest frameworks...

i'm going to assume it wants a more current version than 1.0
Title: Re: Nightly Downloader
Post by: hellrazor on August 22, 2015, 06:25:35 pm
Sure!! A very useful tool for both win and linux users, espacially with "finalmrelases" so that there be no need anymore to repackage it all over again! Provided that it will be avaiable even for linux... :/ Once finished it may be linked in openxocm homepage! Again, plesse pin upmthe thread!

I use git client to update. You can access older versions with it and build them yourself.
But for all non technical users this might be a good help :>
Title: Re: Nightly Updater (Download Now Available)
Post by: SupSuper on August 30, 2015, 12:15:20 am
Give the man an API.
https://openxcom.org/git_builds/api.php?format=xml
https://openxcom.org/git_builds/api.php?format=json
Title: Re: Nightly Updater (Download Now Available)
Post by: Biggieboy on February 08, 2017, 11:47:58 pm
Its not work? game not found error