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.1k 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.
    • mituM
      mitu Global Moderator @PISCES3988
      last edited by

      @pisces3988 Please don't bump your posts. This is not a chat - have patience.

      I type that command and I got mame.mp4, thats the mp4 file I named, Now what do I
      do next after typing that command?

      Please post the exact output of the command. If you're using a SSH session, just copy and paste the output.

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

        @mitu

        Can you please show me what your talking about so I will have a better understand?

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

          @pisces3988 Execute the command I've posted, then post the result. For instance:

          pi@pie4:~ $ ls $HOME/RetroPie/videoloadingscreens/
          ls: cannot access '/home/pi/RetroPie/videoloadingscreens/': No such file or directory
          pi@pie4:~ $
          
          P 1 Reply Last reply Reply Quote 0
          • P
            PISCES3988 @mitu
            last edited by

            @mitu

            Do I delete this command right here

            Screenshot_2020-11-30 Game launching video loading screens.png

            To type the one you just posted?

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

              @pisces3988 No, just type the command at the command prompt, after you log in to your Pi via SSH (or by exiting EmulationStation).

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

                @mitu

                I typed the command but all I get is a blackscreen then it just loads the game I select why is that???

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

                  @pisces3988 What command have you typed ? The ls command just lists files, it doesn't start anything.

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

                    @mitu

                    I typed the command that you showed me, was that the one I was supposed to type.

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

                      Exit EmulationStation right after you boot your Pi (press F4) and then type the command at the command prompt. I think you're just adding the ls command to the onstart script, which is not what I asked.

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

                        @mitu

                        I exited emulationstation like you told me then I tried to type the command and all I get
                        is command not found.

                        This is what I typed

                        pipie4:~ $ ls $HOME/RetroPie/videoloadingscreens/

                        I hit enter after the first command and all I get is command not found???

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

                          @pisces3988 said in Game launching video loading screens:

                          pipie4:~ $ ls $HOME/RetroPie/videoloadingscreens/

                          That's not the command I posted.

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

                            @mitu

                            I'm sorry I typed it like this

                            pi@pie4:~ $ ls $HOME/RetroPie/videoloadingscreens/

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

                              @pisces3988

                              What do I do next with this???

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

                                @pisces3988

                                To get this videoloadingscreens to work

                                1 Reply Last reply Reply Quote 0
                                • D
                                  dmmarti @PISCES3988
                                  last edited by

                                  @pisces3988
                                  You have a video file named: mame.mp4

                                  Do you have one named default.mp4?

                                  The error you pasted above is telling you that the file called default.mp4 couldn't be found.

                                  The updates made to the runcommand-onstart.sh only setup the code to launch the MP4 video files before the game.

                                  But..you will have to provide all of the MP4 files yourself. You will need an MP4 file named accordingly to each system's name.

                                  For example:

                                  default.mp4 (will play if no other system named one is found)
                                  atari2600.mp4
                                  nes.mp4
                                  snes.mp4
                                  mame.mp4 (which you already have)
                                  megadrive.mp4
                                  etc, etc.

                                  You will need an MP4 file for each system (named correctly) and placed into that videoloadingscreens folder.

                                  I currently have over 170 systems setup on my Pi 4 build. So, I have to have that same number of MP4 files - all named to match what the system name is (setup in the es_systems.cfg file).

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

                                    @dmmarti

                                    So if I name the mp4 file default.mp4 this could work or not?

                                    D 1 Reply Last reply Reply Quote 0
                                    • D
                                      dmmarti @PISCES3988
                                      last edited by

                                      @pisces3988
                                      Yes.

                                      The changes you made to the runcommand-onstart.sh script ... it sets up the code to execute when you launch a game...to play the MP4 file first.

                                      But..you yourself have to create/make/download/obtain the MP4 file(s). RetroPie does not come with them.

                                      Then, you copy them into that videoloadingscreens folder .. and name them appropriately.

                                      So yea....if you put an MP4 file named default.mp4 into that folder, when you launch a game, the runcommand-onstart.sh should play it before your game.

                                      Then, if you want to start having different MP4 files for each system (rather than the default.mp4 file)....you would obtain them, name them properly, and copy them into the same videoloadingscreens folder also.

                                      As I mentioned above, I have over 170 systems on my Pi 4 build. So. I have an MP4 file called default.mp4 along with 170 other MP4 files (one for each system so they are unique for each system)....all of them are located in the videoloadingscreens folder.

                                      P 3 Replies Last reply Reply Quote 0
                                      • P
                                        PISCES3988 @dmmarti
                                        last edited by

                                        @dmmarti

                                        I just tried that, I created and named the mp4 file default.mp4 and I just got a black screen and it just loaded the game like normal, still no loading screen.

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

                                          @dmmarti

                                          Someone else yesterday was telling me to type these 2 commands right here,

                                          Screenshot_2020-12-01 Game launching video loading screens.png

                                          Screenshot_2020-12-01 Game launching video loading screens(1).png

                                          and when I type the first one I got default.mp4 in pink letters but when I typed the second one it just said command not found

                                          can you please help me with that?

                                          D 1 Reply Last reply Reply Quote 0
                                          • D
                                            dmmarti @PISCES3988
                                            last edited by

                                            @pisces3988
                                            Can you explain how you typed the first one? From where?

                                            Also....I'm guessing you used an FTP program to copy the MP4 files to your Pi. If so, what "username" did you use? You should be using "pi" with the normal password.

                                            The second command you typed above is using the user "pi" and saying that directory does not exist. I'm guessing you pressed F4 to exit EmulationStation and typed it via a keyboard once you exited to the terminal window.

                                            So...I'm curious how you're running the first command? And from where?

                                            From the second command you typed above, that directory does not exist under the /home/pi/RetroPie directory. So I don't know what user you're using in your first command (that shows you the MP4 file).

                                            In the terminal window, if you type the word whoami and press <enter> .. please tell us what the output is. That will tell us what user you are logged in as and running these commands.

                                            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.