runcommand launching images for ANY theme
-
I know this a quite a while @meleu, But I am wondering if there is a way to Generate a "RetroPie" image following your script? I would love to have the RetroPie start with a Matching Splash Screen, to match the rest of my Launch Images. Also I cant understand why one System isnt showing in the "Systemselect". Its in my systems file, and shows up on my pie. but doesnt show in the script to create.
-
I love this script, still uses it today.
However, I have to crop the images in photoshop afterwards, since neither of my builds hold a widescreen monitor.I'd love for the script to have a widescreen/4:3 toggle in the setup part :)
-
@AndersHP +1 for the Resolution option can the script check what current resolution is and use that?
-
@AndersHP @Uskompuf
hey guys, I heard your voices! Could you update the package and check if it's working as you want?Just to remember:
RetroPie Setup >Manage packages
>exp
>launchingimages
>Update (from pre-built binary)
And then generate the images again. ;)
By the way, maybe this feature request would get more visibility in the issue tracker: https://github.com/meleu/generate-launching-images/issues/
Cheers!
-
@meleu I just tried to update from binary on a pi 4 but nothing seems to have changed.
-
@Uskompuf
can you show me the output of these two commands?, please:cat /sys/class/graphics/fb0/virtual_size
and
fbset -s
[UPDATE]
By the way, I didn't added an option, but made the script detect the aspect ratio. -
@meleu Ok so I've just double-checked and retropie says it's updated. What I did was run the script for "arcade", the preview image still showed 16:9 and I checked by booting an actual game that it was 16:9.
Here is the output from those commands:
cat /sys/class/graphics/fb0/virtual_size
1280,1024
fbset -s
mode "1280x1024" geometry 1280 1024 1280 1024 32 timings 0 0 0 0 0 0 0 accel true rgba 8/16,8/8,8/0,0/0 endmode
All I can think is that there is an error in the script as the resolutions listed above are correct or there is an issue updating?
Let me know what I can do to help debug.
Thanks
-
@Uskompuf thanks for you info, it made me realize that I needed to make a better calculation to detect the aspect ratio.
Can you try to update and generate the images again? They'll hopefully be 4:3 this time.
-
@meleu I tried updating but it said I already had latest version, then image was still 16:9.
Could it be because I'm on pi 4?
-
@Uskompuf said in runcommand launching images for ANY theme:
Could it be because I'm on pi 4?
nop. It's totally unrelated.
my suggestion: remove the launching image package and then reinstall it.
-
@meleu said in runcommand launching images for ANY theme:
my suggestion: remove the launching image package and then reinstall it.
Ok I will give that a try and report back
-
@meleu I've reinstalled the package but still behaviour generating 16:9 images, how can we debug?
-
@Uskompuf This might help, My resolution is 1280x1024, the generated image is 1024x576 not sure if rotation or something is wrong?
Thanks
-
@Uskompuf said in runcommand launching images for ANY theme:
how can we debug?
please, copy and paste the command below on your raspi (it'll create a launching image for
--system nes
):bash -x /opt/retropie/supplementary/launchingimages/generate-launching-images.sh -t carbon --system nes --no-ask 2> ~/launchingimage.log # assuming you have netcat installed nc termbin.com 9999 < ~/launchingimage.log
After the last command you'll probably have a termbin link. Post that link here so I can check what's going wrong.
-
@meleu said in runcommand launching images for ANY theme:
nc termbin.com 9999 < ~/launchingimage.log
Here's the link:
-
@Uskompuf said in runcommand launching images for ANY theme:
@meleu said in runcommand launching images for ANY theme:
nc termbin.com 9999 < ~/launchingimage.log
Here's the link:
thanks, I think I've fixed now.
Can you update and try again?
(or remove-reinstall) -
@meleu Ok some progress with this update, the image now seems to be 768x576 which is a closer expect ratio but there are top and bottom black bars still.
Here is the output of that debug command again: https://termbin.com/uppt
Thanks
-
@Uskompuf alright, now I'm being very faithful to the current aspect ratio of the screen.
can you update and try again?
-
@meleu Working perfectly now!
Thanks for your amazing work on this project.
-
Great work on this.
Any idea of when you might be able to support themes with variables and includes? (I assume you'd "process" the theme and spit out XML and use that or something?).
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.