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

    edit xml upper case

    Scheduled Pinned Locked Moved Projects and Themes
    xml issues
    5 Posts 3 Posters 418 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.
    • I
      isolakis
      last edited by

      hi to all,
      im try to edit an xml from a theme and i need help
      i search over the internet but i dont find any solution thats why im posting here

      here is the xml file (lines) i want to modify:

      <textlist name="gamelist">
      <selectorColor>FFFFFFEE</selectorColor>
      <selectorImagePath>./_art/icon.png</selectorImagePath>
      <selectedColor>b21212</selectedColor>
      <selectorHeight>.05</selectorHeight>
      <primaryColor>EEEEEEEE</primaryColor>
      <secondaryColor>eac428</secondaryColor>
      <fontPath>./_art/comic.otf</fontPath>
      <scrollSound>./_art/scroll_sound.wav</scrollSound>
      <alignment>left</alignment>
      <pos>0.04 0.23</pos>
      <size>0.415 0.674</size>
      <fontSize>0.022</fontSize>
      <lineSpacing>1</lineSpacing>
      <horizontalMargin>0.04</horizontalMargin>
      </textlist>

      now what i want is the name of the games to be shown only lower case and not upper case
      example: WONDERBOY to wonderboy

      thanks in advanced and sorry for my bad english

      R mituM 2 Replies Last reply Reply Quote 0
      • R
        ReadyPlayaWon Banned @isolakis
        last edited by ReadyPlayaWon

        @isolakis said in edit xml upper case:

        now what i want is the name of the games to be shown only lower case and not upper case
        example: WONDERBOY to wonderboy

        search, download and use a lowercase font instead of comic.otf

        quick example: https://www.1001fonts.com/effortless-font.html

        alt text

        Using that font in a graphics editor will result in lowercase even when using uppercase input text ... it will behave the same way in a Retropie/Emulationstation theme.

        alt text

        I 1 Reply Last reply Reply Quote 0
        • mituM
          mitu Global Moderator @isolakis
          last edited by mitu

          @isolakis Change the entry to

          <textlist name="gamelist">
          <selectorColor>FFFFFFEE</selectorColor>
          <selectorImagePath>./_art/icon.png</selectorImagePath>
          <selectedColor>b21212</selectedColor>
          <selectorHeight>.05</selectorHeight>
          <primaryColor>EEEEEEEE</primaryColor>
          <secondaryColor>eac428</secondaryColor>
          <fontPath>./_art/comic.otf</fontPath>
          <scrollSound>./_art/scroll_sound.wav</scrollSound>
          <alignment>left</alignment>
          <pos>0.04 0.23</pos>
          <size>0.415 0.674</size>
          <fontSize>0.022</fontSize>
          <lineSpacing>1</lineSpacing>
                  <forceUppercase>0</forceUppercase>
          <horizontalMargin>0.04</horizontalMargin>
          </textlist>
          

          and see if that works.

          I 1 Reply Last reply Reply Quote 0
          • I
            isolakis @mitu
            last edited by

            @mitu said in edit xml upper case:

                <forceUppercase>0</forceUppercase>
            

            thanks its work after i set that line

            1 Reply Last reply Reply Quote 0
            • I
              isolakis @ReadyPlayaWon
              last edited by

              @ReadyPlayaWon

              works with that way too
              thanks for your help

              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.