Scanlines on the menu (Emulationstation)

@Deniss_K Thanks a lot!
I've also wanted to achieve something like this for a long time. I've tried it and it works but the resolution doesn't fit with my screen. May you recreate the overlay for a 1024x768 resolution?
Thanks!

cool addition, this! Could it also be used to overlay a smaller version of the scanlines image on the video snaps portion of the screen only?

Yes, sure it can.
There is no universal solution, and for every theme image position and size needs to be set up individually (copied from <video name="md_video">).If you want to add scanlines to video previews only, you can even use the same scanline.png, the row <maxSize>0 0</maxSize> allows to fit it in to video field.

For example, from original theme.xml highlighted rows needs to be copied just at the bottom of <image name="scanlines" extra="trye">

@WeirdH Thank you a lot.
I added It to the first post. I have not even noticed this issue cause was thinking that I am using OMX PLAYER by default..
There was a misunderstanding: my previous post was about adding scanlines to video preview only.

@janderclander14
This is what I'm looking now. I tried to learn from the great guides provided on this site, but I still have almost zero knowledge in .xml and linux .. Theoretically, somewhere (unfortunately, not in theme.xml) should be a rows of code describing subtitle position and font of subtitle (game name and platform), and all what we need is just add couple of rows there.
It already was discussed In 2017 https://retropie.org.uk/forum/topic/12912/idea-for-video-screensaver-in-emulation-station-overlay-art with no result.I will be very grateful if someone can help. I just one step away from my dream arcade..

Happy to help )
Let me know if you need scanlines.png in specific resolution.

Actually, you incidentally used 1600x1200 for your initial png, which is the native resolution of my arcade cabinet. Additionally, you used Comic Book like I do. 😉

That said, could you make two more versions in 1600x1200, one without the monitor frame and one without the inner (grey) frame? In Comic Book 4:3, the full frame covers too much of the theme in the corners in my opinion.

One curious thing I noticed is that only the Retropie menu has no scanlines. Can you confirm this?

@Clyde Thank you for your feedback!
1600x1200 is the native resolution of my arcade cabinet as well. 😉
Menu, loading screens and video screensavers have no scanlines.
My apologies for quality of scanlines without the inner (grey) frame : this gray shadow is the part of original image I used, and I can not find any image source without this shadow. So I deleted the shadow manually but not pleased with the result.

@Clyde To improve the crt effect, and avoid that the frame covers too much of the theme in the corners, theme can be reworked using Distortion Correction filter in Photoshop. The results can be very impresive:

@Clyde I have fully reworked ComicBook_4-3 theme: imitation of CRT curvature and scanlines added (distortion added to all backgrounds; scanlines (on menu and carousel) enabled); optimized for 1600x1200.
I will try to upload it on repo later.

@WeirdH Beware that the home consoles don't display the marquees in the Comic Book theme, only the arcade systems do (including Capcom). If you want the home consoles to display the marquees too, you'll have to edit their theme.xml accordingly.

@Clyde Another off-topic question: what image size/resolution/format/compression/colour format is recommended for themes on raspberry pi 3+?
I have reworked two themes - ComicBook_4-3, (distortion effect and customizable scanlines added to all backgrounds) and Retrorama (converted to 4:3 resolution), but both are laggy and suffering from black screens and flickering in 1600x1200 resolution (jpg, any compression). Is there any chance to make it working without reducing resolution?

@Deniss_K Well, wouldn't you know... I have been tinkering with a theme over the past weekend and also ran into this. 1600x1200 is the maximum resolution on the screen in my cab, so I tried that.

It looked super crisp, but RetroPie got very unreliable: sometimes giving a black screen, sometimes just locking up in the games list. Even scrolling and exiting a game were more sluggish. Upping the VRAM limit also did little to remedy anything. I figured that it's just too taxing for the 3B+. I put everything down to 1280x960 and it runs like a dream. I might try 1440x1080 later to compare.