Table of Contents for
Gaming Hacks

Version ebook / Retour

Cover image for bash Cookbook, 2nd Edition Gaming Hacks by Simon Carless Published by O'Reilly Media, Inc., 2004
  1. Cover
  2. Gaming Hacks
  3. Credits
  4. Contributors
  5. Acknowledgments
  6. Foreword
  7. Preface
  8. How to Use This Book
  9. How This Book Is Organized
  10. Conventions Used in This Book
  11. Using Code Examples
  12. Comments and Questions
  13. Got a Hack?
  14. 1. Playing Classic Games
  15. Legal Emulation
  16. Play Commodore 64 Games Without the C-64
  17. Play Atari ROMs Without the Atari
  18. Use Atari Paddles with Your PC
  19. Run Homebrew Games on the Atari 2600
  20. Create Your Own Atari 2600 Homebrew Games
  21. Play Classic PC Graphic Adventures
  22. Play Old Games Through DOSBox
  23. Play Reissued All-in-One Joystick Games
  24. Play Arcade Games Without the Arcade
  25. Add and Manipulate a MAME Frontend
  26. Keep Your ROMs Tidy and Organized
  27. Learn Game-Specific MAME Controls
  28. Filter Inappropriate MAME ROMs
  29. Autoboot into MAME Heaven
  30. Play Emulated Arcade Games Online
  31. Play Classic Pinball Without the Table
  32. Emulate the SNES on the Dreamcast
  33. 2. Playing Portably
  34. Play Games on Your iPod
  35. Mod Your Game Boy
  36. Take and Print Photos with Your Game Boy
  37. Compose Music on Your Game Boy
  38. Explore the GP32 Handheld Gaming System
  39. Take Your Console with You
  40. Explore the Bandai WonderSwan
  41. Play Real Games on Your PDA
  42. Install a PlayStation 2 in Your Car
  43. 3. Playing Well with Others
  44. Practice Proper MMORPG Etiquette
  45. Understand MMORPG Lingo
  46. Grind Without Going Crazy
  47. Make a Profit in Vana’diel
  48. Write MMORPG Macros
  49. Build an Effective Group
  50. Catch Half-Life FPS Cheaters Redhanded
  51. 4. Playing with Hardware
  52. Build a Quiet, Killer Gaming Rig
  53. Find and Configure the Best FPS Peripherals
  54. Adapt Old Video Game Controllers to the PC
  55. Choose the Right Audio/Video Receiver
  56. Place Your Speakers Properly
  57. Connect Your Console to Your Home Theater
  58. Tune Console Video Output
  59. Tune Your TV for Console Video
  60. PC Audio Hacking
  61. Optimize PC Video Performance
  62. Build a Dedicated Multimedia PC
  63. Use a Multimedia Projector for Gaming
  64. 5. Playing with Console and Arcade Hardware
  65. Play LAN-Only Console Games Online
  66. Hack the Nuon DVD Player/Gaming System
  67. Play Import Games on American Consoles
  68. Find a Hackable Dreamcast
  69. Play Movies and Music on Your Dreamcast
  70. Hack the Dreamcast Visual Memory Unit
  71. Unblur Your Dreamcast Video
  72. Use Your Dreamcast Online
  73. Host Dreamcast Games Online
  74. Burn Dreamcast-Compatible Discs on Your PC
  75. Burn Dreamcast Homebrew Discs
  76. Buy Your Own Arcade Hardware
  77. Configure Your Arcade Controls, Connectors, and Cartridges
  78. Reorient and Align Your Arcade Monitor
  79. Buy Cart-Based JAMMA Boards
  80. Programming Music for the Nintendo Entertainment System
  81. 6. Playing Around the Game Engine
  82. Explore Machinima
  83. Choose a Machinima Engine
  84. Film Your First Machinima Movie
  85. Improve Your Camera Control
  86. Record Game Footage to Video
  87. Speedrun Your Way Through Metroid Prime
  88. Sequence-Break Quake
  89. Run Classic Game ROM Translations
  90. Change Games with ROM Hacks
  91. Apply ROM Hacks and Patches
  92. Create PS2 Cheat Codes
  93. Hack Xbox Game Saves
  94. Cheat on Other Consoles
  95. Modify PC Game Saves and Settings
  96. Buff Your Saved Characters
  97. Create Console Game Levels
  98. 7. Playing Your Own Games
  99. Adventure Game Studio Editing Tips
  100. Create and Play Pinball Tables
  101. Put Your Face in DOOM
  102. Create a Vehicle Model for Unreal Tournament 2004
  103. Add a Vehicle to Unreal Tournament 2004
  104. Modify the Behavior of a UT2004 Model
  105. Download, Compile, and Create an Inform Adventure
  106. Decorate Your IF Rooms
  107. Add Puzzles to Your IF Games
  108. Add Nonplayer Characters to IF Adventures
  109. Make Your IF NPCs Move
  110. Make Your IF NPCs Talk
  111. Create Your Own Animations
  112. Add Interactivity to Your Animations
  113. Write a Game in an Afternoon
  114. 8. Playing Everything Else
  115. Tweak Your Tactics for FPS Glory
  116. Beat Any Shoot-Em-Up
  117. Drive a Physics-Crazed Motorcycle
  118. Play Japanese Games Without Speaking Japanese
  119. Back Up, Modify, and Restore PlayStation Saved Games
  120. Access Your Console’s Memory Card Offline
  121. Overclock Your Console
  122. Index
  123. Colophon

