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: Game Specific Volume Settings in MAME  (Read 5899 times)

0 Members and 1 Guest are viewing this topic.

Woodshop Flunky

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 681
  • Last login:August 20, 2017, 05:24:57 am
Game Specific Volume Settings in MAME
« on: July 18, 2011, 02:08:19 pm »
I'm sure this is possible, but I'm missing an example in my search.

I've noticed that if I set the volume control on my speakers to a nice level in one game, then next game may be too loud or too quite.  Is there a way to set a specific volume level for each game individually?

Thanks!

Complete mini arcade cabinet plans available.

Donkbaca

  • Our reptillian overlords would be pleased
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2648
  • Last login:May 09, 2012, 06:28:10 pm
    • Slim built MAME/Xbox cab
Re: Game Specific Volume Settings in MAME
« Reply #1 on: July 18, 2011, 02:45:00 pm »
yeah, if you press F2 and access the game menu, a lot of games have a volume control, I know all the midway games do....

leapinlew

  • Some questionable things going on in this room with cheetos
  • Trade Count: (+4)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 7919
  • Last login:July 27, 2025, 11:06:50 am
Re: Game Specific Volume Settings in MAME
« Reply #2 on: July 18, 2011, 02:58:59 pm »
yeah, if you press F2 and access the game menu, a lot of games have a volume control, I know all the midway games do....


Does it keep the setting? I'm using an older version of Mame and it doesn't stick with the MK games.

Woodshop Flunky

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 681
  • Last login:August 20, 2017, 05:24:57 am
Re: Game Specific Volume Settings in MAME
« Reply #3 on: July 18, 2011, 03:20:49 pm »
While in a game, I can hit tab to adjust the volume from MAME.  Can this be set from a config file for each game?

Complete mini arcade cabinet plans available.

gabe

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 102
  • Last login:September 10, 2012, 12:44:38 pm
Re: Game Specific Volume Settings in MAME
« Reply #4 on: July 18, 2011, 03:57:09 pm »
While in a game, I can hit tab to adjust the volume from MAME.  Can this be set from a config file for each game?

Yes.

Let's say 1942 is too loud... You could then create 1942.ini in your ini directory. The file should look something like this:

Code: [Select]
volume -12
Note that you can set any other game specific options here.

From the mame config.txt:

Code: [Select]
-volume / -vol <value>

Sets the startup volume. It can later be changed with the user
interface (see Keys section). The volume is an attenuation in dB:
e.g., "-volume -12" will start with -12dB attenuation. The default
is 0.

Woodshop Flunky

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 681
  • Last login:August 20, 2017, 05:24:57 am
Re: Game Specific Volume Settings in MAME
« Reply #5 on: July 18, 2011, 04:41:14 pm »
...

You could then create 1942.ini in your ini directory. The file should look something like this:

Code: [Select]
volume -12
...

Thanks!  This worked well.

Complete mini arcade cabinet plans available.

djm858

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 38
  • Last login:March 27, 2015, 09:05:10 pm
Re: Game Specific Volume Settings in MAME
« Reply #6 on: July 18, 2011, 04:49:55 pm »
...

You could then create 1942.ini in your ini directory. The file should look something like this:

Code: [Select]
volume -12
...

Thanks!  This worked well.

Just wondering (as I'm unable to check right now).  Is "volume -12" relative to the current volume setting or an absolute volume, and does it reset back automatically when the game exits?

Thanks,

scofthe7seas

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 340
  • Last login:January 10, 2012, 11:33:10 am
  • I'm Eskimo. There's nothing here.
Re: Game Specific Volume Settings in MAME
« Reply #7 on: July 19, 2011, 02:00:17 pm »
Just wondering (as I'm unable to check right now).  Is "volume -12" relative to the current volume setting or an absolute volume, and does it reset back automatically when the game exits?

Thanks,

Do you mean like a global setting, in windows (or whatever)? It changes in game volume only, relative to whatever volume level you have your system set as. If you have the speaker volume up way high, turning it down in mame will make it "less way high". I have the volume button mapped to a admin button. Some games are much louder than others, so it's pretty convenient. I also have a command line in mame to set the volume down -3, in case some games are too quiet and should be turned up.