• Recent
  • Tags
  • Popular
  • Home
  • Docs
  • Register
  • Login
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

Showing text on top of Emulationstation window

Scheduled Pinned Locked Moved Help and Support
retropietext
6 Posts 4 Posters 453 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.
  • M
    Microwave565
    last edited by 11 Jun 2023, 17:19

    I've been building an arcade cabinet with Retropie for the last couple months and I am a few steps away from finishing.

    What I've been trying to achieve for some time now though is to get text to be shown like for example "Please insert coin" when a game is launched, let's say for example Pac-Man.nes. But the closest I got to it was to getting the text shown when launching the script from terminal. As far as I understand the script successfully detects when Pac-Man.nes is launched and shows the text but it is not visible since the game's window overlays the one where text is shown. As extra info I've been trying to achieve this using the Pygame library.

    I'm not sure if the approach is correct and I'm really hoping this is achievable since it's quite a must be for the project. Hopefully anyone has any deeper understanding in this.

    W 1 Reply Last reply 11 Jun 2023, 17:56 Reply Quote 0
    • W
      WeirdH @Microwave565
      last edited by 11 Jun 2023, 17:56

      @Microwave565 If you just want a screen that says or shows something while the game is launched, you have to copy any launching.png that you either made or found to your system (don't know the exact folder from memory, sorry) and then configure runcommand (see Retropie Options submenu) to use art.

      M 1 Reply Last reply 11 Jun 2023, 18:02 Reply Quote 0
      • M
        Microwave565 @WeirdH
        last edited by 11 Jun 2023, 18:02

        @WeirdH oh thank you. but is it also possible to then remove that picture when a pin on RPI gets signal?

        I have an optical sensor set to detect coins. So when the sensor detects it is it possible to remove that picture from the screen?

        1 Reply Last reply Reply Quote 0
        • M
          mitu Global Moderator
          last edited by 11 Jun 2023, 18:55

          No, that's not possible, once the emulator starts, it takes over the display and starts the game.

          1 Reply Last reply Reply Quote 0
          • S
            sleve_mcdichael
            last edited by sleve_mcdichael 6 Nov 2023, 21:16 11 Jun 2023, 20:06

            Both runcommand and EmulationStation have scripting features that can be run before launch -- maybe this could be used to display an image onscreen, then hold for input?

            https://retropie.org.uk/docs/Runcommand/#runcommand-scripts

            https://retropie.org.uk/docs/EmulationStation/#scripting

            M 1 Reply Last reply 11 Jun 2023, 20:19 Reply Quote 0
            • M
              Microwave565 @sleve_mcdichael
              last edited by 11 Jun 2023, 20:19

              @sleve_mcdichael hmm that looks promising. I'll try to do any good with that in the following days. I really appreciate the help!

              1 Reply Last reply Reply Quote 0
              6 out of 6
              • First post
                6/6
                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.

                This community forum collects and processes your personal information.
                consent.not_received