5 ms·
It's a good idea not to just keep a copy of the source code stashed away somewhere, but also any contracts relating to the rights to the code. In the early 90'
by DonHopkins 10y ago
It's a good idea not to just keep a copy of the source code stashed away somewhere, but also any contracts relating to the rights to the code.
In the early 90's, DUX Software licensed the rights to port SimCity to Unix from Maxis. Then DUX made a contract with me to do the work. I kept a copy of my contract with DUX, the original floppies they gave me with the original PC and Mac source code, as well as versions of the source code I ported to Unix.
Years later I got a job working for Maxis on The Sims. Before we shipped it, EA bought Maxis, so a lot of people were let go, projects were canceled, physical and digital files were shuffled around, and institutional knowledge was lost.
After we shipped The Sims but just before I left EA, on a fluke, I asked a Maxis old-timer if he had any idea if the contract between Maxis and DUX for SimCity still existed, and where it might be.
As you would expect, it was in the bottom of a locked filing cabinet stuck in a disused lavatory with a sign on the door saying "Beware of the Leopard." ;(
So I waited late into the night for the leopard to fall asleep, made a photocopy of it, then returned the original to its hiding place. ;)
Several years later, John Gilmore suggested we persuade EA to relicense the SimCity source code under GPLv3, so it could be shipped with the OLPC.
Of course nobody in EA Management knew where the source code was or if it even still existed, but fortunately I still had my copy.
And of course nobody at EA Legal even knew if EA owned the rights to the changes I'd made (Maxis had gotten into some pretty terrible SimCity licensing contracts in the past).
But fortunately I'd kept a copy of the contract between myself and DUX, and the contract between DUX and Maxis, proving its provenance, which clearly stated that DUX's rights expired after 10 years, after which the rights to all the modifications I made went back to Maxis (and thus were inherited by EA).
Once all that was cleared up, the most important factor was that EA deputized someone on the inside to shepherd the project through the various stages of approval, relicensing, development and QA. Otherwise it would have died on the vine, since everybody in a big company, no matter how well intentioned, is always 500% busy doing their own stuff and can't be distracted by something that doesn't affect the bottom line.
It finally made it through both EA Legal and QA, and we released the SimCity source code and binary for the OLPC under GPLv3!
https://github.com/SimHacker/micropolis/tree/master/micropolis-activity https://github.com/SimHacker/micropolis/tree/master/micropol...
- lmitchell 10y agoReally cool, thanks! I played SimCity a fair bit as a kid, it's really fun to look through s_disast.c in that repo... brings back some memories :P
- DonHopkins 10y agoYou're welcome, and thanks for checking out the code! Since releasing the X11/TCL/Tk version for OLPC, we've stripped out the user interface, cleaned up and refactored and doxygenated the city simulator engine code into C++, and wrapped it with SWIG so it plugs into Python and other scripting languages. It's not as "authentic", but it has more comments and is easier to read than the old C code: https://github.com/SimHacker/micropolis/tree/master/MicropolisCore/src/MicropolisEngine/src https://github.com/SimHacker/micropolis/tree/master/Micropol... Here's a talk about it: HAR 2009 Lightning Talk Transcript: Constructionist Educational Open Source SimCity, by Don Hopkins http://micropolisonline.com/static/documentation/HAR2009Transcript.html http://micropolisonline.com/static/documentation/HAR2009Tran... I got hooked on computer games by playing Zork at MIT-DM, and it really blew my mind to finally be able to read the original Zork source code in MDL. Reading the source code takes you backstage behind the scenes of a world you visited years ago, like the Disney's Keys to the Kingdom Tour! https://github.com/itafroma/zork-mdl https://github.com/itafroma/zork-mdl
- gravypod 10y agoThe work you've done here is great.... You worked hard but no doubt brought a smile to many now happy children. I don't think my thanks is enough but it's a start. Keep on doing the good work you did with this and the world might get a bit brighter.
- sandGorgon 10y agothis was awesome. were your floppies still readable ? how ?
- Zardoz84 10y agoFloppies and VHS are more resilient that the people think. I have floppies from early of 90's that can be read/write without any issue. I have yet Dune game on two floppy disk, and many shareware, free and pirated games from these time. A few years ago, I did a backup of these floppies with a 3" 1/2 unit that I have.