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

    Customizing the Star Rating?

    Scheduled Pinned Locked Moved Help and Support
    themecustomisationsstar rating
    10 Posts 3 Posters 3.7k 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.
    • S
      ShawnS
      last edited by

      I guess I should start by asking is it possible to theme the star rating? I've seen in several themes they contain the .svg files with the filled and unfilled stars but when I try to replace them in my own theme they remain the same standard stars.

      I've checked the filledpath and unfilledpath and those are pointing to the right files. What else am I missing or is it just not possible any longer? Thanks as always for the helps guys!

      1 Reply Last reply Reply Quote 0
      • RookervikR
        Rookervik Global Moderator
        last edited by

        You can customize your star rating with any image you want. You also don't have to stick with SVG. You can use PNG if you want. I created some mario-esque stars for my pixel theme. The code I used was:

        		<rating name="md_rating">
        			<pos>0.774 0.568</pos>
        			<size>0.192 0.030</size>
        			<filledPath>./art/star_filled.svg</filledPath>
        			<unfilledPath>./art/star_empty.svg</unfilledPath>
        		</rating>
        

        Gives:
        0_1478563714386_Untitled-1.png

        1 Reply Last reply Reply Quote 0
        • RookervikR
          Rookervik Global Moderator
          last edited by

          And for the 'modern' theme...

          		<rating name="md_rating">
          			<pos>0.485 0.466</pos>
          			<size>0.295 0.038</size>
          			<filledPath>./assets/heart_full.png</filledPath>
          			<unfilledPath>./assets/heart_empty.png</unfilledPath>
          		</rating>
          

          0_1478563930374_Untitled-1.png

          mattrixkM S 2 Replies Last reply Reply Quote 0
          • mattrixkM
            mattrixk @Rookervik
            last edited by

            @Rookervik: Is that 'modern' theme a new one, or an old one that I missed? I like the idea of icons instead of text for the metadata.

            @ShawnS: Sorry to hijack your thread, but Rook's answer was the right one, so I don't really have anything else to add.

            My ES themes: MetaPixel | Spare | Io | Indent

            RookervikR 1 Reply Last reply Reply Quote 0
            • RookervikR
              Rookervik Global Moderator @mattrixk
              last edited by

              @mattrixk modern is waiting on me to get in touch with herb to see if I should include something or not. Then I can release it. Workbench I finished last week. Buzz is using it. I wasn't going to release it to public but I think Buzz wants everyone to have access to it.

              mattrixkM 1 Reply Last reply Reply Quote 0
              • mattrixkM
                mattrixk @Rookervik
                last edited by

                @Rookervik I did some google-fu, found it on your github and checked it out on my portable windows ES install. It looks good, but it's a little odd with the missing background image (which <path>/home/pi/RetroPie/splashscreens/modern/bg.png</path> obviously wouldn't find on a windows ES install).

                My ES themes: MetaPixel | Spare | Io | Indent

                RookervikR 1 Reply Last reply Reply Quote 0
                • S
                  ShawnS @Rookervik
                  last edited by

                  @Rookervik that's the filename and files I've replaced with my own versions -- the filled and unfilledpath -- but I couldn never get them to visually change in my theme. They always showed the default stars no matter how I changed it. I had only tested on Herb's portable version though, not on my actual Pi, I don't know if that would make the difference.

                  RookervikR 1 Reply Last reply Reply Quote 0
                  • RookervikR
                    Rookervik Global Moderator @mattrixk
                    last edited by Rookervik

                    @mattrixk Yeah, I haven't released it. So no kidding it looks weird. I'd appreciate it if my work stayed off other peoples' machines until I release it on the forum. I placed these things on github because of how the retropie installer works. I didn't place them there for the world to critique it mid-process.

                    mattrixkM 1 Reply Last reply Reply Quote 0
                    • RookervikR
                      Rookervik Global Moderator @ShawnS
                      last edited by

                      @ShawnS

                      Also remember that there is the main <theme>.xml in the root folder, and then each console has it's own "theme.xml" Keep in mind that the theme.xml will overwrite anything that has been set in the main XML file. So if you have a <rating> section in the main xml, and a <rating> section in the theme.xml for a console, then the console xml will be rendered. There are also several views for each system. Detailed, Basic... no others are currently supported by RetroPie ES. So make sure your changes to <rating> are in the <detailed> section.

                      1 Reply Last reply Reply Quote 0
                      • mattrixkM
                        mattrixk @Rookervik
                        last edited by

                        @Rookervik: That is completely understandable and you have my apologies. I look forward to seeing it in its completed state when you are ready to release it to the world.

                        My ES themes: MetaPixel | Spare | Io | Indent

                        1 Reply Last reply Reply Quote 1
                        • 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.