Duimon - HSM Mega Bezel Graphics and Presets - Feedback and Updates

Oh wow and that looks completely seamless? I use Launchbox as well. Would love to use Duimoin’s stuff on other emulators as well.

OK, so here is how you do it:

  1. You load up ShaderGlass and import one of Duimon’s Shader presets.
  2. You configure everything in ShaderGlass just like you want it.
  3. When you are happy with your results, you save a ShaderGlass profile.
  4. create an AHK script, e.g.

Run, “C:\Program Files (x86)\Steam\steamapps\common\ShaderGlass\ShaderGlass.exe” -f “M:\TestProfile.sgp”

that’s basically it.

Now I tested this with Xemu Emulator and there was indeed a bit of a complication, because if you run Xemu in Fullscreen then it always puts itself above ShaderGlass. I wasn’t able to make it go behind ShaderGlass. This means that I had to run Xemu in windowed mode, but that results in the task bar still showing, because Xemu does not have a “borderless” mode.

I fixed this by downloading another program off Steam called “BorderlessGaming”, which does some magic to make programs run in borderless mode even if they don’t support it.

So that means:

  1. Add Xemu to the list in BorderlessGaming, so that borderless mode is applied automatically.

  2. Change your AHK script. My final script (which I have written with the help of ChatGPT) looks like this (it both runs and closes ShaderGlass and BorderlesGaming with Xemu):

    ; Launch supporting tools Run, “C:\Program Files (x86)\Steam\steamapps\common\Borderless Gaming\BorderlessGaming.exe” Sleep, 1000 Run, “C:\Program Files (x86)\Steam\steamapps\common\ShaderGlass\ShaderGlass.exe” -f “M:\TestProfile.sgp”

    ; :white_check_mark: Wait until Xemu closes, then clean up Process, WaitClose, xemu.exe

    ; Now close ShaderGlass and Borderless Gaming Process, Close, ShaderGlass.exe Process, Close, BorderlessGaming.exe ExitApp

    ; Optional: Manual kill of Xemu with Escape key $Esc:: { Process, Close, xemu.exe }

3 Likes

Nice thank you! I’ll give this a go!

1 Like

My script got scrwed up in my post above and I cannot upload files here. This is how it should look like:

1 Like

You can paste the code into a reply, select it, and press the “Preformatted text” button </> in the editor.

1 Like

Hello everyone,

I’m currently replaying Shining Force III – Scenario 1 and I was wondering if shaders can genuinely enhance a game’s visual quality. I’m using a shader I created a while ago, but with the latest updates to RetroArch and Bezel, it no longer works — folder paths have changed, and the shader either fails to load or throws an error.

To work around this, I had to revert to an older shader/bezel folder I had backed up a few years ago. Thankfully, my custom shader is now running again.

However, I find the game’s visual rendering — or RetroArch’s output in general when using the Beetle Saturn core — to still be quite underwhelming. The image remains heavily pixelated and doesn’t seem much improved.

I’ll post a couple of screenshots below — feel free to let me know what might be wrong or what I could do to improve the overall image quality.

If anyone has suggestions for a high-quality shader setup — ideally something that offers a “remastered” 4K-style finish — I’d greatly appreciate it.

I’m running this on a fairly powerful PC, so feel free to recommend anything demanding.

I’m currently using the SlangP (CRT) shader custom :

https://www.mediafire.com/file/36ub00yirnzb0lh/Shining_Force_3__Bezel_CRT.slangp/file

Also, if someone knows how to update it so it’s compatible with the latest Bezel versions, I’d love to hear how.

And here are the screenshots:

Many thanks in advance!

1 Like

The issue is that you saved a “Full” preset instead of a “Simple” one.

If you know the base preset that you started with, you can add its path as a reference to this code…

