🎉 Celebrating 25 Years of GameDev.net! 🎉

Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!

Red Alert Vista/IPX Patch Anyone?

posted in DruinkJournal
Published April 13, 2009
Advertisement
My girlfriend decided to take Friday off too, so I didn't get as much done as I thought I might. I did however get around to finishing off my Red Alert patch, so if anyone wants to play Red Alert on Vista (And doesn't want to buy The First Decade), chuck This File in your red alert directory, overwriting the existing version. The source code is available Here.

Along with the source code, there's a registry file which you can add to set default settings for logging (Log only errors), port override (no override) and broadcast IPs (Only 255.255.255.255). It's not that useful on it's own, but you can tweak the settings it exposes.
The settings are:
LogFilePath: Path to the log file (duh)
LogLevel: Output log verbosity. 0=None, 1=Errors, 2=Normal 3 or above=Verbose
PortOverride: Use a specific UDP port instead of the default supplied by the game (port 5000)
BroadcastIPs: A space-seperated list of IP addresses to send packets to as well as the default broadcast address (255.255.255.255). For example, putting "123.123.123.123 80.12.56.78" there would cause all broadcast packets to be sent to 255.255.255.255 (LAN broadcast), 123.123.123.123, and 80.12.56.78. That should allow you to play Internet games by adding the IP addresses of the other players there. Note that you'll have to open the port on your router (5000 is the default for Red Alert, you can change that with the PortOverride setting).
Also note that I've not actually tested this, but it should work...

I also updated the Tiberian Sun patch with the above registry settings (Although it uses a different registry key, so you can set up RA and TA seperately). WSOCK32.DLL (Well, .zip) here, Source code here.

If anyone gets around to using either of these patches, please send me a PM or comment in my most recent journal entry [smile]
Previous Entry C&C Red Alert on Vista
Next Entry Untitled
0 likes 2 comments

Comments

MrCpaw
Sometime we should play some Red Alert or Tiberium Sun online. Great games! I don't believe I beat Red Alert for the Soviet side. I was on one of the last missions though. I should reinstall it and beat it sometime.
April 13, 2009 12:11 PM
andwan0
Is this IPX patch different from Scorpia9a's C&C/RA patches (http://www.understorm.net/)?

I guess sooner or later lots of others will write this IPX patch. I recall the first RA IPX patch was done by an ex-Westwood Studio employee... and after that others found it easy to write their own too...

Port 5000, does all clients have to port forward this (not just the server)?
August 14, 2009 05:04 AM
You must log in to join the conversation.
Don't have a GameDev.net account? Sign up!
Advertisement
Advertisement