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: MAME sound suddenly broken.  (Read 2804 times)

0 Members and 1 Guest are viewing this topic.

Sorn

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 52
  • Last login:July 09, 2018, 08:56:19 pm
  • I want to build my own arcade controls!
MAME sound suddenly broken.
« on: April 18, 2016, 04:56:05 pm »
I had the strangest thing happen to me, and im pulling my hair out because I just got a slew of other problems fixed and this one mysteriously appears to absorb all my time.

I went to launch MAME through hyperspin and audio works fine. I went to load mame and a game and I got a error about a font, and then the program crashed. Ever since that happened I cannot get sound to work with MAME.

I thought I might have messed with the audio options within mame since I was trying to press the tab key on mame loading to configure inputs, because the ` key will change sound values which is right next to tab. However all of the speaker and sound options are enabled, sound is enabled, and when I alt tab to desktop sound is working fine. I can play a sound file and sound goes through the speakers fine, all while mame is launched and there is no sound.

Im using a mame 0171 compiled fresh with mame compiler, which worked just fine yesterday with sound. I've tried deleting all the cfg/ini and just removing any possible configurations, running the mame exe to use default settings and there is still no sound.

To make it even more odd, if I use my old 0158 exe (that does not work with my lightguns, hence why I upgraded to 0171 which finally fixed all my issues), the sound works fine!

Why did the sound work fine with 0171 and all of a sudden stopped? Any advice on options for troubleshooting would be very welcome.

Thanks all!

B2K24

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 216
  • Last login:June 10, 2025, 10:17:56 am
Re: MAME sound suddenly broken.
« Reply #1 on: April 18, 2016, 08:42:36 pm »
Extract 0.172 from mamedev.org into an empty folder and create a fresh mame.ini

After that you won't have any problems.

Sorn

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 52
  • Last login:July 09, 2018, 08:56:19 pm
  • I want to build my own arcade controls!
Re: MAME sound suddenly broken.
« Reply #2 on: April 18, 2016, 10:06:30 pm »
Extract 0.172 from mamedev.org into an empty folder and create a fresh mame.ini

After that you won't have any problems.

I really wish that were the case. It appears that mamedev has forced input set by default. I have this thread here:

http://forum.arcadecontrols.com/index.php/topic,150393.0.html

that discusses the issue.

If you could give me a freshly compiled 0172 64bit with no forced input and no nag with highscore that would really make troubleshooting a lot easier for me. I've already posted in the mame compiler thread and no one has replied.

I got 0171 to compile with the mame compiler, with the above aforementioned options, and it works great.

But here's the kicker guys. Someone please help me understand this, as it makes no sense.

When I run 0171 with no presets, 'clean' per say, with just a few select games (point blank 1/2/3 for lightgun testing), it works GREAT!

But as soon as I move the contents of that directory over to my emulator folder, which has *only* the roms folder in it, suddenly the sound does not work. It almost implies to me that there are some sort of settings saved in the roms folder? Its blowing my mind, because that should not be happening.

I just cannot seem to get all my issues resolved. As soon as I fix one, another pops up :(
« Last Edit: April 19, 2016, 11:30:38 am by Sorn »

Sorn

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 52
  • Last login:July 09, 2018, 08:56:19 pm
  • I want to build my own arcade controls!
Re: MAME sound suddenly broken.
« Reply #3 on: April 19, 2016, 04:37:58 pm »
WOOHOO! I have fixed the issue. If anyone could make heads or tails of WHY, I would appreciate it.

I had a external HD with all my pre-configured emulators on it. For whatever reason, trying to run recent mame versions (0171 and 0172)out of the H:\MAME\ folder would always result in no audio. Strangely, if I ran my old 0158 exe audio worked just fine.

I fixed it by creating a new directory, H:\MAME\test , then taking everything out of the MAME folder and moving it to the test folder. Simply nesting the files in one directory lower resolved the problem.

Prior to this, I had already noticed that there was something strange with the directory itself as I could run the same setup from a different location fine, but the moment I moved it over to my usual directory the problems occurred. I checked out all the attributes, security settings, everything on the folders, and they all are the same. There is simply no reason for it to happen that I can figure out, yet there it is, not working in that dir, but working in any other dir.