Word War vi Screenshot Side-scrolling shoot 'em up '80s style arcade game

Word War vi is your basic side-scrolling shoot 'em up '80s style arcade game. You pilot your "vi"per craft through core memory, rescuing lost .swp files, avoiding OS defenses, and wiping out those memory hogging emacs processes. When all the lost .swp files are rescued, head for the socket which will take you to the next node in the cluster.

It's licensed under the good old GPL v. 2.0, except for the audio files, which are licensed under a couple different Creative Commons licenses.

License: free
Requirements: gtk20, glib20, portaudio v19, libvorbis

Sound:Play in X:Play in Console:Multiplayer:Network Play:3D Acceleration:Source Available:
yesyesnonononoyes
Suggest an update

Comments

Anyone got a debian installer for this?
Re: Debian posted by anonymous on Mar 8 2008 4:23 AM
I doubt it. I have only distributed this as source, and until I posted it on freshmeat 2 days ago, next to nobody knew of it's existence.
I tried to compile this, but I couldn't even after tweaking the Makefile. When I compile I get a lot of errors that looks like portaudio wasn't installed, even when it was.
Re: Anyone got it working? posted by anonymous on Mar 8 2008 4:22 AM
Did you run ldconfig as root after installing portaudio?
I built it successfully under Slackware 12.0 using "make WITHAUDIO=no". It is a very promising game kinda like defender with a different theme. The controls are a bit iffy like you have to thrust to the left or right to keep your ship going but at the same time you can't really maneuver up and down quickly enough to kill things. The graphics and theme the author has presented is very unique and can't wait to see updates to this as they come along.

-Baked Noodle

Re: Word War vi posted by Draconishinobi on Mar 7 2008 4:17 PM
I agree, a nice concept and good potential. Indeed I too find it hard to maneuver quickly and efficiently, usually resulting in annihilation. Also the chaff doesn't quite do what it is supposed to, and it only shoots downwards, so when a missile is following you from behind you have to try to gain altitude quickly and throw chaff ... very difficult to do with these controls. So really, the control system needs the most work, the rest is quite innovative and interesting. Very good job, keep it up. Also, typically programmers like to split their code into meaningful files containing related functions, it usually makes it easier to find things. When it's all in one fine it's much harder, especially with a large program like this.
Re: Word War vi posted by anonymous on Mar 8 2008 4:17 AM
Thanks for the comments. I'm the author of this game. The controls probably do need work, in as much as they depend on the key-repeat rate. Should probably switch to triggering on key-down and key-up events, etc. To some extent, the controls are deliberately arcane, a la the "vi" editor. Some things even work like vi... eg., try typing "6z", or "6b" into the game.

I'll try to work on making the controls a little better, though, if you have specific recommendations, it might help. Part of the problem is this program is getting to be a bit cpu intensive -- though this may depend more on your particular video board's interaction with X than anything else.

I have added joystick support, and tried it with a logitech dual action rumble, but I'm not sure this game is well suited for joystick control. At least as I have programmed it, it seems not, but I'm not sure how to improve that.

As for the program being all in one file -- yeah, I'm aware that programs are usually split into smaller files, I've been a professional programmer since 1987 or so. Thing is, most of this code was written during 2 weeks last year, with another spurt of code just recently, with only me working on it, just typing in the code as the ideas come to mind. With just one person, it's actually easier with just one big file -- no switching between files, and just use "/" to search for whatever you're looking for, and it's only about 7000 lines, so it's really still just a small program. Granted, for people who didn't write the code, one big file pretty much sucks. But, seeing how writing the code is the fun part for me, and I'm doing this strictly for the amusement of it, I have done what makes it the most fun for me -- which so far has been to keep it mostly in one big file.

Anyway, hope you like it. I'll try to keep improving it so long as that process remains a source of amusement for me.

Re: Word War vi posted by anonymous on Mar 8 2008 4:16 PM
Very cool. I tried upping the gtk keypress rate to help the controls, but then you get continuous streams of laser/bombs/explosions. It even runs very smoothly throughout all this chaos (but I disable audio - can't get it to work on Debian, probably because of where libs are installed, didn't look into it). Project page is also very cool and nostalgic. Keep up the good work.
Re: Word War vi posted by anonymous on Mar 8 2008 10:11 PM
You might try the latest CVS version, I just committed a change which limits the bomb/chaff/laser rate, so once you fire a laser, so many frames have to elapse before you can fire again, etc.

