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
    1167
    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.
    • A Former User
      A Former User 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 1
        • supernature2k
          supernature2k @Guest last edited by digitaLumberjack

          @deletedaccount 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 0
          • A Former User
            A Former User 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 ?

            67
            Online

            98.6k
            Users

            28.1k
            Topics

            187.0k
            Posts

            Copyright © 2021 recalbox.com