Refresh emulation station games without restarting.
-
The hardware:
Pi Model or other hardware: (RaspberryPi 4B 2GB)
Power Supply used: (official Raspberry Pi power supply)
RetroPie Version Used (4.8 RPI 4/400):
Built From: (Raspberry PI imager v1.7.5)
USB Devices connected: Two 8bitDo SN30 controllers connected with USB.
MicroHD devices: Two Arzopa portable monutors Gamut G1.The Goal:
I would like to mark games as hidden during runtime and expect them to become hidden right away or the next time you open a specific console's gamelist. E.g I will update gameslist.xml through SSH, and I would like the next time a specific gamelist is opened this change to be reflected, alternatively it can do the same thing it does when you switch from Full to Kiosk, where it refreshes somehow only the UI.Is there a way for me to do that without restarting ?
-
Is there a way for me to do that without restarting ?
No.
-
mitu said:
No.
...however note that you can restart ES without rebooting the whole system. Its one of the options when you select "quit," restart takes about five seconds (edit: depends on your theme, some will take much longer to reload.)
-
Update , i found sudo systemctl restart autologin@tty1.service this command that restarts it gracefully, but I would not like to restart if a game is running and also refresh on game exit.
@sleve_mcdichael And can you do that with a command through SSH ? Essentially I mark the game as hidden and restart ES as part of a script.
Also it would be interesting what would happen if a game is running, would that break the game - but I can test that when I know how to do it. I will research in the meantime how to do a simple ES restart.
I have noticed that when I switch from Full to Kiosk mode, it refreshes for a second and moves on with the changes. Do you know whether I can simulate that refresh somehow through SSH?
-
...
-
@MiroKostovBG said in Refresh emulation station games without restarting.:
@sleve_mcdichael And can you do that with a command through SSH ?
Maybe something like:
pkill emulationstatio && emulationstation
(Note the misspelled emulationstatio in the first one -- this is intentional.)
This tries to kill ES and then, only if that worked, restart it.
Also it would be interesting what would happen if a game is running, would that break the game
This I'm not sure but should be easy enough to test using the above.
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.