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.5k 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.
    • B
      backstander @meleu
      last edited by

      @meleu
      I couldn't had said it any better! Maybe you should put something about this on the Runcommand Wiki page?

      herb_fargusH 1 Reply Last reply Reply Quote 0
      • herb_fargusH
        herb_fargus administrators @backstander
        last edited by

        @backstander sounds like a good idea to me. This is the only time on retropie I'll ever recommend button mashing as a solution to a problem!

        If you read the documentation it will answer 99% of your questions: https://retropie.org.uk/docs/

        Also if you want a solution to your problems read this first: https://retropie.org.uk/forum/topic/3/read-this-first

        1 Reply Last reply Reply Quote 1
        • M
          masteryoer
          last edited by masteryoer

          Hmm, I built a custom theme and placed it in /etc/emulationstation/themes and the script picks it up, but when I try generating images, it tells me WARNING: image for <system> was NOT created!

          That's all it tells me. It works on the stock carbon theme, and any themes downloaded through the retropie es themes menu, but if I manually upload a theme via ftp into the /etc/emulationstation/themes folder, it doesn't generate loading images for them.

          To see if maybe it was a permissions issue, I modified the esthemes.sh script to add in my theme at it's github repository, and even after installing the script, it still doesn't allow me to generate images for my theme.

          (It's saying 'failed to add the logo image' in the systems that I do have)

          My theme can be found at https://github.com/Ex0r/es-theme-xcade

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

            @masteryoer If you are comfortable enough with Linux command line, I would like to ask you something...

            Please, execute the following command:

            (If you installed the tool via RetroPie-Setup, the script is at /opt/retropie/supplementary/launchingimages/)

            bash -x  ./generate-launching-images.sh -t theme_name 2> ~/debug.txt
            

            It will generate the /home/pi/debug.txt file. Then paste the log.txt in http://codepad.org/ (select the "Plain Text" at the left of text box). It could be pastebin or something, but I'm behind a restrictive proxy now...

            • Useful topics
            • joystick-selection tool
            • rpie-art tool
            • achievements I made
            1 Reply Last reply Reply Quote 0
            • M
              masteryoer
              last edited by

              http://codepad.org/YqfWqlkT

              is the current debug.txt

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

                @masteryoer I've found the problem. My script looks for the logo in the detailed view. Your theme.xml files don't have a logo for this (they have for system view only).

                I think I'll make the script look for the logo in the detailed view first, and if fail, look for it in the system view.

                Will look into it next weekend (pretty busy currently).

                I'll let you know when it's ready. ;-)

                Cheers!

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

                  @meleu

                  So for the time being, would using the --no-logo flag cause the script to work?

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

                    @masteryoer said in runcommand launching images for ANY theme:

                    @meleu

                    So for the time being, would using the --no-logo flag cause the script to work?

                    Why not try? :-)

                    I think yes.

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

                      @meleu sure does!

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

                        Just saw that @ETAPRIME made a cool video showing how to use the launchingimages feature:

                        The fact that he didn't pronounce my name correctly doesn't detract from the quality of the video! :-)

                        Cheers!

                        • Useful topics
                        • joystick-selection tool
                        • rpie-art tool
                        • achievements I made
                        UDb23U 1 Reply Last reply Reply Quote 2
                        • UDb23U
                          UDb23 @meleu
                          last edited by UDb23

                          @meleu said in runcommand launching images for ANY theme:

                          he didn't pronounce my name correctly

                          Maybe you should explain you're from Brazil..not from France ;-)

                          Nice video btw @ETAPRIME !

                          1 Reply Last reply Reply Quote 2
                          • AndersHPA
                            AndersHP
                            last edited by

                            Wow, it would be awesome to have a systems-logo launch image with a little signature underneath, that shows your button layout, and which is assigned for which.

                            I have a 6 button layout, meaning that in some games not all is used. This would make this clear, every time I launch a game... Hmmm..

                            My "Bubble Bobble" Themed Bartop Arcade
                            My Gameboy

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

                              @AndersHP well, the closest to this I can offer is an undocumentted trick: you can use \n for a new line in the "press a button" text. Then you can add your mappings there. Not sure if all the buttons will fit in the image though.

                              • Useful topics
                              • joystick-selection tool
                              • rpie-art tool
                              • achievements I made
                              1 Reply Last reply Reply Quote 0
                              • hansolo77H
                                hansolo77
                                last edited by

                                I just learned about this from that "unmentionable Youtube video" and tried to generate loading images for the new ComicBook theme. It's not working at all, just spills out a bunch of errors saying "failed to prepare the background image". I was able to get it to generate for Carbon though, so I know it's installed right. Is this something @TMNTturtlguy will have to fix in his xml, or is it something in the script that needs fixed? Or am I maybe just doing it wrong (a very good possibility!)?

                                Who's Scruffy Looking?

                                TMNTturtlguyT meleuM 3 Replies Last reply Reply Quote 0
                                • TMNTturtlguyT
                                  TMNTturtlguy @hansolo77
                                  last edited by

                                  @hansolo77 You will need to be more specific on what you are talking about. What is the unmentionable youtube video you are talking about? and how are you trying to create splashscreens with a script?

                                  The .xml files in the theme work as they are intended to work. The .xml files have absolutely nothing to do with splash screens so there is nothing for me to fix.

                                  Please provide more details so I can try to understand your questions!

                                  1 Reply Last reply Reply Quote 0
                                  • hansolo77H
                                    hansolo77
                                    last edited by hansolo77

                                    Sorry... I wrote it like that because further up in the thread @meleu edited the post to remove the link. I thought I was being safe by not re-posting it. But yes.. there is a script in the RetroPie-Setup scripts under Experimental Packages that meleu wrote (which this thread is all about) where it will generate the images. Following the instuctions of "update setup script, then install the launchingimages addon, then configure settings, then launch" it just spits out a bunch of errors saying it can't access the artwork. Meleu mentioned the problem with a different theme was because of the use of bad comment lines and his xml parser being unable to interpret. That's why I suggested you might have to fix something.

                                    Who's Scruffy Looking?

                                    TMNTturtlguyT 1 Reply Last reply Reply Quote 1
                                    • TMNTturtlguyT
                                      TMNTturtlguy @hansolo77
                                      last edited by

                                      @hansolo77 Thanks for sharing the info, I have not looked into this. This is a cool looking tool, but first thing first, No themes should ever be written so that a third party script can be run on it. @meleu does excellent work and I love his scripts, but i am not going to change my theme code so it works with his script. If you ask him nicely, maybe he will look at his script to see if he can update it to work with my theme! :) Glad you are enjoying the theme, hang tight and more will be released as i get time to create it!

                                      hansolo77H 1 Reply Last reply Reply Quote 1
                                      • hansolo77H
                                        hansolo77 @TMNTturtlguy
                                        last edited by

                                        @TMNTturtlguy Yeah I do like it. It's no problem. I'll just wait and see what you come up with for those launching images. Maybe I'll just create my own. I'm in no hurry.. I was just browsing around Youtube and saw that video and thought "wow that'd be neat to have".

                                        Who's Scruffy Looking?

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

                                          OK guys, no one asked nicely yet but I'm looking into it. :-)

                                          The ComicBook's xml files are clean. The problem is indeed a script limitation (it assumes that every theme maker names the background xml element as background, but @TMNTturtlguy name it as SystemBackground). I'm sorting it right now.

                                          @mediamogul @Global-Moderators I see that the videos promoting piracy on that channel were removed and that guy isn't banned anymore. I'm assuming his apologies were accepted and the launching images video can be linked again. Feel free to edit the post again if I'm wrong.

                                          • Useful topics
                                          • joystick-selection tool
                                          • rpie-art tool
                                          • achievements I made
                                          BuZzB 1 Reply Last reply Reply Quote 1
                                          • BuZzB
                                            BuZz administrators @meleu
                                            last edited by BuZz

                                            @meleu ETA Prime ? Yep - feel free to link.

                                            To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

                                            1 Reply Last reply Reply Quote 2
                                            • 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.