SlugFest ’97 DX

Kids have big dreams.  Some of them want to grow up to be scientists or astronauts or football stars or President.  When I was in school I wanted to make video games.  So I took programming classes and worked hard on my craft.  I churned out lines of QBasic spaghetti code and, later, migrated to Visual Basic on Windows to do the same thing.  Surrounding much of what I produced was a feeling that I was destined to do something big with whatever I was working on: I was going to make a million dollars off some shareware game, or I would code up a groundbreakingly massive and openended world (and it would all fit on a 1.44MB floppy), or whatever.

Over a summer break in 1997 my cousin Rusty came to spend a week at my family’s house.  I don’t recall exactly how it happened – something to do with playing a lot of Myst, I think – but I managed to convince Rusty and my sister Erin to work on a video game.  We were going to make an awesome fighting game on PC.  It was going to be released on CD – ostensibly because we could put music in the empty space, but most likely because CD-ROM was the hot item of the day.

Our game was called SlugFest ’97.

And so we set to work, with the enthusiasm that only kids have.  For that whole week we invested our time and effort on producing this game.  We each painstakingly drew out MSPaint sprites for our assigned characters.  We coded and built and playtested.  When we weren’t working on it, we were talking about it: how to improve it, how to produce it, how to market it.  We even took time out to make a “The Making Of” video.  And as time grew short we did, in fact, wrap up a version that we were quite happy with.

Then reality set in: we called a local CD mastering shop (this was in the days before CD-R became widespread) and were told that we would be charged $100 to produce our CD.  In hindsight I think the clerk may have been confused about what we were asking and thought we wanted to book studio time.  In any case, we all realized that the dream was simply beyond our financial resources.  Enthusiasm drifted away.  Though we later made an attempt at a sequel (“SlugFest 2000”), it never made it past initial character design before we all lost interest and started playing BattleMasters on the landing at the top of the stairs.

Well.  I cleared out an old folder on my HD recently and ran across both the compiled version of the game, plus the source code.  Unfortunately, it doesn’t run on the most modern Windows version, and is hit-or-miss functional on the rest.  A quick calculation: Fourteen years of coding experience in the intervening time, including running a college game development club for two years… plus a stash of resources including a 2d game framework… a remake should take very little time indeed.  The actual “game logic” is absurdly simple.  The technology to realize the dream is here too – everyone has a CD burner these days.  Yes, I can do this.  I can release SlugFest.  (Since misquoting Steve Jobs is all the rage these days, I’ll throw in an old favorite: “Real Artists Ship”.)

On to the remake.  It actually was very easy.  The entire thing was rewritten from the ground up in C, using SDL as the backend library (plus SDL_Mixer and SDL_Image to provide sound and graphics loading).  I managed to squeeze in a few “DX Mode” features to inject a bit of modernity into the game.  I even cut some sound samples from ancient recordings of us to make fight sound effects.  The result is faster, better, and smaller than the original… though I included that in the installer too, for completeness’ sake.

In fact the most challenging part of all was the music.  When we wrote the game we had no music sources of our own and couldn’t burn anything to test with, but we wrote the game with CD support expecting to just substitute our own tracks in production.  Most playtesting happened to the tune of either No Doubt’s “Tragic Kingdom” CD, or some electronic “Phantom of the Opera” remix CD.  Inspiring, but copyrighted, and not really fitting for the remake.  Instead, I loaded the game up with MIDI files that I or my sisters had written in our school years and used them for background music.  Some of these hadn’t been heard in many years, because they were in a proprietary format that I first had to write a decoder for.  In the end I found 43 tracks worthy of inclusion, mostly without any musicality or rhythm.  Hey, if it worked for Marvel vs. Capcom 2…

And so we come to the release.  There is a web-downloadable installer here, if you want to try it out:

Download SlugFest ’97 DX – Installer – Windows, version 1.01.  1.6 MB
Download SlugFest ’97 DX – ZIP – Mac OSX (Intel 10.5+), version 1.01. 1.8MB

The finishing touch is here, though: run the MIDIs through a MIDI -> WAV conversion tool (I used WinGroove), create a cue sheet, redo the installer to work from CD, and burn a copy.

Well, there you have it.  Childhood dream: accomplished.  Now if I could just figure out a way to market it… : )

Hornpipe2 – Test Patterns

 

Lord help me, I’m releasing an album.

When I was in late high school / early college, I wanted to make electronic music.  I didn’t have gear or experience.  My knowledge of music theory was patchy: I am a classically trained violinist, but knew almost nothing about chords.  What I did find and manage to use was Buzz Machines.  Sort of a tracker on steroids, it’s a very customizable software DAW with “machines” as plugins to be synthesizers, samplers, effects (reverb, EQ, volume, …)  Through the process of trial and error I managed to bang together a handful of trance-styled tracks that never got released.  Eventually other demands on my time crowded out my efforts and I haven’t tried to write anything in many years.

Well I’m combing through my hard drive and now I’ve found some MP3s that I had recorded “way back when”.  Most of these were composed while trying to find my way around all the features of Buzz Machines… hence the album title “Test Patterns”, since that’s essentially what they were.  When a pattern grew into something more closely resembling a song, I’d cut a WAV file and then encode it to MP3.  Those exact recordings are what I’m packing up and finally releasing now, 7-9 years after they were originally composed.  Five minutes in GIMP to create a CD cover, a little iTunes ID3 editing (the original files were named after things lying on my desk: “pocketknife”, “checkbook”, “two monitors”) and a ZIP file later… I’m a self-published recording artist.

