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: Here is one for the CP gurus!  (Read 1693 times)

0 Members and 1 Guest are viewing this topic.

RobertBasil

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 55
  • Last login:April 10, 2012, 04:43:08 pm
  • Still learning, but having fun!
    • My Gameroom
Here is one for the CP gurus!
« on: June 09, 2004, 11:30:11 pm »
This is my first cab build and I wanted to do something a little different.

I am going to make 2 mini mame cabs (kind of like minimame but I am building mine from scratch). I am making one for me and one for my wife. And here are my planes (and my problem)

Plans:

I am going to make both Cabs with a single player joystick, trackball and buttons. (Both cabs will have 1 & 2 player start buttons though.)

I am going to control both cabs from one computer. I will be placing the computer in cab #1 and drilling a hole in the back of both cabs so the computer can be used for both cabs with a dual video card to control each monitor.

This way I can place both cabs side by side or even back to back.

Problem:

I want cab #1 to always be player #1 when we are both playing a game together. BUT...

If the wife wants to play a game by herself I don't want her to have to use my cab to do so. I would like to be able to have some type of switch (on the CP) on cab #2 to switch from player #1 (when she is playing alone) and player #2 (when we are both playing the same game together)

I just purchased the Project Arcade book (great book by the way!) and have been searching all through chapter #8 (Using the keyboard connector for Arcade Controls) and chapter #9 (Arcade controls Using the Mouse Connector) and cannot see any way to do this.

I have also searched through this forum with no luck.

Just a warning, I am a database admin and have never soldered anything in my life, so if your answer requires a lot of experience in setting up a CP can you please "dumb it down" a little for me? Like explain exactly what I would need to buy and how to go about setting it up.

I know this is a lot to ask from a newbie. But I really want our cab's to be unique and I am totally lost on how to accomplish what I want to do.

Thanks for any help you can provide!
« Last Edit: June 09, 2004, 11:31:29 pm by RobertBasil »

Generic Eric

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4520
  • Last login:July 15, 2024, 09:18:25 pm
  • Restore! Don't maim for MAME, build from scratch!
    • forum.arcadecontrols.com/index.php/topic,143226.0.html
Re:Here is one for the CP gurus!
« Reply #1 on: June 09, 2004, 11:51:12 pm »
1 player operation on primary cab is simple
1 player operation on secondary cab while primary cab playing a game will require two installations of mame (likely different versions, but shouldn't be a problem with all of the different derivative releases)...


2 player operation will require that display is visible to both players (seemingly axing your back to back idea)  or...
you could use one of the those video splitter adapters...we use a few at work with no apperant degradiatioin to the display.

The cp wiring doesn't seem to be a problem at first glance.

Good luck

RobertBasil

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 55
  • Last login:April 10, 2012, 04:43:08 pm
  • Still learning, but having fun!
    • My Gameroom
Re:Here is one for the CP gurus!
« Reply #2 on: June 10, 2004, 12:08:27 am »
1 player operation on secondary cab while primary cab playing a game will require two installations of mame (likely different versions, but shouldn't be a problem with all of the different derivative releases)...

That's not what I need. If the 2nd cab is being used as player #1 then the first cab will not be used at the same time. I only need a switch on the second cab to have it switch from player #2 to player #1 and back again.

Quote
2 player operation will require that display is visible to both players (seemingly axing your back to back idea)  or...
you could use one of the those video splitter adapters...we use a few at work with no apperant degradiatioin to the display.

I think you missed the part of my post about using a dual monitor video card. ;)

Quote
The cp wiring doesn't seem to be a problem at first glance.

Great! Now all I need to do is for someone to tell me where to start. ;)
« Last Edit: June 10, 2004, 12:09:04 am by RobertBasil »

Generic Eric

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4520
  • Last login:July 15, 2024, 09:18:25 pm
  • Restore! Don't maim for MAME, build from scratch!
    • forum.arcadecontrols.com/index.php/topic,143226.0.html
Re:Here is one for the CP gurus!
« Reply #3 on: June 10, 2004, 03:15:09 am »
1 player operation on secondary cab while primary cab playing a game will require two installations of mame (likely different versions, but shouldn't be a problem with all of the different derivative releases)...
Quote
That's not what I need. If the 2nd cab is being used as player #1 then the first cab will not be used at the same time. I only need a switch on the second cab to have it switch from player #2 to player #1 and back again.

Didn't realize that.  She won't want to play a single player game while you are playing one?


Quote
2 player operation will require that display is visible to both players (seemingly axing your back to back idea)  or...
you could use one of the those video splitter adapters...we use a few at work with no apperant degradiatioin to the display.
Quote
I think you missed the part of my post about using a dual monitor video card. ;)

I saw that.  I wasn't aware that you could set it up so both monitors display the exact same thing is all.
Quote
The cp wiring doesn't seem to be a problem at first glance.

Great! Now all I need to do is for someone to tell me where to start. ;)


Well, that all depends on the games you want to play, and what controls they require.  Once you explain that, then we can be of more help.

RobertBasil

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 55
  • Last login:April 10, 2012, 04:43:08 pm
  • Still learning, but having fun!
    • My Gameroom
Re:Here is one for the CP gurus!
« Reply #4 on: June 10, 2004, 03:33:58 am »
Didn't realize that.  She won't want to play a single player game while you are playing one?

Nope.

Quote
Well, that all depends on the games you want to play, and what controls they require.  Once you explain that, then we can be of more help.

On each cab I plan on having 6 buttons, one joystick, one trackball and 1st and 2nd player start buttons.

