RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    403 forbidden

    Scheduled Pinned Locked Moved Help and Support
    helpupdate failed
    73 Posts 7 Posters 11.4k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • T
      tobas @mitu
      last edited by

      @mitu the NESpi case shutdown script. that's the whole reason behind this mess.

      1 Reply Last reply Reply Quote 0
      • T
        tobas @mitu
        last edited by

        @mitu it would be cool if there was a way to manually install it but I don't even know if that's possible

        mituM 1 Reply Last reply Reply Quote 0
        • Drakaen391D
          Drakaen391 @tobas
          last edited by

          @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

          RPi B & RPi 3B OC (Now Raspberry pi 4b 8gb)
          Retropie (Latest Stable)
          PiBox with Wind Tunnel Cooling System

          1 Reply Last reply Reply Quote 0
          • mituM
            mitu Global Moderator @tobas
            last edited by

            @tobas That's up to the people that produced the script, ask them, maybe there's an alternative way.

            T 1 Reply Last reply Reply Quote 0
            • Drakaen391D
              Drakaen391
              last edited by

              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

              RPi B & RPi 3B OC (Now Raspberry pi 4b 8gb)
              Retropie (Latest Stable)
              PiBox with Wind Tunnel Cooling System

              T 1 Reply Last reply Reply Quote 0
              • T
                tobas @Drakaen391
                last edited by

                @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?

                1 Reply Last reply Reply Quote 0
                • T
                  tobas @mitu
                  last edited by

                  @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

                  Drakaen391D 1 Reply Last reply Reply Quote 0
                  • Drakaen391D
                    Drakaen391 @tobas
                    last edited by

                    @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

                    RPi B & RPi 3B OC (Now Raspberry pi 4b 8gb)
                    Retropie (Latest Stable)
                    PiBox with Wind Tunnel Cooling System

                    T 1 Reply Last reply Reply Quote 0
                    • T
                      tobas @Drakaen391
                      last edited by

                      @drakaen391 oh, I'm not sure what part of that is the script though :( there's so many posts and so many lines

                      T 1 Reply Last reply Reply Quote 0
                      • T
                        tobas @tobas
                        last edited by

                        @tobas hoo boy, yeah I don't understand a thing going on in that thread

                        1 Reply Last reply Reply Quote -1
                        • Drakaen391D
                          Drakaen391
                          last edited by

                          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)

                          RPi B & RPi 3B OC (Now Raspberry pi 4b 8gb)
                          Retropie (Latest Stable)
                          PiBox with Wind Tunnel Cooling System

                          T 1 Reply Last reply Reply Quote 0
                          • T
                            tobas @Drakaen391
                            last edited by

                            @drakaen391 game lists, like favorites? that kind of thing?

                            1 Reply Last reply Reply Quote 0
                            • Drakaen391D
                              Drakaen391
                              last edited by

                              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 script

                              sudo 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
                              

                              RPi B & RPi 3B OC (Now Raspberry pi 4b 8gb)
                              Retropie (Latest Stable)
                              PiBox with Wind Tunnel Cooling System

                              T cyperghostC 4 Replies Last reply Reply Quote 0
                              • T
                                tobas @Drakaen391
                                last edited by

                                @drakaen391 ah I see. not sure how I can copy and paste those from inside the pi however

                                1 Reply Last reply Reply Quote 0
                                • cyperghostC
                                  cyperghost @Drakaen391
                                  last edited by

                                  @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.

                                  Drakaen391D 1 Reply Last reply Reply Quote 1
                                  • T
                                    tobas @Drakaen391
                                    last edited by

                                    @drakaen391 scrapes meaning snaps, boxart etc? those are in the roms folders I thought? at least that's where they are on my SD

                                    Drakaen391D T 2 Replies Last reply Reply Quote 0
                                    • Drakaen391D
                                      Drakaen391 @tobas
                                      last edited by

                                      @tobas it varies... the location I mentioned was the default location

                                      RPi B & RPi 3B OC (Now Raspberry pi 4b 8gb)
                                      Retropie (Latest Stable)
                                      PiBox with Wind Tunnel Cooling System

                                      T 1 Reply Last reply Reply Quote 0
                                      • Drakaen391D
                                        Drakaen391 @cyperghost
                                        last edited by

                                        @cyperghost please do...

                                        RPi B & RPi 3B OC (Now Raspberry pi 4b 8gb)
                                        Retropie (Latest Stable)
                                        PiBox with Wind Tunnel Cooling System

                                        cyperghostC 1 Reply Last reply Reply Quote 0
                                        • cyperghostC
                                          cyperghost @Drakaen391
                                          last edited by

                                          @drakaen391 I tag you in new post, too

                                          1 Reply Last reply Reply Quote 0
                                          • T
                                            tobas @Drakaen391
                                            last edited by

                                            @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.

                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            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.