There’s more raw material in another folder but installing Buzz Machines and tracking down years old VSTs is beyond my time or desire.  Will there be more releases, this time with new material?  Certainly I have no plans to write anything right now.  If I do decide to try that route again in the future, I want to take a different approach: one that is grounded more solidly in theory, keyboard practice, live recording, and careful song structure.  The work involved in polishing those basic skills would require far more time than I have now.  And if I do end up releasing something, it’s not going to be under the Hornpipe2 alias.  That’s a holdover from my first email address back in 1995, and I think it’s time to ditch it.  I’ve changed a lot since then.

So Merry Christmas, readers.  Enjoy the one (and only) album release.

Download Hornpipe2 – Test Patterns – ZIP archive, 26Mbytes

New Server Problems

Well… the server began powering off after only a few minutes of activity, so I had to crack it open and fix several issues inside.  Self-hosting is great sometimes: the level of control is unmatched, and the costs are low.  On the downside, you must do your own tech support.  When hardware issues crop up, this can be quite an annoyance.  Here’s a shortlist of the issues I worked on.

  • Detached heatsink: Almost immediately after opening the case I found the cause of my force poweroffs: the heatsink mounting bracket (already damaged on one side) had broken completely and the heat sink was falling off the CPU. Overheating triggered a safety mechanism that shut down the PC to save the chip. I reattached this using a couple of plastic cable ties from Home Depot. According to BIOS measurements, it is running 5 degrees cooler now than when I originally brought it home.
  • Added PCI video card: My aging S3 Virge is now serving VGA duty in the machine. This allowed me to return the 16MB of shared video RAM back to the system. Definitely not much, but with only 384mb RAM total, every byte counts.
  • BIOS problems: Made a couple changes to BIOS. Unfortunately, the system remains a bit unstable after power-on… the second hard drive takes a while to report to BIOS after first power on. This generates an error that freezes the BIOS since boot devices had changed. I changed settings to simply ignore all errors and boot no matter what.
  • ACPI crash: ACPI support in FreeBSD must have broken at some point recently (or the new gfx card is having troubles with it), but there are kernel panics on boot when trying to run with ACPI enabled. For now I have shut it off with an entry in /boot/loader.conf (hint.acpi.0.disable=”1″). Power management is not really necessary for an always-on server… I have the second hard drive set to spin down after 10mins inactivity, and do not have power to my floppy drive or CD drive at all.

With luck, this will keep me up and running for a good long while.

DIY Studio Lighting

Studio lighting doesn’t have to be complicated. Here is a solution that I built from scratch, based on the idea of “continuous lights”. It lacks the power of strobes but makes up for that with style and intuitiveness. It is readily understood by anyone who has operated a lamp. The design is based on Alex Campagna’s DIY Spiderlight Strobe project, which is a clone of the Westcott Spiderlight TD5 system. I made design compromises that simplify this to the bare minimum.

If you decide to build this yourself: note that you are working with AC mains voltage, easily enough to kill you, and the wiring here is a far cry from being UL approved. I make no recommendations and instead encourage you to seek a second opinion regarding the electrical work. Tread carefully, I am not responsible for harm or damage that may result from building such a system.

Step 1 is to get some wood squares. I cut up an old shelf into six 8″x8″ squares, then glued pairs together to make a 1.5″ thick block to work with. Sand the tops, then slap a layer of flat white primer on it. Let dry and, using a 1-3/8″ drill bit, put five holes through each. The distance between these holes is up to you – figure out what bulb diameter you’ll shoot for and space appropriately to make sure they will fit.

Now for the secret weapon – Mylar. According to various pot-growing forums (who strangely seem to be the only people on the Internet interested in doing this kind of research), flat white paint provides some 95% reflectivity of visible light while Mylar gets up to 98%. It’s way better than a glass mirror, and also beats the heck out of crumpled tinfoil. The material I used is cut from a Wal-mart Emergency Camping Blanket, $2.97 for a large sheet. It’s thin which is why I painted the back white in the first place: to reflect any stray light that may transmit through. Affix with craft adhesive, wait to dry, and punch out the holes.

Insert the lamp sockets (Phenolic, roughly $1.50 each off Amazon), cut the ends off some 12 foot extension cables, and solder the wires. All the white leads go to one cable wire, all the black leads go to the other. Wrap in three tons of electrical tape to keep these securely insulated away from anything dangerous. I bolted some old plastic lids over the backing to at least give the impression that I cared about safety…

Put in some bulbs and make sure they all light up when plugged in! I’m just using some assorted “warm” CFL spares from the garage. Soon, I plan to buy several 27W EcoSmart daylight bulbs from Home Depot at about $2.50/bulb. For those interested, I did a detailed cost analysis on different bulb wattage as needed to “max out” a given 15 amp 120v circuit. This particular design does not have a lot of space between the holes and so probably can’t accomodate five high-wattage bulbs, but I may be able to squeeze in 4 on the edges and a smaller wattage in the center. CFL Studio Cost Analysis

Indeed the entire project is cheap, assuming you have the tools on hand: extension cords at $3 each, lamp sockets $1.50, bulbs $2.50 and a mylar sheet for $3 totals up to just $72 pre-tax, and the rest was just scraps and leftovers from the garage. Compare that to $225 for a single B400 strobe.

Later I’ll probably add permanent light stands, and some kind of umbrella or other diffuser. Real TD5s have switches to control the amount of light output, but I figure I can just as easily control the lights by unscrewing a few bulbs that I want off. CFLs are a great advancement over the old hot “work lights” setup and not much more expensive… 5x27W gives roughly 500W incandescent equivalent, yet after 15 minutes of running the Mylar backing remained cool to the touch.