403 forbidden
-
@tobas That's up to the people that produced the script, ask them, maybe there's an alternative way.
-
my guess is that something may have pulled the 4.4 retropie script and because it operates on stretch instead of jessie, it caused the error.
with the TurboCD, the image backup should have all the config files and such on it, so it would just be a matter of coping and pasting
-
@drakaen391 hm. interesting. but how would I know which folder the config files are in?
so when I burn the image, my sd splits into a 'boot' sector, and a'retropie' sector, so essentially, I can just drag and drop the folders into the 'retropie' part instead of over the network?
...hang on...does that also mean that there's no reason I should be copying my files from the retropie to my computer over the network to begin with?
-
@mitu they really haven't been much help.
https://github.com/RetroFlag/retroflag-picase
these are the files on the github. I suppose if I could just take these and pop them on the pi it would be easy, but I don't know if it's that simple
-
@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
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.