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

    What am I doing wrong with shortcuts?

    Scheduled Pinned Locked Moved Help and Support
    retroarchemustation
    28 Posts 5 Posters 2.5k 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.
    • F
      Folly @JimmyFromTheBay
      last edited by Folly

      @JimmyFromTheBay

      Can you check what is saved in the gamelist.xml if you use the relative path ?

      Might be that, when it is saved, it will work later in the menu of selecting a rom.

      Just like @Thorr69 says, when you enter the relative path in emulationstation it's not in the menu of selecting a rom and therefor it could be that it uses a different directory at that particular moment and therefor the picture isn't found and displayed.

      J 1 Reply Last reply Reply Quote 0
      • J
        JimmyFromTheBay @Folly
        last edited by JimmyFromTheBay

        @Folly said in What am I doing wrong with shortcuts?:

        @JimmyFromTheBay

        Can you check what is saved in the gamelist.xml if you use the relative path ?

        What gets saved by my current (working) method (typing /home/pi/pics/nes/gamename.jpg) is this:

        <image>~/pics/nes/gamename.jpg</image>
        

        The non-working method just saves exactly what I type into the box in EmulationStation, eg:

        <image>./nespics/gamename.jpg</image>
        

        Typing ~/nespics/gamename.jpg with the wibbly tilde symbol doesn't work either.

        Raspberry Pi 3b and 8GB Raspberry Pi 4, both running Retropie 4.7.1 installed from scratch using Raspberry Pi Imager, with wired keyboard, wireless mouse and double arcade joystick attached.

        F 1 Reply Last reply Reply Quote 0
        • F
          Folly @JimmyFromTheBay
          last edited by Folly

          @JimmyFromTheBay

          Typing ~/nespics/gamename.jpg with the wibbly tilde symbol doesn't work either.

          ( /home/pi = ~ )

          And when you put the gamename.jpg in :
          /home/pi/nespics/gamename.jpg
          And use :
          ~/nespics/gamename.jpg

          Does it work then ?

          J 1 Reply Last reply Reply Quote 0
          • J
            JimmyFromTheBay @Folly
            last edited by

            @Folly No.

            Raspberry Pi 3b and 8GB Raspberry Pi 4, both running Retropie 4.7.1 installed from scratch using Raspberry Pi Imager, with wired keyboard, wireless mouse and double arcade joystick attached.

            F 1 Reply Last reply Reply Quote 0
            • F
              Folly @JimmyFromTheBay
              last edited by Folly

              @JimmyFromTheBay

              I did some tests just like how you probably do it.

              For me it works though I have to restart emulationstation when using ( I use a .png) :
              ./nespics/gamename.png (/home/pi/roms/nes/nespics/gamename.png)
              ~/nespics/gamename.png (/home/pi/nespics/gamename.png)

              Just as you say, when using :
              /home/pi/nespics/gamename.png
              Then it works directly without restarting emulationstation.

              Seems to me it's related to the "relative paths". For me it seems like an issue of emulationstation.

              I have made some pics :
              2022-09-01-152548_1600x900_scrot_resized.png
              2022-09-01-152554_1600x900_scrot_resized.png
              When using :
              2022-09-01-152621_1600x900_scrot_resized.png
              Or when using :
              2022-09-01-153148_1600x900_scrot_resized.png
              Nothing shows up after saving the metadata :
              2022-09-01-153513_1600x900_scrot_resized.png
              After a restart it shows up :
              2022-09-01-152944_1600x900_scrot_resized.png

              S J 2 Replies Last reply Reply Quote 0
              • S
                smartgenes @Folly
                last edited by

                @Folly @JimmyFromTheBay It looks to me like there's a discrepancy between the two shortcuts, they don't look exactly the same to me, I think you need to add or remove a /nes/ or something like that.

                F 1 Reply Last reply Reply Quote 0
                • F
                  Folly @smartgenes
                  last edited by Folly

                  @smartgenes said in What am I doing wrong with shortcuts?:

                  @Folly @JimmyFromTheBay It looks to me like there's a discrepancy between the two shortcuts, they don't look exactly the same to me, I think you need to add or remove a /nes/ or something like that.

                  Correct these are not the same, but @JimmyFromTheBay tested both options to see what worked, so I tested it too.

                  ./nespics/gamename.png (= /home/pi/roms/nes/nespics/gamename.png)
                  ~/nespics/gamename.png (= /home/pi/nespics/gamename.png)

                  S 1 Reply Last reply Reply Quote 0
                  • S
                    smartgenes @Folly
                    last edited by

                    @Folly I mean, I think Jimmy's are not correct rather than yours, but it gets a bit mind-bending thinking of the links.

                    F 1 Reply Last reply Reply Quote 0
                    • F
                      Folly @smartgenes
                      last edited by Folly

                      @smartgenes

                      Could be, therefor I placed the pictures to try and simplify the problem.
                      Though the relative links are important here as @JimmyFromTheBay want's to type as little as possible.

                      1 Reply Last reply Reply Quote 0
                      • J
                        JimmyFromTheBay @Folly
                        last edited by

                        @Folly Hmm, nope, restarting ES after entering ~/nespics/gamename.jpg makes no difference for me. This is all most perplexing.

                        Raspberry Pi 3b and 8GB Raspberry Pi 4, both running Retropie 4.7.1 installed from scratch using Raspberry Pi Imager, with wired keyboard, wireless mouse and double arcade joystick attached.

                        F 1 Reply Last reply Reply Quote 0
                        • F
                          Folly @JimmyFromTheBay
                          last edited by Folly

                          @JimmyFromTheBay

                          Very strange !

                          Can you post an output of an ls command, like this ?

                          pi@raspberrypi:~ $ ls -l /home/pi/nespics/
                          total 24
                          -rw-r--r-- 1 pi pi 23528 Sep  1 15:19 gamename.png
                          
                          J 2 Replies Last reply Reply Quote 0
                          • J
                            JimmyFromTheBay @Folly
                            last edited by

                            @Folly I also tried putting the JPG inside the images folder inside the roms folder (ie it's in roms/nes/images, no shortcuts involved) and typing ~/images/gamename.jpg still doesn't work, with or without a restart.

                            Raspberry Pi 3b and 8GB Raspberry Pi 4, both running Retropie 4.7.1 installed from scratch using Raspberry Pi Imager, with wired keyboard, wireless mouse and double arcade joystick attached.

                            F S 2 Replies Last reply Reply Quote 0
                            • J
                              JimmyFromTheBay @Folly
                              last edited by

                              @Folly said in What am I doing wrong with shortcuts?:

                              @JimmyFromTheBay

                              Very strange !

                              Can you post an output of an ls command, like this ?

                              pi@raspberrypi:~ $ ls -l /home/pi/nespics/
                              total 24
                              -rw-r--r-- 1 pi pi 23528 Sep  1 15:19 gamename.png
                              

                              I don't even know where to type that :D

                              Raspberry Pi 3b and 8GB Raspberry Pi 4, both running Retropie 4.7.1 installed from scratch using Raspberry Pi Imager, with wired keyboard, wireless mouse and double arcade joystick attached.

                              S F 2 Replies Last reply Reply Quote 0
                              • F
                                Folly @JimmyFromTheBay
                                last edited by Folly

                                @JimmyFromTheBay

                                We tried, looks like we are on a dead end.

                                I even used a linked directory now :
                                /home/pi/nespics (link to /opt/retropie/configs/all/emulationstation/downloaded_images/nes )
                                That work too for me.

                                How is it going when you edit the gamelist.xml directly ?

                                1 Reply Last reply Reply Quote 0
                                • S
                                  smartgenes @JimmyFromTheBay
                                  last edited by

                                  @JimmyFromTheBay Try adding -image.jpg instead to your non-link example in the sub folder images and see if that works.

                                  J 1 Reply Last reply Reply Quote 0
                                  • S
                                    smartgenes @JimmyFromTheBay
                                    last edited by smartgenes

                                    @JimmyFromTheBay You can quit to a command line from emulationstation I think and enter the ls command there. (I have a raspbian desktop alongside with a terminal window myself)

                                    1 Reply Last reply Reply Quote 1
                                    • F
                                      Folly @JimmyFromTheBay
                                      last edited by Folly

                                      @JimmyFromTheBay

                                      You talked about symlinks, how do you create them ?

                                      S 1 Reply Last reply Reply Quote 0
                                      • S
                                        smartgenes @Folly
                                        last edited by

                                        @Folly I'm pretty baffled that there's symlinks being created without a terminal or ssh... Using Windows network folder?

                                        Also at one point there was the mention that the regular, non-link method didn't work.

                                        So I think there may be two issues.

                                        1. Understanding the general method of doing the images
                                        2. Something wrong with the link you made

                                        For 1.
                                        A.) Make sure the game file name and image are exactly the same (no capitals, no extra fullstops, extra spaces etc)
                                        B.) Make sure that the image actually works and is not a partial download or something - and that it is actually a .jpg not .png or something else
                                        C.) At the moment you're editing in emulationstation, so it doesn't apply, but if you edit the gamelist.xml in a terminal, create some metadata for the game first in emulationstation, such as genre or developer, as there needs to be some data for the game to have an entry in the gamelist.xml (editing the .XML is a much better method than typing it in emulationstation).
                                        D.) Restart emulationstation to see the changes

                                        1. Check the text of those links - what you posted here has some discrepancies, e.g. one says configs another says configs.hdmi. Does your nonworking link have a typo in it? Are you sure that your nonworking link method is actually a functional link?

                                        Make sure the relative path is ./blah/blah not /blah/blah

                                        1. Make sure the image is actually where you are looking for it: in a sub folder /nes/ in your link

                                        Am I right in thinking that you might be describing links on two DIFFERENT raspberry pis?

                                        There was something odd you said about not being able to add a link because you didn't have permissions further down, but the roms folder is further down, so I'm not sure exactly what you meant.

                                        Hope we can find the issue.

                                        F 1 Reply Last reply Reply Quote 0
                                        • F
                                          Folly @smartgenes
                                          last edited by Folly

                                          @smartgenes said in What am I doing wrong with shortcuts?:

                                          @Folly I'm pretty baffled that there's symlinks being created without a terminal or ssh... Using Windows network folder?

                                          Also at one point there was the mention that the regular, non-link method didn't work.

                                          So I think there may be two issues.

                                          1. Understanding the general method of doing the images
                                          2. Something wrong with the link you made

                                          For 1.
                                          A.) Make sure the game file name and image are exactly the same (no capitals, no extra fullstops, extra spaces etc)
                                          B.) Make sure that the image actually works and is not a partial download or something - and that it is actually a .jpg not .png or something else
                                          C.) At the moment you're editing in emulationstation, so it doesn't apply, but if you edit the gamelist.xml in a terminal, create some metadata for the game first in emulationstation, such as genre or developer, as there needs to be some data for the game to have an entry in the gamelist.xml (editing the .XML is a much better method than typing it in emulationstation).
                                          D.) Restart emulationstation to see the changes

                                          1. Check the text of those links - what you posted here has some discrepancies, e.g. one says configs another says configs.hdmi. Does your nonworking link have a typo in it? Are you sure that your nonworking link method is actually a functional link?

                                          Make sure the relative path is ./blah/blah not /blah/blah

                                          1. Make sure the image is actually where you are looking for it: in a sub folder /nes/ in your link

                                          Am I right in thinking that you might be describing links on two DIFFERENT raspberry pis?

                                          There was something odd you said about not being able to add a link because you didn't have permissions further down, but the roms folder is further down, so I'm not sure exactly what you meant.

                                          Hope we can find the issue.

                                          @JimmyFromTheBay

                                          The post is meant for you.

                                          Btw.
                                          I will go on vacation tomorrow so I will probably not reply for 2 or 3 weeks.

                                          1 Reply Last reply Reply Quote 0
                                          • J
                                            JimmyFromTheBay @smartgenes
                                            last edited by JimmyFromTheBay

                                            @smartgenes said:

                                            @JimmyFromTheBay Try adding -image.jpg instead to your non-link example in the sub folder images and see if that works.

                                            No difference.

                                            @Folly said:

                                            @JimmyFromTheBay

                                            You talked about symlinks, how do you create them ?

                                            In WinSCP, just right-click in the folder, select "New" and then "Link".

                                            @smartgenes said:

                                            Make sure that the image actually works and is not a partial download or something - and that it is actually a .jpg not .png or something else

                                            There's nothing wrong with the image, it works fine using the normal full links.

                                            @smartgenes said):

                                            one says configs another says configs.hdmi

                                            configs is just a shortcut to configs.hdmi.

                                            @smartgenes said in What am I doing wrong with shortcuts?:

                                            ./blah/blah not /blah/blah

                                            I've tried every imaginable combination of slashes, dots, tildes and nothing.

                                            @smartgenes said:

                                            Am I right in thinking that you might be describing links on two DIFFERENT raspberry pis?

                                            No.

                                            @smartgenes said:

                                            not being able to add a link because you didn't have permissions further down

                                            Sorry, I should have been clearer - what I meant by that was further BACK, ie in the root folder where the home and opt folders etc are.

                                            @smartgenes said:

                                            create some metadata for the game first in emulationstation

                                            All the games are already in gamelist.xml. (The reason I want to do it in ES is that it's MUCH quicker if you're only adding a couple of pics, because to do it by editing gamelist.xml you basically need to reboot the Pi twice, which takes about 3-4 minutes.

                                            Raspberry Pi 3b and 8GB Raspberry Pi 4, both running Retropie 4.7.1 installed from scratch using Raspberry Pi Imager, with wired keyboard, wireless mouse and double arcade joystick attached.

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