• Recent
  • Tags
  • Popular
  • Home
  • Docs
  • Register
  • Login
RetroPie forum home
  • Recent
  • Tags
  • Popular
  • Home
  • Docs
  • Register
  • Login

How to change button icons? [DONE]

Scheduled Pinned Locked Moved Projects and Themes
themesretropieiconschange
65 Posts 15 Posters 27.9k 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.
  • J
    jacobfk20
    last edited by 23 Mar 2017, 00:53

    I Haven't gotten that far yet :)

    M 1 Reply Last reply 23 Mar 2017, 01:54 Reply Quote 0
    • J
      jacobfk20
      last edited by 23 Mar 2017, 01:48

      @masteryoer It compiled fine.
      I replaced the resources.h and resourceUtil.cpp with the newly generated ones and replaced all converted images.

      1 Reply Last reply Reply Quote 0
      • M
        masteryoer @jacobfk20
        last edited by 23 Mar 2017, 01:54

        @jacobfk20

        I got it!! Thanks for the help! (using your command, but there's t ypo it should be ResourceUtil.cpp not ResourcesUtil.cpp), and disabling Thumbs.db in windows, I was able to get a working build with my new UI changes in it

        Now I can continue to theme my xcade system :)

        1 Reply Last reply Reply Quote 1
        • J
          jacobfk20
          last edited by 23 Mar 2017, 02:06

          @masteryoer Glad you were able to get it :)

          So you used beta 0.3.2 right?

          1 Reply Last reply Reply Quote 0
          • M
            masteryoer
            last edited by 23 Mar 2017, 02:15

            Yes'sir. Now to dig deep into the bowls of the source code to find out where the font and select list highlight colors are changed at, as well as the background on the menu items. That's the next kicker!

            Thanks for the help!

            1 Reply Last reply Reply Quote 0
            • J
              jacobfk20
              last edited by 23 Mar 2017, 02:33

              Alright. I actually did a fork a while back that allows for more themeing of ES such as changing fonts, font color, window color, window background image and certain component properties. It allows for list color changing I think. /core/components/ComponentList.cpp Is a good start if you want to do your own thing. (I know my way around the source ;) )
              Here is a link to my fork that does the extra theme stuff (it's out dated)

              M 1 Reply Last reply 23 Mar 2017, 12:42 Reply Quote 0
              • M
                masteryoer @jacobfk20
                last edited by 23 Mar 2017, 12:42

                @jacobfk20

                Yep that's exactly where I was looking. Looks like around line:

                	Renderer::drawRect(0.0f, mSelectorBarOffset, mSize.x(), selectedRowHeight, wTheme->highlight_color,
                		GL_ONE, GL_ONE);
                

                If I can find where wTheme->highlight_color is declared

                1 Reply Last reply Reply Quote 0
                • J
                  jacobfk20
                  last edited by 23 Mar 2017, 13:08

                  wTheme is from my fork and not apart of the retropie fork. It assigns theme properties from an XML file.

                  Renderer::drawRect(0.0f, mSelectorBarOffset, mSize.x(), selectedRowHeight, 0x777777FF, GL_ONE, GL_ONE);
                  

                  This is what you'll see in the main branch. You can just change 0x7777777 to whatever color you want.

                  M 1 Reply Last reply 23 Mar 2017, 13:09 Reply Quote 0
                  • M
                    masteryoer @jacobfk20
                    last edited by 23 Mar 2017, 13:09

                    @jacobfk20

                    Yes'sir, I found it. I am working on it now :) Thanks for helping get this going for me. I hope to post screenshots up both the console and the UI/theme once I am finished with it.

                    I am starting to get used to where everything is in the code, so hopefully I can figure the rest of the stuff out :)

                    1 Reply Last reply Reply Quote 0
                    • H
                      hansolo77
                      last edited by 11 Jul 2017, 03:30

                      Has any attempt or progress been made on including an option to change the button layout per user selection from within EmulationStation? I followed the thread a bit, and it looks like the OP was able to get it fixed by recompiling the binary with the changes. This would cause any future updates to revert back to the defaults. I really think it would help a lot of people out if we came up with a solution that allows users to pick their controller from within ES, and have the icons change accordingly. Probably on some form of "wish list" in the RetroPie Git, but I have no idea where to find that. :)

                      Who's Scruffy Looking?

                      1 Reply Last reply Reply Quote 3
                      • S
                        Silent
                        last edited by Silent 18 Dec 2018, 14:12

                        I'll bump this thread, since it makes far more sense than creating a new one and cluttering the boards:

                        Has any progress on configurable prompts been made? There seems to be a GitHub issue regarding this, apparently with a solution: https://github.com/RetroPie/EmulationStation/issues/340
                        However as me and several other posters in that issue mentioned, the (vaguely) documented way does not seem to work.

                        It seems like a weird design choice to hardcode images, really.

                        M 1 Reply Last reply 18 Dec 2018, 17:17 Reply Quote 0
                        • M
                          mitu Global Moderator @Silent
                          last edited by 18 Dec 2018, 17:17

                          @Silent What exactly have you tried to do ?

                          S 1 Reply Last reply 18 Dec 2018, 19:25 Reply Quote 0
                          • S
                            Silent @mitu
                            last edited by 18 Dec 2018, 19:25

                            @mitu Quoting from the topic:

                            @Jakobud You can now override any of the button svgs by placing them in %home%/.emulationstation/resources

                            I therefore extracted the entire "resources" directory from ES github, modified some files to make it obvious that they are changed and relaunched rpi. As far as I can tell, that didn't work.

                            M 1 Reply Last reply 18 Dec 2018, 19:32 Reply Quote 0
                            • M
                              mitu Global Moderator @Silent
                              last edited by 18 Dec 2018, 19:32

                              @Silent Are you using the emulationstation-dev package or the normal emulationstation package in your system ? Those changes might be present only in the master branch of the project, but not yet in the stable branch (upon which the normal Emulationstation package is built).

                              S 1 Reply Last reply 18 Dec 2018, 20:01 Reply Quote 0
                              • S
                                Silent @mitu
                                last edited by 18 Dec 2018, 20:01

                                @mitu said in How to change button icons? [DONE]:

                                Are you using the emulationstation-dev package or the normal emulationstation package in your system ?

                                Gotcha, that could be it! I could have sworn I compared dates and I inferred that this should have been a part of mainline ES by now, but looks like it may not be.

                                Is it safe to just grab a -dev package right away or do I need to uninstall the main one first?

                                M 1 Reply Last reply 18 Dec 2018, 20:03 Reply Quote 0
                                • M
                                  mitu Global Moderator @Silent
                                  last edited by 18 Dec 2018, 20:03

                                  @Silent Just install the -dev package over, it will automatically uninstall the first one and keep some of the files needed by both.

                                  S 2 Replies Last reply 19 Dec 2018, 13:12 Reply Quote 0
                                  • S
                                    Silent @mitu
                                    last edited by 19 Dec 2018, 13:12

                                    @mitu Gotcha! I'll back up my SD card later today (really happy with my setup now, would be a shame to break it) and will give it a spin.

                                    1 Reply Last reply Reply Quote 0
                                    • S
                                      Silent @mitu
                                      last edited by 19 Dec 2018, 20:43

                                      @mitu I tried again with a -dev package and it indeed worked - good stuff :)

                                      1 Reply Last reply Reply Quote 0
                                      • paffleyP
                                        paffley
                                        last edited by paffley 21 May 2019, 13:01

                                        Hi, I know this is an old topic but thought that cause everything is here I'd post on this one.

                                        I cannot get my svg's to display in retropie for some reason.

                                        I have followed this -

                                        Reference files/folder structure:
                                        /opt/retropie/supplementary/emulationstation/resources/help

                                        Overwriteable by user:
                                        /opt/retropie/configs/all/emulationstation/resources/help

                                        Placed the new svg's in the above folder and it does not display the new icons. No icons are showing at all.

                                        Is there any specific way the svg need to be saved as? any special settings? Currently using Affinity Designer to edit the existing icons.

                                        Thanks in advance.

                                        1 Reply Last reply Reply Quote 0
                                        • paffleyP
                                          paffley
                                          last edited by 21 May 2019, 13:09

                                          I worked it out - needed to save svg as 'print' in AD. all working great :)

                                          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.

                                            [[user:consent.lead]]
                                            [[user:consent.not_received]]