From df2049ef98972e5055b14bfedc1512764553b7c1 Mon Sep 17 00:00:00 2001 From: "jason@long.name" Date: Wed, 26 Jun 2013 22:12:14 +0000 Subject: [PATCH] graphics: update HACKING file with new instructions for building tiles.png git-svn-id: https://micropolis.googlecode.com/svn/trunk/micropolis-java@717 d9718cc8-9f43-0410-858b-315f434eb58c --- graphics/HACKING.txt | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/graphics/HACKING.txt b/graphics/HACKING.txt index 57628a0..029439a 100644 --- a/graphics/HACKING.txt +++ b/graphics/HACKING.txt @@ -20,17 +20,14 @@ Generating the composite image To build a new tiles.png file, do the following: -1. Open a command-prompt, and cd to the graphics subdirectory. +1. Open a command-prompt, and cd to the micropolis-java directory. -2. Compile the helper program by typing the following command: +2. Build Micropolis by typing the following command: - javac MakeTiles.java + ant -3. Build the new tiles.png file by typing this command: +3. The generated tiles.png file can be found in the build/ subdirectory. - java MakeTiles tiles.dat tiles.png - - (This will create tiles.png in the current directory. - Copying it into the ../resources/ directory and rebuilding - Micropolis using Ant is left as an exercise for the reader.) +4. Now you can run Micropolis with the new graphics. Type: + java -jar micropolisj.jar