Build Your Own Arcade Controls Forum

Main => Software Forum => Topic started by: Beretta on October 17, 2009, 02:11:36 am

Title: problems with crime fighters (US 4 player)
Post by: Beretta on October 17, 2009, 02:11:36 am
having problem.. it's a 4 player game but there is only 3p inputs in mame.

there is a second set of inputs also marked player 1.. which seem to work for player 4.. problem is the left and right only works if both lefts OR both rights are activated at the same time.. otherwise only the player 4 (activating) player 1 inputs works.. and the player 1 is left with no left or right.

is this a mame bug? did the real game have some weird wiring?

either way i can't seem to set it up for 4 player play.
Title: Re: problems with crime fighters (US 4 player)
Post by: Kevin Mullins on October 17, 2009, 12:38:58 pm
did the real game have some weird wiring?

Nope.... 1&2 through JAMMA, 3&4 plugged into game pcb. (typical four player stuff)

http://arcarc.xmission.com/PDF_Arcade_Manuals_and_Schematics/Crime%20Fighters.pdf (http://arcarc.xmission.com/PDF_Arcade_Manuals_and_Schematics/Crime%20Fighters.pdf)
Title: Re: problems with crime fighters (US 4 player)
Post by: Beretta on October 17, 2009, 01:41:15 pm
ya i figured, so then this has to be a bug in mame then

can anyone else get all 4 inputs working correctly independently?
im thinking it's a bug if for now other reason then there are 2 sets of player 1 controls listed but none for p4.
Title: Re: problems with crime fighters (US 4 player)
Post by: Kevin Mullins on October 17, 2009, 04:12:27 pm
Just poking around with it a little bit, I'm no MAMEr......and I don't have a four player MAME cab......

But it looks like it's just the way it shows up in the tab menu screens.
If you modify the first, third, sixth, eighth, ninth and tenth P1 controls and then open the .cfg for CrimeFighters it shows up as Player 4 controls. So to make the game "function" try just changing those particular P1 to match your control panel for Player 4.
I just threw some random keystrokes in there to see how they showed up, since I don't have a 4 player panel to play with.

Make any sense ?
Curious if that makes player 4 playable at least.
Title: Re: problems with crime fighters (US 4 player)
Post by: Beretta on October 17, 2009, 05:14:41 pm
ya thats what i was saying before.

there is no p4 controls in mame menu.. but there is a second copy of player 1.
the 2nd set of p1 controls do correspond to player 4..

however the directions dont work correctly.. at least not independently.

go into service menu to get to the switch test.. you'll see what i mean.

i tried it a few different times with both a keyboard and a game pad.. i can not get both p1 and p4 controls working at the same time.. it's always missing 2 directions.. although they kept changing once it was l/r another time it was u/d, still another it was u/l.

it looks like they're just mist marked player 1 instead of player 4 but they dont work even when mapped seperately.

THEY DO work if you however press both directions on player 1 and 4 at the same time, then boht activate, other wise only one of them will independently while the other does'nt respond at all.
Title: Re: problems with crime fighters (US 4 player)
Post by: SirPeale on October 18, 2009, 07:38:51 am
I'm guessing "bug."  I've fixed several different game drivers input issues (Williams driver, Xenophobe).  I'll take a look @ the source.
Title: Re: problems with crime fighters (US 4 player)
Post by: SirPeale on October 18, 2009, 07:52:17 am
Player 4 was declared as player 1's input.  I've made the change, compiling now.
Title: Re: problems with crime fighters (US 4 player)
Post by: SirPeale on October 18, 2009, 09:12:51 am
Compiled.  Pretty sure I fixed it. Trying it now.
Title: Re: problems with crime fighters (US 4 player)
Post by: SirPeale on October 18, 2009, 09:16:14 am
Works.  Here's a patch.  I'm going to submit to Mamedev.
Title: Re: problems with crime fighters (US 4 player)
Post by: SirPeale on October 23, 2009, 06:46:14 am
No one has any input on this?
Title: Re: problems with crime fighters (US 4 player)
Post by: Kevin Mullins on October 23, 2009, 12:52:03 pm
How do you apply the patch ?
Title: Re: problems with crime fighters (US 4 player)
Post by: SirPeale on October 23, 2009, 01:16:55 pm
It's a source patch, you apply it to the source.\

edit: for Mame version .134.
Title: Re: problems with crime fighters (US 4 player)
Post by: ahofle on October 23, 2009, 01:23:55 pm
Cool, nice job Peale.  Didn't know you were a hacker.  :)
Title: Re: problems with crime fighters (US 4 player)
Post by: u_rebelscum on October 23, 2009, 06:14:01 pm
No one has any input on this?

Looks good. 

Looks "d'oh, of course that fixes it", too ;)  I almost LOL with there being more lines were edited for the comments than the fix.  But commenting the code is important.
Title: Re: problems with crime fighters (US 4 player)
Post by: SirPeale on October 25, 2009, 07:33:26 am
They took my patch.

Link to MameWorld. (http://www.mameworld.info/ubbthreads/showflat.php?Cat=&Number=204985&page=0&view=collapsed&sb=5&o=&fpart=1&vc=1&new=1256477785)
Title: Re: problems with crime fighters (US 4 player)
Post by: u_rebelscum on October 26, 2009, 05:33:09 pm
They took my patch.

 :applaud:


Look what you did, Beretta.  Started a bug fix. ;) 
(shameless plug: mametesters.org (http://mametesters.org))