Configure Your Arcade Controls, Connectors, and Cartridges

All you need to know about hardware and software arcade controls.

Now that you know about the basic hardware setup and system choice for arcade cabinets ( [Hack #58] ), and you have an arcade machine within your sweaty grasp, you probably want to configure it for games. Configuration options include monitor orientation, control panel and connector setup, and even the actual games themselves. The following sections describe how to do it.

Arcade Control Panel Variations

Unfortunately, arcade life isn’t as easy as buying a JAMMA cabinet, finding any JAMMA game, and just playing it. To play some of the best JAMMA games, including more recent Capcom fighting titles and several of SNK’s great Neo Geo carts, you need to deal with specific hardware variations, sometimes referred to as JAMMA+.

As usual, you plug your JAMMA board into your cabinet. Control-specific signals travel through the connector and up into the control panel. There are also other standard signals such as video, sound, and coin insertion. Unfortunately, each of these major JAMMA types has different control needs for dealing with extra buttons.

Basic, default three-button JAMMA

The standard JAMMA connector configuration provides the obvious audio and video throughputs, a joystick and three buttons for each of the two players, and a Start button. All JAMMA boards, even those with JAMMA+ functionality, should work with this configuration; you’ll just be missing extra button controls.

Here’s a diagram of those standard JAMMA pins:

 PARTS SIDE     SOLDER SIDE
  ---------------|---------------
       GRD  1|A GRD
       GRD  2|B GRD
       +5V  3|C +5V
       +5V  4|D +5V
       -5V  5|E -5V
      +12V  6|F +12V
       KEY  7|H KEY
 COUNTER 1  8|J COUNTER 
C LOCKOUT 1 9|K C LOCKOUT 2
 SPEAKER + 10|L SPEAKER -
       N/C 11|M N/C
       RED 12|N GREEN
      BLUE 13|P SYNC
       GRD 14|R SERVICE SW
   TEST SW 15|S SLAM SW
    COIN 1 16|T COIN 2
  1P START 17|U 2P START
     1P UP 18|V 2P UP
   1P DOWN 19|W 2P DOWN
   1P LEFT 20|X 2P LEFT
  1P RIGHT 21|Y 2P RIGHT
 1P FIRE 1 22|Z 2P FIRE 1
 1P FIRE 2 23|z 2P FIRE 2
 1P FIRE 3 24|b 2P FIRE 3
       N/C 25|c N/C
       N/C 26|d N/C
       GRD 27|e GRD
       GRD 28|f GRD

SNK’s Neo Geo extended button configuration

The setup for SNK’s wonderful Neo Geo cartridge system is almost identical to the JAMMA setup, except that the unused Pins 25/c handles 1P FIRE 4 and 2P FIRE 4, respectively. This is the fourth D button for each player. Few of the basic and classic Neo Geo games, such as Metal Slug, use it, but all of the system’s fighting titles, including the King Of Fighters and Samurai Shodown series, do.

Tip

The D button is important even in fighting games in which it doesn’t seem useful. For example, the taunt button mapped to D in Art Of Fighting 3 actually charges your power bar—and you thought it was completely useless.

If you have a two-, four-, or even six-slot Neo Geo MVS system in which you can plug in multiple cartridges at once, there’s also a Select button to wire in. This button switches control between the different cartridges.

Keep in mind that Neo Geo games expect a specific control setup—some have the A and B buttons on top and the C and D buttons directly below them. Many of the fighting games make attacks and combos out of pressing A+B together or C+D together. If you’re rewiring a six-button Capcom-style cabinet to play Neo Geo games, make sure to use this button configuration and leave the two end buttons alone. Otherwise, you’ll end up playing finger-Twister to pull off your attacks. Unfortunately, other Neo Geo button layouts put buttons A through D in a row, left to right, which is even less compatible with the Capcom layout.

Capcom extra buttons

The famous Capcom CPS2 cartridge system, which has all the decent Capcom fighting games (Street Fighter Alpha, Vampire Savior, X-Men, Marvel Super Heroes) from the early and mid ’90s on it, uses the Street Fighter II button-layout scheme, with a grand total of six buttons per player. There’s no way to squeeze the extra buttons for these games onto the existing JAMMA harness, so there’s a custom Capcom wiring harness for those extra buttons.

The games will still boot without those buttons connected,[11] but you’ll need all the buttons connected to play properly. Unfortunately, the original versions of Street Fighter II used a different wiring scheme from the CPS2 harness, so bear this in mind if you happen to pick up a reasonably common Street Fighter II cabinet from somewhere. You can buy CPS2 wiring harnesses on eBay and rewire them fairly easily, however.

Of course, if you want to play Neo Geo games on a CPS2 system, remember that 1P FIRE 4 is now wired into your custom harness, not the JAMMA connector. D’oh.

Four-player extended JAMMA

This system is an extra custom button connector with all the connections for the third and fourth player; it doesn’t touch the JAMMA connector at all. This is relatively rare, but games such as Konami’s excellent Teenage Mutant Ninja Turtles, the X-Men side-scrolling beat-em-ups, and Midway’s classic NBA Jam all have this ability. Fortunately, they all still play through the normal JAMMA connector as two-player games.

In reality, you’ll probably never build two extra controllers onto your machine if you don’t have them. Four-player games are sometimes no fun to play with one player; the first controller is so far to the left of the control panel, it’s difficult to see the screen. If you already have a JAMMA-compatible NBA Jam cabinet, however, this information may be useful.

Choosing the right variation

What’s the solution for all of this kerfuffle? If you have a six-button CPS2-style cabinet, the extra button connector also includes the wiring for the fourth button, which some Neo Geo MVS and Sega ST-V games need. This is a major issue, because you theoretically need to rewire every time you switch between the games.

One idea is to use an easily detachable bridging connector with the offending common wires connected. Again, the excellent Solvalou site has something along these lines with its Egret setup (http://www.solvalou.com/arcade_egret.php), using an Atari-type joystick connector as a mediator.

Of course, you can always just stick to the one game type you like.

For further reading on this subject, especially for the more exotic controllers such as trackballs and steering wheels, check out the excellent Arcade Controls page (http://www.arcadecontrols.com/arcade_controls.shtml). Bear in mind that many older games with exotic controllers don’t support JAMMA natively, however. Those recent JAMMA titles that do use exotic controls often have such specific controls that they support only a few compatible games after installing them. I still recommend joysticks if you want to play many high-quality, low-cost JAMMA titles.



[11] Some CPS2 games, such as Super Puzzle Fighter, don’t use them at all.