PDA

View Full Version : Linux binary for Spearhead is out ...


Hammer
12-31-2002, 11:52 PM
From: "Ryan C. Gordon" <icculus@clutteredmind.org>
To: &lt;mohaa@icculus.org>
Subject: [mohaa] MOH:AA Spearhead Linux server ALPHA1
Date: Tuesday, December 31, 2002 6:43 PM


Ok, here it is:

http://icculus.org/betas/mohaa/spearhead_lnxded_2.11-ALPHA1.tar.bz2


This is actually based on the Spearhead 2.15 codebase, but I've hacked it
up to report itself as "2.11" so the latest released win32 clients won't
reject it in the server browser. They use the same protocol version, so
this should be safe (har har, "what could possibly go wrong?"). This will
fix itself in a later release, but this should satiate those hungry early
adopters, like Luke. :)

I've only tested this for (no joke) 30 seconds. Win32 client could see the
Linux server on a LAN in the server browser, connect, and fight against
another client. I have not tested internet play at all. This is very much
an untested alpha. If you aren't really curious or really desperate to try
this, you might want to wait until this is declared beta quality (or
production quality, even). You have been warned.


Understand a few things:
1) This is ALPHA quality code, don't expect it to be stable.
2) You need to install the game on win32, and copy it over, like the
original MOHAA Linux server.
3) This is ALPHA quality code, don't expect it to be stable.
4) This will refuse to run in 30 days, but we'll have updates before then.
5) This is ALPHA quality code, don't expect it to be stable.
6) Read the README, use bugzilla, use the mailing list. Don't email me
directly.

I highly recommend GameAdmins.com's MOH:AA server tutorial for
configuration examples. For the most part, setting up a Linux Spearhead
server is just like setting up a Linux MOH:AA server, and just about
anything new in Spearhead is configured identically to the win32 version.

I think all of my Linux-specific additions (sv_chatter, etc) have been
re-ported for Spearhead, but if I missed anything, let me know. I haven't
added any requests (like logging certain details to aid external
applications, etc. Please nag me to finish that!).

With less than six hours to go before 2003 in my time zone, at least I
kept my promise about having this out between Christmas and the New Year. :)


Oh, and this is alpha-quality code, so don't expect it to be stable.

--ryan.


Let's have some fun ...

HAPPY NEW YEAR!
--[MC] Hammer

Hammer
01-03-2003, 04:09 PM
From: "Ryan C. Gordon" <icculus@clutteredmind.org>
To: &lt;mohaa@icculus.org>
Subject: [mohaa] Alpha 1b...
Date: Tuesday, December 31, 2002 11:32 PM


Okay, nuke the other binaries and try this one:

http://icculus.org/betas/mohaa/spearhead_lnxded_2.11-ALPHA1b.tar.bz2

This one is the right binary. The other one was built before I hacked the
version, so it wouldn't show up in a win32 client's server browser. This
one should. It also won't try to create an OpenGL context, and it's a
fraction of the size of the previous binary.

Those trying to run the other binaries as a client will be disappointed to
know that you can't get far without a "cgame.so", which wasn't shipped
(even if the client worked under Linux in the first place).

--ryan.

Hammer
01-03-2003, 04:10 PM
From: "Ryan C. Gordon" <icculus@clutteredmind.org>
To: &lt;mohaa@icculus.org>
Subject: [mohaa] More codesalat: ALPHA2.
Date: Wednesday, January 01, 2003 9:29 PM


Unpack this over your Spearhead installation to replace the Alpha1 bins:

http://icculus.org/betas/mohaa/spearhead_lnxded_2.11-ALPHA2.tar.bz2

The event queue memory corruption looks like
yet-another-broken-memory-pool-algorithm...I replaced it with straight
malloc() and free() calls, and valgrind didn't detect a single buffer
overrun...which means it was the memory pool manager itself causing
trouble.

Might be more problems (dunno if the memory pool is not used elsewhere, or
just the Event class caused problems...), but this cleaned up my
reproducable crashbug, and I could call a mapvote/change levels with my
one win32 client on the map.

So, in short, this might be much more stable, but we won't know for
certain until you guys pound on it. Have fun.

--ryan.

Hammer
01-03-2003, 04:11 PM
From: "Ryan C. Gordon" <icculus@clutteredmind.org>
To: &lt;mohaa@icculus.org>
Subject: [mohaa] BETA1.
Date: Friday, January 03, 2003 3:57 PM


I think the alpha testing suggests we're stable enough to at least call
this a beta now.

http://icculus.org/betas/mohaa/spearhead_lnxded_2.11-BETA1.tar.bz2

This is the same binary as alpha2, so you don't need to redownload, but
those that were waiting for the server to stabilize...well, it seems
pretty stable to me, so please test.

Thanks,
--ryan.

blasney
01-04-2003, 12:25 PM
This is actually based on the Spearhead 2.15 codebase, but I've hacked it
up to report itself as "2.11" so the latest released win32 clients won't
reject it in the server browser.


Does this mean they might actually be working on a patch for the win32 version of SH? Please don't tease me...