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

    Updated Text-Hiding Code

    Scheduled Pinned Locked Moved Help and Support
    retropieasplashscreenhide code
    4 Posts 2 Posters 1.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.
    • G
      gusgorman
      last edited by

      Hi There,
      In my hunt to troubleshoot a feature for Retropie, I managed to find someone online who posted a solution. The only problem is that the solution was posted over two years ago. It might have worked on his version of Retropie, but not on the current one. So I'm hoping that someone more code-savvy here might be able to recognize why the gentleman's code no longer works, and whether there's a tweak we can do to it for the latest version of Retropie.

      What I'm trying to do is stop Retropie from showing the code it's running before starting a rom, and after exiting a rom going back to Attract Mode. I'd love for that text to be invisible to users. The gentleman who apparently solved it for an earlier version of Retropie posted his solution here. To keep this all in one place, here's what rhanded2 proposed:

      Change the asplashscreen file (located at /etc/init.d/asplashscreen) to have this code:

      #! /bin/sh
      ### BEGIN INIT INFO
      # Provides: asplashscreen
      # Required-Start:
      # Required-Stop:
      # Should-Start:
      # Default-Start: S
      # Default-Stop:
      # Short-Description: Show custom splashscreen
      # Description: Show custom splashscreen
      ### END INIT INFO
      
      do_start () {
      
      /usr/bin/fbi -T 1 -noverbose -a /home/pi/Splash/Splash.png
      exit 0
      }
      
      case “$1″ in
      start|””)
      do_start
      ;;
      restart|reload|force-reload)
      echo “Error: argument ‘$1’ not supported” >&2
      exit 3
      ;;
      stop)
      # No-op
      ;;
      status)
      exit 0
      ;;
      *)
      echo “Usage: asplashscreen [start|stop]” >&2
      exit 3
      ;;
      esac
      
      : 
      

      So does anyone see why that code no longer works with Retropie and whether a similar fix can be used with our current builds?

      Thanks so much for all your help!

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

        @gusgorman why not using launching images?

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

          Hi Meleu,
          Sorry, I should have mentioned that I did add launching images to my rom start-up. I made my own custom ones for each system, but now that I see your ridiculously cool script to generate launching images automatically, I feel like I wasted my time. I would have definitely used your tool had I known it existed. Congrats on creating such a cool, useful tool!

          But even when you use launching images, there's still a second or two of code-running text that appears on screen before the launching image loads, and then again when exiting the game back to Attract Mode (or ES). It's those brief flashes of on-screen code that I'm hoping to eliminate or hide. It's certainly not the end of the world if there isn't a way to do this, but I got a sense of hope when I came across rhanded2's post a couple of years ago with a solution that worked for him.

          Thanks again, Meleu.

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

            @gusgorman said in Updated Text-Hiding Code:

            there's still a second or two of code-running text that appears on screen before the launching image loads, and then again when exiting the game back to Attract Mode (or ES).

            When I use launching images it doesn't happen here. What version of RetroPie are you using? You can see it on the top left dialog of retropie_setup.

            • Useful topics
            • joystick-selection tool
            • rpie-art tool
            • achievements I made
            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.