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

    Pixel-MetaData - Theme Issue - Wrong Formatted text.... (screenshot inside)

    Scheduled Pinned Locked Moved Help and Support
    esthemethemepixel-metadata
    8 Posts 2 Posters 724 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.
    • DjDiabolikD
      DjDiabolik
      last edited by DjDiabolik

      I have made a screenshot here:
      alt text

      Look the text "11 Minutes ago" it's wrong formatted and overwrite previous and next line. Look also the "109" Number it's problably the number i play this games.

      This issue it's also present for all title..... also for title i never played.

      It's problably a bad xml... can you give me some indication of which file I can possibly check about this theme ?

      OPS
      By TAG i have found a very similar thread whitout a possibly fix...here:
      https://retropie.org.uk/forum/topic/27468/pixel-metadata-last-played-timer-text-wrapping-issue

      Lister of SmegL 1 Reply Last reply Reply Quote 0
      • Lister of SmegL
        Lister of Smeg @DjDiabolik
        last edited by Lister of Smeg

        @djdiabolik
        I haven't looked at this for a long time but IIRC I just removed the feature altogether from /opt/retropie/configs/all/emulationstation/themes/pixel/pixel.xml

        <!--
        theme name:		Pixel -Metadata-
        version:		1.4
        author:			Eric Hettervik
        license:		PLEASE DO NOT MODIFY or use graphics in other projects.
        -->
        
        <theme>
            <formatVersion>3</formatVersion>
        
        	<view name="system">
        	
        		<image name="logo">
                </image>
        	
        		<helpsystem name="help">
        			<pos>0.012 0.962</pos>
        			<textColor>acacac</textColor>
        			<iconColor>acacac</iconColor>
        			<fontPath>./art/font.ttf</fontPath>
        			<fontSize>0.033</fontSize>
        		</helpsystem>
        	
        		
        		<carousel name="systemcarousel">
        			<pos>0 0.62</pos>
        			<size>1 0.22</size>
        			<color>00000000</color>
        			<logoSize>0.16 0.09</logoSize>
        			<logoScale>2 2</logoScale>
        		</carousel>	
        		
        		<text name="systemInfo">
        			<pos>0.0 0.895</pos>
        			<color>ffffff80</color>
        			<fontPath>./art/font.ttf</fontPath>
        			<fontSize>0.027</fontSize>
        		</text>
        
        		<image name="background" extra="true">
        			<tile>false</tile>
        			<pos>0 0</pos>
        			<origin>0 0</origin>
        			<size>1 1</size>
        			<path>./art/systems_select.png</path>
        		</image>
        		
        		<image name="console_overlay" extra="true">
        			<tile>false</tile>
        			<pos>0.5 0.31</pos>
        			<origin>0.5 0.5</origin>
        			<maxSize>0.45 0.45</maxSize>
        		</image>
        		
        		<image name="system_front" extra="true">
        			<tile>false</tile>
        			<pos>0.0 0.0</pos>
        			<origin>0 0</origin>
        			<size>1 1</size>
        			<path>./art/systemfront.png</path>
        		</image>
        	</view>
        
            <view name="basic">
        	
        		<image name="logo">
        			<pos>0.5 0.105</pos>
        			<origin>0.5 0.5</origin>
        			<maxSize>0.315 0.125</maxSize>
        		</image>
        		
        		<image name="background" extra="true">
        			<path>./art/systemback.png</path>
        		</image>
        
        		<image name="Border Overlay" extra="true">
        			<path>./art/border_simple.png</path>
        			<size>1 1</size>
        			<pos>0 0</pos>
        			<origin>0 0</origin>			
        		</image>
        
        		<helpsystem name="help">
        			<pos>0.012 0.960</pos>
        			<textColor>ffffff</textColor>
        			<iconColor>ffffff</iconColor>
        			<fontPath>./art/font.ttf</fontPath>
        			<fontSize>0.033</fontSize>
        		</helpsystem>
        		
        		<text name="md_lbl_playcount">
        			<pos>0.676 0.580</pos>
        			<fontSize>0.03</fontSize>
        		</text>
        		
        		<text name="md_playcount">
        			<pos>0.829 0.574</pos>
        			<fontSize>0.03</fontSize>
        		</text>
        		
        		<textlist name="gamelist">
        			<pos>0.034 0.235</pos>
        			<size>0.933 0.647</size>
        			<alignment>center</alignment>
        			<horizontalMargin>0.01</horizontalMargin>
        			<fontPath>./art/font.ttf</fontPath>
        			<fontSize>0.04</fontSize>
        			<selectorImagePath>./art/selector-basic.png</selectorImagePath>
        			<selectorImageTile>false</selectorImageTile>
        			<selectorOffsetY>0.0</selectorOffsetY>
        			<selectorHeight>0.06</selectorHeight>
        			<selectorColor>ffffff</selectorColor>
        			<selectedColor>bc14ff</selectedColor>
        			<primaryColor>ffffff</primaryColor>
        			<secondaryColor>871F78</secondaryColor>
        			<forceUppercase>1</forceUppercase>
        			<!--<scrollSound>./art/flipper.wav</scrollSound>-->
        		</textlist>
        
        	</view>
        
        	<view name="detailed, video">
        	
        		<helpsystem name="help">
        			<pos>0.012 0.960</pos>
        			<textColor>ffffff</textColor>
        			<iconColor>ffffff</iconColor>
        			<fontPath>./art/font.ttf</fontPath>
        			<fontSize>0.033</fontSize>
        		</helpsystem>
        
        		<image name="logo">
        			<pos>0.274 0.114</pos>
        			<maxSize>0.418 0.115</maxSize>
        			<origin>0.5 0.5</origin>
        		</image>
        		
        		<image name="background" extra="true">
        			<tile>false</tile>
        			<pos>0 0</pos>
        			<origin>0 0</origin>
        			<size>1 1</size>
        			<path>./art/background.png</path>
        		</image>
        
        		<image name="Border Overlay" extra="true">
        			<tile>false</tile>
        			<pos>0 0</pos>
        			<origin>0 0</origin>
        			<size>1 1</size>
        			<path>./art/border.png</path>
        		</image>		
        	
        		<textlist name="gamelist">
        			<pos>0.034 0.258</pos>
        			<size>0.483 0.63</size>
        			<alignment>left</alignment>
        			<horizontalMargin>0.027</horizontalMargin>
        <!--			<lineSpacing>2.02</lineSpacing> -->
        			<fontPath>./art/font.ttf</fontPath>
        			<fontSize>0.03</fontSize>
        			<selectorImagePath>./art/selector.png</selectorImagePath>
        			<selectorImageTile>false</selectorImageTile>
        			<selectorOffsetY>0.0075</selectorOffsetY>
        			<selectorHeight>0.0295</selectorHeight>
        			<selectorColor>${themeColor}20</selectorColor>
        			<selectedColor>ffffff</selectedColor>
        			<primaryColor>ffffff</primaryColor>
        			<secondaryColor>871F78</secondaryColor>
        			<forceUppercase>0</forceUppercase>
        			<!--<scrollSound>./art/flipper.wav</scrollSound>-->
        		</textlist>
        		
        <!--         Start Meta Data                  -->	
        		<text name="md_lbl_rating, md_lbl_releasedate, md_lbl_players, md_players, md_lbl_developer, md_developer, md_lbl_publisher, md_publisher, md_lbl_genre, md_genre, md_lbl_players, md_players, md_lbl_playcount, md_playcount, md_description">
        			<pos>1 1</pos>
        			<size>0.192 0.030</size>
        			<color>ffffff</color>
        			<forceUppercase>0</forceUppercase>
        			<fontPath>./art/font.ttf</fontPath>
        			<fontSize>0.025</fontSize>
        		</text>
        	
        
        		<datetime name="md_releasedate">
        			<color>ffffff</color>
        			<pos>0.566 0.465</pos>
        			<forceUppercase>0</forceUppercase>
        			<fontPath>./art/font.ttf</fontPath>
        			<fontSize>0.025</fontSize>
        		</datetime>
        		
        		<text name="md_developer">
        			<pos>0.566 0.524</pos>
        		</text>
        		
        		<text name="md_genre">
        			<pos>0.566 0.568</pos>
        		</text>
        		
        		
        		
        		<text name="md_lbl_players">
        			<pos>0.774 0.477</pos>
        		</text>
        
        		<text name="md_players">
        			<pos>0.845 0.477</pos>
        		</text>
        		
        		<text name="md_publisher">
        			<pos>0.774 0.523</pos>
        		</text>
        		
        		<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>
        		
        
        
        
        		<text name="md_description">
        			<pos>0.567 0.663</pos>
        			<size>0.400 0.209</size>
        		</text>
        
        	</view>	
        
        	
        	<view name="detailed">
        	
        		<image name="md_image">
        			<pos>0.771 0.219</pos>
        			<maxSize>0.384 0.322</maxSize>
        			<origin>0.5 0.5</origin>
        		</image>
        	
        	</view>
        	
        	<view name="video">
        	
        		<video name="md_video">
        			<pos>0.771 0.219</pos>
        			<maxSize>0.384 0.322</maxSize>
        			<origin>0.5 0.5</origin>
        			<delay>2</delay>
        			<showSnapshotNoVideo>true</showSnapshotNoVideo>
        			<showSnapshotDelay>true</showSnapshotDelay>
        		</video>
        		<image name="md_marquee">
        			<pos>0.57 0.035</pos>
        			<origin>0 0</origin>
        			<maxSize>0.3 0.1</maxSize>
        		</image>
        	</view>
        	</theme>
        
        

        feel free to backup your pixel.xml and try mine - I really can't remember the details of what I did

        DjDiabolikD 1 Reply Last reply Reply Quote 0
        • DjDiabolikD
          DjDiabolik @Lister of Smeg
          last edited by

          @lister-of-smeg
          mmmmmmmm interesting.....
          I have tryed it and infact now the "Last played" and the number that indicated the times i played this games on the right it's be removed.

          instead of canceling that i thinks also it's possible to hide this value adding this tag:

          <visible>hidden=true</visible>
          

          I don't remember if this is the exact tag just written.. but i remember somethings similar can be used :)

          DjDiabolikD 1 Reply Last reply Reply Quote 0
          • DjDiabolikD
            DjDiabolik @DjDiabolik
            last edited by

            @Lister-of-Smeg

            I have investigate and made some test about this little issue :)

            On your suggested path there's no contain a folder for the theme Pixel-metadata.
            Here i have only a folder and it's a called "carbon-alt"

            I have made some look aroud by SFTP (using FlashFXP) and i have problably found how it's located this theme:
            /etc/emulationstation/themes/pixel-metadata/

            Here it's contain the file pixel.xml but there's a little trouble because it is relative to the user "root".
            For editing this files i need to use nano by ssh or i need to add/enable the "root" access to my retropie setup :)

            Otherwise i have opened this files and problably i have found where it's the problems... there's the portion:

            <!--         Start Meta Data                  -->	
            		<text name="md_lastplayed, md_lbl_rating, md_lbl_releasedate, md_lbl_players, md_players, md_lbl_developer, md_developer, md_lbl_publisher, md_publisher, md_lbl_genre, md_genre, md_lbl_players, md_players, md_lbl_playcount, md_playcount, md_lbl_lastplayed, md_description">
            			<pos>1 1</pos>
            			<size>0.192 0.030</size>
            			<color>ffffff</color>
            			<forceUppercase>0</forceUppercase>
            			<fontPath>./art/font.ttf</fontPath>
            			<fontSize>0.025</fontSize>
            		</text>
            	
            
            		<datetime name="md_releasedate">
            			<color>ffffff</color>
            			<pos>0.566 0.465</pos>
            			<forceUppercase>0</forceUppercase>
            			<fontPath>./art/font.ttf</fontPath>
            			<fontSize>0.025</fontSize>
            		</datetime>
            		
            		<text name="md_developer">
            			<pos>0.566 0.524</pos>
            		</text>
            		
            		<text name="md_genre">
            			<pos>0.566 0.568</pos>
            		</text>
            		
            		<datetime name="md_lastplayed">
            			<color>ffffff</color>
            			<pos>0.566 0.615</pos>
            			<forceUppercase>0</forceUppercase>
            			<fontPath>./art/font.ttf</fontPath>
            			<fontSize>0.025</fontSize>
            			<visible>true</visible>
            		</datetime>
            		
            		<text name="md_lbl_players">
            			<pos>0.774 0.477</pos>
            		</text>
            
            		<text name="md_players">
            			<pos>0.845 0.477</pos>
            		</text>
            		
            		<text name="md_publisher">
            			<pos>0.774 0.523</pos>
            		</text>
            		
            		<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>
            		
            		<text name="md_playcount">
            			<pos>0.774 0.615</pos>
            		</text>	
            
            		<text name="md_description">
            			<pos>0.567 0.663</pos>
            			<size>0.400 0.209</size>
            		</text>
            
            	</view>	
            
            	
            	<view name="detailed">
            	
            		<image name="md_image">
            			<pos>0.771 0.219</pos>
            			<maxSize>0.384 0.322</maxSize>
            			<origin>0.5 0.5</origin>
            		</image>
            	
            	</view>
            	
            	<view name="video">
            	
            		<video name="md_video">
            			<pos>0.771 0.219</pos>
            			<maxSize>0.384 0.322</maxSize>
            			<origin>0.5 0.5</origin>
            			<delay>2</delay>
            			<showSnapshotNoVideo>true</showSnapshotNoVideo>
            			<showSnapshotDelay>true</showSnapshotDelay>
            		</video>
            		<image name="md_marquee">
            			<pos>0.57 0.035</pos>
            			<origin>0 0</origin>
            			<maxSize>0.3 0.1</maxSize>
            		</image>
            	</view>
            	</theme>
            
            

            Look at very first line.... i have the TAG "md_lastplayed" to the very first line and i reboot emulatiostation and baaaaam...... apparently all now it's appears correctly inline.
            I have also edited some value on some <pos> TAG.
            I don't know if it's the correct way to correct this issue......

            Lister of SmegL 1 Reply Last reply Reply Quote 0
            • Lister of SmegL
              Lister of Smeg @DjDiabolik
              last edited by

              @djdiabolik
              good find
              I admit whatever I did was just a dirty hack
              as for 'the correct way'? - if it works it works🙂

              DjDiabolikD 1 Reply Last reply Reply Quote 0
              • DjDiabolikD
                DjDiabolik @Lister of Smeg
                last edited by

                @lister-of-smeg you know if this theme it's have a somethings like github i can try to send a pull request ?

                Lister of SmegL 1 Reply Last reply Reply Quote 0
                • Lister of SmegL
                  Lister of Smeg @DjDiabolik
                  last edited by

                  @djdiabolik
                  https://github.com/RetroPie/es-theme-pixel

                  tbh i've only just had a quick look around as I presumed there hadn't been any work on this theme for a few years - there are some recent forks
                  I had added a few extra systems to my own setup but intend to have a closer look later as i'm guessing some of the newer artwork will be better than my own attempts

                  DjDiabolikD 1 Reply Last reply Reply Quote 0
                  • DjDiabolikD
                    DjDiabolik @Lister of Smeg
                    last edited by

                    @lister-of-smeg
                    mmmmmmmm... otherwise i thinks this github it's not updated.

                    Infact i can read it's theme 4.0 instead on github it's write 1.7

                    I'm not sure it's the same theme......

                    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.