RPCS3 Forums

Full Version: How to silently update Rpcs3 from CMD so I can run as a task
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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
Settings -> GUI -> Check for updates on startup -> Automatic
(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).
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
(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