Jump to content

Retro arch Shades Settings?


newoski

Recommended Posts

Posted

Hi guys

Does anyone know how to customize RA shader settings? I love the CRT Royale shader, but I'd like to remove the curvature...

Any help would be greatly appreciated

Posted

I usually edit them manually by opening up their .cg in a text editor and changing the first number after the parameter name. Royale has a user-settings.h file with a line #define RUNTIME_SHADER_PARAMS_ENABLE you need to add // before so you can change settings in that.

 

You can go into Options, Shader Options, Parameters (Current) in the menu to change parameters while playing to see how the changes look.

Posted

I usually edit them manually by opening up their .cg in a text editor and changing the first number after the parameter name. Royale has a user-settings.h file with a line #define RUNTIME_SHADER_PARAMS_ENABLE you need to add // before so you can change settings in that.

 

You can go into Options, Shader Options, Parameters (Current) in the menu to change parameters while playing to see how the changes look.

 

Alright, so I figured out how to change it from within the RGUI as described. That's on a per system setting. If possible, could you explain how to edit the default so that it applies to all systems using that shader (Royale)

Posted

If you do it from RGUI, you should be able to use Shader Preset Save As to save a .cgp that has all your parameter changes saved in it. Then you should be able to load that .cgp as your shader preset and have it stick as your default. If that doesn't work, try opening your retroarch.cfg, find the "video_shader = " line and put the name of the .cgp there.

 

If you use per core options, I'm not sure if there's a way to set a default shader. You might have to set the shader for each system with that feature. I use override configs instead, which allow me to set a default shader in retroarch.cfg, then optionally set per core or even per game shaders. You can't create those through RGUI yet though, you have to make the config folders and files manually. I explain how they work in this post.

Posted

If you do it from RGUI, you should be able to use Shader Preset Save As to save a .cgp that has all your parameter changes saved in it. Then you should be able to load that .cgp as your shader preset and have it stick as your default. If that doesn't work, try opening your retroarch.cfg, find the "video_shader = " line and put the name of the .cgp there.

 

If you use per core options, I'm not sure if there's a way to set a default shader. You might have to set the shader for each system with that feature. I use override configs instead, which allow me to set a default shader in retroarch.cfg, then optionally set per core or even per game shaders. You can't create those through RGUI yet though, you have to make the config folders and files manually. I explain how they work in this post.

 

Shader Preset Save As doesn't seem to work... seems to be a known issue. Does it work on yours?

Posted

I can get it to save by typing a filename with .cgp at the end, but it doesn't save the changed parameters like I thought it would. Not sure if there's some extra step needed or if that's broken right now.

 

To manually edit the shader to remove the rounded border (this shader doesn't have curvature on by default...), you can open user-settings.h in the crt-royale folder with Notepad or any other text editor. Then find "#define RUNTIME_SHADER_PARAMS_ENABLE" and add a // before it (//#define RUNTIME_SHADER_PARAMS_ENABLE). Then scroll to the bottom where "static const float border_size_static" is and change the number there to 0.0000001.

Posted

I can get it to save by typing a filename with .cgp at the end, but it doesn't save the changed parameters like I thought it would. Not sure if there's some extra step needed or if that's broken right now.

 

To manually edit the shader to remove the rounded border (this shader doesn't have curvature on by default...), you can open user-settings.h in the crt-royale folder with Notepad or any other text editor. Then find "#define RUNTIME_SHADER_PARAMS_ENABLE" and add a // before it (//#define RUNTIME_SHADER_PARAMS_ENABLE). Then scroll to the bottom where "static const float border_size_static" is and change the number there to 0.0000001.

 

One more question... Any idea how to remove the roughly 1" border around the Game Boy shader (gb-shader.cgp)? 

 

I love the look of the shader, but would prefer the game reached the top of the screen -- maintaining aspect ratio -- like all my other RetroArch systems

Posted

One more question... Any idea how to remove the roughly 1" border around the Game Boy shader (gb-shader.cgp)? 

 

I love the look of the shader, but would prefer the game reached the top of the screen -- maintaining aspect ratio -- like all my other RetroArch systems

 

I think it's there to force integer scaling so the shader's grid stays even. But I've heard of some people modifying the shader to scale all the way up. They didn't share how they did it though. It's a pretty small border so I don't mind it much.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...