Recalbox Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • recalbox.com
    • Gitlab repository
    • Documentation
    • Discord

    cant add favorites with controller

    Recalbox General
    cant favorites
    5
    26
    9406
    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.
    • jackalpret
      jackalpret Translator @paradadf last edited by

      @paradadf said in cant add favorites with controller:

      @jackalpret as @azvarel said, it needs to be supported by the theme. Just try using the official one and see the difference.

      yeah , both of you have the reason 🙂
      can i add this "option" to my theme ?

      paradadf 1 Reply Last reply Reply Quote 0
      • paradadf
        paradadf Staff @jackalpret last edited by

        @jackalpret azvarel just told you the two fields thst need to be added to the xml files of the theme. In your case I would just compare yours wirh the official and see what other fields are missing.

        If your question was answered, please mark it as solved: Topic Tools -> Ask a question + Topic Tools -> Mark as Solved

        jackalpret 1 Reply Last reply Reply Quote 0
        • jackalpret
          jackalpret Translator @paradadf last edited by

          @paradadf In the new theme I dont have anything with "favorite" ...

          lines with md_ in my theme:

          <text name="md_lbl_publisher, md_lbl_lastplayed, md_lbl_playcount, md_publisher, md_playcount, md_description,md_lbl_rating">
          		<fontPath>./main/fonts/Dosis-SemiBold.ttf</fontPath>
          		<fontSize>0.01</fontSize>
          		<pos>-50 -50</pos>
          	</text>
          		
          	<datetime name="md_lastplayed">
          		<fontPath>./main/fonts/Dosis-SemiBold.ttf</fontPath>
          		<fontSize>0.01</fontSize>
          		<pos>-50 -50</pos>
          	</datetime>
          	
          	<text name="md_lbl_releasedate, md_lbl_developer, md_lbl_genre, md_lbl_players">
          		<forceUppercase>1</forceUppercase>
          		<fontPath>./main/fonts/Dosis-Bold.ttf</fontPath>
          		<fontSize>0.025</fontSize>
          		<size>0.111 0.015</size>
          		<alignment>right</alignment>
          	</text>
          	
          	<text name="md_developer">
          		<forceUppercase>1</forceUppercase>
          		<fontPath>./main/fonts/Dosis-SemiBold.ttf</fontPath>
          		<fontSize>0.025</fontSize>
          		<size>0.187 0.015</size>
          	</text>
          	
          	<text name="md_genre, md_players">
          		<forceUppercase>1</forceUppercase>
          		<fontPath>./main/fonts/Dosis-SemiBold.ttf</fontPath>
          		<fontSize>0.025</fontSize>
          		<size>0.187 0.015</size>
          	</text>
          	
          	<datetime name="md_releasedate">
          		<forceUppercase>1</forceUppercase>	
          		<fontPath>./main/fonts/Dosis-SemiBold.ttf</fontPath>
          		<fontSize>0.025</fontSize>
          		<size>0.2 0.015</size>
          	</datetime>
          

          in the oficial theme i have:

          <text name="md_lbl_rating, md_lbl_releasedate, md_lbl_developer, md_lbl_publisher, md_lbl_genre, md_lbl_players, md_lbl_lastplayed, md_lbl_playcount, md_lbl_favorite">
          			<color>262626</color>
          			<forceUppercase>1</forceUppercase>
          			<fontPath>./data/ubuntu_condensed.ttf</fontPath>
          			<fontSize>0.03</fontSize>
          			<size>0.12 0.04</size>
          		</text>
          		<text name="md_developer, md_publisher, md_genre, md_players, md_playcount, md_favorite, md_rating">
          			<color>262626</color>
          			<forceUppercase>1</forceUppercase>
          			<fontPath>./data/ubuntu_condensed.ttf</fontPath>
          			<fontSize>0.03</fontSize>
          			<size>0.12 0.04</size>
          		</text>
          		<text name="md_description">
          			<color>262626</color>
          			<forceUppercase>1</forceUppercase>
          			<fontPath>./data/ubuntu_condensed.ttf</fontPath>
          			<fontSize>0.03</fontSize>
          		</text>
          		<datetime name="md_releasedate, md_lastplayed">
          			<color>262626</color>
          			<forceUppercase>1</forceUppercase>
          			<fontPath>./data/ubuntu_condensed.ttf</fontPath>
          			<fontSize>0.03</fontSize>
          			<size>0 0.04</size>
          		</datetime>
          

          I need to add all these lines ? with md_plashers, publisher, etc ? or only md_favorite and md_lbl_favorite ?

          paradadf 1 Reply Last reply Reply Quote 0
          • paradadf
            paradadf Staff @jackalpret last edited by

            @jackalpret you don't must add all fields, but you can.
            For the favorites tag you only need:
            md_lbl_favorite and md_favorites
            Nothing else

            If your question was answered, please mark it as solved: Topic Tools -> Ask a question + Topic Tools -> Mark as Solved

            1 Reply Last reply Reply Quote 0
            • jackalpret
              jackalpret Translator last edited by

              perfect thanks !
              i will try later and re-upload the theme when it works 🙂

              voljega 1 Reply Last reply Reply Quote 0
              • voljega
                voljega Banned @jackalpret last edited by

                @jackalpret also your themes files must be in version 4

                azvarel 1 Reply Last reply Reply Quote 1
                • azvarel
                  azvarel @voljega last edited by

                  @voljega That's right, I forgot to say

                  Zodian Theme | #SNESProject

                  1 Reply Last reply Reply Quote 0
                  • jackalpret
                    jackalpret Translator last edited by

                    I added these lines and doesnt work:

                    	<text name="md_lbl_favorite">
                    		<color>262626</color>
                    		<forceUppercase>1</forceUppercase>
                    		<fontPath>./data/ubuntu_condensed.ttf</fontPath>
                    		<fontSize>0.03</fontSize>
                    		<size>0.12 0.04</size>
                    	</text>
                    	<text name="md_favorite">
                    		<color>262626</color>
                    		<forceUppercase>1</forceUppercase>
                    		<fontPath>./data/ubuntu_condensed.ttf</fontPath>
                    		<fontSize>0.03</fontSize>
                    		<size>0.12 0.04</size>
                    	</text>
                    

                    and version 4 in the first lines

                    paradadf 1 Reply Last reply Reply Quote 0
                    • paradadf
                      paradadf Staff @jackalpret last edited by paradadf

                      @jackalpret the first line wirh lbl needs to be on top of everything (for what I can tell). Look sharply and compare. The first line contains many md_lbl_xx, one after another.
                      But I never edited that so I have actually no idea! 😆

                      If your question was answered, please mark it as solved: Topic Tools -> Ask a question + Topic Tools -> Mark as Solved

                      jackalpret 1 Reply Last reply Reply Quote 0
                      • jackalpret
                        jackalpret Translator @paradadf last edited by

                        @paradadf
                        could you correct my lines and reply with the correct order or changes ?

                        thats the content of my xml file:

                        http://pastebin.com/zDF9VWK7

                        paradadf 1 Reply Last reply Reply Quote 0
                        • paradadf
                          paradadf Staff @jackalpret last edited by

                          @jackalpret I meant something like this:
                          http://pastebin.com/dqerkbaA
                          But there are big chances I'm completely wrong XD

                          If your question was answered, please mark it as solved: Topic Tools -> Ask a question + Topic Tools -> Mark as Solved

                          jackalpret 1 Reply Last reply Reply Quote 0
                          • jackalpret
                            jackalpret Translator @paradadf last edited by

                            @paradadf said in cant add favorites with controller:

                            @jackalpret I meant something like this:
                            http://pastebin.com/dqerkbaA
                            But there are big chances I'm completely wrong XD

                            I brokes the theme 😞

                            paradadf 1 Reply Last reply Reply Quote 0
                            • paradadf
                              paradadf Staff @jackalpret last edited by

                              @jackalpret hahahaha sorry!

                              If your question was answered, please mark it as solved: Topic Tools -> Ask a question + Topic Tools -> Mark as Solved

                              jackalpret 1 Reply Last reply Reply Quote 0
                              • jackalpret
                                jackalpret Translator @paradadf last edited by

                                @paradadf no problem !

                                anyone else that can help ?

                                1 Reply Last reply Reply Quote 0
                                • rockaddicted
                                  rockaddicted last edited by

                                  problem solved ?

                                  Recalbox V4.1.0 - RPI3 OC - Xbox360 wireless
                                  Wiki ENG : https://github.com/recalbox/recalbox-os/wiki/Mini-How-To-(EN)
                                  Wiki FR : https://github.com/recalbox/recalbox-os/wiki/Mini-How-To-(FR)

                                  Don't forget to upvote messages if it has been useful ;)

                                  jackalpret 1 Reply Last reply Reply Quote 0
                                  • jackalpret
                                    jackalpret Translator @rockaddicted last edited by jackalpret

                                    @rockaddicted said in cant add favorites with controller:

                                    problem solved ?

                                    noup, doesnt work, I cant add the option in xml theme to add favorites with controller 😞

                                    1 Reply Last reply Reply Quote 0
                                    • rockaddicted
                                      rockaddicted last edited by

                                      Can you post the theme, I'll give a look.

                                      Recalbox V4.1.0 - RPI3 OC - Xbox360 wireless
                                      Wiki ENG : https://github.com/recalbox/recalbox-os/wiki/Mini-How-To-(EN)
                                      Wiki FR : https://github.com/recalbox/recalbox-os/wiki/Mini-How-To-(FR)

                                      Don't forget to upvote messages if it has been useful ;)

                                      jackalpret 1 Reply Last reply Reply Quote 0
                                      • jackalpret
                                        jackalpret Translator @rockaddicted last edited by

                                        @rockaddicted said in cant add favorites with controller:

                                        Can you post the theme, I'll give a look.

                                        https://forum.recalbox.com/topic/6754/new-theme

                                        😉

                                        rockaddicted 1 Reply Last reply Reply Quote 0
                                        • rockaddicted
                                          rockaddicted @jackalpret last edited by

                                          @jackalpret ok so you have to edit the main theme.xml, on the root, like this :

                                          	<datetime name="md_releasedate">
                                          		<forceUppercase>1</forceUppercase>	
                                          		<fontPath>./main/fonts/Dosis-SemiBold.ttf</fontPath>
                                          		<fontSize>0.025</fontSize>
                                          		<size>0.2 0.015</size>
                                          	</datetime>
                                          	
                                          	<text name="md_lbl_favorite, md_favorite">
                                          		<fontPath>./main/fonts/AdobeBlank.ttf</fontPath>
                                          	</text>
                                          	
                                          </view>
                                          

                                          Add the favorites metadata md_lbl_favorite, md_favoriteat the end of this file.
                                          You'll have to add too this blank font in ./main/fonts/

                                          Now, for each system, you'll have to edit the ./system_name/theme.xml like this :

                                          <theme>
                                          <formatVersion>4</formatVersion>
                                          <include>./../theme.xml</include>
                                          
                                          <view name="system">
                                          

                                          Once all these modifications done, your theme should support favorites.

                                          Recalbox V4.1.0 - RPI3 OC - Xbox360 wireless
                                          Wiki ENG : https://github.com/recalbox/recalbox-os/wiki/Mini-How-To-(EN)
                                          Wiki FR : https://github.com/recalbox/recalbox-os/wiki/Mini-How-To-(FR)

                                          Don't forget to upvote messages if it has been useful ;)

                                          jackalpret 1 Reply Last reply Reply Quote 1
                                          • jackalpret
                                            jackalpret Translator @rockaddicted last edited by jackalpret

                                            @rockaddicted amazing ! thanks !
                                            i will try when return to my home at night and then i will comment here 😉

                                            rockaddicted 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Want to support us ?

                                            76
                                            Online

                                            99.7k
                                            Users

                                            28.1k
                                            Topics

                                            187.1k
                                            Posts

                                            Copyright © 2021 recalbox.com