The NEW Build Your Own Arcade Controls
Main => Software Forum => Topic started by: PacManFan 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 (http://www.pacmanfan.com/ctpatchdownload.htm)
-
Wow....just.. :o
THANK YOU! I needed this! I may try compiling it with a later version of MAME later today.
-
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
-
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
-
so PMF, ths only does this to cocktail mode games right? i don't want streetfighter playing vertically with my cocktail cab.
-
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
-
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
-
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.
-
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.
-
Is there a CocktialMame? Someone could just recompile mame with these changes and start their own version of mame :)
-
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. :)
-
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.
-
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.
-
Wish this was around sooner.
It was :)
-
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.
-
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. ;)
-
Use some common sense man. ;)
i'll try that out. ;)
-
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
-
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
-
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. :)
-
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.
-
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 (http://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