May take a half-hour or so for the CVS commit to propogate to the anonymously accessible servers.

Also, I improved the joystick controls somewhat, but they still aren't great.

Re: Word War vi posted by anonymous on Mar 9 2008 5:55 AM
Re-reading your first reply... you know, it's odd. I never use chaff. Heh. I'm thinking of removing it from the game entirely.

Esp. with the joystick... chaff is unnecessary.

It's weird. With the joystick, it is a completely different game. Not better or worse, necessarlily, just different. With the joystick, it is clear though, chaff is utterly superfluous... it is too easy to outmaneuver the missiles -- why use chaff?

With the keyboard though... manuevering is not as easy. Not sure what I can do about this. Was digging around in the gtk and gdk header files, and I don't see a way to get key-down and key-up events, like I was expecting... so there is a translation layer between me and the hardware, which delivers these "keypresses", which are at the mercy of the key repeat rate, and delay before the repeat starts, etc. Unless I miss something.

About the "annihilation...", you do realize, refueling helps, right? You cannot avoid being hit sometimes, but so long as you refuel now and then, and don't get hit *too* much, you can kind of proceed. In the video on my website, at that time, you refueled by bombing the fuel tanks (this scheme, of somehow refueling by bombing fuel tanks is idiotic, I know, but I was in a hurry, and it is somewhat common (thought I've always hated it) and can make for good game play -- nobody wants to sit around in a realistic refueling situation waiting for fuel to flow) Anyway... in the CVS code, you hover over the fuel tanks and suck the fuel out of them with a kind of siphon. The latest code does have a "sitting around waiting for refueling" kind of deal, but I tried to make it refuel fast and effortlessly so as not to drag down the frenetic game play... not sure how well I succeeded in that. There is still a big change in game play in that now you cannot just indiscriminately carpet bomb, since preserving the fuel tanks is now important. I suppose I need to make a new tarball soon.

Re: Word War vi posted by anonymous on Mar 10 2008 1:51 PM
How about:

If you hover and refuel you will get X units of fuel per second. If you bomb the Tank you can just scoop up a fixed amount of fuel, eg. X*2 units. Now if you make fuel tanks a bit scarce a player will most likely bomb a tank only by accident or if he is in dire need of fuel but has no time to hover.

Re: Word War vi posted by anonymous on Mar 11 2008 6:51 AM
Well, what has always bothered me about the concept of bombing fuel tanks to refuel is that it simply makes no sense whatsoever.

Anyway, I think I have hit upon a solution which works pretty well, which is that the refueling rate is simply really fast -- 1 unit out of a hundred per frame -- 30 units per second, or roughly a third of the player's ship's tank, per second. I can adjust the amount of fuel the tanks on the ground hold relative to the capacity of the player's tank easily enough. This seems to work pretty well, in that you do have to hover over the tanks to refuel significantly, though even just passing near them refuels a little bit, but the time to suck the fuel out of a tank is short enough that it's not like you're sitting around waiting -- more like you annihilate the nearby enemies, then go sit on a fuel tank for 1 second, which doesn't disrupt the frenetic game play too much.

It's what's in current CVS, if you want to try it.

1st level is pretty easy (with a game pad, anyhow... not sure about keyboard)

2nd level starts getting hard, 3rd level... starting to get really hard.

I also upgraded the GDB's to have better missiles which adjust velocity every frame instead of every other frame -- means they accelerate and turn faster. With a joystick, this is manageable, but challenging... with the keyboard... I might have made it too hard..

Also, I added a volcano. When you fly over the caldera of the volcano, the corrosive atmosphere damages your ship. The "cron jobs" pick upt he ".swp files", and take them to the caldera of Mount /dev/null, and drop them in there. You can pull them out of the caldera... if you're quick. Or, you can just prevent the cron jobs from putting your guys into the volcano.

