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

Hack the Nuon DVD Player/Gaming System

Do unlikely and intriguing things with the cult DVD player and game chip combo.

Failed game systems often attract a certain amount of cult attention and new content as, abandoned in their full-price glory, they’re resurrected as cut-price toys for hackers, exploiters, and hardcore fans. This is definitely the case for the bizarre Nuon, the VM Labs-developed game console on a chip. VM Labs made a stealth bid for glory by bundling their game system in as many third-party DVD players as possible. While this attempt failed, the Nuon nonetheless made it to market.

With the ability to burn and play homebrew titles and accomplish other clever hacks with existing content, the Nuon is a fascinating, inexpensive games machine to hack around on. Some models feature the amazingly impressive Virtual Light Machine, which can generate effects you have to see to believe.

Nuon’s Short Life and Resurrectory Jaunt

Back in 1994, some of the creators of the Atari Jaguar founded VM Labs (which should partially explain the appearance of a certain shaggy Welsh psychedelic programmer later in this story!). They set up partnerships with major third-party DVD/consumer electronics manufacturers to license what the official FAQ for the now defunct Nuon web page explains is:

...powerful and versatile embedded technology that enhances the passive elements of digital video products such as DVD players, digital set tops and digital satellite receivers, while adding high performance interactive graphics and audio. This combination allows consumers to enjoy next generation 3-D video games, interactive family software and other flexible applications all on the same digital platform.

VM Labs originally, quite seriously, billed the Nuon as a Mario killer. Early adverts showed Mario’s cap in a puddle of blood next to an X, because the original name of the chip was Project X. So, although a few enhanced DVDs took advantage of the extra processor power of the Nuon, and DVD players including Nuon had advanced features such as super-high-quality zoom, the Nuon really turned out to be a single-chip media processor that could play 3D games on a DVD player.

After an extended delay, Samsung finally released a Nuon-compatible DVD player in July 2000. Ultimately, some 10 commercial games saw the light of day. Unfortunately, even though Samsung, Toshiba, and RCA all released Nuon DVD players, and Motorola experimented with Nuon tech in some of its set-top boxes, the technology was not a success. It fizzled out in 2001 and 2002, although a couple of RCA players without easily accessible Nuon features or gameports did debut later in 2003.

VM Labs unfortunately lapsed into bankruptcy in 2002. A company called Genesis, completely unrelated to Sega’s classic 16-bit system, purchased the company. They were actually interested in Nuon for its MPEG decoding capabilities.

Picking the Choicest Nuon Hardware

Before hacking a Nuon, you need the hardware, so you’ll need to decide which model you actually want. If you’re in the United States, there are really only three DVD players with Nuon functionality worth considering:

Samsung N-501

Samsung’s DVD player, released in early 2001, is my first choice by far, because this player comes with built-in controller ports and can play homebrew CDR games without any trouble. In addition, although it’s low-resolution, the Virtual Light Machine (VLM) included in the BIOS has a massive range of controllable effects. Unfortunately, it doesn’t come with a controller packed-in, though it does include the addictive little puzzle game Ballistic.

You should be able to find this player in online shopping stores or on eBay for between $75 and $125, although it is getting a little trickier nowadays.

Samsung Extiva N-2000

The very first Nuon-compatible player, from the middle of 2000, came with Ballistic, a game controller, and a fully featured demo disc with multiple commercial games on it. However, being an early model, it does not have the correct firmware to load the NUON.CD files used in homebrew Nuon titles. Besides that, it has serious trouble recognizing CD-R discs.

This model has 100 VLM effects, but you can’t apply them in real time, unlike the N-501 version. At the time of writing, only one store offered the N-2000 on Froogle, for $129.

Toshiba SD-2300

The Toshiba has a few minor pluses, such as controller ports, and the fact that this player was the only place to get Hasbro’s The Next Tetris via a mail-in demo disc offer. (This deal has likely expired by now.) However, it has only a pathetic eight VLM effects, allegedly due to epilepsy concerns. It also won’t play homebrew games, which is a major issue. If you can find it online, it’ll probably run you $80 to $150.

For European readers, the insanely rare Samsung N-504 is the machine to buy, because it’s very similar to the American N-501, complete with controller ports. If you can’t find that (and it’s very likely you can’t), you will have to settle for an N-505, which, tragically, has no controller ports.

