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: Announce: Cocktail Mame Patch  (Read 3003 times)

0 Members and 1 Guest are viewing this topic.

PacManFan

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 858
  • Last login:December 06, 2005, 12:18:56 pm
    • Kymaera Home Page
Announce: Cocktail Mame Patch
« on: August 03, 2003, 11:59:10 am »
Hello everyone,
After much searching, I was unsucessfull in finding either a "CocktailMame" version or finding the "Patch" that was supposed to exist to convert the mame driver files to default to cocktail mode.

So, I decided to write my own. I'd like to say that this patch was done entirely for the BYOAC, however, I wrote it for my sister really, and her Ms.Pacman Cocktail Cabinet. I decided to share it with everyone else who has been strugling with configuring a cocktail cabinet w/ 3000+  games to default to cocktail mode.

I have tested this on Mame source .62, so if any re-compilers out there could run this past a newer version and report back to this thread, that would be great (SirP?,u_rebelscum?)

Here's a link
http://www.pacmanfan.com/ctpatchdownload.htm
All Hail Smezznar! The Giant purple centipede of Omnicron 5. Regail him with your odiferous offerings of onion powder!

EndTwist

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 480
  • Last login:May 26, 2022, 05:04:49 pm
  • Arg.
Re:Announce: Cocktail Mame Patch
« Reply #1 on: August 03, 2003, 12:38:26 pm »
Wow....just.. :o

THANK YOU! I needed this! I may try compiling it with a later version of MAME later today.

SirPoonga

  • Puck'em Up
  • Global Moderator
  • Trade Count: (+1)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 8187
  • Last login:Yesterday at 11:34:22 pm
  • The Bears Still Suck!
Re:Announce: Cocktail Mame Patch
« Reply #2 on: August 03, 2003, 12:47:07 pm »
Give me details on what you did, how you did it, etc...  Is it jus thte exe?  So you didn't make it easily updateable via a list or something, huh?

I just received this yesterday from the dude that I have been looking for.

http://fe.donkeyfly.com/cocktail-bat.zip

PacManFan

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 858
  • Last login:December 06, 2005, 12:18:56 pm
    • Kymaera Home Page
Re:Announce: Cocktail Mame Patch
« Reply #3 on: August 03, 2003, 01:05:52 pm »
Give me details on what you did, how you did it, etc...  Is it jus thte exe?  So you didn't make it easily updateable via a list or something, huh?

I just received this yesterday from the dude that I have been looking for.

http://fe.donkeyfly.com/cocktail-bat.zip


The patch I wrote scans the drivers directory for all .c files and looks for a certain pattern in the file. When it finds the code pattern, it applies the code patch. It doesn't need a file list per se. It works by scanning for patterns.
I just took a quick look at the file you mentioned above. It looks like it works by the same principle using grep and replace.
I really wish you had come across this before I wrote my own patch.
-PMF

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

jakejake28

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 683
  • Last login:September 02, 2005, 07:23:54 pm
  • Thank you sir, may I have another?
Re:Announce: Cocktail Mame Patch
« Reply #4 on: August 03, 2003, 01:11:09 pm »
so PMF, ths only does this to cocktail mode games right? i don't want streetfighter playing vertically with my cocktail cab.
It's all about the Pentiums

PacManFan

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 858
  • Last login:December 06, 2005, 12:18:56 pm
    • Kymaera Home Page
Re:Announce: Cocktail Mame Patch
« Reply #5 on: August 03, 2003, 01:19:37 pm »
so PMF, ths only does this to cocktail mode games right? i don't want streetfighter playing vertically with my cocktail cab.

Does streetfighter support cocktail mode?
If so, it'll make it flip for player 2. It'll leave games that don't support cocktail mode alone.
As far as playing vertically, it doesn't mess with the rotate options.  Vertical games will stay vertical, and horizontal games will stay horizontal.

This patch behaves as if you went into each game and flipped the "Cabinet" dipswitch from "Upright" to "Cocktail".
-PMF
All Hail Smezznar! The Giant purple centipede of Omnicron 5. Regail him with your odiferous offerings of onion powder!

jakejake28

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 683
  • Last login:September 02, 2005, 07:23:54 pm
  • Thank you sir, may I have another?
Re:Announce: Cocktail Mame Patch
« Reply #6 on: August 03, 2003, 01:48:44 pm »

Does streetfighter support cocktail mode?


no, i was just asking if you changed any info that would force a game into it, but i see you havent. sweet. this'll be in my cab by tonite. thanks a lot
It's all about the Pentiums

originalself

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 65
  • Last login:March 13, 2005, 11:47:13 pm
