403 forbidden
-
@mitu the NESpi case shutdown script. that's the whole reason behind this mess.
-
@mitu it would be cool if there was a way to manually install it but I don't even know if that's possible
-
@tobas said in 403 forbidden:
@mitu @Drakaen391 definitely. I have an image backup and I'm making a backup of the 4 folders now. I did notice that the config wouldn't copy over for the most part but that's the least of my worries.
as long as the roms and menus and save games are okay. it took FOREVER to get my turbocd section just perfect. well most of my rom sections really, it's been a year or so worth of tweaking things I don't think my brain could handle it if that got nuked.
from what I can tell it'll probably take about 24 hours total to copy everything over my network, and then pop it back on over the network. I wish there was a quicker way :(
so I'm guessing once 4.4 is in place that script should install without any issues. either that or I'm gonna end up in the looney bin.
wish me luck fellas
There is....
Once you do the initial start up, shutdown the pi and put the SD card back into your computer, and just copy it on the SD card....
I do that with my roms because the PSX are directly extracted from the actual disk, so its close to 16 GB of PSx games... over my network it would be 3 hours.... but with the SD plugged into the computer it is 15 minutes
-
@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.
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.