diff --git a/border/sgba/README.txt b/border/sgba/README.txt index 77bf097..2e262bf 100644 --- a/border/sgba/README.txt +++ b/border/sgba/README.txt @@ -1,5 +1,5 @@ -These shader presets will allow you to apply a 304x224 Super Game Boy Advance border around a 240x160 input image from a Game Boy Advance core. - -Please note that RetroArch's integer scaling function will not automatically set a correct integer scale for the output image, as it will only take the Game Boy Advance core's reported resolution of 240x160 into account, and not the output image's 304x224 resolution. You will need to set a custom viewport size, either with the Custom Ratio menu option or defining custom_viewport_width and custom_viewport_height in the config file, setting Aspect Ratio Index to "Custom", and enabling Integer Scaling to center the image automatically. - -An example border is included, you can swap it out with another 302x224 Super Game Boy Advance border in png format with the center 240x160 transparent. The borders included with this shader were created by BLUEamnesiac. \ No newline at end of file +These shader presets will allow you to apply a 320x240 Super Game Boy Advance border around a 240x160 input image from a Game Boy Advance core. + +Please note that RetroArch's integer scaling function will not automatically set a correct integer scale for the output image, as it will only take the Game Boy Advance core's reported resolution of 240x160 into account, and not the output image's 320x240 resolution. You will need to set a custom viewport size, either with the Custom Ratio menu option or defining custom_viewport_width and custom_viewport_height in the config file, setting Aspect Ratio Index to "Custom", and enabling Integer Scaling to center the image automatically. + +An example border is included, you can swap it out with another 320x240 Super Game Boy Advance border in png format with the center 240x160 transparent. The borders included with this shader were created by EndUser based on a concept by BLUEamnesiac. \ No newline at end of file diff --git a/border/sgba/sample-borders/sgba-black.png b/border/sgba/sample-borders/sgba-black.png index 2352b77..f97f392 100644 Binary files a/border/sgba/sample-borders/sgba-black.png and b/border/sgba/sample-borders/sgba-black.png differ diff --git a/border/sgba/sample-borders/sgba-indigo.png b/border/sgba/sample-borders/sgba-indigo.png index 98afa68..6e32666 100644 Binary files a/border/sgba/sample-borders/sgba-indigo.png and b/border/sgba/sample-borders/sgba-indigo.png differ diff --git a/border/sgba/sample-borders/sgba-platinum.png b/border/sgba/sample-borders/sgba-platinum.png index 840ca39..7f265e0 100644 Binary files a/border/sgba/sample-borders/sgba-platinum.png and b/border/sgba/sample-borders/sgba-platinum.png differ diff --git a/border/sgba/sample-borders/sgba-spice.png b/border/sgba/sample-borders/sgba-spice.png index dc91685..818e075 100644 Binary files a/border/sgba/sample-borders/sgba-spice.png and b/border/sgba/sample-borders/sgba-spice.png differ diff --git a/border/sgba/sgba-gba-color.slangp b/border/sgba/sgba-gba-color.slangp index 7e3fc57..07cd7d8 100644 --- a/border/sgba/sgba-gba-color.slangp +++ b/border/sgba/sgba-gba-color.slangp @@ -1,20 +1,20 @@ -shaders = "2" -shader0 = "../../handheld/shaders/color/gba-color.slang" -shader1 = "../shaders/imgborder-sgba.slang" - -scale_type0 = "source" -scale0 = "1.0000" -filter_linear0 = "false" - -scale_type_x1 = "absolute" -scale_x1 = "304" -scale_type_y1 = "absolute" -scale_y1 = "224" - -parameters = "box_scale;in_res_x;in_res_y" -box_scale = "1.000000" -in_res_x = "240.000000" -in_res_y = "160.000000" - -textures = "BORDER" -BORDER = "sgba.png" +shaders = "2" +shader0 = "../../handheld/shaders/color/gba-color.slang" +shader1 = "../shaders/imgborder-sgba.slang" + +scale_type0 = "source" +scale0 = "1.0000" +filter_linear0 = "false" + +scale_type_x1 = "absolute" +scale_x1 = "320" +scale_type_y1 = "absolute" +scale_y1 = "240" + +parameters = "box_scale;in_res_x;in_res_y" +box_scale = "1.000000" +in_res_x = "240.000000" +in_res_y = "160.000000" + +textures = "BORDER" +BORDER = "sgba.png" diff --git a/border/sgba/sgba.png b/border/sgba/sgba.png index 98afa68..6e32666 100644 Binary files a/border/sgba/sgba.png and b/border/sgba/sgba.png differ diff --git a/border/sgba/sgba.slangp b/border/sgba/sgba.slangp index 0a1a5cd..8dd00e2 100644 --- a/border/sgba/sgba.slangp +++ b/border/sgba/sgba.slangp @@ -1,15 +1,15 @@ -shaders = "1" -shader0 = "../shaders/imgborder-sgba.slang" - -scale_type_x0 = "absolute" -scale_x0 = "304" -scale_type_y0 = "absolute" -scale_y0 = "224" - -parameters = "box_scale;in_res_x;in_res_y" -box_scale = "1.000000" -in_res_x = "240.000000" -in_res_y = "160.000000" - -textures = "BORDER" -BORDER = "sgba.png" +shaders = "1" +shader0 = "../shaders/imgborder-sgba.slang" + +scale_type_x0 = "absolute" +scale_x0 = "320" +scale_type_y0 = "absolute" +scale_y0 = "240" + +parameters = "box_scale;in_res_x;in_res_y" +box_scale = "1.000000" +in_res_x = "240.000000" +in_res_y = "160.000000" + +textures = "BORDER" +BORDER = "sgba.png"