Wednesday Mar 18, 2009

NumptyPhysics on Opensolaris!

NumptyPhysics on Solaris NumptyPhysics is a fun opensource "Physics puzzle" game which uses the same Box2d physics engine as the award winning CrayonPhysics. As soon as I saw it, I really wanted to port it to OpenSolaris. One of my first computer programs (for the Commodore 64) simulated gravitational attraction between sprites and allowed the user to send sprites into orbit around each other. Cumulative floating point errors in my old BASIC program eventually caused orbiting objects to careen off the screen. My Solaris port of Numptyphysics still needs work and cleanup, buy it's a step in the right direction. Right now top priority is getting SourceJuicer out the door so there is a more efficient path between NumptyPhysics runs from my build environment on my laptop to, NumptyPhysics is available as a stable package for the OpenSolaris community.

Thursday Jan 24, 2008

Micropolis (a.k.a. S\*mC\*ty) runs on OpenSolaris!

A long time ago in a galaxy not so far away, Don Hopkins ported Maxis's C64 game "SimCity" to Unix, using the NeWS desktop user interface. Unfortunately Sun canceled NeWS (even though it was decades ahead of other \*nix desktop GUIs.) Many years later Don Hopkins revisited this code, now open sourced and contributed to the OLPC project. With a few tweaks and kludges, I built this codebase on OpenSolaris. This is what it looks like:

Micropolis on OpenSolaris

I checked a new spec file, SFEmicropolis.spec and a patch into spec-files-extra. These along with the help of the CBE, build micropolis-activity.

Known bugs:

  • MicropolisCore Python modules aren't built so any part of the game dependent on this won't work.
  • Micropolis hostname and DISPLAY handling is a little borked so it might not work via ssh -X or other X forwarding.
  • Micropolis depends on shm extentions so it doesn't seem to work on Sun Ray.

To be done:
  • Build a spec file for the Python modules (micropolis, cellengine and tileengine) in MicropolisCore.tgz. This should be easy for anyone who has a little time and an OpenSolaris build with CBE.
  • Clean up the spec file. There are a few kludges in the way I build it for Solaris, but whenever a proper config build is incorporated into the Micropolis codebase, some of this work won't be necessary.
  • Find someone who has played S\*mC\*ty who test can test the Solaris build (I haven't)
  • Try to get OpenSolaris patches accepted into Micropolis codebase.
  • Work with the micropolis community. (We might be able to use dtrace and other OpenSolaris tools to solve problems.)

    Feel free to help if you can, the code is out there!

About

bnitz

Search

Archives
« April 2014
MonTueWedThuFriSatSun
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
    
       
Today