GAMMA_INPUT = "1.850000"
gamma_out = "1.850000"
post_br = "1.500000"
HSM_GLOBAL_GRAPHICS_BRIGHTNESS = "50.000000"
HSM_ASPECT_RATIO_MODE = "4.000000"
HSM_ASPECT_RATIO_EXPLICIT = "1.330000"
HSM_NON_INTEGER_SCALE_OFFSET = "113.500000"
HSM_SCANLINE_DIRECTION = "1.000000"
HSM_CORE_RES_SAMPLING_MULT_SCANLINE_DIR = "600.000000"
HSM_DOWNSAMPLE_BLUR_OPPOSITE_DIR = "30.000000"
HSM_CURVATURE_MODE = "3.000000"
HSM_CRT_CURVATURE_SCALE = "75.000000"
SGPT_BLEND_OPTION = "1.000000"
HSM_SCALEFX_ON = "1.000000"
mask_bloom = "0.300000"
shadowMask = "1.000000"
masksize = "0.000000"

…that I extracted from your file.

Here is an example.

#reference "shaders_slang/bezel/Mega_Bezel/Presets/MBZ__0__SMOOTH-ADV.slangp"
GAMMA_INPUT = "1.850000"
gamma_out = "1.850000"
post_br = "1.500000"
HSM_GLOBAL_GRAPHICS_BRIGHTNESS = "50.000000"
HSM_ASPECT_RATIO_MODE = "4.000000"
HSM_ASPECT_RATIO_EXPLICIT = "1.330000"
HSM_NON_INTEGER_SCALE_OFFSET = "113.500000"
HSM_SCANLINE_DIRECTION = "1.000000"
HSM_CORE_RES_SAMPLING_MULT_SCANLINE_DIR = "600.000000"
HSM_DOWNSAMPLE_BLUR_OPPOSITE_DIR = "30.000000"
HSM_CURVATURE_MODE = "3.000000"
HSM_CRT_CURVATURE_SCALE = "75.000000"
SGPT_BLEND_OPTION = "1.000000"
HSM_SCALEFX_ON = "1.000000"
mask_bloom = "0.300000"
shadowMask = "1.000000"
masksize = "0.000000"

I used the SMOOTH-ADV base preset.


That will get the shader up and running.

For the “underwhelming”, I will assume it is mostly color related. You can fine tune that in the “Grade” section of the shader parameters.

IMO, anything that does that will eliminate the scanlines, which would change the flavor of the experience for the worse.

Big thanks, Duimon! You really nailed it by fixing the shader to match the recent update (even the AI just kept pointing out path errors… not exactly helpful). In the end, it was just a few lines, but same result—funny, I remember spending quite a bit of time on it back then… when all it really took was MBZ__0__SMOOTH-ADV.slangp .

Anyway, you totally handled that issue!

As for improving the graphics and smoothing out the edges of the scenery and characters so the pixelation isn’t so harsh—the CRT filter is still a solid option. Maybe in all the available presets, there’s one that makes it feel less like I’m playing on a mess of pixels… Still gotta dig around a bit. Unless there are HD texture mods out there? But I kinda doubt it.

Thanks for everything!

1 Like

Any and all shaders are failing to apply.

[WARN] [Shaders]: Could not read shader preset in #reference line: "C:\Games\Retroarch\shaders\shaders_slang\bezel\shaders_slang\bezel\Mega_Bezel\Presets\Base_CRT_Presets\MBZ__3__STD__GDV-MINI.slangp".
[WARN] [Shaders]: Could not read root preset: "C:\Games\Retroarch\shaders\shaders_slang\bezel\Mega_Bezel_Packs\Duimon-Mega-Bezel\Presets\Lite\Nintendo_GBA\GBA-[STD]-[Guest-Mini]-[Bezel]-[Night].slangp".
[ERROR] [Vulkan]: Failed to create preset: "C:\Games\Retroarch\shaders\shaders_slang\bezel\Mega_Bezel_Packs\Duimon-Mega-Bezel\Presets\Lite\Nintendo_GBA\GBA-[STD]-[Guest-Mini]-[Bezel]-[Night].slangp".
[ERROR] [Vulkan]: Failed to create filter chain: "C:\Games\Retroarch\shaders\shaders_slang\bezel\Mega_Bezel_Packs\Duimon-Mega-Bezel\Presets\Lite\Nintendo_GBA\GBA-[STD]-[Guest-Mini]-[Bezel]-[Night].slangp". Falling back to stock.