Re:Announce: Cocktail Mame Patch
« Reply #7 on: August 03, 2003, 02:48:31 pm »
OK, i feel really dumb but im setting up my software for my cocktail cab and would LOVE to use this! But i have no clue about compileing anything. Is their any other way to do this patch? Thanks in advance for any info.

SirPoonga

  • Puck'em Up
  • Global Moderator
  • Trade Count: (+1)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 8187
  • Last login:Yesterday at 11:34:22 pm
  • The Bears Still Suck!
Re:Announce: Cocktail Mame Patch
« Reply #8 on: August 03, 2003, 04:59:15 pm »
I really wish you had come across this before I wrote my own patch.
-PMF
You have no patients :)  You know I asked about this just this last week.  I knew I'd find it somewhere.

SirPoonga

  • Puck'em Up
  • Global Moderator
  • Trade Count: (+1)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 8187
  • Last login:Yesterday at 11:34:22 pm
  • The Bears Still Suck!
Re:Announce: Cocktail Mame Patch
« Reply #9 on: August 03, 2003, 05:00:15 pm »
Is there a CocktialMame?  Someone could just recompile mame with these changes and start their own version of mame :)

Howard_Casto

  • Idiot Police
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 19427
  • Last login:July 03, 2025, 06:36:13 pm
  • Your Post's Soul is MINE!!! .......Again??
    • The Dragon King
Re:Announce: Cocktail Mame Patch
« Reply #10 on: August 03, 2003, 05:03:32 pm »

Does streetfighter support cocktail mode?


no, i was just asking if you changed any info that would force a game into it, but i see you havent. sweet. this'll be in my cab by tonite. thanks a lot

Your not understanding cocktail mode man.  Cocktail mode doesn't rotate, it flips the screen.  Like on an old pacman cocktail, for example.  When it's player 1's turn it flips the screen so that the guy on the player 1 end has the screen riht side up.  When he dies the screen flips upside-down so that player 2, who is directly across from him has a right side up screen.  So 2 player simultaneous games could never have cocktail mode, as what would be right side up for player one would be upside down for player 2.  (Except for pong and various other games in which the game looks the same either way.)

Got it?



Anyway, thanks pmf and sirp.... I've been looking for this.  :)

SirPoonga

  • Puck'em Up
  • Global Moderator
  • Trade Count: (+1)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 8187
  • Last login:Yesterday at 11:34:22 pm
  • The Bears Still Suck!
Re:Announce: Cocktail Mame Patch
« Reply #11 on: August 03, 2003, 05:13:40 pm »
I'm not sure if an option can be added to mame.  I have to look into it a little more.  Well, I'm sure it can happen, but if it involve modifying the drivers then i am not going to do it.
I'll hav eto search where.how mame loads a driver.  If I can intercept that and change it as it is being loaded then yeah, it probably can be done.
« Last Edit: August 03, 2003, 05:20:05 pm by SirPoonga »

JoyMonkey

  • Voodoo Wiki Master . . .
  • Wiki Master
  • Trade Count: (+5)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 2899
  • Last login:June 16, 2025, 09:16:27 pm
  • Candy is Dandy but Liquor is Quicker
    • JoyMonkey.com
Re:Announce: Cocktail Mame Patch
« Reply #12 on: August 03, 2003, 05:27:32 pm »
Damn. I just spent about 3 weeks going through every game in my cocktail cab and changing the cabinet dipswitches to cocktail. Wish this was around sooner.
On a more positive note, I got to play every single vertical game, many of which i never would have thought about playing. Ah yes, good times. And I got all the video modes sorted out while I was at it.

SirPoonga

  • Puck'em Up
  • Global Moderator
  • Trade Count: (+1)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 8187
  • Last login:Yesterday at 11:34:22 pm
  • The Bears Still Suck!
Re:Announce: Cocktail Mame Patch
« Reply #13 on: August 03, 2003, 05:31:29 pm »
Wish this was around sooner.

It was :)

jakejake28

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 683
  • Last login:September 02, 2005, 07:23:54 pm
  • Thank you sir, may I have another?
Re:Announce: Cocktail Mame Patch
« Reply #14 on: August 03, 2003, 09:08:31 pm »

Does streetfighter support cocktail mode?


no, i was just asking if you changed any info that would force a game into it, but i see you havent. sweet. this'll be in my cab by tonite. thanks a lot

Your not understanding cocktail mode man.  Cocktail mode doesn't rotate, it flips the screen.  Like on an old pacman cocktail, for example.  When it's player 1's turn it flips the screen so that the guy on the player 1 end has the screen riht side up.  When he dies the screen flips upside-down so that player 2, who is directly across from him has a right side up screen.  So 2 player simultaneous games could never have cocktail mode, as what would be right side up for player one would be upside down for player 2.  (Except for pong and various other games in which the game looks the same either way.)

