• 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 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.
  • S
    Swampy
    last edited by Swampy 25 Feb 2017, 12:07

    I have a problem to generate images:

    sudo ./generate-launching-images.sh -t carbon
    

    At every system I get problems like these:

    convert: delegate failed `"rsvg-convert" -o "%o" "%i"' @ error/delegate.c/InvokeDelegate/1310.
    convert: unable to open image `/tmp/magick-1523ygaIZPJaSrUD': Datei oder Verzeichnis nicht gefunden @ error/blob.c/OpenBlob/2712.
    convert: unable to open file `/tmp/magick-1523ygaIZPJaSrUD': Datei oder Verzeichnis nicht gefunden @ error/constitute.c/ReadImage/540.
    convert: no images defined `/tmp/system_logo.png' @ error/convert.c/ConvertImageCommand/3210.
    WARNING: we had some problem when converting "3do" logo image.
    WARNING: The launching image for "3do" was NOT created.
    

    What is my mistake?

    Linux is like wigwam: no Gates, no Windows and Apache inside.

    M 1 Reply Last reply 26 Feb 2017, 04:02 Reply Quote 0
    • H
      hooperre
      last edited by hooperre 25 Feb 2017, 19:36

      @meleu Ran the script. Images are working (and are awesome), but I'm unable to access the launch options after a game is booted now. Checked the wiki didn't see anything there that might interfere. Any thoughts? What xml/cfg file do I need to look into?

      4B ~ RPi PSU 5.1V / 3.0A ~ 32GB SanDisk microSD ~ 128GB USB

      M 1 Reply Last reply 26 Feb 2017, 04:09 Reply Quote 0
      • M
        meleu @Swampy
        last edited by 26 Feb 2017, 04:02

        @Swampy install the tool using the RetroPie-Setup and try again (I've updated the first post with this info). Let me know if you have problems.

        • Useful topics
        • joystick-selection tool
        • rpie-art tool
        • achievements I made
        S 1 Reply Last reply 26 Feb 2017, 10:49 Reply Quote 0
        • M
          meleu @hooperre
          last edited by 26 Feb 2017, 04:09

          @hooperre press the button 0 several times while the image is shown. Twice should be enough, but I recommend several times to assure. :-)

          • Useful topics
          • joystick-selection tool
          • rpie-art tool
          • achievements I made
          H 1 Reply Last reply 26 Feb 2017, 16:13 Reply Quote 0
          • S
            Swampy @meleu
            last edited by 26 Feb 2017, 10:49

            @meleu First I did it with RetroPie-Setup, how you explained above.
            The results were the same.
            I also repeated all steps.

            Always the same errors.

            Linux is like wigwam: no Gates, no Windows and Apache inside.

            M 1 Reply Last reply 26 Feb 2017, 11:04 Reply Quote 0
            • M
              meleu @Swampy
              last edited by 26 Feb 2017, 11:04

              @Swampy try to execute it:

              sudo apt-get install --no-install-recommends librsvg2-bin
              

              And then try again.

              And please, give details about your system so I can fix the dependencies on the scripts.

              • Useful topics
              • joystick-selection tool
              • rpie-art tool
              • achievements I made
              S 1 Reply Last reply 26 Feb 2017, 17:22 Reply Quote 1
              • D
                dankcushions Global Moderator
                last edited by 26 Feb 2017, 12:53

                generate images for pixel, got this sort of error:

                0_1488113505152_upload-7403deb3-e909-413a-87b9-5ddcc767769b

                i already had some launching images installed. eg:

                pi@retropie:/opt/retropie/configs/psx $ ls -l
                total 24
                -rw-r--r-- 1 pi pi 1149 Feb 25 22:21 content_history.lpl
                -rw-r--r-- 1 pi pi    0 Feb 25 22:21 content_image_history.lpl
                -rw-r--r-- 1 pi pi  296 Feb 22 23:37 emulators.cfg
                -rw-r--r-- 1 pi pi 2397 Oct 17 11:02 launching.png
                drwxr-xr-x 8 pi pi 4096 Feb 19 16:00 pcsx
                -rw-r--r-- 1 pi pi  221 Jan  2 20:54 retroarch.cfg
                -rw-r--r-- 1 pi pi  590 Aug 31 21:11 retroarch.glslp
                

                user 'pi' owns them, though.

                also, no way to exit the preview slideshow?

                M 1 Reply Last reply 26 Feb 2017, 17:01 Reply Quote 0
                • H
                  hooperre @meleu
                  last edited by hooperre 26 Feb 2017, 16:13

                  @meleu Out of 20 attempts I was able to get into it twice and only if I mash buttons (may have changed from the square button to the x button). Something has changed for sure. Any thoughts on what config file I need to dig into?

                  Edit: Okay so it actually works if I press button 0 AFTER the launching screen has disappeared between then and when the ROM actually loads.

                  4B ~ RPi PSU 5.1V / 3.0A ~ 32GB SanDisk microSD ~ 128GB USB

                  1 Reply Last reply Reply Quote 0
                  • M
                    meleu @dankcushions
                    last edited by 26 Feb 2017, 17:01

                    @dankcushions said in runcommand launching images for ANY theme:

                    generate images for pixel, got this sort of error:

                    This is a known issue. Talked about it here:
                    https://retropie.org.uk/forum/post/48043

                    I'll try to sort it soon... (Not worked on it yet because the @rookervik 's pack for pixel theme is better than the generated images)

                    also, no way to exit the preview slideshow?

                    You can hit ctrl+c, but it will interrupt the image generation. To avoid the preview you can enable the no_show option in the settings. ;-)

                    • Useful topics
                    • joystick-selection tool
                    • rpie-art tool
                    • achievements I made
                    1 Reply Last reply Reply Quote 0
                    • S
                      Swampy @meleu
                      last edited by 26 Feb 2017, 17:22

                      @meleu Thank you very much, it workes!
                      Which details of the system do you want to have?
                      I'm using a Raspberry Pi3 and the newest Retropie-Setup 4.1.16.

                      Linux is like wigwam: no Gates, no Windows and Apache inside.

                      M 1 Reply Last reply 26 Feb 2017, 18:44 Reply Quote 0
                      • M
                        meleu @Swampy
                        last edited by 26 Feb 2017, 18:44

                        @Swampy said in runcommand launching images for ANY theme:

                        I'm using a Raspberry Pi3 and the newest Retropie-Setup 4.1.16.

                        Did you installed the official 4.1 image or update from a previous version?

                        • Useful topics
                        • joystick-selection tool
                        • rpie-art tool
                        • achievements I made
                        S 1 Reply Last reply 27 Feb 2017, 15:13 Reply Quote 0
                        • S
                          Swampy @meleu
                          last edited by 27 Feb 2017, 15:13

                          @meleu I updated from a previous version.
                          I think librsvg2-bin was not installed by default in previous versions of retropie.
                          So I think you don't have to change something.

                          Thanks for your great script!

                          Linux is like wigwam: no Gates, no Windows and Apache inside.

                          1 Reply Last reply Reply Quote 1
                          • R
                            Rookervik Global Moderator @meleu
                            last edited by 28 Feb 2017, 04:29

                            @meleu And Rookervik isn't going to approve it since that would be allowing everyone to use the artwork from the pixel theme and that isn't ok :)

                            If I find time, later on, I will make another batch of Pixel run commands. But I'm working now and free time is very, very limited.

                            M 1 Reply Last reply 28 Feb 2017, 10:57 Reply Quote 0
                            • M
                              meleu @Rookervik
                              last edited by 28 Feb 2017, 10:57

                              @Rookervik maybe making this script without the theme makers approval was a mistake. I didn't think about it, sorry. I'll force the script to be unable to generate images for the pixel theme and add some warning about it.

                              Should I assume that you don't approve the image generation for every theme you made? Or would you like to list the themes you don't approve?

                              • Useful topics
                              • joystick-selection tool
                              • rpie-art tool
                              • achievements I made
                              1 Reply Last reply Reply Quote 0
                              • D
                                dankcushions Global Moderator
                                last edited by 28 Feb 2017, 11:17

                                @Rookervik @meleu
                                maybe i'm missing the something but all the script does is automatically creates launch images for any given theme, right? it doesn't take art from one theme and create another theme under a new name or whatever, it just expands a given theme. it seems like all it does is save themers time and effort :)

                                IMO clever scripts like this need to seamlessly work across the board so they can ultimately be an automatic thing that's just a feature of ES/retropie. it makes launching games really slick for ALL themes, hiding the 'DOS'-looking stuff that seems to bother some people.

                                eventually i dream that even the retropie-setup menu could be automatically themed based on the current ES theme...

                                but yeah, it's up to the themers is they like the idea or not. don't mind me :)

                                1 Reply Last reply Reply Quote 2
                                • F
                                  FlyingTomahawk
                                  last edited by FlyingTomahawk 3 Apr 2017, 10:43 4 Mar 2017, 10:40

                                  @meleu
                                  Have you tried it with the Famicom-mini theme by ruckage?
                                  I enter

                                  bash -x  ./generate-launching-images.sh -t famicom-mini
                                  

                                  and it I can see the command prompt code running down like a matrix code. Then he tells me that he's done but failed to create for Amstrad since there is no theme folder.
                                  I click OK and go check /opt/retroarch/configs/nes/ and there is no launching.png file.

                                  Doing this currently on my Pi Zero.

                                  M 1 Reply Last reply 4 Mar 2017, 11:41 Reply Quote 0
                                  • M
                                    meleu @FlyingTomahawk
                                    last edited by 4 Mar 2017, 11:41

                                    @FlyingTomahawk I would like to see the nes/theme.xml for famicon-mini theme, but I'm behind a proxy that blocks access to mega.nz.

                                    Can you post this file to ghostbin.com or something similar?

                                    The -x option enables the matrix mode to a bash script. Just kidding! :) It's a kind of "debugging mode" way to execute bash scripts.

                                    I don't know why you are executing the script with bash -x but coincidentally this is the way I'm going to ask you to launch the script again.

                                    Please, execute the following command:

                                    bash -x  ./generate-launching-images.sh -t famicom-mini 2> debug.txt
                                    

                                    It will generate the debug.txt file. And then paste the content of debug.txt in ghostbin.com or something.

                                    • Useful topics
                                    • joystick-selection tool
                                    • rpie-art tool
                                    • achievements I made
                                    F 1 Reply Last reply 4 Mar 2017, 12:23 Reply Quote 0
                                    • F
                                      FlyingTomahawk @meleu
                                      last edited by 4 Mar 2017, 12:23

                                      @meleu said in runcommand launching images for ANY theme:

                                      The -x option enables the matrix mode to a bash script. Just kidding! :)

                                      Not sure why I used bash -x I guess I just saw that here in this topic and used it and it did work always with other themes like my Futura theme or Simplebigart or Metapixel.
                                      This time I am trying to setup the Famicom-mini theme and it doesn't work.
                                      Here the requested data:

                                      Famicom-mini NES file

                                      Debug file

                                      M 1 Reply Last reply 4 Mar 2017, 13:43 Reply Quote 0
                                      • M
                                        meleu @FlyingTomahawk
                                        last edited by 4 Mar 2017, 13:43

                                        @FlyingTomahawk Well, I'll need to take a look in other .xml files. Will try to sort this out tonight.

                                        Also, I'm not sure if you are using the right version of the script. If you installed via RetroPie-Setup, the script is at /opt/retropie/supplementary/launchingimages (it's not the reason of your issue, that's just for you to be aware of).

                                        I had to create a dedicated repository for this tool in order to make it work along with RetroPie scriptmodule. This is the repository: https://github.com/meleu/generate-launching-images

                                        I've edited the OP accordingly.

                                        • Useful topics
                                        • joystick-selection tool
                                        • rpie-art tool
                                        • achievements I made
                                        1 Reply Last reply Reply Quote 1
                                        • F
                                          FlyingTomahawk
                                          last edited by FlyingTomahawk 3 Apr 2017, 13:51 4 Mar 2017, 13:50

                                          No hurry here. When ever you find time to look into it is fine with me.
                                          I haven't update anything on the Pi Zero. With only 1 USB port my possibilities are limited.
                                          I downloaded the image file from the RetroPie website, installed everything and I am using your script before it was merged into RetroPie.
                                          I ordered a Pi Zero W and also a Zero4U so I will have more possibilities then.
                                          Thanks.

                                          1 Reply Last reply Reply Quote 1
                                          111 out of 222
                                          • First post
                                            111/222
                                            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.

                                            This community forum collects and processes your personal information.
                                            consent.not_received