Can't I just wire up two keyboard hacks on the CP of Cab #2 (one programmed as player #1 and the other programmed as player #2)  and then have a switch on the CP that switches in-between the two?

I just thought of something...

Would I just be able to use one Keyboard hack on the 2nd cab and assign 2 different saved programmed settings (one as player #1 and one as player #2)  to a shift button combo on the CP? I want the wife to be able to switch bettwen player #1 and player #2 without to much trouble.
« Last Edit: June 10, 2004, 03:35:56 am by RobertBasil »

rockhopper

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 116
  • Last login:December 26, 2015, 05:15:36 pm
  • I love orange soda!
Re:Here is one for the CP gurus!
« Reply #5 on: June 10, 2004, 03:51:21 am »
If you wire up cab2's controls to the same wires as cab1's aswell as a separate "2 player" input you can then have a switch on the ground wire (which is daisy chained for both) to swap between the two.

This means by flicking one switch you can swap cab2's controls between being a copy of player1 and a separate player2

does this make sense?

RobertBasil

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 55
  • Last login:April 10, 2012, 04:43:08 pm
  • Still learning, but having fun!
    • My Gameroom
Re:Here is one for the CP gurus!
« Reply #6 on: June 10, 2004, 03:59:52 am »
If you wire up cab2's controls to the same wires as cab1's aswell as a separate "2 player" input you can then have a switch on the ground wire (which is daisy chained for both) to swap between the two.

This means by flicking one switch you can swap cab2's controls between being a copy of player1 and a separate player2

does this make sense?

That's EXACTLY what I need. :)

Anywhere you can point me to so I can learn exactly how to do this stpe by step? (adding a switch to the ground wire ect...) Don't forget I've never even soldered anything in my life.

Thanks for the help!

Tiger-Heli

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5447
  • Last login:January 03, 2018, 02:19:23 pm
  • Ron Howard? . . . er, I mean . . . Run, Coward!!!
    • Tiger-Heli
Re:Here is one for the CP gurus!
« Reply #7 on: June 10, 2004, 08:10:56 am »
If you wire up cab2's controls to the same wires as cab1's aswell as a separate "2 player" input you can then have a switch on the ground wire (which is daisy chained for both) to swap between the two.

This means by flicking one switch you can swap cab2's controls between being a copy of player1 and a separate player2

does this make sense?

That's EXACTLY what I need. :)

Anywhere you can point me to so I can learn exactly how to do this stpe by step? (adding a switch to the ground wire ect...) Don't forget I've never even soldered anything in my life.

Thanks for the help!
You can do this without soldering.  BTW, if you've never soldered, you DEFINITELY don't want a keyboard hack.  I have a slightly different suggestion which might be useful to you.  (At least much simpler to understand and wire up.)

Buy a programmable encoder, like a KeyWiz or I-PAC.  You need it to be able to change the controls for her cab, and you won't regret it, even if you didn't.

Wire Player 1 (your cab) to the P1 inputs on the encoder.  Wire Player 2 (her cab) to the Player 2 inputs on the encoder.  Wire Coin on both cabs to the same inputs, and Start on both cabs to the same inputs.

Only install the Esc button on your cab (just kidding).

Now, create two configuration files for the encoder, one with the Player 2 controls mapped to Player 1 (maybe call this independent.xxx) and one with the Player 2 controls mapped to Player 2 defaults (maybe call this together.xxx).

Now you need two batch files, one that loads together.xxx and launches your front-end, and one that loads independent.xxx and launches your front-end.

Then you could set-up a fake super front end like Zaphras is doing in this thread http://www.arcadecontrols.org/yabbse/index.php?board=3;action=display;threadid=20276 to launch either batch file.

The only drawback I see to this is that if she was playing a 1-player game and you wanted to switch to a two-player set-up, you would have to exit the frontend and restart it with the other batch file.

And you couldn't both play single player games simultaneously, but you said that wasn't a concern.

****

Modified Additional simpler solution - Install 2 additional buttons on her cab, one labelled Independent, one labelled together, (you get the idea).

Wire each button to one of the "left-over" encoder inputs, say 1SW7 and 1SW8.  (For discussion, we will say Independent is 1SW7 and Together is 1SW8.)

Have your batch files set to load the appropriate encoder cfg file, but not launch anything.

Use either the hot key method that Zapras mentioned, or in WinXP, simply make a shortcut to the batch file and assign a hot-key to it.  Make sure this key isn't used in any of your emulators or your front end.

For discussion, let's set the independent batch file hot key to C and the Together batch file hot key to V.

Adjust your encoder config files so that 1SW7 activates C and 1SW8 activates V.

Now if you press the independent button, your encoder is programmed so that her cab uses P1 inputs and if you press the together button, your encoder is programmed so that her cab uses P2 inputs.

I think I solved your problem.  

***

One last thought - The above works fine for games like Twin Cobra or if she wants to play Pac-man by herself.

Classic games like Galaga and Pac-Man did not have inputs for Player 2, so you will either have to run these in Independent mode (even for 2-player games) or set MAME up so either P1 or P2 inputs can control Player 1.

And either way, each of you will be able to mess up the other's game, so play nice. 8)
It's not what you take when you leave this world behind you, it's what you leave behind you when you go. - R. Travis.
When all is said and done, generally much more is SAID than DONE.

rsoandrew

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 90
  • Last login:February 24, 2018, 09:02:10 am
  • Worldwide travelling Mame Machine
    • Andrew's Arcade
Re:Here is one for the CP gurus!
« Reply #8 on: June 10, 2004, 08:38:15 am »
From a time and ease of configuration perspective, I