Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: How to enable HLSL or GLSL in SDLmame on a mac  (Read 11597 times)

0 Members and 1 Guest are viewing this topic.

Locke141

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1690
  • Last login:February 03, 2024, 06:00:00 am
  • Never grow up.
How to enable HLSL or GLSL in SDLmame on a mac
« on: February 02, 2015, 06:14:49 am »
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

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 216
  • Last login:May 10, 2023, 09:33:05 pm
Re: How to enable HLSL or GLSL in SDLmame on a mac
« Reply #1 on: February 02, 2015, 04:17:23 pm »
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

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1690
  • Last login:February 03, 2024, 06:00:00 am
  • Never grow up.
Re: How to enable HLSL or GLSL in SDLmame on a mac
« Reply #2 on: February 03, 2015, 05:13:56 am »
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?
« Last Edit: February 03, 2015, 06:50:42 am by Locke141 »

Locke141

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1690
  • Last login:February 03, 2024, 06:00:00 am
  • Never grow up.
Re: How to enable HLSL or GLSL in SDLmame on a mac
« Reply #3 on: February 03, 2015, 06:48:54 am »
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]
« Last Edit: February 03, 2015, 07:01:11 am by Locke141 »

Arbee

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 50
  • Last login:December 20, 2023, 12:36:54 pm
Re: How to enable HLSL or GLSL in SDLmame on a mac
« Reply #4 on: June 02, 2015, 04:23:03 pm »
Sorry to necrothread, but do you mean to have a space in the directory name "qmc2 "?  Because that looks like an obvious problem vector.

alfonzotan

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 534
  • Last login:November 28, 2023, 08:39:45 am
    • The Cab With No Name
Re: How to enable HLSL or GLSL in SDLmame on a mac
« Reply #5 on: June 24, 2015, 10:44:13 am »
I put up a long post on Mac MAME-ing a while back, including HLSL shaders.  See if this helps:

http://forum.arcadecontrols.com/index.php/topic,138555.msg1431121.html#msg1431121

Locke141

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1690
  • Last login:February 03, 2024, 06:00:00 am
  • Never grow up.
Re: How to enable HLSL or GLSL in SDLmame on a mac
« Reply #6 on: June 24, 2015, 04:33:18 pm »
Thanks guys,

I was playing with qmc2 at the time and that was the correct path at the time, I think. Now I'm using Attract mode on the mac.

alfonzotan I'll definitely take a look. :cheers:

Update: Thanks Alfonzotan, I like EMU launcher. It feels like a mac application.
« Last Edit: June 25, 2015, 01:50:17 am by Locke141 »