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: GroovyMAME for Mac OS X  (Read 2107 times)

0 Members and 1 Guest are viewing this topic.

keilmillerjr

  • Trade Count: (+5)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1847
  • Last login:October 06, 2023, 10:20:39 pm
  • Web Developer.
GroovyMAME for Mac OS X
« on: July 10, 2019, 01:53:51 am »
Is there any benefit to compiling MAME for Mac OS X with the groovy patch?

Substring

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 816
  • Last login:March 23, 2024, 02:35:43 pm
  • Forking GroovyArcade
    • forum.arcadecontrols.com/index.php/topic,160023.0.html
    • GroovyArcade active fork
Re: GroovyMAME for Mac OS X
« Reply #1 on: July 13, 2019, 06:58:28 am »
can mac os resolution be switched like on linux or windows ? does groovymame support mac os ?

keilmillerjr

  • Trade Count: (+5)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1847
  • Last login:October 06, 2023, 10:20:39 pm
  • Web Developer.
Re: GroovyMAME for Mac OS X
« Reply #2 on: July 23, 2019, 03:45:57 pm »

Substring

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 816
  • Last login:March 23, 2024, 02:35:43 pm
  • Forking GroovyArcade
    • forum.arcadecontrols.com/index.php/topic,160023.0.html
    • GroovyArcade active fork
Re: GroovyMAME for Mac OS X
« Reply #3 on: July 23, 2019, 04:53:42 pm »
Still, GM needs to be able to switch resolution in the fly for mac. And I have absolutely no idea if the mac display server is compatible with X and xrandr. All the display stuff is OS specific

keilmillerjr

  • Trade Count: (+5)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1847
  • Last login:October 06, 2023, 10:20:39 pm
  • Web Developer.
Re: GroovyMAME for Mac OS X
« Reply #4 on: July 24, 2019, 01:03:02 am »
Still, GM needs to be able to switch resolution in the fly for mac. And I have absolutely no idea if the mac display server is compatible with X and xrandr. All the display stuff is OS specific

Found this claiming to be xrandr for mac: https://github.com/jakehilborn/displayplacer/blob/master/README.md

Substring

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 816
  • Last login:March 23, 2024, 02:35:43 pm
  • Forking GroovyArcade
    • forum.arcadecontrols.com/index.php/topic,160023.0.html
    • GroovyArcade active fork
Re: GroovyMAME for Mac OS X
« Reply #5 on: July 24, 2019, 03:33:05 am »
Can't check atm, but i think it uses the C library, not the binary

Doozer

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 498
  • Last login:June 12, 2023, 09:19:49 am
  • Z80 ERROR
Re: GroovyMAME for Mac OS X
« Reply #6 on: July 27, 2019, 01:04:25 pm »
Can't check atm, but i think it uses the C library, not the binary
Hi,

The Linux GM uses the libxrandr to managed resolution switches. I have some Mac specific sections but I never tested a Mac built. If Mac has libxrandr support, using GM should be straightforward.

keilmillerjr

  • Trade Count: (+5)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1847
  • Last login:October 06, 2023, 10:20:39 pm
  • Web Developer.
Re: GroovyMAME for Mac OS X
« Reply #7 on: July 27, 2019, 03:35:05 pm »
Can't check atm, but i think it uses the C library, not the binary
Hi,

The Linux GM uses the libxrandr to managed resolution switches. I have some Mac specific sections but I never tested a Mac built. If Mac has libxrandr support, using GM should be straightforward.

I think it has libxrandr support?

https://github.com/practicalswift/osx/tree/master/src/x11libs/libXrandr/libXrandr-1.3.1

Will check soon and see if i have the binary already installed.

Substring

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 816
  • Last login:March 23, 2024, 02:35:43 pm
  • Forking GroovyArcade
    • forum.arcadecontrols.com/index.php/topic,160023.0.html
    • GroovyArcade active fork
Re: GroovyMAME for Mac OS X
« Reply #8 on: July 27, 2019, 05:03:33 pm »
It's not a binary, it's a shared library you need. Such as .dll in windows, or .so in linux. You'll also need C/C++ dev packages in order to compile.

Reading https://docs.mamedev.org/initialsetup/compilingmame.html#apple-mac-os-x is probably necessary too

keilmillerjr

  • Trade Count: (+5)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1847
  • Last login:October 06, 2023, 10:20:39 pm
  • Web Developer.
Re: GroovyMAME for Mac OS X
« Reply #9 on: July 27, 2019, 08:53:38 pm »
It's not a binary, it's a shared library you need. Such as .dll in windows, or .so in linux. You'll also need C/C++ dev packages in order to compile.

Reading https://docs.mamedev.org/initialsetup/compilingmame.html#apple-mac-os-x is probably necessary too

libXrandr binary. Ive been patching and compiling mame for linux and mac os x. Thats why i was wondering about groovy patch and mac os x. See my mame-diffs github repo.

Edit: home after an extremely long day. I have xrandr installed on mac os x.

Doozer

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 498
  • Last login:June 12, 2023, 09:19:49 am
  • Z80 ERROR
Re: GroovyMAME for Mac OS X
« Reply #10 on: July 28, 2019, 02:20:05 am »
It's not a binary, it's a shared library you need. Such as .dll in windows, or .so in linux. You'll also need C/C++ dev packages in order to compile.

Reading https://docs.mamedev.org/initialsetup/compilingmame.html#apple-mac-os-x is probably necessary too

libXrandr binary. Ive been patching and compiling mame for linux and mac os x. Thats why i was wondering about groovy patch and mac os x. See my mame-diffs github repo.

Edit: home after an extremely long day. I have xrandr installed on mac os x.
This is the standalone xrandr executable. Sometime ago, I rewrote the xrandr part and used the libxrandr shared library instead.

Game might not be over still, if you have the "ldd" command, what is ldd xrandr outputing?

Doozer

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 498
  • Last login:June 12, 2023, 09:19:49 am
  • Z80 ERROR
Re: GroovyMAME for Mac OS X
« Reply #11 on: July 28, 2019, 02:29:48 am »
I found info on the Net.

By default Mac OS does not have libxrandr support.

You can find some unofficial source to have it installed.

E.g. first entry from Google: https://github.com/practicalswift/osx/tree/master/src/x11libs/libXrandr/libXrandr-1.3.1

Let me know if you managed to get one installed. I can check the code to make it compatible if you have bit of time available for compilation. FYI I do not own a Mac, it might require some itterations.