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: Flip Screen  (Read 1250 times)

0 Members and 1 Guest are viewing this topic.

jedimason

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 48
  • Last login:May 16, 2007, 08:33:54 pm
  • I've just sucked one year of your life away.
Flip Screen
« on: April 05, 2004, 11:13:36 pm »
I know you can change the dip switches in each game to cocktail mode, but is there a way to make every game cocktail mode like in the mame .ini file?

Thanks for the help,

Jedimason

Lilwolf

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4945
  • Last login:July 31, 2022, 10:26:34 pm
Re:Flip Screen
« Reply #1 on: April 06, 2004, 02:43:46 pm »
nope... wouldn't that be nice

no common dipswitches... but some might (don't know... guessing) be very different to determine cocktail status (some could be on/off... some off/on... some on,on/off,on....

luckly these are all fun... start at the top and play / setup each....

getting your cabinet working will should be part of trying games youve never tried

TheGatesofBill

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 581
  • Last login:August 22, 2018, 09:07:04 am
Re:Flip Screen
« Reply #2 on: April 06, 2004, 04:19:59 pm »
Maybe I should add this to No Name MAME. The only thing that would stop me from doing it would be the large amount of tedious work. Also, I don't operate a cocktail myself. If there is significant interest, I will still do it though.

Howard_Casto

  • Idiot Police
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 19428
  • Last login:Today at 09:00:39 am
  • Your Post's Soul is MINE!!! .......Again??
    • The Dragon King
Re:Flip Screen
« Reply #3 on: April 06, 2004, 05:16:10 pm »
ACTUALLY.........  Although the dips are in different places and stored as different values.... the dips themselves and the settings are always the same:

Cabinet= Cocktail or Upright

or occasionaly

Cabinet= Cockpit or Upright

(cockpit and cocktail only differ superficially as only two cabinet modes are ever available in a game)

There are about 30+ dips that are hardcoded into mame, some of the highlights that might interest people are:

Coinage
Lives
Service Mode


So for you who aren't catching on, my point is although the data written to the cfg files may be different, the variables and their flags that mame translates them to are ALWAYS the same.  

So if anyone want's to do this, lets do it right:

Add a command line switch for every generic dipswitch flag.

Now modify the macro that loads the dipswitch settings so that it ignores the value in the cfg file if the corresponding command line switch has a set value.  

If someone were to go to the extra effort to do it this way rather than a quick hack the mame devs would probably accept it into the official build.

Not only that but having these settings would allow you to do the following:

For all games with the dipswitch, set them to freeplay mode.

Have a front end allow you to launch the config menu for a game by turning on the "service mode" dip. (All games with a service menu have a service mode dipswitch)  Then when you exit the game it turns the dip back off, thus eliminating the need to have service buttons on your control panel.  


Have dipswitch settings set for a specific system (like cps1/2)  and save them to a driver.ini file.  Now you've set the dips for all 200+ games on that system at once!

As you can see if done properly this could have a lot of potential, unfortunately, it could also be a lot of work considering the amount of variables you'd have to manage and the fact that the dipswtich reading macro is buried deep in the bowels of the source.  

I'm just saying though.... if anyone wants to step up to the plate, lets do it right.
« Last Edit: April 06, 2004, 05:50:22 pm by Howard_Casto »

TheGatesofBill

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 581
  • Last login:August 22, 2018, 09:07:04 am
Re:Flip Screen
« Reply #4 on: April 06, 2004, 07:08:22 pm »
I'll look into it once I get a free second. That sounds like a great idea, and also very useful.

PacManFan

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 858
  • Last login:December 06, 2005, 12:18:56 pm
    • Kymaera Home Page
Re:Flip Screen
« Reply #5 on: April 07, 2004, 09:18:41 am »
I've got a cocktial patch that I've written for mame. It goes through the source code, and changes all the upright settings to cocktail settings by default.

I can post it if someone is interested. Making it into a command line parameter for mame may be a little more difficult.

-PMF
All Hail Smezznar! The Giant purple centipede of Omnicron 5. Regail him with your odiferous offerings of onion powder!

Tilzs

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 332
  • Last login:February 16, 2011, 10:41:56 am
  • Neat
    • Cocktail Arcade
Re:Flip Screen
« Reply #6 on: April 26, 2004, 10:35:06 pm »
You can set the cocktail flag gobally in "advance mame"