Dolphin, the GameCube and Wii emulator - Forums

Full Version: [UNOFFICIAL] Dolphin Auto Update
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3
With the regular updates Dolphin gets, giving us constant accuracy and performance improvements I try to keep on the bleeding edge of dev builds to play my games. However it's a bit of a pain to manually download and unzip the files regularly given the frequent updates that Dolphin gets. With that in mind I have made a script that uses Ketarin and Task Scheduler to check for updates daily and auto apply them. I have attached a .7z file which contains all the necessary files to set this up, or you could go to Ketarin's website to set it up yourself. For the steps on how to.

1. Unzip Ketarin-1.7.0.7z to your C:
2. Open up Task Scheduler
3. Create a new Basic Task
3a. Give it a name, "Dolphin Update" works
3b. Set the update interval to what you wish, weekly or daily works well
3c. Choose "Start A Program" for the action
3d. Browse to the "ketarin.exe" file in the extracted folder (should be C:\Ketarin-1.7.0\ketarin.exe) for the Program/script
3e. Set the "Add Arguments" as: /database=dolphin-jobs.db /silent /notify /log=SoftwareUpdates.log
3f. Have it "Start In" C:\Ketarin-1.7.0\
3f. Hit Finish.

Now you should have an automated update of Dolphin to grab the latest dev version daily without all the hassle of doing it yourself. Please feel free to give me any feedback to improve the script or other ways to make this better! Hope you all find this useful!

Note: The Default install location for Dolphin is in C:\Program Files\Dolphin-x64. If you have it installed elsewhere you may have to modify the command in Ketarin

Edit: Switched to using Bunny's easier method.

Edit 2: I just want to point out that this WILL invalidate your shader cache (each cache is specific to Dolphin version and GPU drivers), so it can be worthwhile to update less frequently to minimize micro-stuttering, especially if the latest changes don't affect your system or game.
Marked Unofficial.
I was actually thinking about something like this this morning.

Did you forget something in this?
The batch file does nothing when it is double clicked and only opens Ketarin when drug onto it. Ketarin is also blank with no commands.
>only opens Ketarin when drug onto it.

You're not helping the fact that I keep misreading Ketarin as Ketamine. >_>
Hm, shoot. I'll look into this this weekend and get a fix. I imagine the settings don't transfer over when moved to a new machine automatically. I'll probably have to add another manual step to the process. Sorry about that! I thought I tested for that when I deleted my existing copy and started from the zipped file.

Edit: For the immediate moment if you Add a New Application -> Import from Online Database and grab the "Dolphin Dev Builds (64-bit)" that's the one I made and should work but I'll put in some more testing shortly to get a verified and the best fix.
(09-12-2014, 02:26 PM)driscoll42 Wrote: [ -> ]Hm, shoot. I'll look into this this weekend and get a fix. I imagine the settings don't transfer over when moved to a new machine automatically. I'll probably have to add another manual step to the process. Sorry about that! I thought I tested for that when I deleted my existing copy and started from the zipped file.

Edit: For the immediate moment if you Add a New Application -> Import from Online Database and grab the "Dolphin Dev Builds (64-bit)" that's the one I made and should work but I'll put in some more testing shortly to get a verified and the best fix.

I know why the list of programs was empty.
ketarin creates a jobs.db database file in appdata/roaming/ketarin where it stores the list of applications. if you move that file to the ketarin folder and create a shortcut with "/database=path to jobs.db" in the target field it will load up the jobs file. if you add /silent to the target field as well. ketarin will update the applications silently.

You can just add "/database=path to jobs.db" /silent to the task scheduler and avoid the use of a shortcut.

I hope this helps.


Source.
http://wiki.ketarin.org/index.php/Portability
(09-12-2014, 04:06 AM)Bunny Wrote: [ -> ]I was actually thinking about something like this this morning.

Did you forget something in this?
The batch file does nothing when it is double clicked and only opens Ketarin when drug onto it. Ketarin is also blank with no commands.

(09-12-2014, 11:25 PM)Bunny Wrote: [ -> ]
(09-12-2014, 02:26 PM)driscoll42 Wrote: [ -> ]Hm, shoot. I'll look into this this weekend and get a fix. I imagine the settings don't transfer over when moved to a new machine automatically. I'll probably have to add another manual step to the process. Sorry about that! I thought I tested for that when I deleted my existing copy and started from the zipped file.

Edit: For the immediate moment if you Add a New Application -> Import from Online Database and grab the "Dolphin Dev Builds (64-bit)" that's the one I made and should work but I'll put in some more testing shortly to get a verified and the best fix.

I know why the list of programs was empty.
ketarin creates a jobs.db database file in appdata/roaming/ketarin where it stores the list of applications. if you move that file to the ketarin folder and create a shortcut with "/database=path to jobs.db" in the target field it will load up the jobs file. if you add /silent to the target field as well. ketarin will update the applications silently.

You can just add "/database=path to jobs.db" /silent to the task scheduler and avoid the use of a shortcut.

I hope this helps.


Source.
http://wiki.ketarin.org/index.php/Portability

That does indeed work better Bunny, thanks for that! I updated the .7z file and instructions to use your method and the .jobs file instead. It should work now for everyone else.
(09-12-2014, 02:26 PM)driscoll42 Wrote: [ -> ]That does indeed work better Bunny, thanks for that! I updated the .7z file and instructions to use your method and the .jobs file instead. It should work now for everyone else.

Happy to help. Ketarin id working the way it should.

If you want to extract dolphin put this in the setup, under custom commands. this is based on the file posted here.
START "" /B /MIN /WAIT "C:\Ketarin-1.7.0\Dolphin\7z.exe" x "{file}" -bd -o"output path" -y
(09-15-2014, 09:35 PM)Bunny Wrote: [ -> ]
(09-12-2014, 02:26 PM)driscoll42 Wrote: [ -> ]That does indeed work better Bunny, thanks for that! I updated the .7z file and instructions to use your method and the .jobs file instead. It should work now for everyone else.

Happy to help. Ketarin id working the way it should.

If you want to extract dolphin put this in the setup, under custom commands. this is based on the file posted here.
START "" /B /MIN /WAIT "C:\Ketarin-1.7.0\Dolphin\7z.exe" x "{file}" -bd -o"output path" -y

I'm at work where the proxy I'm using for this is blocked, but I tested it earlier and the dolphin-jobs.db should auto extract the file to the C:\Program Files\Dolphin-x64, or does it not?
(09-16-2014, 01:48 AM)driscoll42 Wrote: [ -> ]
(09-15-2014, 09:35 PM)Bunny Wrote: [ -> ]
(09-12-2014, 02:26 PM)driscoll42 Wrote: [ -> ]That does indeed work better Bunny, thanks for that! I updated the .7z file and instructions to use your method and the .jobs file instead. It should work now for everyone else.

Happy to help. Ketarin id working the way it should.

If you want to extract dolphin put this in the setup, under custom commands. this is based on the file posted here.
START "" /B /MIN /WAIT "C:\Ketarin-1.7.0\Dolphin\7z.exe" x "{file}" -bd -o"output path" -y

I'm at work where the proxy I'm using for this is blocked, but I tested it earlier and the dolphin-jobs.db should auto extract the file to the C:\Program Files\Dolphin-x64, or does it not?
Yeah it works. I forgot about it going to the program files folder, so I was looking at the wrong place.
Pages: 1 2 3