When you load a shader with this core it works but the moment you save it so it can load it automatically it… disappears.
I found that it saves the paths like this:
shader0 = “…/shaders_glsl/crt/shaders/crt-lottes.glsl”
This doesn’t work. But other MAME cores saves them like this:
shader0 = “…/…/shaders_glsl/crt/shaders/crt-lottes.glsl”
This works. But you have to change it manually for MAME to load.