How do I open shaders.dat?
How do I save whatever shader I modify back into shaders.dat?
I'm on macOS, btw.
Thanks.
How to edit Shaders
Moderator: ScummVM Team
- Praetorian
- ScummVM Developer
- Posts: 882
- Joined: Tue May 08, 2007 8:54 am
- Location: Greece
- Contact:
Re: How to edit Shaders
The info in this thread might be useful, especially starting from: viewtopic.php?p=98198#p98198
Basically the shaders.dat file is simply zipped so you should be able to open it using an app like 7-zip (or whatever MacOS has for unzippng anyway).
But you don't really have to open it; you can find the shaders in the link that sev provides (https://github.com/scummvm/scummvm-shaders).
And you also shouldn't have to recreate a shaders.dat since you can point ScummVM to use an individual file (with .glslp extension) as a shader, with the "Pick file instead..." button.
See here for the official documenation (section: "Shaders")
https://docs.scummvm.org/en/latest/sett ... phics.html
Re: How to edit Shaders
Thank you for the advice about the DAT file. Now, according to the CRT-Royale readme, the shader is either edited by changing the runtime parameters within retroarch menus (which is impossible here) or via the user-settings.h file, which is missing for GLSL shaders converted from CG because it has been deprecated in favor of Slang shaders which require a Vulkan backend.