In the NBA, there's a rule against "goal tending", and I kind of think with the cron jobs trying to stuff your guys into the volcano, the player is driven to "goal tending", just waiting around near the volcano for them to appear, and shooting them down. I think I need some kind of organic, natural way to discourage this, but a good idea escapes me. One idea was to have two volcanoes. But I feared this would lead to frustration as the player travels between them in the hopeless task of saving his guys from bing stuffed into the twin volcanic fires by robotic droids. Need a nice idea that naturally discourages goal tending, but isn't horribly frustrating... Maybe in time, it will come to me. -- steve

Re: Word War vi posted by Draconishinobi on Mar 15 2008 9:11 PM
I can't think of a solution for the keyboard input problem, I'm not an expert programmer, and I haven't done much with gtk or gdk. I think switching to SDL might be the only real solution. However, you could instead try adding mouse support and scrapping keyboard support at least for controlling the ship, it's just no good. I don't have a joystick around to try the joystick support at this time, but I'm sure it's way better than using the keyboard in this case.
Re: Word War vi posted by AMDmi3 on Mar 9 2008 2:09 AM
Hey. Did you get my mail about segfaults? Hope those will get fixed...
Re: Word War vi posted by anonymous on Mar 9 2008 4:00 AM
yeah, I did, and I replied... I guess you didn't get my reply?

Check your spam folder...maybe it got marked as spam?

I don't know what's going on with that, nothing obvious.

My best thought was to try checking out versions of wordwarvi.c, and trying them in a binary search to see where things went haywire.

for x in `seq 1 95`
do
cvs update -p -r 1.$x wordwarvi.c > w_"$x".c
sleep 1
done

Then copy w_xx.c to wordwarvi.c and make, and try it. varying xx in a binary search to find the problem.

Not a very fun task, I'm afraid.

I've built it on FreeBSD both with and without sound, but in former case it segfaults right after the start, and in the latter case it segfaults after ~5 seconds of showing intro. The main problem when building with sound support may be using portaudio18 libs and/or headers - double check this (on my system portaudio19 headers/libs are installed into /usr/local/{include,lib}/portaudio2 instead of usual /usr/local/{include,lib}).

I've screwed with the news post a bit, actually latest version is 0.03 and also libsndfile is required for audio.

Re: Word War vi posted by SteveC on Dec 4 2008 5:51 AM
(Replying to an old comment, I know)

On FreeBSD, the code which generates the buildings for some reason unknown to me, seems to cause a segfault on FreeBSD. This never seems to happen on linux. And I mean NEVER. Could it be a per process memory quota kicking in? Some kind of stack limitation? (the add_buildings function is a bit ridiculously recursive). Don't know what's going on with FreeBSD. But, if you comment out the single call to the function add_buildings in wordwarvi.c, that seems to go away. Just search for add_buildings, and there's comments telling you what to comment out.

You definitely, absolutely need portaudio v. 19, and NOT v. 18. v 18 will not work.

I've had reliable reports of people running the game successfully on FreeBSD. (And Mac OS X for that matter.) Don't think the joysticks work on Mac, not sure about freebsd, but sound should work on both if you have the right portaudio lib. (v. 19.)

-- steve (word war vi author.)

This game presents a very nice balance between retro style and entertaining gameplay. I liked Defender, Drop-Zone, and so I like WW vi even more. Your sense of humor is also much appreciated :)
Fantastic game! Tnx you :D Let us playing more and more !
Screens say nothing about the game. You simply have to try it, then you'll love it. There should be an emacs version:P
Haven't tried it yet, but based on the screenshot, it totally looks like something I'm writing libcrtxy for. :) Glad I'm not the only person into vector games.
Hell yeah, it's time for Santa to kick ass !!! Have you been naughty or nice ? It doesn't matter, Santa will annihilate you anyway in an insane fit of rage !!!
Errr... graphics worse then in XPilot, and there is no gameplay idea, unlike in XPilot... Tho nice FPS and animation :)
Re: Word War vi posted by parasti on Dec 20 2008 11:50 PM

Err, yeah. When game X has obviously failed at being better than game Y or even being like game Y, you might want to consider that perhaps a comparison between the two isn't appropriate.

A lovely little game. I look forward to revisiting it again. Its hard but then these games always were.

Log in or register to rate this game or post a comment.