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

runcommand launching images for ANY theme

Scheduled Pinned Locked Moved Projects and Themes
runcommandlaunching imagesplashscreenscript
222 Posts 40 Posters 172.9k 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.
  • L
    lilbud
    last edited by 11 Jun 2017, 14:30

    In case anyone was interested, I mocked up a runcommand image for my Switch themes

    0_1497191397413_cb183e8f-97f9-4074-bdcf-00cdb7bf5d7d-image.png

    Creator of the Radiocade: https://retropie.org.uk/forum/topic/6077/radiocade

    Backlog: http://backloggery.com/lilbud

    1 Reply Last reply Reply Quote 2
    • L
      lilbud
      last edited by 27 Jul 2017, 04:23

      Hey @meleu, tried installing this and got an error.

      0_1501129380056_43454467-8ead-4812-a6db-484e0b0adff4-image.png

      Creator of the Radiocade: https://retropie.org.uk/forum/topic/6077/radiocade

      Backlog: http://backloggery.com/lilbud

      M 1 Reply Last reply 27 Jul 2017, 04:23 Reply Quote 0
      • M
        meleu @lilbud
        last edited by 27 Jul 2017, 04:23

        @lilbud uh oh! is it Raspbian?

        • Useful topics
        • joystick-selection tool
        • rpie-art tool
        • achievements I made
        L 1 Reply Last reply 27 Jul 2017, 04:31 Reply Quote 0
        • L
          lilbud @meleu
          last edited by 27 Jul 2017, 04:31

          @meleu Yeah, I'm running this on the raspberry pi

          Creator of the Radiocade: https://retropie.org.uk/forum/topic/6077/radiocade

          Backlog: http://backloggery.com/lilbud

          M 1 Reply Last reply 27 Jul 2017, 04:36 Reply Quote 0
          • M
            meleu @lilbud
            last edited by 27 Jul 2017, 04:36

            @lilbud can you confirm if your connection is fine? try to sudo apt-get update just to check if the raspbian repos are online too...

            • Useful topics
            • joystick-selection tool
            • rpie-art tool
            • achievements I made
            L 1 Reply Last reply 27 Jul 2017, 04:39 Reply Quote 0
            • L
              lilbud @meleu
              last edited by 27 Jul 2017, 04:39

              @meleu Complete failure on update. I checked my connection and its good, and the raspbian servers seem to be up, but it fails to grab files

              Creator of the Radiocade: https://retropie.org.uk/forum/topic/6077/radiocade

              Backlog: http://backloggery.com/lilbud

              1 Reply Last reply Reply Quote 0
              • A
                alphatoanant
                last edited by 29 Jul 2017, 14:57

                @meleu was wondering if you could help me.

                I was trying this out my Art Book theme and am not able to generate any launching images.

                So I ran with debug on as you suggested in an above comment but I am not really sure what to look for in the output =)

                If you have a moment to help out here is the debug output:
                http://codepad.org/DQtvtiIe

                Structure wise my systems are set up like this:

                A system theme example (/gb/theme.xml)

                <theme>
                   <formatVersion>4</formatVersion>
                   <include>./../theme.xml</include>
                   <view name="system, basic, detailed, video">
                      <image name="logo">
                         <path>./_inc/system.svg</path>
                      </image>
                   </view>
                </theme>
                

                and them main /theme.xml at root

                <?xml version="1.0" encoding="UTF-8"?>
                <theme>
                   <formatVersion>4</formatVersion>
                
                   <view name="system,basic,detailed,video">
                      <helpsystem name="help">
                         <pos>1 1</pos>
                      </helpsystem>
                      <image name="background" extra="true">
                         <origin>0 0</origin>
                         <pos>0 0</pos>
                         <size>1 1</size>
                         <path>./_inc/images/space.png</path>
                         <color>141414</color>
                      </image>
                   </view>
                ...
                

                Thank you for any help you can provide and for your work on this script

                My RetroPie Themes:
                Art Book https://github.com/anthonycaccese/es-theme-art-book
                Art Book Next https://github.com/anthonycaccese/art-book-next-retropie
                TFT https://github.com/anthonycaccese/es-theme-tft

                M 1 Reply Last reply 29 Jul 2017, 21:12 Reply Quote 1
                • M
                  meleu @alphatoanant
                  last edited by 29 Jul 2017, 21:12

                  @alphatoanant the tool I use to parse xml files is very very rigorous with XML specification. It's failing to generate your images because in your default theme.xml you put some comments at the start of document and then the XML declaration. The xmlstarlet is complaining about this:

                  XML declaration allowed only at the start of the document
                  <?xml version="1.0" encoding="UTF-8"?>
                  

                  I've submitted a PR to your repo fixing this issue: https://github.com/anthonycaccese/es-theme-art-book/pull/1

                  Look how the Master System's one looks like:

                  0_1501362759027_launching.png

                  • Useful topics
                  • joystick-selection tool
                  • rpie-art tool
                  • achievements I made
                  A 1 Reply Last reply 29 Jul 2017, 21:19 Reply Quote 1
                  • A
                    alphatoanant @meleu
                    last edited by 29 Jul 2017, 21:19

                    @meleu awesome, thank you! Your PR has been merged. Sorry for missing such a small change =)

                    Knowing this now I can also update my other themes easily.

                    My RetroPie Themes:
                    Art Book https://github.com/anthonycaccese/es-theme-art-book
                    Art Book Next https://github.com/anthonycaccese/art-book-next-retropie
                    TFT https://github.com/anthonycaccese/es-theme-tft

                    M 1 Reply Last reply 29 Jul 2017, 21:19 Reply Quote 1
                    • M
                      meleu @alphatoanant
                      last edited by 29 Jul 2017, 21:19

                      @alphatoanant You're welcome!

                      • Useful topics
                      • joystick-selection tool
                      • rpie-art tool
                      • achievements I made
                      cyperghostC 1 Reply Last reply 25 Oct 2017, 11:35 Reply Quote 0
                      • cyperghostC
                        cyperghost @meleu
                        last edited by 25 Oct 2017, 11:35

                        @meleu
                        A small improvment imho
                        Instead using /tmp would it not be better to use /dev/shm?
                        So there is no need for cleanup?

                        M 1 Reply Last reply 25 Oct 2017, 11:50 Reply Quote 0
                        • M
                          meleu @cyperghost
                          last edited by meleu 25 Oct 2017, 11:50

                          @cyperghost My reasoning was "most users use this tool on a Raspberry Pi where the amount of RAM is not so plentiful". If you don't clean up, the files will occupy your RAM. But now I'm thinking about using /dev/shm (and keeping the cleanup procedure) due to possible performance benefits.

                          I'll try to make some tests with /dev/shm in the future.

                          Thanks ;-)

                          • Useful topics
                          • joystick-selection tool
                          • rpie-art tool
                          • achievements I made
                          cyperghostC 1 Reply Last reply 25 Oct 2017, 11:52 Reply Quote 0
                          • cyperghostC
                            cyperghost @meleu
                            last edited by 25 Oct 2017, 11:52

                            @meleu Can you step in here please? I think this is an interesting feature. I never used launching images and so some ideas were reinvented :)

                            1 Reply Last reply Reply Quote 0
                            • E
                              EctoOne
                              last edited by 5 Jan 2018, 12:15

                              So i just noticed that this script doesn't work with themes that use variables instead of system/theme.xml.
                              Would it be possible to implement that?

                              M 1 Reply Last reply 8 Jan 2018, 16:45 Reply Quote 1
                              • M
                                meleu @EctoOne
                                last edited by 8 Jan 2018, 16:45

                                @ectoone yeah, I'm planning to do that. Can you point a theme that uses variables so I can test my code?

                                • Useful topics
                                • joystick-selection tool
                                • rpie-art tool
                                • achievements I made
                                L 1 Reply Last reply 8 Jan 2018, 17:19 Reply Quote 1
                                • L
                                  lilbud @meleu
                                  last edited by 8 Jan 2018, 17:19

                                  @meleu You can try to use my Minimal Theme, it uses variables heavily.

                                  Creator of the Radiocade: https://retropie.org.uk/forum/topic/6077/radiocade

                                  Backlog: http://backloggery.com/lilbud

                                  1 Reply Last reply Reply Quote 1
                                  • A Bored NinjaA
                                    A Bored Ninja @meleu
                                    last edited by 18 Nov 2018, 06:17

                                    @meleu Love this tool!

                                    Is there a way to change the text color AFTER you've set it up? Do I just run this again?

                                    I find all white letters causes issues reading when Mega Drive is loading.

                                    Thanks!

                                    M 1 Reply Last reply 19 Nov 2018, 00:11 Reply Quote 0
                                    • M
                                      meleu @A Bored Ninja
                                      last edited by 19 Nov 2018, 00:11

                                      @A-Bored-Ninja you can choose the lettering color on this screen:
                                      screenshot

                                      • Useful topics
                                      • joystick-selection tool
                                      • rpie-art tool
                                      • achievements I made
                                      1 Reply Last reply Reply Quote 1
                                      • benjaminjayB
                                        benjaminjay
                                        last edited by benjaminjay 23 Dec 2018, 10:29

                                        I can't seem to get this to generate a single launch image and I've tried a bunch of different themes...
                                        EDIT: was able to get this to work with TronkyFran but the launch images have a large black border around them

                                        1 Reply Last reply Reply Quote 1
                                        • T
                                          TheBlueDragon @meleu
                                          last edited by 17 Jan 2019, 03:09

                                          @meleu When i try to run your generation script (for lightswitch theme) i get this error:

                                          Failed to create background image
                                          

                                          This error appears for all systems :_( How do i fix this?

                                          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.

                                            [[user:consent.lead]]
                                            [[user:consent.not_received]]