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

    Replace Metadata values with an image.

    Scheduled Pinned Locked Moved Projects and Themes
    metadata valuesretropiediy themes
    11 Posts 3 Posters 3.0k 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.
    • H
      Henrik
      last edited by

      Hi.

      I have never tried to make my on theme for RetroPie before, and therefore a bit of a noob.

      I have an idea about the design. But I was woundering if it is possible to replace a metadata value with an image.
      In this particular question, the “md_genre” value

      I guess it's possible since “md_rating” value is being replaced with stars.
      Or is it hardcoded in the system?

      DarkWolfD 1 Reply Last reply Reply Quote 0
      • DarkWolfD
        DarkWolf @Henrik
        last edited by

        @Henrik
        The md_rating value is converted into a row of images within the code (if there are filled/unfilled pictures)...
        Other metadata variables (excluding for example box art) are texts/labels, so yes, they are hardcoded

        System: Raspberry 3 Model B, RetroPie 4.2.1
        Storage: 16gb Micro SD, 64gb USB Drive
        Theme: Updated NBBA

        Documentation solves many problems: https://retropie.org.uk/docs/

        1 Reply Last reply Reply Quote 0
        • H
          Henrik
          last edited by

          It's to bad, but I apriciate your reply.
          The coding in the xml files looks very similar to css coding, so it's kind of understandable.

          Have a nice weekend.

          S 1 Reply Last reply Reply Quote 0
          • S
            Syhles @Henrik
            last edited by Syhles

            @Henrik
            Look at the Modern theme, the metadata fields all have custom icons.

            You just have to do some cheap tricks with the XML to accomplish this.

            Also what exactly are trying to accomplish? I may be able to help point you in the right direction as far as the XML side of things is concerned.

            DarkWolfD 1 Reply Last reply Reply Quote 1
            • DarkWolfD
              DarkWolf @Syhles
              last edited by

              @Syhles Oh, that's neat...
              I don't now much about XML files/syntacs, whatever, so thanx for adding this

              System: Raspberry 3 Model B, RetroPie 4.2.1
              Storage: 16gb Micro SD, 64gb USB Drive
              Theme: Updated NBBA

              Documentation solves many problems: https://retropie.org.uk/docs/

              S 1 Reply Last reply Reply Quote 1
              • S
                Syhles @DarkWolf
                last edited by

                @DarkWolf
                It's not hard to learn after you dissect the XML code for a couple of themes, it's fairly readable, and it's easy to understand what is doing what, at least in my experience.

                DarkWolfD 1 Reply Last reply Reply Quote 0
                • DarkWolfD
                  DarkWolf @Syhles
                  last edited by

                  @Syhles Yeah, I did some basic stuff like implementing the video things and changing some pictures and positions... (testing purposes -> custom es builds)

                  System: Raspberry 3 Model B, RetroPie 4.2.1
                  Storage: 16gb Micro SD, 64gb USB Drive
                  Theme: Updated NBBA

                  Documentation solves many problems: https://retropie.org.uk/docs/

                  S 1 Reply Last reply Reply Quote 0
                  • S
                    Syhles @DarkWolf
                    last edited by

                    @DarkWolf
                    That's similar to how I started as well, then it turned into me doing heavy edits to a theme, then I ended up writing a theme from scratch.

                    DarkWolfD 1 Reply Last reply Reply Quote 0
                    • DarkWolfD
                      DarkWolf @Syhles
                      last edited by

                      @Syhles
                      Already uploaded/submitted one?

                      System: Raspberry 3 Model B, RetroPie 4.2.1
                      Storage: 16gb Micro SD, 64gb USB Drive
                      Theme: Updated NBBA

                      Documentation solves many problems: https://retropie.org.uk/docs/

                      S 1 Reply Last reply Reply Quote 0
                      • S
                        Syhles @DarkWolf
                        last edited by

                        @DarkWolf
                        Nah, I'm bad at working with svgs so my theme is made up of assets from about 4 themes, but I did custom overlay borders for all the systems and made custom overlays for each view mode.

                        So at that moment I can't upload the theme that I worked on.

                        DarkWolfD 1 Reply Last reply Reply Quote 0
                        • DarkWolfD
                          DarkWolf @Syhles
                          last edited by

                          @Syhles
                          Mhh, yes, but you are learning from this... You never learned enough ;-D

                          At the moment I'm learning some C++ stuff by messing around with the Emulationstation source code :-D

                          System: Raspberry 3 Model B, RetroPie 4.2.1
                          Storage: 16gb Micro SD, 64gb USB Drive
                          Theme: Updated NBBA

                          Documentation solves many problems: https://retropie.org.uk/docs/

                          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.