Slashdot Mirror


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!"

28 of 360 comments (clear)

  1. All of a sudden... by Anonymous Coward · · Score: 5, Funny

    ... a big scream was heard, as if a thousand hours had suddenly been lost.

    1. Re:All of a sudden... by fodi · · Score: 5, Funny

      There's nothing wrong with the copy at all. This is just the open source version. To get it working:

      1. Reinstall your OS, taking note of which libraries you compile into the kernel and which you merely reference as modules (this will be used later).

      2. Scan all the ansi files in the download and replace references to other hardware with the .c files representing those in your own system. Re-Make the game and the installer and install it to a folder accessible by all users on your system, unless you're the only user and have a separate partition for your /usr path and wish to install there.

      3. Start the game, turn off sound and network options (don't kid yourself; it's for the best) and start a new game.

      4. If it runs too slowly, go back to step one and change the kernel\module mix to something more suitable.

      Yes, this was an OSS troll and a superficial attempt at light humour... take a breath, count to ten, then mod me down.

      - fodi
      5. Play !!

  2. Finally! by angryfirelord · · Score: 3, Funny

    My very own Linux city!

  3. Maybe now we can finally find out by Anonymous Coward · · Score: 5, Funny

    why it is that commercial zones placed more than a certain distance to the left of the city center never developed. I wonder if it was some kind of subtle political commentary on how leftist policy hurts business or something.

  4. The Brown Sheet of Paper by that+this+is+not+und · · Score: 3, Funny

    Now, if they will only open-source that dark brown piece of paper with the glyphs printed in black on it...

  5. Re:WARNING: MYMINICITY LINK by McGiraf · · Score: 2, Funny

    Who would have known? Thanks for the warning I almost got close to maybe think about clicking the link, you saved me!

  6. Don't destroy the church by Anonymous Coward · · Score: 2, Funny

    The godless atheist Linux crowd can now eliminate the 1 line of code that creates a tornado every time you bulldoze a church.

    1. Re:Don't destroy the church by Anonymous Coward · · Score: 1, Funny

      That code should never have been there. A realistic simulation would create a bomb every time you bulldoze a mosque.

  7. Re:huh? by that+this+is+not+und · · Score: 5, Funny

    Why all the effort to port to C++ ? C rocks !


    It needed to be updated, because it ran too fast on modern hardware.

  8. Slashdotted by noidentity · · Score: 2, Funny

    I guess a new disaster needs to be added: Slashdotting

  9. Re:So where is it? by jollyreaper · · Score: 4, Funny

    This is as useful for historical insight a klingon version of the new testament. I don't understand. Wouldn't you want to read it in the original?
    --
    Kwisatz Haderach
    Sell the spice to CHOAM
    This Mahdi took Shaddam's Throne
  10. Re:Boo-hoo by Anonymous Coward · · Score: 4, Funny

    It had to be done because a bug was found that meant the players could then take any action, and it would have no affect on public mood, aslong as it was justified by the plan crash somehow!

  11. Re:Nice move, but... by SimHacker · · Score: 5, Funny

    Yes, it'll be great to port Micropolis (SimCity) to embedded devices! I'd like to port it to the TomTom, and hook it up so you can operate the bulldozer or road building tool via GPS, just by driving around!

    -Don

    (Disclaimer: I work for TomTom, and this should NOT be interpreted as a product announcement!)

    --
    Take a look and feel free: http://www.PieMenu.com
  12. Re:The plane crash disaster has been removed as a by Workaphobia · · Score: 4, Funny

    I couldn't hear you, I was busy watching the NYC episode of the Simpsons and - NOOOOooooooooo...

    --
    Evidently, the key to understanding recursion is to begin by understanding recursion. The rest is easy.
  13. Re:What the fuck are you talking about? by Anonymous Coward · · Score: 2, Funny

    Hey, dipshit. It doesn't matter if this game only runs at 30000 FPS on your 4 GHz quad-core Core2 Duo just because it uses Python, rather than the 80000 FPS it would achieve were it completely written in C. I mean, your goddamn fucking eyes and brain don't even notice any difference once you exceed 40 FPS. What the hell is wrong with you? Your ignorance of Python makes you look like a shitfool.

  14. Re:Craptastic Code? by ddrichardson · · Score: 5, Funny

    Slashdot, the only place one can make a flippant remark regarding the state of 20 year old code and successfully find someone who worked on it.

    --
    A thistle is a fat salad for an ass's mouth...
  15. Re:And yet... by Anonymous Coward · · Score: 5, Funny

    What the hell is this Lunix thing that so many keep talking about?

  16. Re:Boo-hoo by Bluesman · · Score: 2, Funny

    It's GPL, we can add it back.

    And we can add in kidnappings and beheadings. Everyone wins!

    --
    If moderation could change anything, it would be illegal.
  17. Re:Where's *my* pity? by kryten_nl · · Score: 3, Funny

    Bro, you suck at your job.

    --
    For the perfect anti-Unix, write an OS that thinks it knows what you're doing better than you do and let it be wrong.
  18. Re:And yet... by Leftist+Troll · · Score: 5, Funny

    Lunix is one of the most powerful contraceptives evar ....It is an operating system that was the result of really crappy reverse-engineering efforts to create a free version of UNIX. Linus Torvalds and Alan Cox are the perpetrators behind this travesty. Tons of people use it, especially hippies, and no one really likes it except the terminally uncool. Most of them use it in violation of SCO's intellectual property rights. To use Lunix legally, one must pay a $699 license fee to SCO for each processor that runs the Lunix kernel.

  19. Lisp Re:PostScript by rhyre417 · · Score: 2, Funny

    I believe I understand.
    NeWS is like Lisp, but with PostScript instead of Lisp for programming, PostScript instead of Lisp for rendering, and PostScript instead of S-expressions for data representation.

  20. Re:The plane crash disaster has been removed as a by orkysoft · · Score: 1, Funny

    Yeah, it's the perfect opportunity to teach kids that plane crashes are bad, mkay?

    --

    I suffer from attention surplus disorder.
  21. Welcoming a master coder by Atomic+Fro · · Score: 5, Funny

    I, for one, would like to welcome Don Hopkins: our sim-hacking overlord.

    --

    ==================
    Hippie Logger Jock
    ==================
  22. Re:Craptastic Code? by jericho4.0 · · Score: 5, Funny

    My personal favorite /. moment was someone telling John Carmack he didn't know what he was talking about.....

    --
    "A language that doesn't affect the way you think about programming, is not worth knowing" - Alan Perlis
  23. Re:And yet... by tepples · · Score: 5, Funny

    And yet... still no plans for Lunix support. Lunix runs on an 8-bit Commodore computer. Programs written in C or in C++ generally don't run fast on 8-bit machines, in part because C and C++ make heavy use of a data type called int, whose size varies from compiler to compiler but must be at least 16 bits.
  24. Re:Win32 binary versions available? by Anonymous Coward · · Score: 2, Funny

    okay, just what really geeky street do people talk about Xlib, cygwin, and X servers for windows like the latest gossip? I want to find this mythical "geek street" that you're telling me about! Is it the east downtown Tokyo ghetto? IT IS, ISN'T IT!

  25. Re:Opportunity for a more realistic SimCity... by toddestan · · Score: 2, Funny

    I imagine that I could probably run things at a pretty low tax rate in a world where a coal power plant costs $3000, and an airport costs $10000, and I can fully fund a police station for $50/year.

  26. Re:port to win32 by kestasjk · · Score: 5, Funny

    You can pick up Simcity4 for like 5 euro I can't afford to pay US$60 for a game
    --
    // MD_Update(&m,buf,j);