Handheld Border Shaders

I recently updated my shaders and I noticed that the handheld-border shaders do not scale the game canvas anymore, help? I have latest RA nightly, mGBA core and shaders.

sorry I can’t delete my above post that is waiting for reply, but I found the answer in this thread! I needed to set the scaling in the shader options and hit “apply”.

1 Like

New version with Internal scaling parameter for all lcd based shaders, thanks to nfp0.

Every shader should now have a Video Scale parameter to change the display size dynamically from RetroArch menus.

7 Likes

@Arviel @Hari-82 Now you can change scaling with just a parameter. Even the GameGear one will work just like that :slightly_smiling_face:

4 Likes

New borders for DS 64 and 90 pixels screen gap:

DS-64-x slightly unrealistic border for DeSmuME core options -> screen gap = 64.

DS-90-x for DeSmuME core options -> screen gap = 90.

4 Likes

Will ds, lynx and wonderswan come with the online updater eventually?

I believe it would be simple to add, but I’m not sure what their criteria is to add new borders.

Now that all of them are condensed into a single preset, I’m much more receptive to adding additional ones. The biggest concern I have now is just file size. We want to keep the repo as light as possible, so I try to keep big, multi-MB images to a minimum.

That said, we can usually go a long way with png compression and denoising/blurring of high-frequency content like stippling. It reduces the fidelity of the picture a bit, obviously, but it keeps the size down (especially for places like mobile devices, where RetroArch package sizes can be important).

2 Likes

Does the handheld image go on top of game image? Or is the game image applied on top?

If the image is on top you have to use pngs, but if the game image is on top you can use jpgs which saves a lot of space

The border is on top. But I believe you can use jpgs all the same and not draw the game area. Am I wrong?

Not really unless the shader is cutting out the hole for the game screen, which would work equally well.

If the transparent area where the game image shows through is defined as transparency in the image file then you need the png,

Yeah, this is what I meant :slight_smile:

I’ve been playing around with that to try and make the screen glass effect togglable by a parameter, since I don’t like the effect. And so far it works for most borders, but the DMG border looks ugly when I disable the glass because the bottom part darkens the screen and the seam is too obvious.

1 Like

I use PNG compression on my Batocera decorations to cut down on the distribution size. This went from 1.5MB to 700kb.

If you look close you can see the signs of fidelity loss.

zoomed

On the whole though, it looks pretty good.

I am using the least possible compression though, so the loss could increase.

5 Likes

Hello Duimon, I used your Mega Duck image to make a layout with 5 zoomed views.

Using a dot.glsl shader looks and works fine. But adding a color-mangler.glsl shader for a green color the screen disappear, with 5x scale appears in a corner. I think the problem is a relative/absolute references of dot shader.

Another way to do it?

https://drive.google.com/file/d/1W9fUW-jplX_EMn2QqzUS91fLI3MhFN7n/view?usp=sharing

Edit: Solved with using a green overlay. This has 10 views.

https://drive.google.com/file/d/1kvV-RTVBJg4DDGTAxgSPZvV-U8LZgE8Z/view?usp=share_link

It’s funny you’re talking about making them smaller while I was upscaling them in Photoshop. :face_with_monocle:

Upscaled some (Lynx, NGP, GBA).

Made a new border for Game Gear.

1 Like

Thanks for your work. I use only a full device in hd resolution for all views. Loading one layout can change image and screen resolution, with overlays no. Views are 5x, 4x, 3x, 2x and 1x.

https://postimg.cc/vc72DC5n

Another problem is change the layout “in game” without open retroarch menu, exist “Next overlay” hotkey but no “Next layout”.

Another layout test with Game Boy

https://drive.google.com/file/d/1ur4mkIzx_-BAK8jNquoyvdek_GhthnL4/view?usp=share_link

11 posts were split to a new topic: Modern replacement for png images in shaders?

GameGear small clean up. Upscaled/Cleaned up WonderSwan.

Everything is 6400x3200 now.

3 Likes

Hi. First of all great work with GB shaders but I need help. I installed RA on my PC Windows, everything works fine, beautifull GB shaders, I love it. But when I installed RA on my iPhone SE I can’t use handheld shader from catalogue console border/dmg-2x.glslp and so on. When I’m choosing that shaders, I only see GameBoy borders png with yellow screen, without game view. But I hear game’s running. Other shaders from catalogue shaders works, I can change colors etc.

Is there any chance to fix this? Or maybe it’s about some settings issue? I fight with it for few days now and I stuck with it. PLEASE help. I just wanna play with this beautiful DMG screen :slight_smile: like this one below

2 Likes

Remade the NeoGeo Pocket border to be more detailed.
The lighting effect was blurring it too much.

2 Likes