403 forbidden
-
@tobas yea....
So, there is a better (IMO) safe shutdown script....
https://retropie.org.uk/forum/topic/17258/modify-a-safe-shutdown-script/20
Try this one instead
-
@drakaen391 oh, I'm not sure what part of that is the script though :( there's so many posts and so many lines
-
@tobas hoo boy, yeah I don't understand a thing going on in that thread
-
I'll try to redo it in a way to copy and paste
Regarding backup, the fastest way is always direct.
The config files will be located in /opt/retropie/configs
If you want to save your game lists, they are in /home/.emulationstation (its a hidden file)
-
@drakaen391 game lists, like favorites? that kind of thing?
-
I don't think favorites, but all the scrapes will be saved
here is the shutdown script
follow these steps in order top to bottom
First we need to create a scriptsudo nano /etc/killes.sh
then copy and paste the following script
#!/bin/bash ESPID="$(pgrep -f "/opt/retropie/supplementary/.*/emulationstation([^.]|$)")" if [ -n "$ESPID" ]; then touch /tmp/es-shutdown && chown pi:pi /tmp/es-shutdown kill "$ESPID" while s=$(ps -p "$ESPID" -o s=) && [ "$s" ] && [ "$s" != 'Z' ]; do sleep 1 done fi sleep 1
Next press ctrl-x and save it
Next Make it exacutable
chmod a+x /etc/killes.sh
next we will create the service script
sudo nano /etc/systemd/system/killes.service
copy and paste the following
[Unit] Description=Kill EmulationStation After=autologin@tty1.service [Service] Type=oneshot RemainAfterExit=true ExecStop=/etc/killes.sh [Install] WantedBy=multi-user.target
Now to wrap it all up and enable it
sudo systemctl enable killes
-
@drakaen391 ah I see. not sure how I can copy and paste those from inside the pi however
-
@drakaen391 This script is based on the ES-shutdown version 1.2
It won't work if there is an emulator currently running. I think I will repost a better script basis. -
@drakaen391 scrapes meaning snaps, boxart etc? those are in the roms folders I thought? at least that's where they are on my SD
-
@tobas it varies... the location I mentioned was the default location
-
@cyperghost please do...
-
@drakaen391 I tag you in new post, too
-
@drakaen391 okay just checked (I'm monitoring the transfer from work XD) so the config folder holds the overall emulator/retroarch configs, and the individual emulator config files. no scrapes thank god.
message popped up that many files in that folder couldnt be copied without administrative permission, which I should have? but I'll deal with that folder last I guess, it's small so transferring it is fast if I can figure out how.
-
@tobas so the transfer looks like it got everything, config files included. I hope I can just drag and drop them back onto the card when I burn 4.4
-
@drakaen391 update for those interested,
4.4 worked perfectly. The Nespi downloaded the script and installed correctly. Now I'm putting back the contents of my backed up folders onto the freshly flashed SD over my network.
Hopefully this will result in an image exactly like I had with a shiny new 4.4 software package underneath.
-
@tobas said in 403 forbidden:
@drakaen391 update for those interested,
4.4 worked perfectly. The Nespi downloaded the script and installed correctly. Now I'm putting back the contents of my backed up folders onto the freshly flashed SD over my network.
Hopefully this will result in an image exactly like I had with a shiny new 4.4 software package underneath.
Glad it worked
-
@drakaen391 welp. yes. the new flashed card worked perfectly. the roms and bios etc transferred without issue. but now I don't have attract mode anymore, my categories are all screwed up etc. as in pretty much they don't exist anymore.
I don't know what to do anymore :( I wish I could just get the script to install properly on my original image.
or at least if I could get retropie updated to 4.4 on it maybe it would install properly.
-
@tobas well, 4.4 uses a completely different version of Raspbian as Jessie is obsolete now...
I don’t know much of attract mode, but the categories should be easy to redo from the emulation Station Menu
-
@tobas If your setup included attract mode, then you can install it from the experimental packages section of the RetroPie setup script. How did you set-up Attact mode in the original image ?
-
@mitu I used a pre-built image. It came with attract mode and most systems already prepped. I just built off that.
I wish I could just update to 4.4 from that one
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.