Live data from Hacker News

EA Open Sources Command and Conquer: Red Alert, along with other games

github.com

201–210 of 339 posts

Re: EA Open Sources Command and Conquer: Red Alert, along with other games

#201

I only glanced at the code in ANIM.CPP but for a C++ program from 1997 it looks kinda nice, right? The methods are all short, with some descriptive comments at the top of each one. Inputs and outputs described. Nice index at the top of the file. I’ve seen worse!

I made some games as a teenager and had the experience that I was basically forced to stop projects because they got too complex. Game Maker had only limited support for things like variable scoping; you really need to isolate components and have them all do their own defined thing to make it not grow too complex or you'll fix one bug and cause two new ones. Even more so as a team, I can only imagine, though I never concurrently worked on game code with more than one person (for longer than a literal weekend project, that is)

Normal software I find is a bit different because things like UI libraries give you a lot of structure already. In game code, you do so many things custom, and performance matters so much (each frame needs to finish around e.g. the 17-millisecond mark) that it's really up to you to apply the necessary discipline

Re: EA Open Sources Command and Conquer: Red Alert, along with other games

#203

>To use the compiled binaries, you must own the game. The C&C Remastered Collection is available for purchase on EA App or Steam. Mind you EA released [some of] the games as freeware back in 2008 so no, you don't have to buy them for the graphics, art, sound, and music assets Tiberian Dawn GDI https://web.archive.org/web/20110927141135/http://na.llnet.c... Tiberian Dawn NOD https://web.archive.org/web/20111104060230/…

Damn, hell march still slaps

Re: EA Open Sources Command and Conquer: Red Alert, along with other games

#204

Maybe someone can finally make a native Mac version. It astonishes me that EA leaves obvious money on the table by not taking the 5 mins it would take to recompile it for MacOS.

This is a terribly naive comment. I'm not going to even go into the specifics. Lets assume they click one button and it recompiles, how many people would buy it? Almost certainly wouldn't pay back the dev and qa cost.

[deleted]

Re: EA Open Sources Command and Conquer: Red Alert, along with other games

#205
post #27

Earlier quoted context omitted.

Best to email hn@ycombinator.com; dang can't possibly read all comments.

It sure seems like he does.

Between 2025-02-26 at 10:20 and 24 hours later, there were 10563 posts to HN.

So it is simply not humanly possible.

Re: EA Open Sources Command and Conquer: Red Alert, along with other games

#209

Maybe someone can finally make a native Mac version. It astonishes me that EA leaves obvious money on the table by not taking the 5 mins it would take to recompile it for MacOS.

"The 5 mins it would take" --- Check the README on Red Alert, for example:

If you wish to rebuild the source code and tools successfully you will need to find or write new replacements (or remove the code using them entirely) for the following libraries;

    DirectX 5 SDK
    DirectX Media 5.1 SDK
    Greenleaf Communications Library (GCL)
    Human Machine Interface (HMI) “Sound Operating System” (SOS)
That still look like 5 minutes to you?

Re: EA Open Sources Command and Conquer: Red Alert, along with other games

#210

Earlier quoted context omitted.

I spent some time browing curiosities about old games, and what strikes me is that the code sometimes was quite personal. You could see the joy, the anger, the disappointment, the satisfaction. Nowadays it would never fly to name a variable "poo", you need to stay professional at all times.

says who?

The person reviewing your PR.
Post reply on HN