runcommand launching images for ANY theme
-
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
-
@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... -
is the current debug.txt
-
@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!
-
So for the time being, would using the --no-logo flag cause the script to work?
-
@masteryoer said in runcommand launching images for ANY theme:
So for the time being, would using the --no-logo flag cause the script to work?
Why not try? :-)
I think yes.
-
@meleu sure does!
-
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!
-
@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 !
-
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..
-
@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. -
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!)?
-
@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!
-
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.
-
@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!
-
@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".
-
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 asSystemBackground
). 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.
-
@meleu ETA Prime ? Yep - feel free to link.
-
@hansolo77 You should be able to generate launching images for ComicBook now. Update the script and try again, please.
I suggest to choose
.jpg
for this theme (png results in big file size, 1.5-2MB).Example for Mega Drive:
-
@meleu thanks for updating the script! Again this is a cool tool I didn't know about!
Because I know this will be a question or more than likely a "problem" for some users....the black outline around the comic cells is a separated .png image that is placed over each background. This has to do with keeping the outline crips and clear and having the background image compressed for file sizes bad performance. The script and the background work correctly.
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.