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.
    • meleuM
      meleu
      last edited by

      F#CK YEAH! I've implemented the "semi-transparent white belt behind the logo" option!

      --logo-belt                  Put a semi-transparent white belt behind the logo.
      

      Example:
      Command:

      ./generate-launching-images.sh -t clean-look --extension jpg --logo-belt --system pcengine
      

      Generated image:
      0_1485903498171_launching.jpg

      Update your script:

      wget https://raw.githubusercontent.com/meleu/share/master/generate-launching-images.sh
      
      • Useful topics
      • joystick-selection tool
      • rpie-art tool
      • achievements I made
      B 1 Reply Last reply Reply Quote 1
      • B
        backstander @meleu
        last edited by

        @meleu
        Awesome! Works great but I should note something...

        ./generate-launching-images.sh -t clean-look --extension jpg --logo-belt --system pcengine

        The "clean-look" doesn't have art for "pcengine" so if you type the above in exactly, you get an error.
        0_1485911304955_rli-capture.png

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

          @backstander said in runcommand launching images for ANY theme:

          The "clean-look" doesn't have art for "pcengine"

          It's not true on my RetroPie:

          prompt$ ls -l /etc/emulationstation/themes/clean-look/pcengine/
          total 8
          drwxr-xr-x 2 root root 4096 Jan 10 14:54 art/
          -rw-r--r-- 1 root root 3300 Jan 10 14:54 theme.xml
          

          Maybe there's something with you customized ~/.emulationstation/es_systems.cfg file...

          EDIT: I think I need to improve the errors feedback to the user...

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

            @backstander could you run it again redirecting the stderr to a file and then post the content of the file here?

            Step 1
            Run the following command:

            ./generate-launching-images.sh -t clean-look --extension jpg --logo-belt --system pcengine 2> error_msgs.txt
            

            Step 2
            Paste here the content of error_msgs.txt file.

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

              @meleu
              error_msgs.txt

              WARNING: failed to prepare the background image for "pcengine" system!
              WARNING: The launching image for "pcengine" was NOT created.
              

              It does have art but on ES, I get the white screen for "pcengine"...oh wait! I'm asking it for the "tg16" art!

              ls -l /etc/emulationstation/themes/clean-look/tg16
              ls: cannot access /etc/emulationstation/themes/clean-look/tg16: No such file or directory
              

              Sorry, forgot that detail ;-)

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

                @backstander the tg16 logo seems to be the default on clean-look (rather than pcengine).

                Could you please execute this:

                bash -x ./generate-launching-images.sh -t clean-look --extension jpg --logo-belt --system pcengine 2> error_msgs.txt
                

                And then paste the error_msgs.txt in ghostbin.com? (it'll be a big file this time)

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

                  @backstander Oh! Now I've got what's the problem in your system. Your es_systems.cfg has this config:

                      <platform>pcengine</platform>
                      <theme>tg16</theme>
                  

                  And the clean-look has no tg16/theme.xml.

                  Here is the workaround for it:

                  cd /etc/emulationstation/themes/clean-look/
                  sudo ln -s pcengine tg16
                  

                  In other words, create a symbolic link to pcengine theme directory named tg16. It worked fine here. ;-)

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

                    Thanks @meleu
                    I just tested this with the link and it works great!

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

                      Update:

                      • added --list-systems option to List the installed systems on your RetroPie (get this info from es_systems.cfg).
                      • added more info about the errors found while trying to create the images. Example:
                        0_1486431411622_error_msgs2.png

                      Any feedback is welcome. :-)

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

                        UPDATE
                        Added the --all-systems option to Create image for all systems of the chosen theme. I think it can be useful for theme makers who want to release a launching images pack for his/her theme.

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

                          @meleu

                          How do you install scripts?

                          B 1 Reply Last reply Reply Quote 0
                          • B
                            backstander @FlyingTomahawk
                            last edited by

                            @FlyingTomahawk
                            It's on the first post

                            wget https://raw.githubusercontent.com/meleu/share/master/generate-launching-images.sh
                            chmod +x generate-launching-images.sh
                            
                            1 Reply Last reply Reply Quote 1
                            • meleuM
                              meleu
                              last edited by

                              There's a hope to see it as a part of RetroPie-Setup: https://github.com/RetroPie/RetroPie-Setup/pull/1881

                              :-)

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

                                @backstander

                                Are you following me? Hehehe...
                                It's the second time that you helped me out.
                                Thanks! ;)

                                @meleu
                                That would be really awesome. It's a very nice feature and looks waaaaaaay better than that ugly interface.

                                B 1 Reply Last reply Reply Quote 1
                                • B
                                  backstander @FlyingTomahawk
                                  last edited by

                                  @FlyingTomahawk

                                  Are you following me? Hehehe...

                                  Haha, I just happened to be "Watching" a couple of the same threads that you've been posting on and I just happened to be on when you posted that ;-)

                                  1 Reply Last reply Reply Quote 1
                                  • FlyingTomahawkF
                                    FlyingTomahawk
                                    last edited by

                                    @meleu

                                    Finally I got it working. Had a bit trouble with all those commands. Linux is very new to me.
                                    I had trouble to use this with my Futura theme but that is my fault. I had a space in the theme name Futura 10px that is not good, something that I have to change in the next update.
                                    It should say futura-10px then I can run the linux command to create the images.
                                    It worked great even with my custom systems like CPS or Psikyo.

                                    Thanks again for all the work. Now I just wished the roms would take longer to load. Haha... before I was always happy if they loaded fast so that I don't have to see that ugly grey box.

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

                                      @FlyingTomahawk Is your theme available somewhere?

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

                                        @meleu

                                        @FlyingTomahawk Is your theme available somewhere?

                                        https://retropie.org.uk/forum/topic/7032/futura-theme

                                        1 Reply Last reply Reply Quote 2
                                        • fnkngrvF
                                          fnkngrv @meleu
                                          last edited by

                                          @meleu that simple theme set of screens looks awesome. It would be nice to have established packs that people could snag as well as learning all the scripting. so similar to being able to download the pixel pack. just a thought. your work is awesome!

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

                                            @fnkngrv Thanks!

                                            The idea is to provide several image options and let the user choose the one that pleases him the most.

                                            There's a frontend to the script about to be part of RetroPie-Setup (this Pull Request here). If it's approved, it will be much easier to the users than downloading packs and placing files in the right folders...

                                            • Useful topics
                                            • joystick-selection tool
                                            • rpie-art tool
                                            • achievements I made
                                            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.