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 LAN-Only Console Games Online

Official console services don’t support your preferred game? You can play online anyway.

Suppose you want to play a console game online, but the box claims the pesky so-and-so supports only LAN play. That game could be anything from Mario Kart: Double Dash!! on the GameCube to the classic Halo on the Xbox. Are you stuck without any way to play with anyone further away than a few yards?

Fortunately, a variety of clever PC-based utilities allow you to route your console traffic through your computer and over the Internet.

Why Do You Need Console Tunneling?

Before explaining these programs, let’s discuss why console tunneling is even necessary. Simply put, these games use too much bandwidth or send too many packets to work reliably over most Internet connections. Console manufacturers have fairly stringent rules about acceptable performance lag for playability, and Internet-based console gaming has only recently taken off. Some older, unoptimized, or just plain stubborn titles are only officially available for local area network (LAN) play.

Clever coders decided to tunnel, pretending that the local console is talking to a LAN-connected friend while actually shipping the packets back and forth over the Internet. This, of course, requires a computer to mediate. The tunneling utilities have grown increasingly sophisticated; they support chat channels, private or public servers, voice support, homebrew support, and plenty more options. Best of all, most of these tunnelers are freely downloadable—created by charitable and innovative coders. Some even support multiple operating systems.

GameCube Options

The best-known contender in the GameCube tunneling scene by far is Warp Pipe (http://www.warppipe.com/), a neat tunneling solution that works for all the LAN-released GameCube titles so far. At presstime, this list was Mario Kart: Double Dash!!, Kirby Air Ride, and 1080 Degrees Avalanche. It’s a short list, but all three games are fun, and Mario Kart is a classic, which helps make up for the paucity of titles. Warp Pipe is also an excellent choice because there are versions available for Windows, Mac OS X, Linux, and BSD.

It’s worth noting that a broadband adapter is required for your GameCube to make Warp Pipe work because it doesn’t come with the console. The add-on costs $50 at the official Nintendo web site or at most retail stores and fits snugly into the back of your Cube. To be honest, it isn’t useful right now in any official capacity; only the Phantasy Star Online series supports online play. These games cost an additional subscription fee, so although they’re rather addictive, there’s no massive demand for the GC broadband adapter.

What if you do have the equipment necessary to take your GameCube online? The excellent Warp Pipe setup page (http://www.warppipe.com/gettingstarted/network_setup.html) explains the basic steps:

  1. Connect your GameCube to the Net with an Ethernet cable. You can plug into a hub or a router, depending on your Internet setup. A hub may be simplest, and the Warp Pipe FAQ points out it’s “based on Nintendo’s recommended LAN setup for playing LAN-enabled GameCube games,” but you can use a router as long as you understand port routing. You can also put another Ethernet card in your PC and use a crossover cable to connect to your GameCube, but this is less common.

  2. Unblock port 4000 for both UDP and TCP. Remove or disable all firewall rules that may block this port. The GameCube uses both UDP and TCP to communicate for LAN games. If you’re unlucky, your ISP may block these ports outside your control.

  3. If you’re using a router, use its port forwarding to send the traffic through your PC and out onto the wilds of the Internet. Again, check the excellent Warp Pipe FAQ information (http://www.warppipe.com/support/router_firewall_support.html) for lots more details.

  4. Install and run the tunnelling software. Warp Pipe works on Windows, Mac OS X, Linux, and the BSDs. Run the software to see a window pop up with pictures of GameCubes and somewhere to enter an IP address.

  5. Find someone to play against. At the time of writing, you still need to find a potential opponent’s IP address and type it into the software manually (see Figure 5-1). The imminent WarpPipe 0.4 release promises to include an instant-messaging interface, much like the one in the XLink Kai Xbox tunneling software. It may well be out by the time you read this.

  6. However the version you use, http://www.warppipe.com/gettingstarted/playing_games.html will likely explain how to find opponents online. You also have the choice to “listen for connections” instead, allowing an opponent to contact you. One of you needs to host the game. Bear in mind that you need UDP and TCP on port 4000 unblocked to host but only TCP unblocked to connect to another opponent.

  7. Play the game. If the connection succeeds, you’ll see a ping value (hopefully way below 100!) appear. Now move over to your GameCube and boot the game into LAN mode to play against your new friend and opponent. Have fun and don’t drive over too many bananas in Mario Kart!

Warp Pipe, connecting you to other GameCube users online

Figure 5-1. Warp Pipe, connecting you to other GameCube users online

A new contender in the GameCube field is XLink Kai (http://www.teamxlink.co.uk/), originally created just for Xbox. There are already Mario Kart: Double Dash!! tournaments happening on XLink Kai, and users claiming it’s comparable or faster than WarpPipe; this bodes well for the future.

Xbox Options: XLink Versus XBConnect

When it comes to the Xbox, one of the leading services is the Windows-only XLink Kai (http://www.teamxlink.co.uk/) from the creators of XLink Messenger. At the time of writing, they’ve just expanded their tunneling efforts to the GameCube and PlayStation 2. It supports almost 50 games on Xbox alone.

Technically speaking, XLink works similarly to the GameCube’s WarpPipe. The only major difference is that it uses UDP ports 34518 and 34519 for the basic setup and UDP port 6073 for voice chat. Refer to the XLink help page (http://www.teamxlink.co.uk/help.php) for further help.

XLink’s impressive features include the ability to use XLink Messenger to monitor the status of tens or hundreds of avatars currently online in an almost Xbox Live-style fashion. You can tell their nicknames, locations, and current actions; whether they’re idling; hosting a game of Tony Hawk; advertising the desire to play a certain title; or just hanging out and chatting. You can add friends as in conventional IM clients and talk to each other via your PC in lobbies. It’s all rather impressive.

As for game availability, the former XLink homepage lists the favorite game for any given moment. More often than not, it is original Halo, but other titles such as the UbiSoft stealth action games are known to sneak in there from time to time.

Tip

It’s particularly worth playing games via XLink that you can’t play on Xbox Live. Microsoft’s service is good and fully featured; you should probably patronize it if you’re really into online Xbox gaming. Also, multiplayer Xbox Live matchups in games such as Project Gotham Racing 2 tend to be less lag-prone than tunneling software.

In a rather smart move, the ability to play LAN-enabled software over the network means that, if you know how to run homebrew software on your Xbox,[9] you can even play LAN-enabled homebrews such as Quake-X (http://www.lantus-x.com/ClassicX/) online via XLink. Clever stuff.

There are other Xbox tunneling programs. XBConnect (http://www.xbconnect.com/) is excellent and well-known, if available only for Windows. It supports nearly the same amount of games (45 in total, though it officially lists no homebrew games) and may actually have a larger Halo fanbase. XBConnect seems to lack XLink Kai’s ambition to expand to other consoles, but it’s well worth checking out.

Another possibility is the GameSpy Tunnel (http://www.gamespyarcade.com/support/tunnel_xbox.shtml), which is also free and Windows-only. It reportedly used to have a larger number of overall users than the other two services. This seems to fluctuate, but being tied to a major gaming news web site must help its popularity a little.

Finally, Aqueduct (http://www.postpose.com/aquaduct/) for Mac OS X works similarly to the Windows-only utilities. You’ll probably have to prearrange games with specific people, because there are far fewer people using the service.

PlayStation 2 Tunneling

PlayStation 2 tunneling is a little complex. Originally, Sony designed LAN play to work only with a special iLink cable—basically FireWire to connect multiple consoles. You can even use a FireWire hub to connect multiple PS2s to play Gran Turismo 3. However, with the advent of the PSX PlayStation 2 + DVR (digital video recorder) device, the iLink port will eventually disappear on newer PlayStation 2 models. LAN games will still work through the Ethernet port.

Obviously, you need an Ethernet adapter, standard only on recent PS2s, before you can think about tunnelling. XLink Kai has just started offering LAN compatibility for PS2 games through your Windows PC, and it should work by the time you read this. Check out their site (http://www.teamxlink.co.uk/) for more details.

Particularly interesting LAN-enabled titles include Gran Turismo 4, Tony Hawk’s Pro Skater 3 and 4, and the new Star Wars Battlefront. Obviously, most recent LAN-enabled games also have online support, so there’s no startling advantage for one style, as is the case for Halo for Xbox, which just isn’t playable online unless you tunnel.

To reiterate, XLink Kai compatibility will work for those games that use the Ethernet port for LAN play; those that use iLink only for LAN play won’t work for now, sadly. It’s possible there are some iLink-compatible tunneling software packages out there. If these software packages exist, they seem badly documented and will likely be sparsely populated.

The Future of Tunneling

The usefulness of tunneling may wane as more consoles and games support online play out of the box. Halo 2 has online capabilities, for example. For consoles that discourage going online (the GameCube) or certain titles that will never support online play (the original Halo for Xbox), it’s worth the hack in order to play in ways the designers never intended. Tunneling can work beautifully after you apply some homebrew creativity.



[9] See Andrew Huang’s Hacking the Xbox (No Starch), for example.