[WARN] [Shaders]: Could not read shader preset in #reference line: "C:\Games\Retroarch\shaders\shaders_slang\bezel\shaders_slang\bezel\Mega_Bezel\Presets\Base_CRT_Presets\MBZ__1__ADV__GDV.slangp".
[WARN] [Shaders]: Could not read root preset: "C:\Games\Retroarch\shaders\shaders_slang\bezel\Mega_Bezel_Packs\Duimon-Mega-Bezel\Presets\Advanced\Nintendo_GBA\GBA-[ADV]-[Guest]-[Bezel]-[Night].slangp".
[ERROR] [Vulkan]: Failed to create preset: "C:\Games\Retroarch\shaders\shaders_slang\bezel\Mega_Bezel_Packs\Duimon-Mega-Bezel\Presets\Advanced\Nintendo_GBA\GBA-[ADV]-[Guest]-[Bezel]-[Night].slangp".
[ERROR] [Vulkan]: Failed to create filter chain: "C:\Games\Retroarch\shaders\shaders_slang\bezel\Mega_Bezel_Packs\Duimon-Mega-Bezel\Presets\Advanced\Nintendo_GBA\GBA-[ADV]-[Guest]-[Bezel]-[Night].slangp". Falling back to stock.

This path should be…

Retroarch\shaders\Mega_Bezel_Packs\Duimon-Mega-Bezel

You need to move the “Mega_Bezel_Packs” folder into the root shaders folder.

PACK 7 is out. The presets can now be done.

PM isn’t working for me. That’s why I posted it here.

2 Likes

Hi @Duimon is there a line to add in the preset file, like for background images (BackgroundImage = “image,png”) to add the night and led overlays? Could you tell me what it is?

1 Like

There are several image layers, here is a mostly complete list.

BackgroundImage
BackgroundVertImage
CabinetGlassImage
DecalImage
DeviceImage
DeviceVertImage
DeviceLEDImage
FrameTextureImage
IntroImage
* LEDImage
* NightLightingImage
* NightLightingImage2
ReflectionMaskImage
ScreenPlacementImage
TopLayerImage
TubeDiffuseImage
TubeColoredGelImage
TubeStaticReflectionImage

I’ve marked the images you mentioned.

1 Like

Thanks really appreciate it!

Hi HyperspaceMadness, I hope your fine.

I got the same problem as him, I tried your solutions and changed driver from Vulkan to GL and GLCORE and didn’t worked for me like it worked for him, I swear I tried so much stuff and I could swear it worked with Vulkan at some point in the past, but now I can’t make it work. I just want to play Game Gear with Dulmon Bezel + Shadder.

1 Like

If you are using Vulkan or GLCORE, slang shaders should be visible. If they aren’t, first make sure you restart Retroarch after you change the driver, then double check after restart that the driver is indeed Vulkan or GLCORE.

It could be that some global override is keeping it on GL.

Oh yeah, that is it! worked now!

It’s was you who made the bezel, right? absolute amazing, loved it!

Thank you very much!

2 Likes

Hey guys, why the Wii game shows Black Border on screen? Is it supposed to be like this even in real hardware? If yes, are there somehow I can increase the borders of the bezel to make it cover the black part?

1 Like

The Wii was capable of displaying both 4x3 and 16x9 aspect ratio. Not all games support 16x9. (Or the widescreen hack in core settings)

In this case the Wii will display the game with black bars.

I have 16x9 forced on this preset. If you use the “Cropping” parameters to get rid of the black bars, the game will be stretched and not look correct.

One solution would be to set the core settings to display 4x3, save a game override, and use my 4x3 preset.

Personally, I play all my Wii and Gamecube games in 4x3 to eliminate this issue. Here is how it looks for me. (Using one of my 4x3 presets.)

At this point you could use the cropping parameters to get rid of the top and bottom bars and save a game preset.

One more point…

When asking a support question, please give the name of the rom you are trying to run, it took me a bit to puzzle this out. :grin:

Thanks for answer, I’ll try it.

Sorry for not share the .iso I was playing, I’ll try to not forget it next time.

1 Like