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

    Auto-play video before loading ROM

    Scheduled Pinned Locked Moved Help and Support
    splash-videoplaystationvideo splashautoload video
    6 Posts 4 Posters 3.2k 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.
    • soggypeteS
      soggypete
      last edited by

      Does anyone know a smooth way of loading up a video before loading a ROM?

      For example, every time I select a psx rom I'd like to load the original playstation logo.

      Any thoughts?

      herb_fargusH 1 Reply Last reply Reply Quote 1
      • herb_fargusH
        herb_fargus administrators @soggypete
        last edited by

        @sphirst https://github.com/retropie/retropie-setup/wiki/runcommand#adding-custom-launching-images

        If you read the documentation it will answer 99% of your questions: https://retropie.org.uk/docs/

        Also if you want a solution to your problems read this first: https://retropie.org.uk/forum/topic/3/read-this-first

        1 Reply Last reply Reply Quote 0
        • soggypeteS
          soggypete
          last edited by

          You're an absolute legend. Will this work for videos too?

          herb_fargusH 1 Reply Last reply Reply Quote 0
          • C
            Concat
            last edited by

            No, I don't think so. You would probably have to write your own scripts for something like that.

            The PS intro does appear when resetting a game, and I think other emus have the option to turn it on when starting a game... but maybe no Rearmed.

            1 Reply Last reply Reply Quote 0
            • herb_fargusH
              herb_fargus administrators @soggypete
              last edited by

              @sphirst you may have to code in a script for onstart that calls omxplayer

              If you read the documentation it will answer 99% of your questions: https://retropie.org.uk/docs/

              Also if you want a solution to your problems read this first: https://retropie.org.uk/forum/topic/3/read-this-first

              1 Reply Last reply Reply Quote 0
              • synackS
                synack
                last edited by

                @sphirst You can accomplish this by editing your runcommand-onstart.sh script, as @herb_fargus mentioned.

                1. edit /opt/retropie/configs/all/runcommand-onstart.sh
                nano /opt/retropie/configs/all/runcommand-onstart.sh
                
                1. then paste the following into script (it checks if the system is psx, if so, play the mp4):
                [[ $1 == *psx* ]] && omxplayer -o both -b --layer 10001 /path/to/your/ps1.mp4
                
                1. lastly, which I'm not sure is even necessarily, but make it executable.
                chmod a+x /opt/retropie/configs/all/runcommand-onstart.sh
                

                In case you need it, here is the ps1 boot screen (mp4 format): https://dl.dropboxusercontent.com/u/23611685/video/ps1.mp4?dl=1

                1 Reply Last reply Reply Quote 1
                • 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.