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

Write MMORPG Macros

Turn tedious sequences of commands into click-and-forget aliases.

Like real life, MMORPG play has its moments of repetitive tedium (especially while you’re grinding— [Hack #30] ). Fortunately, computers are very good at doing repetitive tasks; they rarely slip up and never complain. Many modern MMORPGs offer macro features to help you record and play back long sequences of events; Star Wars Galaxies and Final Fantasy XI are two examples of this phenomenon. In particular, Galaxies includes good macro features to automate your gaming experience.

Star Wars Galaxies Macros

In order to access the macros menu, hit Ctrl-A or the small firework symbol on your menu bar. This will open the actions menu, on which the macros tab hangs. To start a new macro, hit the New Macro button. Give the macro a name, choose an icon that represents it, and type the macro into the text box.

Warning

Capitalization counts in commands. If your macro doesn’t behave properly, double-check your spelling, capitalization, and semicolons.

To refer to other macros or to loop self-referentially, a macro must call a slot in the User Interface toolbar. Grab your toolbar and drag it to encompass two rows so that you have as many slots as possible for actions and macros. To refer to a toolbar slot, use the call /ui action toolbarSlot xx, where xx is the number of the slot. Keep in mind that the first slot in the upper right corner is slot 00, not 01. The last slot in the lower left is slot 23.

Now that you know how to define macros, let’s explore some useful ones.

Bleed pull

This macro can begin combat with an accurate shot that will cause your opponent to bleed health over time:

/prone;
/pause 2;
/mindshot2;  Replace this with any bleeding shot
/pause 2;
/stand;

AFK combat

You can grind on combat and scouting without being at the keyboard. Your first task is to find a place to run the macro. Choose a low-risk location far from other players. This macro won’t differentiate between unclaimed creatures and those already under attack by others, so this is a highly antisocial macro.

The macro targets the nearest creature and moves you toward it. In order to stay in the same location, move the camera directly above your character, and use your options menu to increase your field of view to its maximum:

/ui action targetSelf;
/pause 1;
/ui action cycleTargetOutward;
/follow
/pause 5
/attack;
/pause 1;
/loot;
/ui action toolbarSlotxx;

The final command is self referential, so place the macro in slot xx.

This macro has several tweaks. Train your scouting skills by adding the following line just after the /loot command:

/harvest hide                 Or meat or bone
/pause 1;

If you have a pet, train your creature handling by adding this just before or in place of the attack command:

/tellpet attack;

Then add a command to the end of the macro, before the self-referential command, to command your pet to heel.

Healing

Healing in SWG is just another action that queues up with other commands. To heal yourself promptly, use this macro:

/ui action clearCombatQueue
/healdamage self

Crafting

Grinding artisan skills can be the most tedious clickfest of your game experience. Thankfully, the following macro makes it much easier:

/ui action toolbarSlotxx; Reference to crafting tool
/sel 57;                  Schematic number; see note below
/pause 8;
/nextC;
/nextC;
/nextC;
/createPrototype Practice No Item;
/createPrototype Practice No Item;
/pause 2;
/ui action toolbarSlotxx; Reference to next macro in line

To use this macro for an extended session, place a series of crafting tools on the toolbar. Refer to these tools in turn at the start of the macro. The macro will choose the schematic you want to create. See the datapad for the number of the appropriate schematic. The macro then pauses for eight seconds, during which you must click furiously to fill the schematic slots with resources. The macro then moves through the next screens and finishes the product as a practice item. This will give you the XP for the item (with a slight bonus) without actually creating the item.

For an extended crafting session, duplicate this macro and refer to the next example of the macro on the UI toolbar in the last line.

AFK entertainer

Combine the following macro with another macro referencing several dancing or music flourishes (labeled flourishrun here) to gain Entertainer XP without attending to your character. Remember to start this macro in a cantina. Replace startdance with startmusic as necessary.

/stand;
/pause 5;
/startdance rhythmic2;  Use your highest level
/macro flourishrun;
/pause 72;
/macro flourishrun;
/pause 72;
/macro flourishrun;
/pause 72;
/macro flourishrun;
/pause 72;
/macro flourishrun;
/pause 72;
/stopdance;
/pause 5;
/sit;
/pause 60;
/ui action toolbarSlotxx; Recall this macro

Final Fantasy XI Macros

FFXI macros are much more basic than their SWG counterparts. These macros are simple ways to improve the combat experience of soloing and grouping. Each character has 20 available macro slots. To access the macros on a PC, hit Alt or Ctrl to bring up the two sets of 10 slots. On the PS2, hit R2 or L2. To edit them, select a macro slot and choose Edit. To access a macro in combat, hit Ctrl or Alt and the number of the macro you wish to use.

Here are some sample macros to start your adventures.

Stat ping

This simple macro alerts your teammates to your health, technique points (tp), and mana status:

/p HP: <hp> TP: <tp> MP: <mp>

Aggro warning

Alert party members to the possibility of an aggroing monster:

/p Warning! Possible Aggro! <call0>

Pull announcement

Alerts party members to the name of the creature you are pulling:

/p Targeting a <t>. Get ready! <call1>

Spell macros

Use the /ma command followed by the name of a spell and a target indicator to cast a spell quickly:

/ma "Cure" <t>      Casts cure 2 on current target
/ma "Protect" <me>  Casts protect on yourself

Group spell announcement

Use this to announce your plan to cast a group spell:

/p I'm going to cast a group cure! <call0>
/wait 5
/ma "Curera# " <me>

These examples, while specific to Final Fantasy XI and Star Wars Galaxies, are just a small selection of your options. EverQuest, Dark Age of Camelot, and World of Warcraft also have macro systems of limited degrees with their own specific syntaxes and quirks.

Of course, you can also produce macros using third-party programs. UOCurse, a third-party, text-based Ultima Online hack, is one such tool. A host of other programs bring results both legitimate and, much more often, illegitimate. Not only do most MMOG players consider them immoral, they often violate Terms of Service agreements. If the publisher catches you, they can ban you and may even seek legal relief against you. For most simple tasks, internal macroing should be more than enough to assist you.