News for hackers. Stuff that matters.
Re:EA Is Releasing Command and Conquer and Red Alert’s Sourc... by phoe-krk on Friday May 22, 2020 @11:17AM (#23273014)
Previous discussion from yesterday: https://news.ycombinator.com/item?id=23249964
Re:EA Is Releasing Command and Conquer and Red Alert’s Sourc... by pathartl on Friday May 22, 2020 @01:19PM (#23274546)
I'm glad that EA is doing this. I certainly don't think we should expect it, but I hope releasing source becomes standard. With more and more games moving to SaaS and microtransaction-heavy, I feel like the core of the game doesn't contribute to the bottom line as much as it used to.

With so many remasters/remakes being released, it's obvious that studios care about their games, but I think it should be made obvious that releasing source is the real path to preservation. Look at the recent build of Super Mario 64 for the PC. The game went from being able to run on a handful of systems (13.56 million Wii U's, 101.63 million Wii's, 32.93 million N64's) to nearly every modern x86-based computer. And now that it's being ported to ARM systems as well, we'll probably see Mario 64 running natively on hardware for probably the next 25 years, well past the life expectancy of many of the systems it officially was built for.

Releasing source could also contribute to the bottom lines of the companies. By Activision releasing the source to Tony Hawk's Pro Skater 1-3 (please dear god I hope they do this), they could actually release those games on digital platforms like Steam or Epic using ports/code improvements they didn't have to write. Hell, if THPS1-3 were open sourced, I might attempt a port for the first time.

Re:EA Is Releasing Command and Conquer and Red Alert’s Sourc... by danbolt on Friday May 22, 2020 @01:45PM (#23274863)
The Dolphin emulator wiki keeps a list of GameCube and Wii titles that shipped their retail releases with debug symbols included. [1]

It'd be painstaking reverse-engineering work, but I'm curious if more games in the future could have these sorts of "clean room" decompilations, provided the compiler toolchain can be realistically approximated.

[1] https://wiki.dolphin-emu.org/index.php?title=Ships_with_Debu...

Re:EA Is Releasing Command and Conquer and Red Alert’s Sourc... by Exmoor on Friday May 22, 2020 @01:39PM (#23274778)
>a handful of systems (13.56 million Wii U's, 101.63 million Wii's, 32.93 million N64's)

I get that you're speaking relatively, but you and I have a very different idea of what qualifies as "a handful". Also, you could arguably add 154.02 million DS systems and 75 million 3DS systems if you include the slightly improved Super Mario 64 DS.

Re:EA Is Releasing Command and Conquer and Red Alert’s Sourc... by pathartl on Friday May 22, 2020 @01:50PM (#23274923)
Keep in mind that most of those Wii U's and Wii's definitely did not have Mario 64 actually purchased on it, as well as the fact that you can no longer purchase the game for those systems. With the price an N64 and the cartridge go for these days, playing the original hardware is considered a premium.

I'd consider the DS version to be its own game. I love it, but with such large changes to the core gameplay it's certainly not a port, and it's not a remaster. Personally I think Nintendo should just release widescreen versions of both to the Switch, maybe with Mario 64 DS being an overhaul DLC.

Re:EA Is Releasing Command and Conquer and Red Alert’s Sourc... by bdowling on Friday May 22, 2020 @04:06PM (#23276328)
> could actually release . . . using ports/code improvements they didn't have to write.

Porting the code is the easy part. The hard part is relicensing the original music, art, and other essential assets.

Consider the recent rereleases of Crazy Taxi, which were missing the iconic punk rock songs because a deal couldn’t be reached with the music companies. Not having the original music surely led to decreased sales. A THPS rerelease would probably face similar problems.

Re:EA Is Releasing Command and Conquer and Red Alert’s Sourc... by pathartl on Friday May 22, 2020 @05:07PM (#23277056)
Yes, absolutely. THPS is just more of a personal wish.
Re:EA Is Releasing Command and Conquer and Red Alert’s Sourc... by bdowling on Friday May 22, 2020 @03:52PM (#23276174)
> Look at the recent build of Super Mario 64 for the PC

That build was made with either stolen source code or code decompiled and distributed without without a license from Nintendo. It is not comparable to an intentional source code release by the owner under some copyright license.

Re:EA Is Releasing Command and Conquer and Red Alert’s Sourc... by pathartl on Friday May 22, 2020 @05:05PM (#23277024)
It's decompiled and reassembled code and completely legal. The port binary that is floating around is not legal because of embedded assets. Sure it's not the same as intentional source code releases, but it's still a code base that is going to be passed around from platform to platform.
Re:EA Is Releasing Command and Conquer and Red Alert’s Sourc... by bdowling on Friday May 22, 2020 @06:34PM (#23277839)
> It's decompiled and reassembled code and completely legal.

If it’s created by disassembling Nintendo’s code, then it is derived from that code and it infringes Nintendo’s copyright.

Re:EA Is Releasing Command and Conquer and Red Alert’s Sourc... by pathartl on Friday May 22, 2020 @06:48PM (#23277955)
Re:EA Is Releasing Command and Conquer and Red Alert’s Sourc... by bdowling on Saturday May 23, 2020 @12:51AM (#23280002)
According to your link the situations in which decompilation is legal are extremely limited. For example, under EU law, (1) "a person or entity must have a licence to use the program to be decompiled" and (2) "Article 6 prescribes that the information obtained through decompilation may not be used for other purposes and that it may not be given to others."

Anyway, I'm not saying that the Super Mario 64 decompiled code project isn't cool, because it is. It just probably infringes Nintendo's copyrights in the code, not just in the assets like levels, graphics, and music.

Re:EA Is Releasing Command and Conquer and Red Alert’s Sourc... by sharkweek on Friday May 22, 2020 @12:13PM (#23273645)
My god what good memories I have with Red Alert.

That intro will forever be engraved in my memory.

https://www.youtube.com/watch?v=lJnMaTx4yjI

Re:EA Is Releasing Command and Conquer and Red Alert’s Sourc... by justanotherhn on Friday May 22, 2020 @12:28PM (#23273838)
Man, I wish Microsoft would opensource Age of Empires source code. That community is still around miraculously and would most likely rejuvenate the game.
Re:EA Is Releasing Command and Conquer and Red Alert’s Sourc... by myle on Friday May 22, 2020 @01:01PM (#23274290)
Do they have it? I was under the impression that they had to resort to hacks in order to release the recent remastered version.
Re:EA Is Releasing Command and Conquer and Red Alert’s Sourc... by danbolt on Friday May 22, 2020 @01:41PM (#23274809)
The UserPatch mod for the older CD release is really interesting, as it modifies the binary to give a lot of new AI script functions. Some of the ones for customized targeting have almost a declarative, map/filter feeling to them, such as `up-filter-range`. [1]

I think the newer versions of the C++ compiler are much more optimizing today than compared to what what Age of Empires II released on. I'd imagine it wouldn't be possible, or perhaps a lot harder, to make these AI mods with the Steam re-releases.

[1] http://userpatch.aiscripters.net/reference.html

Re:EA Is Releasing Command and Conquer and Red Alert’s Sourc... by rubidium on Friday May 22, 2020 @03:06PM (#23275719)
Definitely. AoE2 is a lifetime game for me. I played it in middle/high school, stopped for a while, picked it up in college for 2 years, stopped for 5 years, was amazed it was still a thing in late grad school (2013), stopped for 7 more years, and have just restarted playing again during the lockdown :) voobly is still a thing, and the best part is I’m still using my cd’s from 2002 with the free Aofe patch (pre-steam) from 2014 to play!
Re:EA Is Releasing Command and Conquer and Red Alert’s Sourc... by pkphilip on Friday May 22, 2020 @02:44PM (#23275477)
0ad is pretty good though. Not quite Age of Empires but still pretty decent.

https://play0ad.com/

Re:EA Is Releasing Command and Conquer and Red Alert’s Sourc... by Ericson2314 on Friday May 22, 2020 @12:57PM (#23274231)
I would have thought the commercial "remasters" mean no open sourcing, but EA is doing both, so I guess not.
Re:EA Is Releasing Command and Conquer and Red Alert’s Sourc... by chabad360 on Friday May 22, 2020 @12:46PM (#23274071)
Under GPL, huh, ain't that a rare treat!
Re:EA Is Releasing Command and Conquer and Red Alert’s Sourc... by css on Friday May 22, 2020 @12:49PM (#23274121)
Fun fact: this was the last game Virgin Interactive released before getting bought out by EA.
Re:EA Is Releasing Command and Conquer and Red Alert’s Sourc... by skilled on Friday May 22, 2020 @12:23PM (#23273760)
Red Alert on PlayStation 1.... damn, I spent so many hours playing this game with my friends. Great memories.
Re:EA Is Releasing Command and Conquer and Red Alert’s Sourc... by xwdv on Friday May 22, 2020 @02:47PM (#23275501)
What kind of mods will people make?