Believe it or not, an enterprising European has hacked the N-505 to add controller ports, which are simply missing external linkage; the circuit board inside has the controller port connector. There’s more info about this hack on the Nuon Dome site (http://www.nuon-dome.com/n505hack/n505hack.html), but, unfortunately, this version needs an extra set of Nuon controller ports to work. You’ll need to scavenge them from a broken American N-501 or similar model.

For the very hardware-savvy, Vid Kid has gone one step further, hacking in mini-DIN connectors to the open game port on the N-505. See his web page for more (http://www.debaser.force9.co.uk/n505hack/). It requires significant soldering skill; you’ll need to open up a Nuon controller and wire mini-DINs onto that as well. For gamepad connector-starved Europeans, it’s definitely an option.

Commercial and Homebrew Nuon Software

After you’ve picked up your Nuon and have a working controller, which commercial games should you consider?

Here’s a short list of the games worth looking at: Tempest 3000. See, I told you it was a short list. Jeff Minter’s crazed update of the classic arcade game is the only essential title on the Nuon, degenerating into psychedelic mayhem in about three seconds flat. If you enjoy burning your eyes out by gazing intently at the bright, bright screen and flailing spasmodically at the joypad, then you’ve picked the right console and the right title.

Fortunately, there’s also the homebrew scene. VM Labs released the Nuon SDK just before going into liquidation. You can find the SDK in multiple places, including Nuon Dome. This fact, as well as the help of some ex-VM Labs engineers, meant people were soon able to run self-made titles, even overcoming the 4.5-MB limit for the open SDK. The games are incredibly easy to burn: just take the files included in the ZIPs and burn them to the root of a CD-R, using one CD-R per title.

Again, Nuon Dome is the web site with the best file collection and review of what’s out there (http://www.nuon-dome.com/download.html), so I’ll describe what you might want to check out there.

Ambient Monsters (http://www.nuon-dome.com/ambientmonsters.html)

This odd but beguiling relaxation disc isn’t very interactive but shows neat attention to detail.

Decaying Orbit (http://www.nuon-dome.com/decaying_orbit.html)

Although very much a work in progress, this is by far the most ambitious original Nuon title around; it’s a port of an original PlayStation Yaroze game. It involves flying around the screen while avoiding the pull of various planets. While it’s a traditional 2D title, it has a lot of style and pizazz (see Figure 5-2).

DOOM ( http://www.nuon-dome.com/doom.html )

One of the original demos from the early days of the Nuon, this runs at a slow frame rate, but it’s DOOM running homebrew on your Nuon! This uses the open-sourced code and the official shareware WAD file. It has a custom library to read data from the CD, and there’s even a recompiled version for the RCA NUON DVD, running on a faster processor.

Breakout ( http://www.nuon-dome.com/breakout.html )

A worthwhile addition to the Nuon homebrew canon, this is a basic but fun interpretation of the classic Breakout. It’s still under development and features a delightfully badly Photoshopped Mr. T title screen. I pity the fool who doesn’t burn this baby!

Nuon homebrew title, Decaying Orbit

Figure 5-2. Nuon homebrew title, Decaying Orbit

The Nuon Boot Loader

In early 2004, one of the most important breakthroughs in the Nuon scene occurred: the Nuon Boot Loader, created by Scott “Skah_T” Cartier, who once worked for VM Labs. According to the Boot Loader site (http://www.dragonshadow.com/-/bootload/):

The Boot Loader allows you to place several NUON applications (called “apps” from here on) on a CD-R and presents you with a menu from which to select the one to run. These can be homebrew games like Breakout or Chomp, applications like the jpeg viewer, or demos such as the ones found in the NUON SDK.

Much like similar utilities for the Dreamcast, this makes it infinitely easier to try out multiple small utilities or games without having to burn a new CD-R for each. You can even customize a menu for each individual utility or game, with colored text and JPG pictures of your choice.

Here are some tips for using the Boot Loader:

  • Make subdirectories for each program you wish to support and enter the names of these directories in the applist.txt file in the root directory. Anything over eight characters is verboten.

  • You can’t use multiple NUON.CD files on your disc, because they will seriously confuse the boot loader. Instead, you need a cd_app.cof executable for each standalone game or utility you want to load.

  • If you boot a disc and one of your entries appears in red, it’s because there’s a problem with the program. Most likely, you’re missing the cd_app.cof file.