RPCS3 Forums
How to silently update Rpcs3 from CMD so I can run as a task - Printable Version

+- RPCS3 Forums (https://forums.rpcs3.net)
+-- Forum: Community (https://forums.rpcs3.net/forumdisplay.php?fid=1)
+--- Forum: General Discussion (https://forums.rpcs3.net/forumdisplay.php?fid=16)
+--- Thread: How to silently update Rpcs3 from CMD so I can run as a task (/showthread.php?tid=206591)



How to silently update Rpcs3 from CMD so I can run as a task - LegzRweelz - 08-10-2023

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


RE: How to silently update Rpcs3 from CMD so I can run as a task - Ani - 08-18-2023

Settings -> GUI -> Check for updates on startup -> Automatic


RE: How to silently update Rpcs3 from CMD so I can run as a task - LegzRweelz - 08-22-2023

(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).


RE: How to silently update Rpcs3 from CMD so I can run as a task - Ani - 08-25-2023

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


RE: How to silently update Rpcs3 from CMD so I can run as a task - LegzRweelz - 08-27-2023

(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