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 and Play Pinball Tables

Design your own virtual pinball table.

It makes a lot of sense that people can play classic arcade games by taking the code and writing hardware emulators. It’s easy to emulate computing machines, but how about pinball machines? How do you emulate physical objects?

You’ll need a decent construction kit to set up ramps, bumpers, flippers, and ball physics, much like the classic EA ’80s title Pinball Construction Set by Bill Budge. Fortunately, the Pinball Construction Set for the ’00s is here, in the form of Randy Davis’s freeware Visual Pinball.

Visual Pinball Overview

Download the latest Tech Beta of Visual Pinball from the official site (http://www.randydavis.com/vp/download.htm). Unfortunately, it’s a Windows-only program. More unfortunately, you also need the latest versions of DirectX, Windows Script (available with Internet Explorer 5.01 or above, Windows 98/ME, or Windows 2000/XP), and also Windows Media Player to install the audio runtimes.

Some versions of the game were limited betas, so if you grab one of those, it’ll say that your time is up, and you can’t play. However, the author decided to take away this limited-time status, so just hunt around on sites such as VPForums (http://www.vpforums.com/) for an executable without the time limit. This is perfectly legitimate and creator-approved, not a time-crack of any kind.

After installing the program, run it. Because it’s really a construction kit into which you can load games, you’ll see that it opens straight into a blank construction screen. This feature makes it even more fascinating, because all the tables you download are completely open; you can fiddle with them, tweak the locations of objects, and then test your changes right away.

Note

.

Tip

The reason for the name "Visual Pinball" is that it uses Visual Basic to script actions and complicated logic for the pinball games. It’s an amazingly full-featured tool.

Editing Basics

In the blank editor screen, go to the File menu and select Open, then load one of the example tables created by Randy Davis himself. Choose Alien Reactor. You’ll see a rather smart top-down grid view of the table appear, looking something like Figure 7-2.

The Visual Pinball editing screen

Figure 7-2. The Visual Pinball editing screen

Before we mess up anything, let’s try the table as originally loaded. Hit the F5 key or the Play icon on the left side of the screen. Within five seconds, the table will pop up in a pseudo-3D view, completely playable. Hit the Escape key after playing for a while to return to the editor screen.

Click on any of the individual items on the board, and drag them to move them around. If you really want your flippers in the middle of nowhere, go ahead and move them. Click the Options button on the left side of the screen to see the specific settings for that object, including its colors, physics, size, and orientation.

Also click on Script to see the script for the table. As you can see, it’s actually pretty straightforward Visual Basic. Here’s an example:

Sub CheckTargets
    If Target1.IsDropped And Target2.IsDropped And Target3.IsDropped Then
        Target1.IsDropped = False
        Target2.IsDropped = False
        Target3.IsDropped = False
        PlaySound "FlipperUp"
        PlaySound "GotLight"        
        mainsoundtimer.Enabled = True
        AddScore 10000
    End If
End Sub

This code checks the drop targets, which adds to the player’s score, plays sounds, and resets them when the player has hit all three.

Further Table-Creation Resources

Creating your own pintable with Visual Pinball is actually fairly straightforward, although some of the Visual Basic can be a little tricky. Check out the VPForums gurus and Q/A areas if you get stuck. You can learn a lot from existing tables by opening up their scripts and checking out exactly what they’re doing; open source is a good thing indeed.

ShivaSite has several great templates and FAQs, though you’ll need to register in order to download or view any of them. Check out http://www.shivasite.com/modules.php?modid=1&action=cat&id=5.

If you’re interested in some more exotic flipperless tables as found in bagatelle and pachinko machines, see the Sahara Sales page (http://pinballnirvana.com/) In particular, be sure to read the tutorial that explains how to replace the default plunger with a variable velocity kicker.

Original Homebrew Tables

Although there are many faithful reproductions of existing tables, plenty of other people have made completely original pintables (some of which are based on licenses they may be particularly enamored of). There’s no good central download source for these, but the VP Original Tables Releases forum (http://www.vpforums.com/forum/forumdisplay.php?forumid=88) handles announcements and reviews of new original creations. If you make a table of release quality, announce it there.

As of press time, a new resource has appeared at http://www.public.asu.edu/~checkma/pinball/originals.html, with links to all new or updated originally designed homebrew tables. This may also be worth checking out or submitting information to; however, because it uses third-party links, it won’t host your files for you.

The following sections describe a few notable homebrew tables.

F1

Based on the Formula 1 racing championships, F1 is a large (15 MB) table with a great deal of detail. It’s particularly designed as a two-player table, with Michael Schumacher and David Coulthard duking it out for the championship. This is easily one of the most professional-looking homebrew tables, featuring multiball, several modes, and plenty of good speech and sound effects. F1 is well worth checking out. Download it from http://members.iinet.net.au/~cleathley/.

The Great Rock N Roll Swindle

Appealingly nihilistic, the Sex Pistols would never sell out, but this original homebrew machine converts them to pintable form with great aplomb, complete with sounds and visuals from the movie and album of the same name. This may be one of the only games in the history of pinball in which rolling over the letters P, U, N, and K will earn you bonuses. See http://www.excellentcontent.com/vpinball/swindle.htm.

Inner City Life

This intriguing oversized pintable has some really nice custom graphics, gigantic ramps, and a much more synthetic look (Figure 7-3) than many other tables that really try to look like actual pinball machines. It works great nonetheless. Look out for the massive ramp through the skyscrapers on the right side of the playfield, as well as the mini-playfield with the mini-flipper up in the top left. Download it from http://www.scholzroland.de/VPStuff/.

Roland Scholz’s neat Inner City Life Visual pinball table

Figure 7-3. Roland Scholz’s neat Inner City Life Visual pinball table

Fight Night

Universally acclaimed as one of the best original tables, this boxing-themed homebrew pinball machine has four flippers, some intriguing modes, and even a mini-boxing ring at the top of the playfield to mix things up a little. The logic of the modes is also neat; you need a Trainer and a Promoter before you go into the boxing rings proper. See http://webpages.charter.net/celamantia/vp/ or download an edited form from http://www.excellentcontent.com/vpinball/.