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

Create PS2 Cheat Codes

Need alternatives for exploiting Grand Theft Auto 3 for your PS2? Try some cheat codes.

You’re playing your favorite PlayStation 2 game, but you’re bored of the gameplay. Wouldn’t it be neat to mix things up a little bit; maybe turn on infinite lives, skip levels, or reach new areas? Unfortunately, because the console is a black box, it’s not easy to change game saves or enter cheat codes. You need some way to enter cheats from external sources into your beautiful console.

If you consider the proprietary nature of next-generation consoles, in which you can’t burn discs for unmodified consoles (unlike, say, the Dreamcast), and add the fact that modifying these next-gen beasts is fraught with legal peril, you have a situation in which it’s difficult to alter game variables easily. That’s perfect fodder for a hack.

If you’re prepared to piggyback on completely unofficial hardware and software work from commercial variable-hacking experts,[14] you can cause havoc in game code in no time flat.

Although each of the major current-generation consoles (the PlayStation 2, GameCube, and Xbox) have significantly different ways you can access them (and different games that are particularly fun to hack), the most popular system for cheat code hacking is the PlayStation 2.

Variable Hacking on the PlayStation 2

Datel’s Action Replay (and some versions of the Gameshark) led the pack of cheat-code devices for the PS2 until 2003. This unofficial CD boots on unmodified PlayStation 2 (an impressive trick, to say the least), allowing you to enter codes to activate specific in-game effects, such as infinite lives, game debug modes, and level skipping. After you’ve entered the code with the Action Replay disc, swap in the game disc and allow it to boot as normal, with certain memory values changed to enable the cheat.

Tip

Because PlayStation 2 games generally don’t store data on the hard drive—it’s not a default part of the hardware—the cheat needs to change memory-resident values to work its magic.

Unfortunately, probably due to issues with third-party companies duplicating various console Action Replay features, Datel now builds encryption into their 16-character cheat codes. Fortunately, they do a good job of keeping up to date with new codes, but it’s great to be able to enter brand new codes as well. There are ways around this.

The basic versions of Action Replay come with a CD-ROM filled with the latest codes. You can upgrade to receive the newest codes for a small fee. This is the way to go; entering 24- or 32-digit codes via the controller is particularly time-consuming, so having them available on the CD is handy. However, if you want to enter new data quickly, plug a normal USB keyboard into your PlayStation 2. Datel actually sold a keyboard called the Powerboard specifically for this purpose, presumably before USB keyboards were more widespread or used in PS2 games, but don’t be confused; it’s just a Datel-branded standard USB keyboard.

You can also find single-disc, PS2-only editions of Datel’s Action Replay, sold for $10 or less as the Action Replay Ultimate Cheat Series. There are specific editions for Grand Theft Auto 3, The Getaway, The Sims, and many other titles. These discs hold cut-down versions of the main software, specific to the named game. Unfortunately, there’s no real way to enter codes of your own. Although there are some decent default codes, you can’t hack them any further. Avoid these discs in favor of the normal Action Replay discs, which have all of these codes anyway.

Creating Your Own Codes

Unfortunately, Datel is very protective of their Action Replay codes, both to prevent unwanted misuse and to stop other companies from cloning their codes and releasing gray-market copies of their software. It’s not easy to make your own Action Replay codes, but it’s possible.

The amazing Hellion00 encryption Action Replay Code Guide page (http://hellion00.thegfcc.com/index.html) is a superior starting point that offers an exact step-by-step guide for creating your own cheat codes for popular games. It also gives a handy guide to what all those existing codes actually mean. An AR code has four different parts, as shown in Table 6-1.

Table 6-1. Action Replay code parts

Part

Description

Command

What to do

Address

Which memory location to change

Value

The new value for that location

Encryption

The proprietary Datel bit to stop meddlers

In order to work out which bits of memory you’ll change or address, you can’t work completely blind. As the Action Replay Code Guide explains, the official Datel engineers and hackers who create the common codes as quickly as possible have complicated equipment (likely development kits for each console), but the amateur hacker has to make do with what he has.

That’s where PS2DIS (http://hellion00.thegfcc.com/PS2DISGuide.htm) comes in. This cunning program analyzes the SLUS (program) file you need to copy off a PlayStation 2 game disc onto your PC. Insert the PS2 CD into your CD-ROM drive or DVD-ROM drive, as appropriate, find a SLUS_< XXX.XX > file on the disc, and copy it to your computer.

The PS2DIS utility searches this file for strings and works out which places in the game code refer to a given address. The site includes a Grand Theft Auto 3-related example of searching the SLUS for potential cheat code locations (http://hellion00.thegfcc.com/PS2DISExample1.htm). This explanation points out that many games don’t have well-labeled code, so relying on strings, while one of the only ways you can guess what’s going on without an expensive debugging kit, may not always work so well. It’s still worth trying.

Once you’ve sorted out your code, you’ll need to encrypt it so that the Action Replay will actually understand it. The Hellion00 encryption page (http://hellion00.thegfcc.com/encryption.html) hosts three web-based conversion tools, each for a different type of game. Enter your raw code to produce a different eight-digit code to enter into the Action Replay itself. First, though, you’ll probably need to enter a master code to enable cheating.

When Is Gameshark Not Gameshark?

Here’s where things get complicated. If you see an Action Replay product for PlayStation 2, it will have the Datel architecture in it that allows you to perform all of the earlier hacks. However, if you see a Gameshark, you have no such guarantee.

In the United States, a company named Interact originally used the Gameshark name. They licensed the Datel technology used in the Action Replay but then went out of business. Because the Gameshark name is particularly well-known, major peripheral manufacturer Mad Catz bought the name. They formed a partnership with Fire International, maker of the rival-to-Datel Code Breaker series of cheat devices (actually made by Pelican), and started producing Gamesharks with the Pelican technology.

Now Pelican has apparently developed its own technology to continue producing Code Breaker hardware, bringing the grand total to three different major cheat code devices on the market.

The general consensus seems to be that both the new Gameshark and new Code Breaker tools, while perfectly competent, don’t offer anything over the existing Action Replay. More to the point, the vast majority of the innovative extra hacking work uses the Action Replay, so it seems sensible for most users to stick to that.

Tip

If you want to cross-convert codes between multiple cheat code formats, or even make a code and then generate Action Replay, Code Breaker, and Game Shark versions, see The GFCC’s bonus web page (http://hellion00.thegfcc.com/bonus.html) for a utility that does all of the above. It is exceptionally complicated, however, so hit the HELP button for some illumination.

There’s one final reason why the Action Replay brand seems to make the most sense, and that’s the introduction of the new Action Replay Max. With the AR Max, if you have a broadband connection and a network adapter for your PlayStation 2, and insert the CD in the drive and boot it, you can download all the latest official saves directly from the Internet. You don’t have to buy a CD upgrade to get them or enter them yourself. This is a clever hack in itself and makes the Action Replay even more user-friendly. Still, I like the homemade hacks by third parties; hacking the hackers is fun indeed.

See Also

If you want resources to discuss PlayStation 2 code creation, need to check out existing codes, or just want to hang out with code junkies, the Datel’s CodeJunkies site (http://www.codejunkies.com/—free registration required), is almost certainly the best. Don’t worry that it’s run by the company themselves; they tolerate and even encourage creative work on their forums.



[14] In particular, I mean Datel with their Action Replay and old GameShark and Fire International with their new GameShark devices.