Hack75.Create Your Own Atari 2600 Homebrew Games

Hack 75. Create Your Own Atari 2600 Homebrew Games

Join a vibrant scene devoted to creating and distributing new Atari 2600 games .

Even though the Atari 2600 is one of the oldest game consoles around, it has a vibrant homebrew scene. These coders produce a remarkable amount of new material, with everything from RPGs to bizarre puzzle games up to altered updatings of classics. Best of all, the Atari 2600 scene seems to exist in an atmosphere of harmony and mutual understanding, with no beefs, group wars, or other shenanigans.

This hack is excerpted from Chapter One of Gaming Hacks , by Simon Carless (O'Reilly, 2004).


How can you learn how to create new game levels, or even entire games, for the 2600? Good question.

8.4.1. Creating Homebrew 2600 Games

Suppose you're fed up with merely playing homebrew marvelousness (though shame on you if you are). Maybe you want to create your own levels for games. Maybe you want to go whole hog and code entire homebrew titles from scratch. Either way, there are several resources available.

8.4.1.1. Using 2600 custom level creation tools.

If you just want to mess around with level design, Atari Age runs a series of excellent contests in which you can create new levels for games under development. Often, the finished and produced homebrew cart will include the winning levels. More importantly, entrants often make their tools available for others after the contest closes .

In particular, the Indy 500 XE Track Designer (http://www.atariage.com/features/contests/Indy500XE/index.html) is a lot of fun, if you're a wannabe race driver. Figure 8-19 shows the "easy-to-use Windows-based track editor that allows the easy creation of new tracks, loading and saving of tracks and the ability to generate a binary so you can immediately test your creations." On a very similar note, the Combat Redux Playfield Design tool (http://www.atariage.com/features/contests/CombatRedux/index.html) works similarly.

It's a whole lot of fun to block out a level and then test it straight away in an emulator.

Figure 8-19. Designing a track with Indy 500 XE

These two appear to be the only fully-featured level design tools currently available. Other tools require complex, time-consuming binary hacking (http://www.atariage.com/software_hacks.html?SystemID=2600) or are more unwieldy and general, such as Hack-O-Matic II (http://www.dacodez.tk/). However, it looks like the development community may produce further advanced tools, with an Adventure dungeon editor under serious development as we write, and more tools planned.

8.4.1.2. Changing graphics in existing games.

We mentioned before that binary hacking is a can of complex, time-consuming, and unwholesomely difficult worms, especially if you want to rewrite large chunks of the game. If you'd rather mess around a little with an existing ROM, perhaps changing the sprites in your favorite 2600 game, that's somewhat simpler.

Adam Trionfo's Changing Atari VCS GraphicsThe Easy Way (http://www.gooddealgames.com/articles/changing_atari_vcs_graphics_the_easy_way.pdf) is a perfect beginner document. It modifies a Space Invaders ROM, explaining how to use two programs called ShowGFX and EditGFX (available from http://www.lizardmaster.com/tlm/dev.cfm) to create plain text files listing all of the vital information in the 4096-byte ROM. The magic is in the following DOS command:

 C:\>  showgfx spaceinv.bin 0 4096 > spaceinv.txt  

You can then load the text file and look for the graphics hidden within the information, since it's a pixel by pixel representation of each space invader. The tutorial points out you can change the player's ship (which actually appears upside-down, as do many of the other sprites in 2600 game ROMs) to a smiley face simply by replacing the appropriate Xs in the text file and then converting the text file back to a binary again with the following command:

 C:\>  editgfx spaceinv.txt testspac.bin  

You can then run the binary in an emulator or via another method of your choosing.

8.4.1.3. Coding 2600 titles from scratch.

The exhaustive Atari Age even has the last word with regard to coding resources, with an excellent 2600 coding page (http://www.atariage.com/2600/programming/) which links to Kirk Israel's superlative "2600 101" (http://www.atariage.com/2600/programming/2600_ 101/) basic tutorial. The intro notes that the Atari 2600 is "a very quirky beast [since] it has very little memory or other resources to work with" before explaining the vagaries of the game system. You'll obviously need to program using assembly language all the wayno wimpy C++ here.

If you want specific coding tools, try the DASM Assembler (http://www.atari2600.org/dasm/) or the Distella disassembler (http://www.atari2600collector.com/distella.htm). They're both excellent tools, providing plenty of functionality considering the age of the console. Adam Trionfo's previously mentioned tutorial actually helps a great deal by describing ways you can disassemble existing Atari 2600 ROMs and then change their content.

Many homebrew developers also provide their source code for free, with highlights including the source to SCSIside (http://www.pixelspast.com/games/scsicide/scsi131.s.txt) and Space Treat Deluxe (http://www.atariage.com/2600/archives/source/SpaceTreatDeluxe_source/index.html). Sorting through someone else's successful game code should help you out.

As for already-produced homebrew titles, to find Atari Age's list of 2600 homebrew games, go to the search page (http://www.atariage.com/software_search.html?SystemID=2600) and pick Homebrew from the Rarity dropdown menu and hit the Search button.

Although Atari Age has the best overall set of homebrew games, links, and info, Erik Eid has the best single Atari homebrew web page (http://www.wwnet.net/~eeid/station26/homebrew.html). It lists the available homebrew 2600 games with basic info about each title. Though it's slightly out of date at the time of writing, it provides a good general look at the diversity of the 2600 scene.

8.4.2. The Best 2600 Homebrew Games

There are a few homebrew titles in particular worth singling out. All of these games may be available in cartridge form, but they're also freely downloadable and playable on emulators or on the hardware itself via suitable peripherals.

8.4.2.1. SCSIcide by Joe Grand.

This ingenious, surreal action title from 2001 lets you assume "the role of a hard drive read head and your mission is to read the color-coded bits of data as they scream past you on ten separate data tracks." It's especially fun because of the bright, fast-moving blobs of color . The genuine cartridge version also uses the paddle controller. Learn more at http://www.pixelspast.com/games/scsicide/index.php?ID=games&subID=scsicide.

8.4.2.2. Marble Craze by Paul Slocum.

This advanced split-screen game uses dual paddle controllers to simulate vertical and horizontal tilting of a playfield to move the titular marble around the world. Because it required the use of paddles, it was unplayable in emulators until recently. Fortunately, with the help of the Stelladaptor Atari controller to PC plug-in (http://www.atariage.com/store/product_info.php?products_id=267), you can now play it on an emulator, so download the ROM release. Oh, and any game with a random Super Mario Kart reference is fine by meone of the levels is called "Rainbow Road." See http://www.qotile.net/marble.html.

8.4.2.3. Oystron by Piero Cavina.

A relatively ancient homebrew title from 1997, this fast-paced arcade title may remind you of other classic games while demonstrating a twisted style all its own. The bright sprites with the clever color variations are also neat. The homepage includes .BIN files containing many of the early prototypes for the game; it's great to see how it progressed over time. Download it from http://www.io.com/~nickb/atari/oystron.html.

8.4.2.4. Warring Worms by Billy Eno.

This is a souped-up version of the classic Snakestyle game, with trailing tails , missiles, 256 game types, and both one- and two-player modes. Being able to pass through your opponent 's tail by firing is a neat twist and the basic gameplay is as super- addictive as ever. This 2002 release is definitely a homebrew to try, so head on over to http://www.baroquegaming.com/projects/WarringWorms/warring_worms.htm.

8.4.2.5. Skeleton+ by Eric Ball.

This conceptually fun 3D maze game has skeletons galore for you to find and destroy, a corresponding undead locator, and even pseudo-stereo soundon appropriately modded 2600sso you can tell where the skeletons are coming from. This is addictive and rather scary, provided that pixelated zombies (as seen in Figure 8-20) fit your idea of terrifying. I dare you to visit http://www.atariage.com/software_page.html?SoftwareLabelID=2381.

Figure 8-20. A not-so-scary skeleton

The ultimate accolade for homebrew creators came in 2003, when the Game Boy Advance version of the Activision Anthology game (http://www. metacritic .com/games/platforms/gba/activisionanthology/) featured several homebrew Atari 2600 games, including Climber 5, Okie Dokie, Oystron, Skeleton+, Space Treat Deluxe, Vault Assault, and Video Euchre. Although only the GBA version had these homebrew Atari treats on itavoid the PlayStation 2 version, they're not on there!it's well worth seeking out to see some homebrew classics in portable form, in a wonderful piece of reappropriation by the games industry.

As well as those titles, there are a multitude of other neat possibilities including both released games and forthcoming gems. Check out the homebrew games currently in progress and download early demos from the Atari Age In Development page (http://www.atariage.com/development_list.html).

In particular, Paul Slocum's upcoming Homestar Runner RPG (http://www.qotile.net/rpg.html) is an excellent example of retro fun with a modern twist. This Atari 2600 homebrew title has official endorsement from the creators of the cult webtoon. It includes turn -based gameplay and the ability to fight bad guys from other Atari 2600 gamesa mouthwatering prospect for those addicted to the Homestar Runner (http://www. homestarrunner .com/) humor factory.

Whether writing an entire game or not, you may still want to test out your works in progress (or other people's in-development or completed titles!) on an actual, honest-to-goodness Atari 2600. That's where putting your homebrew games onto a real Atari 2600 cartridge comes into playread how to do it in Gaming Hacks (O'Reilly).

Simon Carless



Retro Gaming Hacks
Retro Gaming Hacks: Tips & Tools for Playing the Classics
ISBN: 0596009178
EAN: 2147483647
Year: 2003
Pages: 150
Authors: Chris Kohler

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net