Search the Community
Showing results for tags 'shaderglass'.
-
Hey, just sharing a quick tutorial because, I spent a few hours making this work. Basically I'm using Retroarch for most of my emulators and shaders. Especially the koko-aio crt shaders that are in my opinion the most immersive and realistic. The issue is that some consoles doesn't have a retroarch core yet making it impossible to add shaders. Fortunately someone called mausimus created an open-source app, ShaderGlass, which overlays any glsl or slang shaders on top of pretty much anything. Sounds fun, but it doesn't work as simply as you'd want. Here's how I made it work : 1. First you need a working Xemu emulator configurated. 2. Now let's modify some Xemu parameters : First, under Display tab, you need to disable fullscreen and fullscreen on startup : A little further down the page you'll want to set the display mode to Stretch and set the aspect ratio on Native : 3. Now you'll want to install the latest stable version of ShaderGlass from their official GitHub : https://github.com/mausimus/ShaderGlass/releases You can then import any missing RetroArch shaders like the missing koko-aio that are fullscreen : Set the input mode to Clone : Save your setup as a custom profile, call it something like xemu.sgp : 4. Now in Launchbox modify your Xemu emulator and remove the -fullscreen flag in the command-line parameters. Should be looking like this now : 5. Now, still in LaunchBox's Xemu emulator options, replace the Running Script by (update paths accordingly) : WinWait, ahk_exe xemu.exe WinWaitActive, ahk_exe xemu.exe Run, D:\LaunchBox\ThirdParty\ShaderGlass\ShaderGlass.exe -f D:\LaunchBox\ThirdParty\ShaderGlass\presets\xemu.sgp Sleep, 1000 WinActivate, ahk_exe xemu.exe WinWaitActive, ahk_exe xemu.exe WinWaitClose, ahk_exe xemu.exe WinClose, ahk_exe ShaderGlass.exe Basically what it does is simply : Wait for Xemu emulator to be ready Run ShaderGlass fullscreen with your profile Give back the focus to Xemu so that your controller works When Xemu end, exit ShaderGlass You would think it's done but unfortunately you still require borderless gaming to get Xemu fullscreen without being actually fullscreen. Otherwise your shader will clip on both sides and look like this : 6. Install the legacy open source version of Borderless Gaming which is still working great up to this day on Windows 11 : https://legacy.borderlessgam.ing 7. Add Xemu to your Favorites which means it's going to fullscreen window the app automatically : 8. Check Run on Startup under Options dropdown. Now everything is automated and working! You might wonder why I'm not using ResizeRaccoon which does the same thing? I tested it and it's working if you're not using BigBox as Windows shell instead of explorer.exe. In my case I'm shelling bigbox.exe so Resize Raccoon doesn't work because it's a system tray only app. It would be great if the dev fix this but I don't have time right now to raise an issue on their Github. It would be best in the future because it's open source compared to borderless gaming which is now paid. By the way this is working perfectly in BigBox. Enjoy!
-
Hi all, Ymir is a young in development Sega Saturn emulator but already has some very appealing features. I have been using it often recently but have been unsatisfied with how Saturn graphics render at 1080p without some sort of scaling or filter. I read a post by the author in Github saying that internal resolution scaling and shaders features will be implemented soon but until then I think this will do the job 😃 This is a mini tutorial/instructions on how to use Ymir in conjunction with ShaderGlass in Launchbox, to have access to tons of shader effects for Sega Sautn games. I did not see any specific tutorial so I did a bit of research and trial and error and I am sharing here the results. With this method both applications will be started when launching a game and closed together at the end. First of all of course have your Sega Saturn isos (chd, bin/cue, whatever), Ymir emulator and ShaderGlass setup wherever you want. I put ShaderGlass inside Launchbox/ThirdParty directory. You don't want Ymir to go fullscreen because in my testing it wasn't working well with some shaders, in particular MegaBezel (my favorite). So remove any related command line in emulator settings in Launchbox (-f). Then setup the following options in Ymir video settings: - Force integer scaling: enabled - Force aspect ration: 4:3 - Full screen: disabled - View, set video scale to: 3x - The window will be larger than the monitor at 1080p resolution but it will be scaled down trough ShaderGlass. I know it's not 3x internal scaling, just a view scale, but to me the final result is looking better than 2x at 1080p. In Launchbox setup a running script. I used the script for the Xemu emulator from this post and modified it a bit: This is what I am using: I'm not explaining it in details since it is already done in that post, only the addition that I made to make it working with Ymir. Create an sgp profile in ShaderGlass for Ymir choosing the shader of your choice. The problem that I found here is that choosing Ymir window as "Input, Window" in ShaderGlass couldn't be autmated in the script because Ymir is updating the its window title constantly. You can still setup the emulator in fullscreen and choose "Input, Desktop" in ShaderGlass but, as I said, I wasn't always satisfied with the results. The solution that I found was to create the following Auothotkey script "renamewintitle.exe" and run before everything else: It basically renames Ymir window to "ymir" every 10 ms. Setup "Input, Window" to "ymir" in ShaderGlass and you're good. Also you can crop the window in ShaderGlass to cut the Ymir menu. I use 24 pixels from the top. If anyone has a better or more elegant solution please share. You can change the shader in ShaderGlass in real time with the hotkey (default keyboard "n"), experiment and find which one you like. Enjoy! 😄😁✌️