« IRIX SCREENSAVERS (xscreensaver, really slick screensavers and more) | Main | GAME UPDATE - FREECIV 1.14.1 »

December 10, 2003


Crossfire is a multi-player graphical arcade and adventure game made for the X Windows systems environment. It has certain flavours from other games, especially gauntlet and the rogue-like games (Nethack, Moria, Angband, and Ragnarok.) Any number of players can move around in their own window, finding and using items and battling monsters. They can choose to cooperate or compete in the same world.

It uses a client/server model. Pre-compiled tardist are availible for both applications. The server distribution is fairly large since I bundled the "small" map set with it, to make it easier to get it going. Fortunately, there are many public servers out there, so it's safe to just get the X11/GTK+ client first and run it a few times to see if it's worth getting the server side.

To use the client, just type gcfclient for the GTK+ client or cfclient for the X11 version. There are quite a few GTK+ related dependancies and SoftwareManager/inst should complain if they are not found. If you just choose to install the X11 client, it only needs libpng and libz. All dependancies are readily available from SGI's excellent freeware site.

To run the server just type crossfire, assuming /usr/local is in your path and /usr/local/lib is in your linker search path (i.e. $LD_LIBRARY_PATH=/usr/local/lib:...).

I managed to get it to compile under IRIX with only a few samll tweaks. For those interested, the server required a change to /common/porting.c line 153 to change #define popen fixed_popen to #define popen popen_local. Also some more extensive changes to the client /gtk/image.c file were made in order to get it to compile. Those changes affect lines 190-195 and are included as a patch in the distribution.

The -sdl command line option doesn't work on the GTK+ client as I think my hacked patch was not a real fix. Also there is no sound. Otherwise, I played it this past holiday with my nephew for a couple hours and it seems stable.

Here are the files:
crossfire_client-1.6.0-mips4.tardist (780KB)
crossfire_server-1.5.0-mips4.tardist (38MB)

Enjoy! Please leave comments if there are any problems.

Posted by squeen at December 10, 2003 9:08 AM


I don't know how to start playing Crossfire. How do you start playing?

Posted by: Ricky at December 13, 2003 9:58 AM

I don't know how to start playing Crossfire. How do you start playing?

Posted by: Ricky at December 13, 2003 9:58 AM

Just exec /usr/local/bin/gcfclient. Select a server from the list (localhost will be there if you ran the server /usr/local/bin/crossfire). Enter a character name and make-up a password. That's about it. The number pad keys move you around. More detailed docs are availible at the home site. Good luck!

Posted by: squeen at December 13, 2003 7:12 PM

The IRIX port is featured very prominately on the http://crossfire.real-time.com/ home page with links back to nekochan. :)

Posted by: squeen at December 15, 2003 5:32 AM


I tested both server and client on an IP30 with Irix 6.5.19f and the latest freeware from sgi to satisfy the dependencies. The server seems to be running good, both clients crash.

The GTK.Client crashes every time I try to connect a server, even the one on localhost. Just when the login window pops up, it crashes with a Gdk-error:

BadMatch (invalid parameter attributes)
serial 8024 error_code 8 request_code 130 minor_code 3
BadMatch (invalid parameter attributes)
serial 8034 error_code 8 request_code 130 minor_code 3

The X11-Client crashes after the input of the password with a seg-fault. If I try to create a new character, it crashes at the first movement after selecting the race. This is also independent of the server.

What went wrong???

Posted by: guefz at December 16, 2003 10:17 AM

That's not good. Do you have the root window set to 24 bit?

Posted by: squeen at December 16, 2003 10:31 AM

I thought this is the default on an Octane with SE-Gfx?

Posted by: guefz at December 16, 2003 11:26 AM


Q4.3: Why do I get BadMatch errors, crashes, blue-on-blue text, etc.?

Many Linux systems use a single X visual and colormap for all windows by default; IRIX doesn't. As a result there are a variety of bugs lurking in the source code where programmers have, for example, allocated colors in the wrong colormap or assumed that all windows have the same depth. Try making your default X server visual 24-bit TrueColor by adding "-depth 24 -class TrueColor" to /usr/lib/X11/xdm/Xservers. (Run xdpyinfo first to make sure your server supports this visual, and be sure to restart the X server after making a change. Logging out may not be enough!

Posted by: nekonoko at December 16, 2003 11:33 AM

Thanks, it's running now.

Posted by: guefz at December 16, 2003 11:57 AM

I don't know how to start the game!

Posted by: Misty at January 14, 2004 12:30 PM

The posts concerning how to start the game...

Do they relate to "How do I launch or install the cleint?" or are they more along the lines of "How do I play?"

Character Creation and other HOWTO's:

Posted by: Leaf at February 18, 2004 6:04 PM

Where can I Download Crossfire for Windows 98?

Posted by: zone at February 29, 2004 7:14 AM

Windows port of a Crossfire (GTK) client:

Just released, OpenGL client:

Keep in mind the OpenGL client is beta.

Visit the CF message board for any questions or problems installing the GTK client.

Posted by: Leaf at March 11, 2004 6:05 PM

I am wondering where the crossfire server is. I can't rearch him under http://crossfire.real-time.com
I'm not so lucky about it and i want to know if the others cant connect with this server

Posted by: vincent weiss at March 16, 2004 7:37 AM