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

Play Emulated Arcade Games Online

Can’t find four friends to crowd around your home arcade cabinet? Look online for team play.

One of the few arcade features that consoles, PC ports, and emulation can’t always provide is socialization. It’s fun to have the high score in a shooter, to take on all comers in a fighter, and to enter battle with three friends in a quarter-eating adventure game. You can recreate the games, but unless you have your own arcade cabinet ( [Hack #58] ) or an appropriate emulator ( [Hack #10] ) and can convince your friends to play along, you might think you’re stuck.

Fortunately, the clever Kaillera bridging software can play emulated titles online.

Introducing the Kaillera Middleware

As the word “middleware” suggests, there’s a key difference between Kaillera and the other retro emulators we’ve discussed. Kaillera software actually interfaces with existing emulators to allow multiplayer arcade games—not originally playable over any network—to play online. However, to make this work, the emulator developers must have incorporated Kaillera into their software.

The main Kaillera-enabled emulator is a MAME variant named MAME32k. It’s available with the Kaillera client itself on the site’s download page (http://www.kaillera.com/download.php). This is sufficient to play games. If you want to host games, you’ll need a completely different Kaillera server. The server is a standalone application also available from the download page. In general, the client is embedded in the emulator in some way, but the server always stands alone.

Fortunately, as with many FPS games, you may be able to find a public server without having to run your own. The front page of Kaillera.com lists several such servers (see Figure 1-11). The biggest servers can hold up to 100 people. You may wish to host your own server for ping, ease of use, and privacy issues, however—but it’s up to you.

Listing the servers in Kaillera

Figure 1-11. Listing the servers in Kaillera

The Kaillera site also has a fairly decent visual explanation of how to start up a game and to find the gaming partner of your dreams; see its screenshots page (http://www.kaillera.com/shots.php). The whole process is fairly self-explanatory, presuming you understand the basic network gaming concept that the lower the ping, the more likely you are to have a smooth game.

Troubleshooting Kaillera Play

The designers of these old games never designed in Internet play, and in many cases, the games predated the modern Internet. You’ll likely run into several similar problems. Fortunately, the Kaillera page has a quality FAQ (http://www.kaillera.com/faq.php) that explains many of the more common problems. Let’s highlight a few of the less obvious ones:

  • Lag is always an issue in online gaming.

  • Some of the largest Kaillera users are in the East, particularly China and Hong Kong, so the FAQ makes a good point about trying to play on a server over very long distances. However, Kaillera uses UDP, not TCP/IP. Lost packets are gone forever, but the lack of nondelivery acknowledgement in UDP tends to reduce lag. From a practical point of view, try to pick low-ping servers to play on, ideally within the same continent as yourself (see Figure 1-11). Keep your Connection setting on Good to send out enough packets to prevent a choppy connection.

  • Desynchronization can be a major problem.

  • This slightly more serious problem occurs when network packets are dropped or possibly corrupted. Without in-game error checking, Player 1 may correctly press the A button to pick up a power-up and receive 1,000 points, but the packet that explains this never actually reaches Player 2. Now both players have encountered divergent behavior. One good way to check for desync is by comparing the scores, according to the FAQ. Both players should see the same point values because they’re playing the same game.

  • The Kaillera server comes with optional Unix flavoring.

  • If you’re having trouble starting the Kaillera server, bear in mind that there’s a version that runs as a Unix/Linux daemon: ./kaillerasrv. You can treat it as a standard Unix utility. For example, to count the number of visitors, pipe the output to a log, and then type this at the prompt:

                grep connected kaillerasrv.log -c

If you’re not quite that elite, there’s also a Windows version available from the Kaillera download page (http://www.kaillera.com/download.php).

Selected Kaillera-Compatible Emulators

MAME32k is the first and most obvious emulator that uses Kaillera (think anything from great old titles like Rampage, through later ’80s games such as Arkanoid, right up to ’90s cult titles such as Cadillacs And Dinosaurs, plus many, many more), but there are several other cool alternatives in various stages of development. The following sections describe the highlights.

Kawaks

Though much more contemporary in terms of the material it emulates, and with some MAME overlap, Kawaks is often the most popular emulator over the entire Kaillera server sets. It handles Neo Geo and Capcom CPS2 games, although these games are sometimes commercially available elsewhere; it’s often a little shady in copyright terms. Still, it’s excellent software, especially for one-on-one fighting titles such as the King Of Fighters series, classic Street Fighter II variants, and newer one-on-one fighters such as Garou. See http://kawaks.retrogames.com/.

NESten

This fairly simple, vanilla NES emulator for Windows comes with Kaillera built in, so you can play some of your favorite Nintendo games against others over the Internet. This isn’t just neat, it’s spectacularly good; who can resist a little Duck Hunt or even a little Tengen Tetris? Download it from http://tnse.zophar.net/NESten.htm.

WinUAE Kaillera

This marvelous software allows Commodore Amiga fans to get their game on in a multiplayer fashion, thanks to an adaptation of the popular WinUAE Amiga emulator—think of amazing old titles like Sensible Soccer, IK+, and Speedball. Unfortunately, a second release has seen years of delay, at least at the time of writing. The available version is still an excellent start. Find out more at http://kaillera.abime.net/.

Bliss

On the wild side of cool, Bliss allows you to play multiplayer Intellivision games over a network with the help of Kaillera! Who’da thunk that such an old console would ever work online? Maybe you’d better boot up some of the entertaining sports titles such as Intellivision Football, or crazier Tron-style fare such as Snafu, and blast through them multiplayer-style. Learn how at http://bliss.emuviews.com/.

Stats, Damned Stats, and Kaillera Stats

One of the coolest things about the Kaillera web site is the statistics page (http://www.kaillera.com/stats.php), which shows the top-played titles in several different genres. This is surprisingly useful because it displays the titles that work best online over moderate connections.

As for highlights of this information, Taito’s marvelous Bubble Bobble sits atop the most played Platform Games chart, despite being over 15 years old. The tremendously addictive Puyo Puyo installments top the Puzzle Games chart, with the Neo Geo’s great Magical Drop 3 shortly behind. It’s also notable that the Adventure Games chart includes the classic Capcom brawler Dungeons and Dragons: Shadow of Mystara, an oft-neglected title so popular that the Taiwanese IGS PGM arcade console is producing gameplay clones even now. Finally, there’s even a Quiz game chart for general knowledge-style questions, headed by the SNK title Quiz King Of Fighters.

All these games are worth checking out, although the usual caveats about intellectual property and trying to acquire legal ROMs apply. See [Hack #1] for more.