Suggestion: Addition of official GB and GBC N3DS VC borders to the shader repository

User SciresM from the GBAtemp forum published the extracted Game Boy Color border from the Nintendo 3DS Virtual Console in 2014 here.

I made modification to the existing sgb border files to make this border compatible with Retroarch:

gbc.png (320 x 256 px - 5:4 Aspect Ratio - SXGA 1280 x 1024 px integer - Power LED Color: R 255 G 0 B 0):


shaders = "1"
shader0 = "../resources/"

scale_type_x0 = "absolute"
scale_x0 = "320"
scale_type_y0 = "absolute"
scale_y0 = "256"

parameters = "box_scale;location;in_res_x;in_res_y;out_res_x;out_res_y"
box_scale = "1.000000"
location = "0.500000"
in_res_x = "160.000000"
in_res_y = "144.000000"
out_res_x = "320.000000"
out_res_y = "256.000000"

textures = "bg"
bg = "gbc.png"

#pragma parameter box_scale "Box Scale" 1.0 1.0 10.0 1.0
#pragma parameter location "Location" 0.5 0.2 0.5 0.3
#pragma parameter in_res_x "Horiz. Input Res" 160 160 600 1.0
#pragma parameter in_res_y "Vert. Input Res" 144 144 480 1.0
#pragma parameter out_res_x "Horiz. Output Res" 320.0 320.0 3840.0 40.0
#pragma parameter out_res_y "Vert. Output Res" 256.0 256.0 2160.0 40.0
#pragma parameter border_on_top "Border On Top" 1.0 0.0 1.0 1.0
uniform float box_scale;
uniform float location;
uniform float out_res_x;
uniform float out_res_y;
uniform float in_res_x;
uniform float in_res_y;
uniform float border_on_top;
#define box_scale 4.0
#define location 0.5
#define out_res_x 1280.0
#define out_res_y 1024.0
#define in_res_x 320
#define in_res_y 256
#define border_on_top 1.0
#include ""

Sadly I haven’t found the original Game Boy border. Maybe someone can provide it? Also this border is not compliant with 240p CRTs, so we could also make a cropped 240p version of the border.

Border in action with crt-hyllian (2.2 gamma):

That’s a neat idea. I like it!

It’s only letting me post one image since I’m new, but I took some screenshots on my 3DS using custom firmware of the Gameboy, Game boy Color, and the four different Sega Game Gear borders. Here is the Game Boy one that I cut a hole out of. It has a bit of extra space around the inner game screen that’s the same color as the lightest shade of the current palette, but since that would clash with Retroarch I re-colored it to match the gb-palette-pocket.cgp that retroarch has.