Main > Linux
How to enable HLSL or GLSL in SDLmame on a mac
Locke141:
I know this is not linux but I thought this would be a better place to ask as its SDL mame on a unix like system.
I'm trying SDLmame on my macbook running OS X Yosemite with 0.157 64bit. I managed to create an .ini but nothing seem to work. My mame executable is called mame64 but the .ini is called mame.ini. I tried hanging the names of one then the other to match with no luck.
I just want something simple that will look good on my 90's games.
B2K24:
HLSL is Windows only so you can't use it in SDL builds. You can use a shader using the GLSL system.
http://www.mameworld.info/ubbthreads/showflat.php?Cat=&Number=330562&page=0&view=expanded&sb=5&o=&vc=1
basically you change video to opengl in the mame.ini
filter 1
prescale 1
gl_forcepow2texture 0
gl_notexturerect 0
gl_vbo 1
gl_pbo 1
gl_glsl 1
gl_glsl_filter 1
glsl_shader_mame0 C:\SDLMAME\CRT-geom\Lottes_CRT
Locke141:
Thanks B2k24,
I signed up for mame world and got the file and followed your directions but I can't get it to work. I get the incomplete graphics warning then nothing.
I got the version named 332176-Lottes_CRT_VERT_SEP_10 I tried it that renaming it to Lottes_CRT still no go.
Any ideas?
Locke141:
Thanks B2K24,
6-player x-man ver uce will not start with the above settings but TMNT will and other games but with now shaders?
I set my path as /Applications/qmc2 /mame0157-64bit/Lottes_CRT
Below is what my terminal came back with.
--- Quote ---Last login: Tue Feb 3 14:43:51 on ttys000
Locke:~ brian$ /Applications/qmc2\ /mame0157-64bit/mame64\ Starter.command ; exit;
cannot open shader_file: /Applications/qmc2 /mame0157-64bit/Lottes_CRT.vsh
OpenGL: GLSL loading mame bitmap shader 0 failed (/Applications/qmc2 /mame0157-64bit/Lottes_CRT)
cannot open shader_file: /Applications/qmc2 /mame0157-64bit/Lottes_CRT.vsh
OpenGL: GLSL loading mame bitmap shader 0 failed (/Applications/qmc2 /mame0157-64bit/Lottes_CRT)
Average speed: 100.00% (15 seconds)
cannot open shader_file: /Applications/qmc2 /mame0157-64bit/Lottes_CRT.vsh
OpenGL: GLSL loading mame bitmap shader 0 failed (/Applications/qmc2 /mame0157-64bit/Lottes_CRT)
logout
[Process completed]
--- End quote ---
Arbee:
Sorry to necrothread, but do you mean to have a space in the directory name "qmc2 "? Because that looks like an obvious problem vector.