RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login

    Game launching video loading screens

    Scheduled Pinned Locked Moved Ideas and Development
    emulationstatiolaunchingimageslaunchingvideos
    123 Posts 8 Posters 31.0k 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.
    • P
      PISCES3988 @dmmarti
      last edited by

      @dmmarti

      Ok I just typed the command echo $HOME and pressed enter and it said /home/pi in white letters and then I typed ls $HOME/RetroPie/videoloadingscreens/ and I got default.mp4 in pink letters.

      Then I tried to type the first command pi@pie4~ $ ls $HOME/RetroPie/videoloadingscreens

      when I hit enter it said command not found could'nt get passed that what went wrong???

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

        @pisces3988 said in Game launching video loading screens:

        ls $HOME/RetroPie/videoloadingscreens

        The command is

         ls $HOME/RetroPie/videoloadingscreens
        

        not

        pi@pie4~ $ ls $HOME/RetroPie/videoloadingscreens
        
        P 1 Reply Last reply Reply Quote 0
        • P
          PISCES3988 @mitu
          last edited by

          @mitu

          That's what I typed , I made a typing mistake.

          Where do I go from here now?

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

            @pisces3988 What is the output of the command ?

            P 1 Reply Last reply Reply Quote 0
            • P
              PISCES3988 @mitu
              last edited by

              @mitu

              The output of the command is default.mp4

              I know yesterday I told you that it said mame.mp4 but someone else told me to change it
              to default.mp4

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

                @pisces3988 OK, in this case - is the video playing or you still get the 'file not found' error ?

                P 1 Reply Last reply Reply Quote 0
                • P
                  PISCES3988 @mitu
                  last edited by

                  @mitu

                  I still get the file not found error

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

                    Can you post the output of the command

                    cat /dev/shm/runcommand.log
                    

                    Run the game like normal, then exit the game. From SSH (or a command line), type the command above and post the output.

                    P 1 Reply Last reply Reply Quote 0
                    • P
                      PISCES3988 @mitu
                      last edited by

                      @mitu

                      This is the output that I got

                      /opt/retropie/configs/all/runcommand-onstart.sh: line 7: /home/pi/RetroPie/videoloadingscreens/: Is a directory
                      Parameters:
                      Exexcuting: /opt/retropie/emulators/retroarch/bin/retroarch -L /opt/retropie/libretrocores/lr-mame2003/mame2003_libretro.so --config /opt/retropie/configs/mame-libretro/retroarch.cfg "/home/pi/RetroPie/roms/mame-libretro/1941j.zip" --appendconfig /dev/shm/retroarch.cfg

                      That's the output that I got.

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

                        The error in the log file indicates you've got an error in the /opt/retropie/configs/all/runcommand-onstart.sh, which should contain the commands explained in the topic starter.

                        Review the file and make sure all commands are correct, you capitalized the paths correctly, didn't add any extra spaces. You can upload the file - as is - to pastebin.com to check if there's anything wrong there.

                        P 1 Reply Last reply Reply Quote 0
                        • P
                          PISCES3988 @mitu
                          last edited by

                          @mitu

                          you mean this file I just typed?

                          /opt/retropie/configs/all/runcommand-onstart.sh: line 7: /home/pi/RetroPie/videoloadingscreens/: Is a directory
                          Parameters:
                          Exexcuting: /opt/retropie/emulators/retroarch/bin/retroarch -L /opt/retropie/libretrocores/lr-mame2003/mame2003_libretro.so --config /opt/retropie/configs/mame-libretro/retroarch.cfg "/home/pi/RetroPie/roms/mame-libretro/1941j.zip" --appendconfig /dev/shm/retroarch.cfg

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

                            @pisces3988 I mean /opt/retropie/configs/all/runcommand-onstart.sh.

                            P 2 Replies Last reply Reply Quote 0
                            • P
                              PISCES3988 @mitu
                              last edited by

                              @mitu

                              Well, I see a red line through retropie and a red line through runcommand-onstart.sh those are the only mistakes that I see.

                              ClydeC 1 Reply Last reply Reply Quote 0
                              • P
                                PISCES3988 @mitu
                                last edited by

                                @mitu

                                Where do I go on from here???

                                1 Reply Last reply Reply Quote 0
                                • ClydeC
                                  Clyde @PISCES3988
                                  last edited by

                                  @pisces3988 What red lines? The runcommand-onstart.sh is just a plain text file that should't have any colour codes or the like. How do you display the file on your machine?

                                  However, I think you really should upload your runcommand-onstart.sh to https://pastebin.com/ like @mitu suggested before. It's very hard for us to tell if or what is wrong with it just from your own descriptions.

                                  P 1 Reply Last reply Reply Quote 0
                                  • P
                                    PISCES3988 @Clyde
                                    last edited by

                                    @clyde

                                    Well the other person earlier to me to use a different command on the terminal, then they told me to use pastebin to check for errors that's what happened.

                                    The command the other person told me is

                                    cat /dev/shm/runcommand.log

                                    Do you know how to guide me with this command?

                                    mituM ClydeC 2 Replies Last reply Reply Quote 0
                                    • mituM
                                      mitu Global Moderator @PISCES3988
                                      last edited by

                                      @pisces3988 said in Game launching video loading screens:

                                      then they told me to use pastebin to check for errors that's what happened.

                                      I told you to check for any differences in your runcommand-onstart.sh file to the commands posted in the topic starter, not to use pastebin.com to check for errors. The cat /dev/shm/runcommand.logs showed you have some errors in the .sh file. As @Clyde said - and I also suggested in my previous post - upload the file to pastebin.com so we could see what it contains exactly.

                                      1 Reply Last reply Reply Quote 0
                                      • ClydeC
                                        Clyde @PISCES3988
                                        last edited by Clyde

                                        @pisces3988 In addition to what @mitu said, if your /opt/retropie/configs/all/runcommand-onstart.sh isn't longer than the 16 lines the instructions told you to add to this file, you could just post its contents here in a code block instead of uploading it to pastebin.com.

                                        This is a code block. You cane make one by clicking on the button named "code" with the symbol </> in the forum's editor.
                                        

                                        Just in the case that you have problems with the upload to pastebin.com. We only need to see the contents of your runcommand-onstart.sh in some way.

                                        P 1 Reply Last reply Reply Quote 0
                                        • P
                                          PISCES3988 @Clyde
                                          last edited by

                                          @clyde

                                          Can you explain how to use code block???

                                          P ClydeC 2 Replies Last reply Reply Quote 0
                                          • P
                                            PISCES3988 @PISCES3988
                                            last edited by

                                            @pisces3988

                                            Is this the runcommand-onstart.sh your talking about to upload to pastebin, This is the one I uploaded to pastebin

                                            pi@retropie:~ $ cat /dev/shm/runcommand/logs
                                            cat: /dev/shm/runcommand/logs: No such file or directory
                                            pi@retropie:~ $ cat /dev/shm/runcommand.logs
                                            cat: /dev/shm/runcommand.logs: No such file or directory
                                            pi@retropie:~ $ cat /dev/shm/runcommand.log
                                            /opt/retropie/configs/all/runcommand-onstart.sh: line 7: /home/pi/RetroPie/video loadingscreens/: Is a directory
                                            Parameters:
                                            Executing: /opt/retropie/emulators/retroarch/bin/retroarch -L /opt/retropie/libr etrocores/lr-mame2003/mame2003_libretro.so --config /opt/retropie/configs/mame-l ibretro/retroarch.cfg "/home/pi/RetroPie/roms/mame-libretro/1941j.zip" --appendc onfig /dev/shm/retroarch.cfg
                                            pi@retropie:~ $ /opt/retropie/configs/all/runcommand-onstart.sh: line 7: /home/p i/RetroPie/videoloadingscreens/: Is a directory
                                            -bash: /opt/retropie/configs/all/runcommand-onstart.sh:: No such file or directo ry
                                            pi@retropie:~ $ Parameters:
                                            -bash: Parameters:: command not found
                                            pi@retropie:~ $ Executing: /opt/retropie/emulators/retroarch/bin/retroarch -L /o pt/retropie/libretrocores/lr-mame2003/mame2003_libretro.so --config /opt/retropi e/configs/mame-libretro/retroarch.cfg "/home/pi/RetroPie/roms/mame-libretro/1941 j.zip" --appendconfig /dev/shm/retroarch.cfg

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