Tuesday, December 17, 2013

Briefcase Arcade

  This project came about in an odd way.  Where I work, we have an arcade club.  Basically, a group of guys get together and play old school video games.  The only problem is I am the only guy in the club that has an arcade we can use.  So, after getting tired of hosting the arcade club every time we wanted to play, I started thinking about how to make an arcade portable.  I finally arrived at the conclusion to make one into a briefcase.  Also, I watched Iron Man 2 and saw Tony Stark put the Iron Man suit into one, so I figured I could put an arcade into one.  



  I started with an idea of having a bartop style arcade that would break down into a portable .  After that idea sank in the planning phase, I thought about just placing an arcade within an old style (80's) briefcase.  After finally finding one at goodwill for around $5, I could begin the project.



After gutting the briefcase, I started try to figure out the layout and how the components would fit into the case.  I then took apart my LCD monitor to mount within the briefcase.  The LCD I used has an external power supply of 12 volts.  This is important for ease of powering the briefcase  arcade.  The monitor had metal brackets to attach to the inside of the plastic case.  I simply reused these to mount the monitor within the briefcase.  After figuring out that I would need to lengthen the cables for the monitor to fit within the case, I realized I could flip the monitor upside down and not have to change any cables, etc.  I would need to change a setting within Raspberry Pi to flip the monitor 180 degrees.  This is a simple change that you can implement within the config file.


After acquiring the briefcase, I had to think about what computer would be able to run within the case.  Fortunately, I had a raspberry pi sitting around after I no longer needed it for streaming.  This would be perfect for the briefcase arcade, now formally known as the Briefcade.  So, with the small computer in place, I needed to work out the joysticks and buttons.  Using the traditional joystick and buttons I used for my last arcade build would not fit within the form factor I had to work with, within the Briefcade. 
   


  I searched on the internet and found the smallest joystick (height) and button were Sanwa style.  After receiving these in the mail, I still had an issue with height of the joystick.   With the balltop placed on the joystick shaft I could not close the Briefcade with the monitor in place.  I finally had to settle on leaving the joystick balltop removed while the case is closed.  This isn't too inconvenient but not optimal...




I then had to create the control panel.  I first cut the holes for where I wanted the joystick and buttons.  I wanted be able to open up the panel to access the computer, wiring, etc.  I made the "main" board (Joystick and Gameplay buttons) the area that can be lifted, and the other buttons (Exit, 1 player start, and coin up), the non moving area. 

After making the cuts and holes, I mounted joystick and buttons.  I then found out the level for the joystick to function, i.e. move around and not scrap the bottom of the case, and also be able to close.  After getting the height correct, I made mounts to hold the control panel in place, and then screwed all of these within place.  Then I mounted the hinge to be able to open the control panel. 


The next step was figuring out controller input from the control panel.  With my last build I went with the iPac controller that you wire in the buttons and connect to your PC with USB or PS/2.  The Raspberry Pi however has a GPIO (General Purpose Input and Output).  With this you can send signals to the PI.  The layouts of ground, +5 V, etc. can be found on the Pi wiki page.  I found my correct model, and went about wiring all the buttons and joystick up to the proper inputs with these 40p dupont wires.  These are great as they connect up to the GPIO pins perfectly.  Once I got the connections up, I then worked with a Linux script that takes the GPIO inputs and translates them into keyboard presses.  With this, you can then create the correct inputs for MAME emulator.







The Raspberry Pi has a lot of support and a great community.  There are several builds of Linux that will run MAME on the Pi.  I used Shea Silverman's PiMame.  This has a great menu, easy setup, and terrific support.  After getting this setup and running, I had to do some minor tweaks to get the controls working correctly. 






My last step was power for the Pi and monitor.  My monitor uses 12v to be powered, and the pi required 5v.  I made a hole on the side of the Briefcade I was able to use a female power connector.  The incoming wires then go to a switch I bought at RadioShack that has a nice On Off sign on top.  I then split the wires, with one pair going directly to the monitor, and the other going into a USB car charger.  The USB car charger is the kind that plugs into your cigarette lighter..  These convert the voltage from 12v to 5v.



Here is all the internals for the Briefcade



Here is the finished product.  The Briefcade or Arcase or Businesscade.  I personally like the Businesscade but most people call it the Briefcade, so I will go with that.

Briefcade Closed

Briefcade Open

Briefcade getting some attention

Saturday, June 8, 2013

MAME Guitars

I have not posted in awhile, and it has mainly been because life has gotten in the way of my arcade hobby.  I have found time to work on a few additions to the arcade though.

Guitar Freaks
 


  Guitar Freaks is an arcade game that was released only in Japan, and was the basis of the Guitar Hero and subsequently Rock Band, Band Hero, etc. line of games.  The novelty of playing a guitar controller has already gone through its 15 minutes of fame, and now not many people care for the rhythm based rock star role-playing genre anymore.  It is still fun to pick up and "belt out" a few tunes, especially if they are the crazy J-Pop ones I have on Guitar Freaks and Guitar Freaks 2.  Since the Guitar Freaks arcades never saw their way to western shores, they never went through the "Americanization" process of changing out all the J-Pop songs with American rock songs.  I for one, like this, as I think the games have a fresh appeal to them, in the sense that I am not playing through the classic hits of the 70's, 80's and 90's like so many radio stations seem to put on repeat in this day in age.


How to Play
  Guitar Freaks controls just like all the other guitar based games, although there are only 3 buttons to press instead of the US standard of 5.

Now, this can be done with the buttons I have on the control panel of my Arcade, but that would not be fitting for such a game.


Making the Controllers
I went down to Goodwill and found some PS2 Guitar Hero guitars ($3 each) and also bought a PS2 to USB converter for the MAME computer.





This converter can take in 2 PS2 plugs, so it is perfect for the 2 guitars I have.






A simple hook up and I am ready to play.  The MAME computer recognized the guitars as controller. After that it was a simple configuration in MAME for each Guitar Freaks game, and I was good to go, but there was a problem.



Guitar Freaks game color layout for buttons 1,2, and 3, are red, green, and blue respectively.

The Guitar Hero controller layout is green, red, yellow. blue, and orange.  This presents a problem if you are picking up the controller for the first time, and do not know the difference in layout.  To fix this I took apart each guitar and moved the buttons so they correlated correctly.














After that I just reassembled the red guitar, but my "problem" didn't stop there.








 I want a universal feel to my arcade, and one of the main things I want to keep consistent is color. Right now, 1 player is blue, 2 player is red, 3 player is green, and 4 player is yellow.


 I kept this up with the arcade guns I bought with blue and red being 1 player and 2 player respectively.


To keep this up I disassembled the other guitar controller.

















Took the red portions, and spray painted them blue with a plastic coating spray paint.  I used Rust-Oleum Gloss Protective Enamel spray paint.  It has held up with the plastic so far.

With the controllers ready to go, I needed a way to hold them, and what better way than...


Guitar Hangers!


These were a cheap eBay find, about $6 total, and they were a simple assembly onto the side of the Arcade.


Well, now the Arcade has guitars to play any Guitar Freaks games I need to.  Next, I think I want to add a steering wheel :)  Until next time, thanks for tuning in!