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 Classic PC Graphic Adventures

ScummVM is a cross-platform set of multiplatform game interpreters. The authors describe it as “a `virtual machine’ for several classic graphical point-and-click adventure games.” It’s named after the Script Creation Utility for Maniac Mansion (SCUMM) engine used in classic LucasArts adventure games, including Maniac Mansion, Sam and Max Hit the Road, and Full Throttle, but it’s diversified somewhat; it now handles Revolution games such as the Broken Sword series.

Running ScummVM

ScummVM is particularly clever because it interprets the original Scumm source files, whatever the platform. In other words, it doesn’t try to emulate the original hardware platform, but like the Inform text adventures ( [Hack #85] ), it takes the information in the source files and interprets it independently of the platform. Obviously, each individual hardware platform’s version of ScummVM then has the information necessary to turn that information into pictures and sounds.

Let’s consider the Windows version of ScummVM. Download it from http://www.scummvm.org/downloads.php, install it, and then run ScummVM.exe. You’ll see a straightforward windowed menu system to which you can add games by navigating to the directory the datafiles are in (even if they’re on a CD). It’s really as simple as that, although there are a host of command-line and in-game options.

To play a game, you need the original media. Sources for this vary: perhaps you have floppy disks stashed away in your closet from the DOS versions of some of these games, or perhaps you can hunt around online and pick up the CD versions on eBay or other online auction shops. We’ll discuss ways to pick up multiple games a little later.

You won’t need every file from the original media to play the game. The ScummVM site has a handy page that summarizes the necessary data for each working game (http://www.scummvm.org/documentation.php?view=datafiles). It may be wise to copy the files to your hard drive to prevent wear and tear on the floppies.

Tip

If you can’t find originals, you can test ScummVM with demos that various collectors have put online for your downloading pleasure. See http://www.scummvm.org/demos.php.

Best of all, the wonderful folks at Revolution Software have made their classic graphic adventure, Beneath A Steel Sky, available from the same downloads page (http://www.scummvm.org/downloads.php). Although it’s not for the Scumm engine, this is a majestic, adult, brooding adventure title worth your while. Kudos to Revolution for allowing free redistribution.

Alternative Operating Systems and a Scumm LiveCD

You’re not running Windows, you say? Well, as ScummVM’s web site says, “Currently tested platforms are Win32 (Windows 95/98/ME/NT/2000/XP), Linux i386 and PPC, BeOS, Solaris, Mac OS X, Dreamcast, MorphOS, IRIX, PalmOS and WinCE,” so there’s plenty of choice. The previously mentioned downloads page has binaries available for all these systems.

What if you just want to run ScummVM despite whatever platform you have installed?

That’s the realm of the Scumm LiveCD (http://www.scummlinux.org/). As with some of the other Linux self-boot CD distributions (KnoppixMame, for example; see [Hack #15] ), it runs independently of the operating system. It’s distributed as an ISO that allows you to copy games into the distribution and burn it onto a CD. There’s also a special version with USB memory stick support. Copy the games you want across, run the special generator.exe (or its Linux equivalent), change your BIOS to boot from the USB stick, and Bob’s your uncle.

Rescumming Mac OS Originals

So far, we’ve assumed you’re trying to use the files from the Windows or DOS version of the original LucasArts games. You can also use files from the Mac OS originals, but there’s an additional complication: you need to “rescumm” them to extract the relevant datafiles. In the Mac versions, the entire game is packed into a single file, so the interpreter can’t access individual files.

There’s an excellent FAQ on how to fix this problem on PS2Cheats (http://www.ps2cheats.com/randomstuff/scumm/), but it’s really as simple as downloading the ScummVM toolset (http://scummvm.sourceforge.net/downloads.php), finding the datafile on your LucasArts game CD, copying it to your hard drive, opening the Terminal window, and then running the rescumm utility on the file. It’ll magically extract all the datafiles you need to add that game to your ScummVM install. This is particularly felicitous because there are major compatibility problems with classic LucasArts titles and Mac OS X.

Let’s reiterate, since this is a little confusing. You can use your Windows datafiles from your Windows CD version of the game to play LucasArts Scumm-totin’ games on your Mac. If you’re trying to use an original Mac version of one of the games on ScummVM, you’d better rescumm it. Got it?

Recommended ScummVM-Compatible Games

Recommending ScummVM games to play is easy. LucasArts created some of the most delightful adventures using the Scumm engine. Here are some particular favorites you should consider.

Sam & Max Hit The Road

What is there to say about Sam and Max? It’s one of the best graphic adventures of all time. Steve Purcell’s crime-solving bear and rabbit team have the most absurd, wry, odd, and delightful adventures of any anthropomorphic crimebusters, ever. “You know, Max, I can’t help but think that we may have foolishly tampered with the fragile inner mechanisms of this little spaceship we call Earth.”

The Secret Of Monkey Island

“Guybrush. Guybrush Threepwood.” The original Monkey Island game has classic puzzles, amazing dialog, and a tremendous sense of fun, in addition to its stand-out sense of humor. There’s no need for talking skulls to liven up this original piratical jaunt. Apparently, you can always press Ctrl-w to win the game on many versions of it; in that case, there’s no need even to play!

Loom

Brian Moriarty’s haunting, otherworldly experience was underappreciated at the time, featuring musical notes that created spells. Don’t miss the CD-ROM version. If you’re really an insane Loom freak, the MixNMojo page (http://www.mixnmojo.com/php/site/gamedb.php?gameid=14) points out that the 256-color Japanese FM Towns version is a direct conversion of the 16-color PC version, including all the cool cut-scenes left out of the PC CD-ROM version for space reasons. It’s not cheap or easy to find, mind you, though it’s very much worth it.

Flight of The Amazon Queen

Okay, this isn’t a Scumm game, but it is a stylish and funny classic graphic adventure that richly deserves banding with the LucasArts titles for ScummVM compatibility. It’s also freely downloadable, courtesy of John Passfield and Steven Stamatiadis, the original creators. Some reviews describe it as Monkey Island meets Indiana Jones.

Tip

When you analyze the titles supported by ScummVM, notice some odd non-LucasArts titles that apparently use the Scumm engine. These children’s adventure games, developed by Humongous Entertainment, came about because Ron Gilbert, the Monkey Island cocreator and one of the original programmers of Scumm, founded Humongous and actually went to the trouble of licensing his engine back from LucasArts! Although heavily modified, you can at least load titles such as Putt-Putt Joins the Parade, in ScummVM. That’s the kind of thing that can win you a geek bar bet.

If you can find it, the LucasArts Classic Adventure compilation (http://www.mobygames.com/game/sheet/gameId,2477/) from way back in 1992 is the best way to find multiple games at once. It includes Zak McKracken and the Alien Mindbenders, Indiana Jones and the Last Crusade, Loom, and The Secret of Monkey Island. That’s some seriously good retro mojo.

The new Scumm engine (but not ScummVM!) using LucasArts Entertainment Pack is also good; it includes Sam & Max Hit the Road, Full Throttle, The Dig, and Grim Fandango. Aaron Giles’s page (http://www.aarongiles.com/scumm/) has more information on this enhanced Windows engine. As of press time, it’s available only in the United Kingdom.

Tip

Although you can’t run it in interpreted form in ScummVM because it’s stuck on a cartridge, highly modified, and unreleased, Video Fenky has a web site that exposes the unedited Nintendo Entertainment System version of Maniac Mansion (http://www.video-fenky.com/features/rg/maniac.shtml). Apparently, the Big N wasn’t too happy with dialog such as Dr. Fred telling Sandy about “getting your pretty brains sucked out,” as well as Nurse Edna’s rather suggestive speeches. Fortunately, what was a little much for poor sheltered NES users ended up being fine for those unmoderated PC users.

ScummVM as a Platform

How about creating brand new games for ScummVM? Isn’t that possible? Possibly, but the Scumm construction tools have never seen the light of day. It’s clear the engine was extensively hacked to construct the games, so construction sets such as AGS ( [Hack #79] ) do the job a lot better. As the ScummVM FAQ says:

While it is theoretically possible to write a new game that uses ScummVM it is not advisable. ScummVM has many hacks to support older games and no tools geared towards creating content usable by ScummVM.

Maybe we’re just lucky that some of the all-time classic graphic adventures have already been created using Scumm. It’d almost be a shame to create more and ruin the Scumm reputation.