How to silently update Rpcs3 from CMD so I can run as a task
Started by LegzRweelz




4 posts in this topic
LegzRweelz
Member


0
3 posts 1 threads Joined: Aug 2023
Question  08-10-2023, 05:58 PM -
#1
As the title suggests. I am seeking a way of updating RPCS3 silent and invisibly. I have an HTPC that is dedicated to gaming and movies. I do not keep a KB/M attached nor do I use it for anything besides gaming/media consumption. The main way of controlling is via gamepad or remote control.
It is by and large, nearly a game console and so much of it automated thanks to task scheduler and AutoHotKey. I like to keep my emulators up-to-date/bleeding edge and I have figured out a way to silently update most of my emus using task scheduler and would like to do the same with RPCS3.
Yes, I can very easily get into windows but that kills the immersion of my setup. Any help would be greatly appreciated
Ani
Administrator
*******


16
4,386 posts 106 threads Joined: Aug 2017
08-18-2023, 06:57 AM -
#2
Settings -> GUI -> Check for updates on startup -> Automatic
    Desktop: Ryzen 7 5800X,   Radeon RX 6800 XT, 2x8G DDR4 3600MHz, Manjaro Linux
     Laptop: Ryzen 9 5900HX,  Radeon RX 6700M,   2x8G DDR4 3200MHz, Manjaro Linux
Old Desktop: AMD FX-8350,     Radeon R9 280X,    2x4G DDR3 1600MHz, Manjaro Linux
LegzRweelz
Member


0
3 posts 1 threads Joined: Aug 2023
08-22-2023, 03:20 AM -
#3
(08-18-2023, 06:57 AM)Ani Wrote: Settings -> GUI -> Check for updates on startup -> Automatic

Hi, thank you for the reply. I am aware of this setting but it still requires interaction using a mouse and keyboard and reults in it needing to be relaunched. This is not ideal for a system set up like my own as all games are launched via launchbox and if the emu is checking for and alerting of updates and then needs to be relaunched, LaunchBox will see the game as played and then exited. So I am seeking a way of updating RPCS3 silently on my system as a scheduled task. I have accomplished this with Yuzu using an updating tool. Same with Xenia but. I am attempting to edit the source code to the last one so I can make it a universal silent updater but was hoping that maybe there are parameters built into RPCS3 (which to me, is far more ideal).
Ani
Administrator
*******


16
4,386 posts 106 threads Joined: Aug 2017
08-25-2023, 08:40 PM -
#4
No, but if you want to write a script you can use the update API
https://update.rpcs3.net/?api=v2&c=bf8621c9

c parameter is the current commit you're using, if there's a newer build then the return_code will reflect

/*
return_code
-3 - Illegal search
-2 - Maintenance mode
-1 - Current build is not a master build
0 - No newer build found
1 - Newer build found
*/

Possible return codes are as listed above
    Desktop: Ryzen 7 5800X,   Radeon RX 6800 XT, 2x8G DDR4 3600MHz, Manjaro Linux
     Laptop: Ryzen 9 5900HX,  Radeon RX 6700M,   2x8G DDR4 3200MHz, Manjaro Linux
Old Desktop: AMD FX-8350,     Radeon R9 280X,    2x4G DDR3 1600MHz, Manjaro Linux
LegzRweelz
Member


0
3 posts 1 threads Joined: Aug 2023
08-27-2023, 02:54 AM -
#5
(08-25-2023, 08:40 PM)Ani Wrote: No, but if you want to write a script you can use the update API
https://update.rpcs3.net/?api=v2&c=bf8621c9

c parameter is the current commit you're using, if there's a newer build then the return_code will reflect

/*
return_code
-3 - Illegal search
-2 - Maintenance mode
-1 - Current build is not a master build
0 - No newer build found
1 - Newer build found
*/

Possible return codes are as listed above
Awesome, thank you! I look forward to working with this and will report back with whatever I come up with. I am sure that someone is bound to have a use for this


Forum Jump:


Users browsing this thread: 1 Guest(s)