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

    Theme development question regarding variables.

    Scheduled Pinned Locked Moved Projects and Themes
    developmenttheme makinges themes
    2 Posts 2 Posters 867 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.
    • H
      Haleice
      last edited by

      Hi I'm very new to this but have been tinkering with the Tronkyfran theme. I've made it so the boxart shows for a second before the video plays and I've overlayed the marque over the top right hand corner of the video.

      What I would like to do is also display the Cart image from a folder called cartart but I can't find any way to reference the game filename.

      I was hoping to be able to make my own image with the following as the path statement;

      <path>./cartart/${system.filename}.png</path>
      

      However when I look in es_system.cfg as suggested in THEMES.md there are no variables for the filename.

      Is there any way to achieve what I want? I've looked at the code of other themes and none of them appear to do this only reference set images for things like joysticks etc.

      E 1 Reply Last reply Reply Quote 0
      • E
        EctoOne @Haleice
        last edited by

        @haleice there is no variable that can be used for game images. You are limited to the media files specified in your gamelist.xml.
        Variables are only available for system related images or text.

        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.