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 173.0k 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.
    • C
      cabrunco @TMNTturtlguy
      last edited by

      @TMNTturtlguy
      Sorry for my misunderstanding

      In that case, for the segacd, the guy of the sewer shark would be cool, since it is a game that came along with the segacd.
      Tempo or Knuckles would be cooler than the sonic on 32x.

      btw, great theme you made, I really liked it.

      1 Reply Last reply Reply Quote 0
      • meleuM
        meleu @TMNTturtlguy
        last edited by

        @TMNTturtlguy oh, I think I misunderstood it too. I was talking about the screenshots... 😌

        • Useful topics
        • joystick-selection tool
        • rpie-art tool
        • achievements I made
        TMNTturtlguyT 1 Reply Last reply Reply Quote 0
        • TMNTturtlguyT
          TMNTturtlguy @meleu
          last edited by

          @meleu oh, i see - At first you mentioned changing out battlefields, i thought you meant the toad ripping out of the page. Mega Drive and Sega Genesis both share the same background because they are basically the same systems. I chose the games that I loved to play and had good colors for the sega system and used it for both. I have done the same for NES/famicom and SNES and Super Famicom. At this point i have such a laundry list of things to complete, update and add I don't want to go back and edit the actually system backgrounds. They take some time to do with all of the filters and compression.

          1 Reply Last reply Reply Quote 0
          • meleuM
            meleu @masteryoer
            last edited by

            @masteryoer Sorry for the late reply, but I've just made a small improvement on the script and it's now able to generate launching images for your xcade theme. Look an example for Genesis:

            0_1496919700534_launching.png

            To get the updated version of the script go to retropie_setup >> Manage packages >> exp >> launchingimages >> Update from binary.

            I hope you enjoy.

            • Useful topics
            • joystick-selection tool
            • rpie-art tool
            • achievements I made
            1 Reply Last reply Reply Quote 2
            • lilbudL
              lilbud
              last edited by

              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
              • lilbudL
                lilbud
                last edited by

                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

                meleuM 1 Reply Last reply Reply Quote 0
                • meleuM
                  meleu @lilbud
                  last edited by

                  @lilbud uh oh! is it Raspbian?

                  • Useful topics
                  • joystick-selection tool
                  • rpie-art tool
                  • achievements I made
                  lilbudL 1 Reply Last reply Reply Quote 0
                  • lilbudL
                    lilbud @meleu
                    last edited by

                    @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

                    meleuM 1 Reply Last reply Reply Quote 0
                    • meleuM
                      meleu @lilbud
                      last edited by

                      @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
                      lilbudL 1 Reply Last reply Reply Quote 0
                      • lilbudL
                        lilbud @meleu
                        last edited by

                        @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
                        • alphatoanantA
                          alphatoanant
                          last edited by

                          @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

                          meleuM 1 Reply Last reply Reply Quote 1
                          • meleuM
                            meleu @alphatoanant
                            last edited by

                            @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
                            alphatoanantA 1 Reply Last reply Reply Quote 1
                            • alphatoanantA
                              alphatoanant @meleu
                              last edited by

                              @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

                              meleuM 1 Reply Last reply Reply Quote 1
                              • meleuM
                                meleu @alphatoanant
                                last edited by

                                @alphatoanant You're welcome!

                                • Useful topics
                                • joystick-selection tool
                                • rpie-art tool
                                • achievements I made
                                cyperghostC 1 Reply Last reply Reply Quote 0
                                • cyperghostC
                                  cyperghost @meleu
                                  last edited by

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

                                  meleuM 1 Reply Last reply Reply Quote 0
                                  • meleuM
                                    meleu @cyperghost
                                    last edited by meleu

                                    @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 Reply Quote 0
                                    • cyperghostC
                                      cyperghost @meleu
                                      last edited by

                                      @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

                                        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?

                                        meleuM 1 Reply Last reply Reply Quote 1
                                        • meleuM
                                          meleu @EctoOne
                                          last edited by

                                          @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
                                          lilbudL 1 Reply Last reply Reply Quote 1
                                          • lilbudL
                                            lilbud @meleu
                                            last edited by

                                            @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
                                            • 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.