Auto-Update Nightlies

Please make a Auto-Update-Function for the Nightlies (Cores+Retroarch)! Its so time consuming to make it every day manually and I think more than 80% of your users use the nightlies!

How is it recommended to update the main RetroArch program right now?

Download, unzip and overwrite the files manually?

no… please dont

@hohommx I assume he just wants an option for it.

@wyzrd Yeah, on Windows, download the dated package for the nightly you want, backup your old executables and drop in the new ones. On non-Windows platforms, use the repo/package manager for nightlies (the ubuntu PPA, fdroid, etc.).

We don’t recommend constantly updating everything, though. If something is working for you and you don’t want/need a new feature specifically, you probably shouldn’t update because something might break. That’s just how it goes with nightlies. Ours are pretty stable as those things go, but constantly updating cores that probably don’t even have any changes doesn’t really get you anywhere.

[QUOTE=hunterk;45415]@hohommx I assume he just wants an option for it.

@wyzrd Yeah, on Windows, download the dated package for the nightly you want, backup your old executables and drop in the new ones. On non-Windows platforms, use the repo/package manager for nightlies (the ubuntu PPA, fdroid, etc.).

We don’t recommend constantly updating everything, though. If something is working for you and you don’t want/need a new feature specifically, you probably shouldn’t update because something might break. That’s just how it goes with nightlies. Ours are pretty stable as those things go, but constantly updating cores that probably don’t even have any changes doesn’t really get you anywhere.[/QUOTE]

What if I made a small program for Windows in C++ that could update to the latest nightly?

Here’s a mockup https://i.imgur.com/PDFpLdM.png

[QUOTE=wyzrd;45439]What if I made a small program for Windows in C++ that could update to the latest nightly?

Here’s a mockup https://i.imgur.com/PDFpLdM.png[/QUOTE]

http://libretro.com/forums/showthread.php?t=4992

I think one of the playlist manipulation utilities has that, but it never hurts to have another, especially if yours is going to run as a service and automatically update every day or whatever.

I’m trying this out. So far it’s very slow. Taken 5 minutes to install and about 30 seconds to 1 minute to download and install a single core. It has to do this 19 times on quick install, and 80 times on normal.

If I make one, it would download the entire 7z and unpack it all at once, leaving the user configs intact.

It could also run as a service and have the user set the time in Windows Task Scheduler. I’ll see what I can do.

Just make sure it only fetches the small packages and not the full package with the redist libs. Bandwidth isn’t free.

It would fetch http://buildbot.libretro.com/nightly/windows/x86_64/RetroArch.7z

And optionally (with default set to No) the cores inside http://buildbot.libretro.com/nightly/windows/x86_64/latest/

Or is there other packages to use?

Oh yeah, please don’t do that. That would murder our bandwidth, which is why we haven’t already implemented something like that in the core updater already. For the executables, fetch the most recent datestamped one (I know that requires some parsing/logic, which might be outside of your planned scope) and for the cores, please don’t do any batch downloading if it doesn’t check against the index whether the core has been updated.

Where can you find the small executables for download outside of the 80mb 7z?

I see, use the 2016-08-19_RetroArch.7z 6mb ones.

[QUOTE=hunterk;45415]@hohommx I assume he just wants an option for it.

@wyzrd Yeah, on Windows, download the dated package for the nightly you want, backup your old executables and drop in the new ones. On non-Windows platforms, use the repo/package manager for nightlies (the ubuntu PPA, fdroid, etc.).

We don’t recommend constantly updating everything, though. If something is working for you and you don’t want/need a new feature specifically, you probably shouldn’t update because something might break. That’s just how it goes with nightlies. Ours are pretty stable as those things go, but constantly updating cores that probably don’t even have any changes doesn’t really get you anywhere.[/QUOTE] Yeah,add an option for user to choose enable or disable auto-update is user-friendly :slight_smile: