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

Use Your Dreamcast Online

Take Sega’s remarkably versatile console onto the Net.

Though it may seem as if going online with a relatively simple console such as the Dreamcast will be dull and boring, there are actually plenty of cool things you can do. Even now, after the Dreamcast’s heyday, you can browse the Web, chat on IRC, and play Quake III with PC-hosted servers. The following sections show you how.

Finding the Right Hardware

Although perhaps an idea ahead of its time, Sega bundled a web browser disc with many versions of the Sega Dreamcast. These programs supported SegaNet, the official Sega ISP, as well as an ISP of your choice, meaning the service still works even today. Additionally, several Dreamcast games allow online play or interactivity of various kinds, whether by downloading add-ons, checking out web pages from within the game, or actually playing against other human beings in real time.

However, the Dreamcast has only a built-in 56-KB modem. (European versions have a 33.6-KB modem, presumably some subtle commentary on the static-filled nature of Continental phone lines.) So, in unexpanded form, the Dreamcast has no way to attach a normal DSL or cable modem to it. Broadband is a major issue.

There is an expensive savior in the form of the official Dreamcast Broadband Adapter. Sega produced this device in very limited quantities during the Dreamcast’s lifetime because broadband was much less popular back in 2000 or 2001. Now that the Dreamcast is no more, the connector is a collectible. You’re likely to find the Broadband Adapter only on eBay or similar auction sites for $100 to $150. This is not a cost-effective means to hack, by any means, but it is extremely cool if you’re willing to shell out the money for it.

Warning

An earlier LAN Adapter, released only in Japan in 1999, does not work with many of the U.S. web browsers and games. Unless you have homebrew plans, steer clear. The Lan Adapter’s serial number is HIT0300 or HIT0301, whereas the BBA (Broadband Adapter) has the serial number HIT0400 or HIT0401. Some unscrupulous retailers will deliberately blur the descriptions of the two, so beware.

Suppose you’re stuck with dial-up to maneuver your Dreamcast around the wilds of the Net. This is no problem as long as you have a dial-up ISP. However, for many hack-centric readers, you’re likely to have DSL or a cable modem, and not actually own dial-up anymore. If you’re lucky, your DSL provider may provide free dial-up. Supposedly, Earthlink DSL offers this, as do some other providers. Otherwise, the late-’90s free dial-up ISP boom is over, and there don’t seem to be any completely free dial-up ISPs anymore. Ad-supported ISPs such as Juno.com may give you up to 10 hours a month for free, but it’s pretty impractical and may not work properly with your DC. This is a palpable problem. Your best bet is to find a broadband ISP with free dial-up, or curse like a sailor and fork out 10 bucks per month for dial-up.

Choosing a DC Web Browser

Although it seems slightly crazy, there are at least three different web browsers available for the Dreamcast. Including different versions, there are at least 10 overall. Which ones will you find in the wild? Which versions are worth using?

The PlanetWeb browser, which a third-party company made for Sega, is the most prevalent Dreamcast browser. Most U.S. versions of the console bundled it, and it appeared on several cover discs of the Official Dreamcast Magazine . Version 1.0 is very basic indeed, but the more common v2.0 and especially v2.6 are the easiest browsers to find. Versions 2.0 and later are fairly versatile, and they have MP3 support. Version 2.6 even runs Java 2.0. Finally, the rare v3.0 (available for a $20 upgrade fee direct from PlanetWeb during 2001 and 2002) adds the latest version of Flash that was available at the time (v4.0) and pJava, which enables Java chat not possible in other versions.

If you’re in the United States and want to use your Dreamcast with the broadband adapter, you will need a browser that understands the concept of broadband, such as PlanetWeb 3.0 or XDP.

The DreamPassport browser is available almost exclusively in the Japanese language. It’s a good, fully featured browser that includes many of the best features of PlanetWeb. It also allows broadband adapter use. However, you’re relatively unlikely to see an English-language version anywhere outside of unofficial homebrew-hacked versions.

The DreamKey browser, more readily available in Europe, is a dumbed-down browser that often supported only the SegaNet ISP. It isn’t versatile in the slightest, so avoid it if possible. Some Dreamcast games, such as Skies Of Arcadia or Sonic Adventure 2, actually have this browser built-in, even in the U.S. versions. You may have to live with this if it’s the only browser you can find.

However, there is a fourth way. An important, but slightly suspect homebrew-adapted innovation trumps all of these browsers. Download the XDP browser from the Psilocybin Dreams page (http://www.psilocybindreams.com) and burn it onto a self-booting CD. The disc includes a translated version of DreamPassport as well as a heavily modified version of PlanetWeb 2.6. The site explains the complex changes that have been made to the various browsers, even going so far as to create multiple user agents:

There are 3 user agents available: Original, Expanded, and MSIE 6.0. “Original” is necessary for changing or setting up Ch@b settings or downloading game saves from certain sites like Booyaka. “Expanded” is the best overall surfing browser. It gives access to Hotmail and most banking sites. “MSIE 6.0” is available for those rare sites that only accept an MSIE 6.0 browser.

However, although the developers have given away these browsers in the past, the team behind XDP do not seem to have permission to enhance them in such a way. Even if viewed as abandonware, this excellent compilation may have suspect permissions.

The Dreamcast for Network Infiltration

To think way outside the box with regard to uses for your Dreamcast online, the hackers of DC Phone Home (http://dcphonehome.com/) have turned the console into a network infiltration tool. Drop the Dreamcast in a quiet part of an office building and plug it into a network socket using an included LAN adapter. At that point, as their FAQ explains (spelling and punctuation reflect the original document):

First it checks for common TCP ports let out of firewalls. If it finds one, it starts vtun. If no TCP port are found, it checks for UDP ports (like 53). If it finds a UDP port, it starts cipe over UDP. It then checks for ICMP, if ICMP is available, it starts icmptunnel. If TCP, UDP, and ICMP fail, it attempts to discover a proxy server. If a proxy server is found, it starts PPP over SSH, via the proxy server, using proxytunnel. Once the device starts the tunnel, it sends its network information over the tunnel to the phonehome system so the attacker can setup routes to the internal network.

Provided you have physical access to a facility, your Dreamcast can be a cheap, effective infiltration tool that works from the inside out—much easier than from the outside in! It’s ingenious, though DC Phone Home has never released the software for download, and the scarcity of the broadband adapter raises the expense of a throwaway tool. Still, this is clearly a proof of concept for security researchers rather than an actual black-hat piece of evilness. It’s an interesting concept showing off what you can do if you start thinking creatively about cheap and hackable hardware.