SimCity Source Code Is Now Open
Tolkien writes "Source code for SimCity has been released under the GPLv3. For legal reasons the open source version was renamed Micropolis, which was apparently the original working title. The OLPC will also be getting a SimCity branded version that has been QA'ed by Electronic Arts. Some very cool changes have been made by Don Hopkins, who updated and ported what is now Micropolis. (Here is an earlier Slashdot discussion kicked off by a submission Don made.) Among other things, it has been revamped from the original C to using C++ with Python. Here is the page linking all the various source code versions. Happy hacking!"
Apologies for the unnecessary correction, but it's Sim City 4, not 4000. Just nitpicking, I'm afraid. Honestly, though, I thought 3000 was the best. Sim City 4 is just entirely unforgiving.
had you looked at the links, you would see this screenshot.
Looks a lot like Classic.
For large sets, this will be our guide even unto death, for the LORD will work for each type of data it is applied to...
It builds, but you get to the loading screen and then you can't actually start a game. It Freezes.
And, because nyud.net is slow-as-hell, here is a direct link.
(there is a larger version on the website but I'm trying NOT to set fire to his provider's systems)
For large sets, this will be our guide even unto death, for the LORD will work for each type of data it is applied to...
Luckily we already have much more advanced clones on Linux than the old original whose code has been opened.
Though their move is still good, and interesting just to dig into the code.
This is actually clearly explained in one of the linked articles:
It actually states the history of where it's come from in one of the linked articles (emphasis added):
So it looks as if it's some kind of mutated version of SimCity Classic which dates back to the C64 version.
Because someone is likely to ask it, this does not yet build on MacOS X, even if you are willing to accept X11 as the interface. If anyone has any success it would be worth knowing.
Jumpstart the tartan drive.
Yes it did. I believe it was in June or so of last year. Now the browser costs 500 points.
11 was a racehorse
12 was 12
1111 Race
12112
Nuclear meltdown because of Chernobyl.
Earthquakes because of California, Kobe Japan, and Pakistan.
Alien Invasion because of Orson Welles war of the worlds radio broadcast.
You have been able to make a Linux City for quite a while with Lincity, and in 3D with Lincity NG which is surprisingly addictive.
Beep beep.
To clear up some confusion: The old version of SimCity/Micropolis uses TCL/Tk to implement the user interface. That is the version currently being distributed on the OLPC. The new version is rewritten in C++, and has all the TCL/Tk and user interface stuff ripped out of it. I converted it to C++ for the reasons I described in other posts (quoted above), so it is now modular and can be run through SWIG to integrate it with many different scripting languages.
But the core simulator is independent of Python, and runs extremely fast (the TCL/Tk version can run more than a year a second on the relatively slow OLPC). The OLPC uses Python as its standard system wide programming language, and all of its important libraries (like Cairo and Pango) are integrated as Python modules. So it makes the most sense to use SWIG to cast Micropolis into a Python module, first. Of course SWIG also makes it easy to integrate it with any other scripting language.
If it's not immediately obvious to you (or even if it is), why anyone would want to integrate SimCity with a scripting language, instead of just writing the whole thing in C, then you should read some of the discussions I've been having with Alan Key about that topic, on my blog.
-Don
Take a look and feel free: http://www.PieMenu.com
My gripe about SimCity 4 was money. It was really hard to have any sort of budget that profited money for projects and expansions. (And I've played my share of SimCity). This is something that worked much better in SimCity 3000. I did however love the regions, the way the transport systems built, the better graphics, and the ability to rotate the camera as I see fit. My $.02.
left of the city center
Probably because they borrowed some of the code from SimAnt, which had less ant growth towards the upper left due to a processing order issue in the updating algorithm. It's one of those problems where step N+1 is computed incrementally from the current state, rather than from a frozen copy of step N.
I'm a suicide bomber, you insensitive clod!
But from a quality-of-product point-of-view, very little could match (and can match) SimCity
Well, except for the use after free bug that required a special case in Windows 95 so that the game would keep working.
See e.g. here (look for SimCity):
http://www.joelonsoftware.com/articles/APIWar.html
Ditto to this. The original version of SimCity Classic for Windows technically runs, but besides not working under 64bit versions of Windows (no 16bit compatibility layer) it runs far too quickly on modern machines. It would be great to have it playable on Windows again.
UNIX SimCity was actually the first multiplayer SimCity game, and Micropolis seems to hold on to this feature. Not sure how to work it though.
"I think an etch-a-sketch with an ethernet port would beat IE7 in web standards compliance."
Sorry, no link, and /. search is no help. He was talking about OpenGL and why it's worth supporting, IIRC.
"A language that doesn't affect the way you think about programming, is not worth knowing" - Alan Perlis
That would be this.