Navigation

    Recalbox Forum

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

    [Question] Override image path in a theme

    Themes & Interface
    [question] override path theme
    3
    4
    858
    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.
    • FreemanQC
      FreemanQC
      Themer
      last edited by

      Hi, I'm currently making a theme off the new Recalbox theme. I'm gonna try to explain this the more precise I can.

      For most of the "data/systemviews" I like to have the "consolegame" to only show the console without cartridges.

      So I went and edited the theme.xml file and under "consolegame" I've renamed every "consolegame.svg" to "console.svg". Like that it works and it shows only the system picture without the cartridges.

      Thing is for the "vertical_carousel_left.xml" and "new_carousel_top.xml" I really like to have the cartridges too.

      So I tried adding the following lines https://pastebin.com/Pwp5u0B8 to my "new_carousel_top.xml" but it looks like the <path> is ignored and it only shows the "console.svg" file.

      How can I override my <path>? Or maybe I haven't wrote it correctly.

      Thanks for helping me.

      supernature2k 1 Reply Last reply Reply Quote 0
      • Substring
        Substring last edited by

        @supernature2k GO !

        Former dev - Please reply with @substring so that i am notified when you answer me
        Ex dev - Merci de me répondre en utilisant @substring pour que je sois notifé

        1 Reply Last reply Reply Quote 2
        • supernature2k
          supernature2k
          Developer
          Team
          Creator
          Global moderator
          @FreemanQC
          last edited by supernature2k

          @freemanqc tags must be different

          Under <view name=system> you should have <image name="console"> and consolegame under detailed/basic view

          Edit: the other way but you get the idea 😉

          Pi powered NES | Gameboy HD | RecalStation | RecalDrive
          Upvote messages if it has been useful ;)

          1 Reply Last reply Reply Quote 1
          • FreemanQC
            FreemanQC
            Themer
            last edited by

            Thanks a lot man it worked perfectly!

            BTW I though the extra="true" value could be written to "false" to make it hidden. It seems like it's not for that.

            To hide stuff I'm doing this, let me know if it's okay https://pastebin.com/UjpUnFXj

            Thanks again really appreciated 🙂

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

            Want to support us ?

            79
            Online

            87.8k
            Users

            25.8k
            Topics

            178.7k
            Posts

            Copyright © 2021 recalbox.com