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

Choose a Machinima Engine

Choose the right balance of features and ease of use before filming your own machinima masterpiece.

After exploring the genre ( [Hack #63] ), perhaps you’d like to try your hand at making a movie. It’s not quite as easy as pointing a video camera at a deathmatch screen. You have to know what you want to do and what your engine can do.

How do you know all that? Read on.

What Do You Need?

The simplest way to make machinima is to grab a computer game (or some other software, but I’m concentrating on games here), torture it into producing the proper visuals, and write the end result out as a film in whatever format you prefer.

However, there are a bunch of wrinkles to that. As with any other art form, there are multiple ways to work, and the way you’ll work will be very personal to you. First, you must consider the “people good or bad” argument.

Actors or programs

When you’re making machinima, you have a bunch of virtual actors standing around in a virtual world doing, in the immortal words of the ILL Clan, virtually nothing. You have to inveigle[13] them into doing what you want. You have two choices: control them with machines or with people.

Your first option is to use the game’s own artificial intelligence to control your actors, usually through some form of scripting language. Yes, you too can now control an army of robotic minions. Theoretically, this means you can make an entire film by yourself. The creator of Nehara made an entire three-hour movie this way in six months. In addition, your actors will work as long and hard as you will, and you have total control over their every movement.

The other option is to have your actors controlled by actors, or, at least, humans. Grab the mouse, configure WASD and a bunch of emote keyboard commands, and you’re off. It’s fast, it’s fun, and it’s very flexible: humans don’t give you syntax errors and they don’t crash, except possibly after a 16-hour session fuelled entirely by Jolt Cola and goodwill.

Beg, build, borrow, or steal

Next, you have to choose whether you will use in-game content (maps, characters, special effects, etc.) or new work.

In-game content is convenient, it doesn’t demand any artistic skill, and it’s normally of high quality. However, if you want to use all in-game content, you need to tailor your film to the content available.

A lot of groups end up creating their own content because they feel that the existing in-game maps and models don’t suit their movie. This is a very good idea if you want to differentiate your film, or if you want to make something totally different from the norm. See films such as Hardly Workin', Eschaton, or In The Waiting Line. However, don’t underestimate the amount of time this will take. Two of the films I mention took more than a year to produce, and the other had a commercial budget.

Of course, this relates to another choice: the game you will use. With the wide range of 3D games now available, most of them including editing capability, you can usually find something that will suit the story you want to tell.

Neither of these choices is exclusive. Indeed, often the best approach is to mix the two. As I write, Strange Company is doing preparation work on our next film, Bloodspell, which will combine live actors acting in close-up scenes with gigantic AI-controlled 50+-character battle scenes. It’s much easier to direct live actors, but I can’t fit 50 people in my office, so we use a combination approach.

Demo or movie

Finally, you need to choose how you want to distribute your film, either in a conventional video format such as AVI or MPEG, or in a special file to play back in the game. The advantages and disadvantages here are pretty simple. More people can easily watch MPEG, AVI, or Quicktime files, but you’ll get higher resolution for smaller file size if you distribute in-game. A lot of the time, your game choice will dictate your distribution method. If your game can’t play back demos, you need to capture the action of your film using a video capture card. At that point, you can’t go back to in-game.

Enough theory. Now it’s time to choose an engine.

A Little Bit of This and That

Different games have different advantages when it comes to machinima creation. Older engines often have more support, with people who know how to work them, and a lot of supplementary material available. Newer engines have more features and often prettier abilities. The choice of engine comes down to the film you’re making.

The following sections explain several criteria to use when evaluating any game engine.

Included content

Does the content available in the game fit your vision? If you want to make SF action, Unreal Tournament 2004 is a pretty good bet. If you prefer a gripping noir saga, though, Max Payne’s more your style.

Evaluate all the content in the game, in context, not just in an editor (this means playing the game—bummer!), and remember to check out the available mod content. Neverwinter Nights, for example, has good default content, but the vast, vast array of available mod content really lifts it as a machinima engine. However, be aware that mod content often won’t work as well as the original game content.

The game community

That a game doesn’t have a large community around it tells you two things. First, you’ll be on your own when figuring out the intense weirdnesses of how the engine works (and all games are intensely weird and frustrating in their own ways). Second, if no one’s modding the game, there may be a reason for that; perhaps the game’s a bear to mod.

Tip

On paper, Vampire: the Masquerade: Redemption looked like a great machinima game. However, it was nigh on impossible to mod because of its peculiar mapping system and scripting based on hardcore programming languages. Its nascent mod community died prematurely. Any machinima creator who set his heart on using it would have had No Fun At All.

The game’s community is also your primary audience for any film. A tiny community may well predict a tiny audience.

Available engine features

A huge feature list isn’t the most important part of a machinima project, but some features are very useful.

Check that the game can somehow do lip-syncing. That mechanism could be skeletal animation (Half-Life), morph targets (Anachronox or Half-Life 2), or even simple skin swapping (many Quake 2 machinima). If there’s no lip-syncing in the game itself, perhaps you can either animate the heads of characters somehow or quickly swap textures on the head. Neverwinter Nights, for example, has no built-in lip-syncing, leading Strange Company to some very interesting reverse-engineering to make a movie in it.

You don’t always need lip-syncing—Red vs Blue doesn’t have it—but it looks odd to see a character’s mouth remain rigid while he’s talking.

Skeletal animation is good. Blended animation and procedural animation are better. The former means that you can combine several different animations at once; the latter means that you can directly control individual bones on the model at runtime. Blended animation is extremely useful for characters who look around as you move the mouse.

Anything that makes your movie look pretty is great. Red vs Blue succeeded in part because the Halo engine is so pretty, and in part because Halo’s procedural animation lets the actors move the characters’ heads.

A scripting language is very helpful, as is built-in machinima functionality. However, don’t expect much here. For starters, if you’re filming live, you won’t use these features much. Second, most machinima scripting systems aren’t great. There are exceptions to this rule, with cheers to both Ritual Entertainment and Epic Megagames, but even these systems need tweaking, modification, and even abandoning, depending on how you make your film.

Look for machinima scripting languages that use real film metaphors. If a scripting language talks about creating dolly shots, crane shots, and track-and-pan shots, there’s a good chance it’s pretty solid. A good scripting language, whether it’s machinima-capable or not, is a great asset to the machinima creator.

Machinima Engine Recommendations

So do I have any recommendations for engines? Well, yes, although they’ll probably be out-of-date by the time this book goes to print.

Quake 2

The granddaddy of them all is still alive and kicking, thanks to much open source coding. The engine lacks skeletal animation but features some pretty good graphical improvements despite its age, with quick skin swaps and tons of content and support. In particular, the machinima support for this engine is excellent; check out the Machinima Production Kit (http://www.strangecompany.org/page.php?id=50).

Half-Life

This engine ages like a fine wine; it’s still probably the most popular game engine ever. Automatic lip-syncing, some neat skeletal stuff, a fair degree of machinima support, and a huge community make HL a good option, despite its aged graphics. Machinima.com has some introductory tutorials (http://www.machinima.com/displayarticle2.php?article=92).

Unreal Tournament 2004

This engine is a strong contender. It has good to great support, including a lot of support from the creators, a robust machinima system, and a pretty nice-looking engine, plus lots of content. UT 2004 seems to be the choice of a new generation. See the Machinima.com tutorial (http://www.machinima.com/displayarticle2.php?article=316).

Neverwinter Nights

This is a slightly strange choice. It has a huge community and masses of content, but the slightly old, although still pretty, engine has some strange limitations. It has skeletal animation but no controllable procedural animation and no blending. Lip-syncing is a complete bear. I recommend it for advanced users; it’s also your best option for a fantasy film.

Halo

There’s no modding, but the engine is very, very pretty, with a huge community. The “no modding” thing, though, really does limit what you can do with it. Red vs Blue worked within these limitations, but that’s a hard trick to repeat.

Half-Life 2

It’s not quite out as I write, but everyone expects this to be the Machinima Engine of the Gods. It promises advanced physics, beautiful graphics, powerful scripting, and advanced facial animation, plus lots and lots of mod support and a huge community that will follow it over. HL2 should be the next big thing indeed. Some people predict that it will take machinima into the mainstream.

All Dressed Up

With your engine chosen; props, models, and effects created; and voice recorded (unless you plan to use in-game voice), you’re ready to roll the whole shebang. The next stop is recording your movie ( [Hack #65] ). I know, I didn’t tell you how to make shebangs. You’ll have to figure that out yourself.