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: Enable Cocktail Mode for specific games  (Read 2525 times)

0 Members and 1 Guest are viewing this topic.

rchadd

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1830
  • Last login:June 10, 2013, 06:14:06 am
  • Made in Cornwall
Enable Cocktail Mode for specific games
« on: June 01, 2004, 06:05:46 pm »
I know that cocktail mode can be enabled by changing the dip switches for a game.

But does this have to done everytime you play the game, or can these dip settings be saved t0o be effective for next time that it is played?

do you have to create/edit an ini file to do this? is there already an ini file that already enables cocktail mode for games that support it?

is there a switch that should be up on the mame command line to specify the dip switch settings when the game is started?

i don't want to enable cocktail mode for all games if possible as my cab will also have CP on the "3rd side".

TheGatesofBill

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 581
  • Last login:August 22, 2018, 09:07:04 am
Re:Enable Cocktail Mode for specific games
« Reply #1 on: June 01, 2004, 06:22:00 pm »
The DIP settings are stored in the cfg file for the game. There is also a cocktail compile around somewhere.

rchadd

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1830
  • Last login:June 10, 2013, 06:14:06 am
  • Made in Cornwall
Re:Enable Cocktail Mode for specific games
« Reply #2 on: June 01, 2004, 06:44:30 pm »
The DIP settings are stored in the cfg file for the game

looks like the cfg file is not a text file. assume that means that i need to start the game go into the admin screen and then set the dip switches. are the settings then saved to the cfg file when I exit mame? will they then be used automatically the next time i play that game?

TheGatesofBill

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 581
  • Last login:August 22, 2018, 09:07:04 am
Re:Enable Cocktail Mode for specific games
« Reply #3 on: June 01, 2004, 06:48:34 pm »
Yes, but they are game-specific.

Jakobud

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1962
  • Last login:June 30, 2025, 02:20:39 pm
Re:Enable Cocktail Mode for specific games
« Reply #4 on: June 01, 2004, 08:08:05 pm »
CFG files are binary.  They are game specific.  They save so that the next time you play the game it has the same CFG settings.  CFG files are rarely compatible from one Mame version to another (ie. when upgrading Mame you will probably have to adjust CFG settings again for each game). Why no one has yet to make software that parses CFG files so you can edit them outside of Mame is beyond me...
« Last Edit: June 01, 2004, 08:08:58 pm by Jakobud »

rchadd

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1830
  • Last login:June 10, 2013, 06:14:06 am
  • Made in Cornwall
Re:Enable Cocktail Mode for specific games
« Reply #5 on: June 01, 2004, 08:57:54 pm »
looks like there is going to be a lot of work to set up each game then...

is it easy to figure which games support cocktail mode and what dip setting are required?

is this info documented anywhere?

i had hoped that it was just a matter of setting a variable in the mame.ini file !?!
 eg. "mode=cocktail" and that would apply to all games that supports that mode. I think that would have been a good solution.

Is there a build of mame specifically for cocktail cab? does No Name Mame support this type of feature?

TheGatesofBill

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 581
  • Last login:August 22, 2018, 09:07:04 am
Re:Enable Cocktail Mode for specific games
« Reply #6 on: June 01, 2004, 09:03:27 pm »
There is a Cocktail MAME somewhere if memory serves. I am looking into adding a -cocktail switch or something to No Name MAME, but it requires more time than I currently have.

Tilzs

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 332
  • Last login:February 16, 2011, 10:41:56 am
  • Neat
    • Cocktail Arcade
Re:Enable Cocktail Mode for specific games
« Reply #7 on: June 02, 2004, 10:48:51 am »
If you use advance mame, you can set the cocktail dipswitch globally. :)

Better yet, you can set cocktail just for the vertical games, while leaving the dip switches for the horizonal games on regular. ( or vice versa) Just use the following line.

vertical/input_dipswitch[cabinet] cocktail
« Last Edit: June 02, 2004, 10:52:16 am by Tilzs »

seibu

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 94
  • Last login:March 28, 2007, 12:55:34 pm
Re:Enable Cocktail Mode for specific games
« Reply #8 on: June 03, 2004, 07:00:48 am »
If you use advance mame, you can set the cocktail dipswitch globally. :)

Better yet, you can set cocktail just for the vertical games, while leaving the dip switches for the horizonal games on regular. ( or vice versa) Just use the following line.

vertical/input_dipswitch[cabinet] cocktail


Had to add (sorry!) - that advanceMAME also lets you flip games that don't have cocktail support in-game by pressing a certain key - so you can effectively play anything cocktail style!

God I love advanceMAME!

Howard_Casto

  • Idiot Police
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 19427
  • Last login:Yesterday at 10:27:17 pm
  • Your Post's Soul is MINE!!! .......Again??
    • The Dragon King
Re:Enable Cocktail Mode for specific games
« Reply #9 on: June 03, 2004, 03:26:23 pm »
CFG files are binary.  They are game specific.  They save so that the next time you play the game it has the same CFG settings.  CFG files are rarely compatible from one Mame version to another (ie. when upgrading Mame you will probably have to adjust CFG settings again for each game). Why no one has yet to make software that parses CFG files so you can edit them outside of Mame is beyond me...


Because they are the wrong way to go....  Ctrlr files are the future.  If the proper code was added there could be dip files added that work just like ctrlr files.  Unfortunately, with the exception of urebel, myself and a few others, nobody wants to "waste time" working on mame's various input and configuration issues.  And as we are all busy with our own projects, it's hard to get the time to work on them either.  

danny_galaga

  • Grand high prophet of the holy noodle.
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 8522
  • Last login:July 18, 2025, 01:09:20 am
  • because the mail never stops
    • dans cocktail lounge
Re:Enable Cocktail Mode for specific games
« Reply #10 on: June 08, 2004, 10:19:42 am »

Had to add (sorry!) - that advanceMAME also lets you flip games that don't have cocktail support in-game by pressing a certain key - so you can effectively play anything cocktail style!

God I love advanceMAME!

you mean i could play defender in cocktail mode? damn, i wish i knew how to do 'techy' stuff on the 'puter...


ROUGHING UP THE SUSPECT SINCE 1981

rchadd

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1830
  • Last login:June 10, 2013, 06:14:06 am
  • Made in Cornwall
Re:Enable Cocktail Mode for specific games
« Reply #11 on: June 08, 2004, 02:33:19 pm »
you mean i could play defender in cocktail mode?

are you sure defender does not already have a dip setting to enable cocktail mode?

a few weeks ago i saw an original  defender cocktail cab on ebay.

danny_galaga

  • Grand high prophet of the holy noodle.
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 8522
  • Last login:July 18, 2025, 01:09:20 am
  • because the mail never stops
    • dans cocktail lounge
Re:Enable Cocktail Mode for specific games
« Reply #12 on: June 09, 2004, 07:08:12 am »
you mean i could play defender in cocktail mode?

are you sure defender does not already have a dip setting to enable cocktail mode?

a few weeks ago i saw an original  defender cocktail cab on ebay.

my ROM doesnt have any dip switch settings. dont know, maybe there is a later type that does? i have red label and green label altough i have no idea what the difference is...


ROUGHING UP THE SUSPECT SINCE 1981