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

    How to add an item retropiemenu (with icon and custom name)?

    Scheduled Pinned Locked Moved Help and Support
    scriptretropiemenubgm
    8 Posts 3 Posters 1.3k 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.
    • R
      retropie
      last edited by

      I added 2 custom scripts in .sh format to my retropie menu.
      They appear in the menu and work fine. However I would like to put an icon on them too like the other itens on the menu (audio, bluetooh, raspi-config, etc).
      How can I do this?

      There's also another thing that I would like to do:
      These scripts that I added are used to skip music and mute bgm. When I click on them, it opens the console for a few seconds, does it's job and returns to retropie. Is it possible to run the script without this window opening? Like clicking on the script, it does it's thing but without opening the console or changing anything on the screen.

      Thanks in advance,

      WeirdHW 1 Reply Last reply Reply Quote 0
      • WeirdHW
        WeirdH @retropie
        last edited by WeirdH

        @retropie For the icons, edit your gamelist.xml in 'configs/all/emulationstation/gamelists/retropie' and add the image-tag to let your entries point to an image of your choosing, for example:

        <image>/home/pi/RetroPie/retropiemenu/icons/bluetooth.png</image>
        

        As for your second question: I believe hiding screens can be done by sending them to another (non-existing) screen or something, with a tty-command, but I'm not Linux savvy enough to adequately help you with that.

        EDIT: this tutorial may also hold some useful information for what you want

        R 1 Reply Last reply Reply Quote 0
        • R
          retropie @WeirdH
          last edited by

          @weirdh Thanks, that's exactly what I wanted!
          As for my second question seems like it will be a difficult task.

          WeirdHW 1 Reply Last reply Reply Quote 0
          • R
            retropie
            last edited by

            I added 2 .sh scripts to my retropie menu.
            The scripts appear in the menu and work fine, I use them to mute bgm and skip to next track.
            However, when I run them the screen gets black (I belive it's the console) for a few seconds and then return to retropie.
            Is it possible to avoid this black screen and run the screen without any impact on screen for the user?
            I mean, clicking on the script and it just doing it's job without black screen/console/etc, and remaining in retropie screen.

            mituM 1 Reply Last reply Reply Quote 0
            • WeirdHW
              WeirdH @retropie
              last edited by WeirdH

              @retropie All I know is the 3rd bullet point on this page, stating 'console=tty3: hide more messages (redirect boot messages to the third console)', which apparently sends a bunch of text to a screen you don't actually see. Maybe that can help you?

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

                @retropie Pleas don't double post. I've merged your topics.

                R 1 Reply Last reply Reply Quote 0
                • R
                  retropie @mitu
                  last edited by retropie

                  @mitu I made another post because it was a differnt subject.
                  sorry

                  1 Reply Last reply Reply Quote 0
                  • R
                    retropie @WeirdH
                    last edited by

                    @weirdh I already put console=tty3 some days ago, but it doesn't really hide the console, it just leaves a black screen instead of text.
                    Actually, I don't really see the console when I run my scripts, I see a black screen. But since, I had console=tty3 I deduced that there would normally be console text instead of a black screen.
                    It will be difficult to completely hide that console/black screen, maybe it's not even possible.
                    Anyway, with the icons and detailed names in my scripts, it looks a lot better and 2 or 3 seconds of black screen isn't that bad I guess xD
                    Thanks!

                    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.