Live data from Hacker News

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

github.com

81–90 of 339 posts

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

#81

// Homework for today. Write 2000 words reconciling "Your code must never crash" with "Intentionally putting crashes in the code". Fucktard. // DEBUG_CRASH(( "xferScienceVec - vector is not empty, but should be\n" )); // https://github.com/electronicarts/CnC_Generals_Zero_Hour/blo...

This one made me laugh, mostly because the variable names are so dumb

// our RNG is basically shit -- horribly nonrandom at the start of the sequence.

// get a few values at random to get rid of the dreck.

// there's no mathematical basis for this, but empirically, it helps a lot.

UnsignedInt silly = GetGameLogicRandomSeed() % 7;

for (Int poo = 0; poo {

GameLogicRandomValue(0, 1); // ignore result

}

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

#82

// Homework for today. Write 2000 words reconciling "Your code must never crash" with "Intentionally putting crashes in the code". Fucktard. // DEBUG_CRASH(( "xferScienceVec - vector is not empty, but should be\n" )); // https://github.com/electronicarts/CnC_Generals_Zero_Hour/blo...

Game code comments are always the most entertaining :D

https://en.wikipedia.org/wiki/Fast_inverse_square_root#Overv...

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

#83
Whoever pushed for this at EA - my deepest respect is with you!

Original C&C was rewritten from scratch long ago, but open source version of Zero Hour is such an amazing gift.

PS: if you want to send respects to the person who did it you can do it on Linkedin:

https://www.linkedin.com/posts/jim-vessella-62726825_from-th...

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

#84
post #49

Red Alert: https://github.com/electronicarts/CnC_Red_Alert Tiberian Dawn: https://github.com/electronicarts/CnC_Tiberian_Dawn Renegade: https://github.com/electronicarts/CnC_Renegade Generals Zero Hour: https://github.com/electronicarts/CnC_Generals_Zero_Hour EA post: https://www.ea.com/games/command-and-conquer/command-and-con... Reddit post: https://www.reddit.com/r/commandandconquer/comments/1izmpmb (Deleted Reddi…

Looks like the Tiberian Dawn code is Windows too (so C&C Gold / W95) I was kind of wishing it was the 1995 DOS version source code! (also, no Dune 2000)

Emporer: Battle for Dune was their first 3D RTS and I personally loved the gameplay, story, and soundtrack. I very much hope it will eventually be open-sourced.

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

#86
post #59

The complete C&C bundle with all open sourced games and several others is currently $6 on Steam, if you need the art assets https://store.steampowered.com/bundle/39394/Command__Conquer... Hopefully this causes a sales spike and encourages other developers to do similar things.

Hmm there's also a c&c remastered bundle. Anyone knows if either of them includes stuff that requires an EA account?

The remastered bundle does not need it.

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

#88
post #40

Earlier quoted context omitted.

Would be nice. But they all work just fine with wine and/or proton.

I haven't tried wine in ~15 years, but it was pretty useless for gaming back then. Has it much improved?

It's pretty awesome. Some of the compatibility layers built on Wine (Valve's Proton/Codeweavers Crossover/Whisky) are almost plug and play. With Steam on Linux, a lot of games work seamlessly. I've only ran into trouble with very new games and multiplayer games with invasive anti-cheat that freaks out when they're running in an environment that doesn't look like a normal windows install

The performance hit is surprisingly low. It's not rare for the windows binary to run better on linux than the native one (when it's an option)

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

#89
post #49

Red Alert: https://github.com/electronicarts/CnC_Red_Alert Tiberian Dawn: https://github.com/electronicarts/CnC_Tiberian_Dawn Renegade: https://github.com/electronicarts/CnC_Renegade Generals Zero Hour: https://github.com/electronicarts/CnC_Generals_Zero_Hour EA post: https://www.ea.com/games/command-and-conquer/command-and-con... Reddit post: https://www.reddit.com/r/commandandconquer/comments/1izmpmb (Deleted Reddi…

Looks like the Tiberian Dawn code is Windows too (so C&C Gold / W95) I was kind of wishing it was the 1995 DOS version source code! (also, no Dune 2000)

Dune 2000 - countless hours spent! Ah!

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

#90

The complete C&C bundle with all open sourced games and several others is currently $6 on Steam, if you need the art assets https://store.steampowered.com/bundle/39394/Command__Conquer... Hopefully this causes a sales spike and encourages other developers to do similar things.

We had to wait for a team of github users to reverse engineer Legend of Zelda Ocarina of Time before Nintendo would do anything about it
Post reply on HN