Micropolis
Micropolis is a java clone of the well known game SimCity. It was one of the first system simulation games. The challenge of playing a system simulation game is to figure out how the system works and take control of it. As master of the system, you are free to use the tools to create and control an unlimited number of systems (in this case, cities) within the framework and limits provided by the rules.

System requirements
  • Minimum JRE version 1.6.0 Build 27 GA5 (2013-02-17)


Micropolis on an eComStation machine with Open JDK


Installing Micropolis
Download the zip file micropolis-os2.zip. Create a folder (directory) "micropolis" or something similar which fits your needs. Copy the files "micropolis.cmd", "micropolis.ico"; "micropolis.txt" and the file "micropolisj.jar" to the new created folder (directory). That's it! Enclosed also a readme file and a file with the GNU General Public License. You can read them, the readme you can find on this page and more, the license is very standard, probably you read this already time after time.

The used micropolis.cmd file
Micropolis works with Open JDK in OS/2-eCS. I have made a "micropolis.cmd" file with the following contents;
@echo off
set BEGINLIBPATH=[drive: java]\JAVA160ga5\bin
set path=[drive: java]\JAVA160ga5\bin
set CLASSPATH=
[drive: micropolis]
cd [drive: micropolis]\micropolis
java -Duser.home=[drive: micropolis]\micropolis -jar micropolisj.jar 2>micropolis-bugs.txt
I use 2 separate folders (directories), one for Java and one for Micropolis with the files created by this program. The references used in the cmd file;

  • [drive: java] = drive with Java
  • [drive: micropolis] = drive with Micropolis

should be replaced by real drive letters. Adjust the file from the distribution below, ie. different drive and directories. Save "micropolis.cmd" and copy it to the "micropolis" folder (directory) if you didn't do that already.

Create a new program object. Specify the path and file name: "[drive: micropolis]\micropolis\micropolis.cmd". In the tabpage Session check the boxes "OS/2 window", "Running as an icon" and "Close Window to end program". In the tabpage General you can enter the name "Micropolis". The download also has an OS/2 icon.

I want to point out that this is a way to start the program, OS/2 and its successors do have much more ways for starting a java program.

Parameters / options explained
  • The specification "-Duser.home=[drive: micropolis]\micropolis" will ensure that Micropolis will save all necessary files in own directory instead of saving them in the home directory. I have the feeling that the program doesn't use it. But better safe than sorry.
  • The addition "2>micropolis-bugs.txt" ensures that errors are saved in the file "micropolis-bugs.txt". The 2 in "2>" is not a typo! The file stays empty on my machine.

Download
In the file you can find all necessary files, all drive letters in the command file are on set to C:. You can download it here: micropolis-os2.zip.

revision November 26, 2017