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.3k 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 @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
                            • T
                              tobas @tobas
                              last edited by

                              @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

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

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

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

                                  @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

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

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

                                      @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

                                      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
                                      • mituM
                                        mitu Global Moderator @tobas
                                        last edited by

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

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

                                          @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

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

                                            @drakaen391 so I decided to try the little upgrade script from above, and it appears to be updating, at least things are downloading and unpacking,

                                            assuming that it's working as it should, that should upgrade retropie to 4.4?

                                            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.