Got it?


no, i knew what it was. after all, i have my own cocktail cab myself. i was asking if then the sf2 would somehow be forced to wait, by this patch, until p1 lost so that p2 could play with the screen flipped instead of allowing simultaneous play. i might've phrased it incorrectly but i most certainly knew what i was talking bout.
It's all about the Pentiums

Howard_Casto

  • Idiot Police
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 19427
  • Last login:July 03, 2025, 06:36:13 pm
  • Your Post's Soul is MINE!!! .......Again??
    • The Dragon King
Re:Announce: Cocktail Mame Patch
« Reply #15 on: August 03, 2003, 09:43:00 pm »
Well not really.  As I just explained sf2 didn't have cocktail mode as it would be impossible to play in cocktail mode.  So why in the world would this patch alter the games programming?  Use some common sense man.  ;)

jakejake28

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 683
  • Last login:September 02, 2005, 07:23:54 pm
  • Thank you sir, may I have another?
Re:Announce: Cocktail Mame Patch
« Reply #16 on: August 03, 2003, 09:56:19 pm »
Use some common sense man.  ;)

i'll try that out.     ;)
It's all about the Pentiums

PacManFan

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 858
  • Last login:December 06, 2005, 12:18:56 pm
    • Kymaera Home Page
Re:Announce: Cocktail Mame Patch
« Reply #17 on: August 03, 2003, 11:15:26 pm »
Is there a CocktialMame?  Someone could just recompile mame with these changes and start their own version of mame :)

No there isn't a CocktailMame, That's why I wrote the patch. If someone wants to start "CocktailMame", they have my blessing, I wish someone was doing it when I was looking. I thought about starting it, however, I'm going to continue to put my efforts elsewhere for now.

BTW, if anyone wants to see the source for this patch, email or PM me.
-PMF
All Hail Smezznar! The Giant purple centipede of Omnicron 5. Regail him with your odiferous offerings of onion powder!

PacManFan

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 858
  • Last login:December 06, 2005, 12:18:56 pm
    • Kymaera Home Page
Re:Announce: Cocktail Mame Patch
« Reply #18 on: August 03, 2003, 11:19:56 pm »
OK, i feel really dumb but im setting up my software for my cocktail cab and would LOVE to use this! But i have no clue about compileing anything. Is their any other way to do this patch? Thanks in advance for any info.


What version of mame do you want?
Mame or DMame?
Latest version? I've also got .62 source laying around.
PM me.
-PMF
All Hail Smezznar! The Giant purple centipede of Omnicron 5. Regail him with your odiferous offerings of onion powder!

Howard_Casto

  • Idiot Police
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 19427
  • Last login:July 03, 2025, 06:36:13 pm
  • Your Post's Soul is MINE!!! .......Again??
    • The Dragon King
Re:Announce: Cocktail Mame Patch
« Reply #19 on: August 03, 2003, 11:39:00 pm »
I might go ahead and start up lzmame again in the near future.  

I really want to get the "hack" whitteled down to a setting in mame before I release a build though.  Then I'll throw in sirps hacks, add the pong driver back in and poof.  :)

SirPoonga

  • Puck'em Up
  • Global Moderator
  • Trade Count: (+1)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 8187
  • Last login:Yesterday at 11:34:22 pm
  • The Bears Still Suck!
Re:Announce: Cocktail Mame Patch
« Reply #20 on: August 03, 2003, 11:44:51 pm »
I wish someone was doing it when I was looking. I thought about starting it

Someone did:)  That bat file has been around for along time.  Just that it didn't make recent  mame news so it took some digging to find it.

PacManFan

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 858
  • Last login:December 06, 2005, 12:18:56 pm
    • Kymaera Home Page
Re:Announce: Cocktail Mame Patch
« Reply #21 on: August 04, 2003, 04:33:17 pm »
Howdy everyone,
Due to several PM requests, I took the liberty of compiling the latest .71 version of mame with the cocktail patch I wrote. You can download "CocktailMame" from www.pacmanfan.com goto the cocktail patch page and look at the bottom.
This will be posted there for a limited time only (Until my bandwidth for the month runs out) <- Hint,Hint Rampy!!
Everyone Enjoy !
Post back to this forum and let me know if it's working good for you.
-PMF
« Last Edit: August 04, 2003, 04:34:22 pm by PacManFan »
All Hail Smezznar! The Giant purple centipede of Omnicron 5. Regail him with your odiferous offerings of onion powder!