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

Compose Music on Your Game Boy

When you can’t take your studio with you, turn your portable into a studio.

Handheld gaming devices aren’t just for children or for playing games. They can potentially be productive work devices! Okay, perhaps that’s hard to swallow, but you can use your Game Boy to make music. One of the top Game Boy utilities is Little Sound Dj.

Introducing Little Sound Dj

Johan Kotlinski’s Little Sound Dj (or LSDj) is very flexible and can enhance your musical ideas. It’s also very fast to use once you’ve learned how. Feature-wise, it boasts a soft synthesizer with resonant filters, sampled drum kits, and an internal speech synthesizer. All in all, it’s more like a portable music studio than anything else.

Little Sound Dj cartridges are hard to find these days, but occasionally show up on eBay. During the last year, used cartridges sold for between $150 and $350. You can also download a free demo version from http://www.littlesounddj.com/. There’s hope for some kind of reissue sometime in the future, though it’s likely it’ll still lack Nintendo’s imprimatur.

Running Your Music Editor

Some Game Boy music editors (notably LSDj and Carillon) have downloadable ROM image files. You can use these with a Game Boy emulator running on your computer or place them on a flash-ROM cartridge using a backup device connected to your PC.

Emulators can be nice in many ways. Of course, you won’t be able to use the program on the real thing, but the sound can be cleaner than on the original hardware, and you can easily perform backups to minimize the risk of data loss. The price is also much nicer (at least if you already have a computer), and the screen is likely to be more legible.

The recommended emulator for Windows is No$GMB (http://www.work.de/nocash/). For Mac OS X, KiGB (http://www.bannister.org/software/kigb.htm) works well. VisualBoy Advance (http://vba.ngemu.com/) runs well on several platforms, including Windows, Mac OS X, Linux, and BeOS. All these programs are free to use for emulating the classic Game Boy.

Finding a backup device to program your own cartridge can be difficult these days, as all production for the classic Game Boy has ceased. If you are lucky, you can find a used device. Look for the brands Transferer, Xchanger, E-Merger, or PC-Linker. An alternative is to use a Game Boy Advance backup device with the Goomba emulator (http://www.webpersona.com/goomba/).

If you are handy with electronics, you can also build your own cartridge. Reiner Ziegler put up a page with all the info you need at http://www.ziegler.desaign.de/readplus.htm. Be sure to see the Game Boy Dev’rs site (http://www.devrs.com/gb/) for all the technical information you could need about the Game Boy.

Getting Started with Little Sound Dj

Enough chat; let’s play.

First, download and install your choice of emulator. Then proceed to the Little Sound Dj file archive (http://www.littlesounddj.com/latest/) to download the files you need. There’s a demo version Game Boy ROM image in the demo folder and documentation in the documentation folder.

After starting LSDj, you’ll see a screen resembling Figure 2-2.

The LSDj song screen

Figure 2-2. The LSDj song screen

The title at the top left of the window indicates that this is the song screen, the window in which you arrange your songs. The four columns with dashes each represent a Game Boy sound channel. There are two pulse wave channels, one custom wave channel (which uses sampled drum kits or soft-synthesized wave forms), and one noise channel. You can move between the different channels using the cursor key.

Little Sound Dj uses several screens, laid out on a 5 3 map found at the bottom right of the screen. The most useful screens are in the middle row, also called the main row. These are the song, chain, phrase, instrument, and table screens. The screens provide increasing levels of detail from left to right. The leftmost song screen presents an overview of the entire song, and the rightmost table screen shows detailed instrument programming. Navigate between the different screens by holding Select and pressing the cursor key.

The song, chain, and phrase screens control sequencing and work together in a tree-structure fashion. The phrase screen is a 16-step sequencer in which you’ll enter actual note data. The chain screen is a 16-step sequencer in which you can enter sequences of phrases to play. The song screen is a 256-step sequencer in which you enter sequences of chains.

Creating some noise

Navigate to the song screen and put the cursor on the PU1 column. Tap the A button twice to insert a new chain. The digit 00 should now appear at the cursor. Edit that chain by pressing Select plus Right to enter the chain screen. There, go through the same procedure. Tap A twice to insert a new phrase and press Select plus Right to reach the phrase screen.

Here you can enter notes. Move the cursor to the note column and press A to enter a note. The text C-3 will appear, C being the note and 3 the octave. Press Start to play back the phrase. Note how the phrase plays back from the top of the screen to the bottom. You can change the note value by holding A and pressing the cursor button. Pressing A plus Left or Right changes the note, and A plus Up or Down changes the octave.

You can now move the cursor up and down and insert more notes in other positions. To delete a note, press A while holding B. When you have finished listening, press Start again to stop the phrase.

The clean pulse sound might grow a bit dull after a while. Move on to the instrument screen by pressing Select plus Right.

The instrument screen is the place to make the sound a little bit more interesting. Change the envelope and wave fields by moving the cursor there and pressing A plus Left or Right. Modify the envelope setting from A8 to A3. Now press Start again to hear any change in sound. The sound amplitude should decay after the note plays.

The type field sets the instrument type. These instruments are specific to individual channels; pulse instruments play back only in the pulse channels, wave and kit instruments in the wave channel, and noise instruments in the noise channel.

Let’s try out the sampled drum kits. First, change to the wave channel. Return to the song screen, move the cursor to the wave channel, and create a new chain and phrase as you did before. Then, move over to the instr column in the phrase screen and tap A twice to insert a new instrument. Press Select plus Right to edit that instrument, change the instrument type to “KIT” by pressing A plus Right once on the type field, then return to the phrase screen. Now you should be able to enter drum sounds in the same way that you entered notes before.

LSDj automatically stores songs in the battery-powered SRAM, so you don’t have to save them explicitly. Version 3 also has an option to store several songs on one cartridge. Find this feature in the project screen located above the song screen.

If you want to back up your creations, use either a backup device connected to your computer or the independent Mega Memory Card (typically found for a few U.S. dollars on eBay). The easiest way to record your song to send to friends is to use the headphone output as input to a recording device.

See Also

This short tutorial explained how to make some interesting sounds with your Game Boy. There’s much more to learn about Little Sound Dj. For example, the user-maintained Wiki links to several beginner tutorials, and the LSDj mailing list is full of friendly, helpful, and social people: