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

Adventure Game Studio Editing Tips

Previous hacks have discussed using interpreters to play classic games using clever utilities such as ScummVM for LucasArts adventures ( [Hack #7] ). As that hack points out, there’s no real way to make new SCUMM games in this day and age. The creation tools aren’t available to the public, and besides, the engine was pretty hacked up over multiple product iterations, with lots of customization to get games out the door.

Surely there must be some kind of alternative. There is, in the form of Adventure Game Studio, an excellent Windows-based utility that “allows you to create your own point-and-click adventure games, similar to the early ’90s Sierra and LucasArts adventures.” AGS is both a development environment and a runtime engine.

AGS Basics

Adventure Game Studio (AGS) is a fully developed graphical editor for game creation. It’s simple enough that coding novices can venture a decent stab at making games of their own. You can add sound, music, and ambient noise in various formats, even making a full talkie adventure with speech—packed into a single file. You can set up conversation systems, a completely customizable GUI, and multiple-player characters, all in a variety of color palettes and bits. Of course, the 16-color mode provides that true retro feel.

The official AGS site (http://www.adventuregamestudio.co.uk/) has much more information on this long-standing tool, and the download page (http://www.bigbluecup.com/acdload.htm) has everything you need to start. Thanks to a port of the runtime engine itself (http://drevil.warpcore.org/ags/), you can create games that run on Linux, although the actual creation tools still run only on Windows. For most standalone versions of the games themselves, you don’t need to know anything about the AGS editor. Game creators compile their games into a single .EXE file for distribution, so it’s a completely standalone system, unlike other creations such as Visual Pinball ( [Hack #80] ) that require you to have the editor installed before you can try out the game.

Running the AGS Editor

After installing AGS, load it up. Be prepared for a wealth of complex, but fairly usable, menu options and dialogs. By far the best sources for beginners are the official AGS Forums tutorial pages (http://www.bigbluecup.com/acdload.htm), which have both internal and external links to over 20 tutorials. Here are some tips to simplify your career:

  • Don’t be daunted by the massive setup options screen.

  • Click Start New Game, select the Blank Game template, and choose a resolution (I like 320 240, for maximum retro-ness!) to create a game. You’ll see a screen of complex options. Many of these options are strictly high-end, and you can change them later if necessary. Do pay special attention to the choice of color resolution; if you change your mind part way through, you’ll have to reimport all of your graphics.

  • The strange lines when editing rooms represent doorways or portals.

  • Click on the Room Editor/Setting option in the Game Editor menus to edit your first room. You’ll then see some strange lines. These mark the areas the player’s feet will have to touch to leave or enter the room. Set what happens when this occurs by editing values and actions in the Interaction Editor, which you can call by clicking the i icon in the Room Editor screen.

To set up a walkable area, click on the Areas option in the Game Editor menus and sketch out and fill in the relevant areas with the paint tools. Combine these rooms with the Interaction Editor to carve out extravagant multiroom complexes in no time!

  • Make and import background graphics.

  • Extravagant multiroom complexes look rather sparse without actual graphics to back them up. AGS comes with only one default character (Roger) and no background. Create a batch of sensible room graphics in the correct resolution, even cropping your holiday photos if necessary. Import them into AGS using the Import Background icon (the trees) in the Room Editor/Setting screen.

  • Use the inventory editor to manipulate game objects.

  • The inventory editor (Inventory in the Game Editor menus) is well-coded and simple. Each object has a tree of possible responses for which to set actions, whether the player is looking at that object, talking to it, using something on it, or interacting with it in other ways. You can even set multistep actions or conditions. For example, if the player character has been in another room before examining the object, something else could happen!

  • Change the GUI if you’re feeling particularly inspired.

  • You can even completely change the GUI in the GUIs menu screen, both graphically and scriptwise. Hit the Edit Script button to see the scripts attached to the GUI functionality. Be aware that the graphical style of your rooms needs to mesh nicely with your GUI stylings, though. Try to avoid mixing paisley and tartan, please.

You can make a perfectly serviceable basic game using the GUI tools alone, but should you wish for more complexity, you can edit the scripts that your GUI games have produced. You’ll need to do this to add features such as producing random messages when the player does something multiple times, allowing the player to complete a certain puzzle if she has any one of three different objects, and making custom functions that can be called from anywhere in the script. Chris Jones, the author of AGS, has an excellent basic scripting tutorial at http://www.bigbluecup.com/actutor.htm.

Some of the Finest AGS-Created Games

While it’s fun to try to create your own games, it’s also well worth checking out what other talented amateurs have created. Just about every AGS-authored game ever created is available for free download, too, so there’s a wealth of great games to try.

Tip

Though they look old-school in style, these aren’t morally murky abandonware games from the ’80s. They’re brand new adventures, made in the past few years, that the original creators distribute freely.

Start at the AGS Awards page (http://www.sylpher.com/AGSAwards/Awards.htm), which highlights specific AGS games in several categories, stretching all the way back to 2001. Unfortunately, this site lacks download links, so either do a little Googling to find a game that catches your eye or wander over to the official AGS page for award winners (http://www.bigbluecup.com/games.php?category=102) and follow the links there. Most download links there redirect to personal pages; hopefully, someone will work on a central, permanent archive for these titles soon. Here are a few of the games you’ll find:

The Adventures Of Fatman

This full talkie adventure (Figure 7-1) is a superhero spoof and was actually a commercial game for a while. The creator has since kindly allowed free distribution. Not only is it full-featured, long, and funny, the talkie version includes a behind-the-scenes audio commentary for each location, a really neat and unique concept for a graphic adventure. Download it from http://software01.archive.org/1/items/the-adventures-of-fatman-pc/.

The great and now free Adventures Of Fatman

Figure 7-1. The great and now free Adventures Of Fatman

5 Days A Stranger

This spooky horror game won a host of awards at the 2003 AGS Awards. The storyline involves a cat burglar stranded in a country house as things go horribly awry. A genuinely scary atmosphere—not often tried in graphic adventures that traditionally veer toward humor—and great characterization and plot make this title well worth your time. See http://netmonkey.fullyramblomatic.com/5days/.

Pleughberg: The Dark Ages

Despite somewhat lackluster graphics, it’s easy to see why Pleughberg won many “Best of” awards in the 2001 AGS competition. You play “Jake McUrk, working for the Police Detective Agency” in this gritty police drama with a fair amount of extremely pixelated gore. The story is great, and the creator also took time to put in multiple endings—a very neat touch. You can download it from http://www.gaspop.com/darkages.htm.

Apprentice

Another fan favorite, this short but memorable adventure focuses on Mortimer “Pib” Pibsworth, a would-be magician. It won multiple awards, especially for art, in the 2003 AGS Awards. Fortunately, there’s a sequel (or, actually, trilogy) in development for those upset that the well-crafted title ends so soon. See http://herculeaneffort.adventuredevelopers.com/app1.html#top.

There are plenty of neat choices out there. Free games are proliferating because they’re so easy to create, and the gameplay is straightforward and does not rely on twitchy reflexes. It’s also worth noting that the official AGS games page (http://www.bigbluecup.com/games.php) offers a handy parental advisory rating per game for sex, violence, and nudity. You can check which titles have mature themes as well as those that don’t.

Tip

For fans of the awful, there’s also plenty of opportunity to trawl through some truly tragic fan-created titles. The AGS Awards even have a category for the most execrable fan concoctions. I can’t really repeat the actual award name, but suffice to say it involves the ASCII-ization of a rather rude word.

Note

Highlights include the sophisticated Smokin’ Weed (at http://www.bigbluecup.com/games.php?action=detail&id=229), which is “a short game about a drug dealer who gets visited by the weed police and now he has to escape out of his own house.” This gripping adventure comes from the pen of Guybrush’s brother, Vincent Threepwood!