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

    Duration of splashscreens (runcommand)

    Scheduled Pinned Locked Moved Help and Support
    splashscreenruncommand
    21 Posts 9 Posters 6.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.
    • L
      Lukszgz
      last edited by

      Hi there!

      My name is Lucas and this is my first post altough I've been reading this forum for ages!

      Firstly, thanks to all the community who make this project possible, Retropie is awesome!!

      I have a problem regarding the duration of runcommand. I want to place splashscreens which shows the buttons map compared to the original console after selecting the game but before starting it! The issue is realted with time. Most of my family can't take a good look of the map and I would like to set the duration of this screen to 5 secs more or less.

      Is there any modification to the script which can solve this?

      Thank you and sorry for my english!

      meleuM mediamogulM 3 Replies Last reply Reply Quote 1
      • meleuM
        meleu @Lukszgz
        last edited by meleu

        @Lukszgz the file you wanna change is /opt/retropie/suplementary/runcommand.sh. Look for a line like this one:

        fbi -1 -t 2 -noverbose -a "$image" </dev/tty &>/dev/null
        

        Change the -t 2 argument with number of seconds you want. Be aware that any change you make will be lost after an update.

        Maybe @BuZz can consider adding this option in the runcommand config scriptmodule (since other users asked about how to do it before).

        • Useful topics
        • joystick-selection tool
        • rpie-art tool
        • achievements I made
        herb_fargusH L 2 Replies Last reply Reply Quote 1
        • AlexMurphyA
          AlexMurphy Banned
          last edited by

          It's line 900 in the current runcommand.sh file. Just in case anyone has trouble finding it.

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

            @meleu couldn't he just override that setting with a custom onstart script?

            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

            meleuM 1 Reply Last reply Reply Quote 0
            • meleuM
              meleu @herb_fargus
              last edited by

              @herb_fargus not exactly override that setting, but he can repeat some already existent logic from runcommand in the onstart script to show the image. But I think it would be an ugly makeshift.

              Thought better: do you mean editing that line in runcommand.sh using some sed trick in the onstart script? Uhmmm. I think it's simpler and less ugly... :-)

              • Useful topics
              • joystick-selection tool
              • rpie-art tool
              • achievements I made
              TMNTturtlguyT 1 Reply Last reply Reply Quote 0
              • TMNTturtlguyT
                TMNTturtlguy @meleu
                last edited by

                @meleu I just tried changing this value through ssh (putty) and it will not let me save as it says runcommand.sh is protected?

                AlexMurphyA meleuM 2 Replies Last reply Reply Quote 0
                • AlexMurphyA
                  AlexMurphy Banned @TMNTturtlguy
                  last edited by

                  @TMNTturtlguy Did you use sudo nano /filepath/?

                  1 Reply Last reply Reply Quote 0
                  • meleuM
                    meleu @TMNTturtlguy
                    last edited by

                    @TMNTturtlguy put sudo before the command you used to open the file.

                    • Useful topics
                    • joystick-selection tool
                    • rpie-art tool
                    • achievements I made
                    TMNTturtlguyT 1 Reply Last reply Reply Quote 0
                    • TMNTturtlguyT
                      TMNTturtlguy @meleu
                      last edited by

                      @meleu yup, dumb mistake...i know better than that. Sorry guys

                      1 Reply Last reply Reply Quote 0
                      • BuZzB
                        BuZz administrators
                        last edited by

                        I have added a configuration option now via runcommand config.

                        To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

                        TMNTturtlguyT meleuM 2 Replies Last reply Reply Quote 2
                        • TMNTturtlguyT
                          TMNTturtlguy @BuZz
                          last edited by

                          @BuZz if i update retropie will i get this update? thanks for adding this as an easy modification!

                          1 Reply Last reply Reply Quote 0
                          • mediamogulM
                            mediamogul Global Moderator @Lukszgz
                            last edited by

                            @Lukszgz said in Duration of splashscreens (runcommand):

                            I want to place splashscreens which shows the buttons map compared to the original console after selecting the game but before starting it!

                            That's a great idea. I might do the same on my setup as well.

                            RetroPie v4.5 • RPi3 Model B • 5.1V 2.5A PSU • 16GB SanDisk microSD • 512GB External Drive

                            1 Reply Last reply Reply Quote 0
                            • meleuM
                              meleu @Lukszgz
                              last edited by

                              @Lukszgz said in Duration of splashscreens (runcommand):

                              I want to place splashscreens which shows the buttons map compared to the original console after selecting the game but before starting it!

                              Would you mind in sharing your splashes with us?

                              • Useful topics
                              • joystick-selection tool
                              • rpie-art tool
                              • achievements I made
                              1 Reply Last reply Reply Quote 0
                              • B
                                bobbycopter
                                last edited by

                                Awesome idea! I like to see those splashes too.

                                1 Reply Last reply Reply Quote 0
                                • meleuM
                                  meleu @BuZz
                                  last edited by meleu

                                  @BuZz I've updated the wiki accordingly. But I don't know where to host the image, then I'm using this one here in the forum:

                                  0_1490801737241_runcommand_config.png

                                  • Useful topics
                                  • joystick-selection tool
                                  • rpie-art tool
                                  • achievements I made
                                  1 Reply Last reply Reply Quote 0
                                  • X
                                    xman73
                                    last edited by

                                    I've thought about this a couple weeks ago and this is a great idea! Just need some nice launch button mapping screens!

                                    1 Reply Last reply Reply Quote 0
                                    • L
                                      Lukszgz @meleu
                                      last edited by Lukszgz

                                      @meleu said in Duration of splashscreens (runcommand):

                                      @Lukszgz the file you wanna change is /opt/retropie/suplementary/runcommand.sh. Look for a line like this one:

                                      fbi -1 -t 2 -noverbose -a "$image" </dev/tty &>/dev/null
                                      

                                      Change the -t 2 argument with number of seconds you want. Be aware that any change you make will be lost after an update.

                                      Maybe @BuZz can consider adding this option in the runcommand config scriptmodule (since other users asked about how to do it before).

                                      Thank you so much! it worked like a charm! :)

                                      I had to override the chenges inside the pi, I couldn't do it via SSH. Nevertheless I am extremely grateful!!

                                      EDIT: I just noticed that "Controles" are "Controls" in English. Tomorrow I will modificate it and send again!

                                      meleuM 1 Reply Last reply Reply Quote 0
                                      • L
                                        Lukszgz
                                        last edited by

                                        0_1490819332131_launching - NES.png

                                        0_1490819360459_launching - Gameboy Advance v2.png

                                        I haven't time to work hard on this but will continue creating the splash screens as soon as possible if you like them ;)

                                        B 1 Reply Last reply Reply Quote 2
                                        • meleuM
                                          meleu @Lukszgz
                                          last edited by

                                          @Lukszgz Hey dude, you don't need to change it in the code anymore. Update your retropie setup and you'll get the option to change it using the runcommand config menu.

                                          Cheers.

                                          • Useful topics
                                          • joystick-selection tool
                                          • rpie-art tool
                                          • achievements I made
                                          X 1 Reply Last reply Reply Quote 0
                                          • X
                                            xman73 @meleu
                                            last edited by

                                            Bam, and it's done like that! Thanks @meleu !

                                            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.