Updated readme for PackMap.

This commit is contained in:
Martin Haye 2013-09-13 08:46:47 -07:00
parent 7445ee219d
commit e249cc81de

View File

@ -4,16 +4,21 @@ Building for the Apple II Platform
1. Build the A2Copy tool, which copies directories in/out of image files: `cd tools/A2Copy`
and then `ant`, and finally `cd ../..`
2. Set the location of the "cc65" tool set. Make a copy of `virtual/src/include/sample.build.props`
2. Build the PackMap tool, which converts Outlaw XML to a packed map. `cd tools/PackMap`
and then `ant`, and finally `cd ../..`. I think you need Groovy support in your
NetBeans installation for this to work.
3. Pack your game data. `java -jar tools/PackMap/dist/PackMap.jar yourXMLFile.xml virtual/data/maps/map.pack/bin`
4. Copy the frame image (in Apple II format) to virtual/data/images/frame.bin
5. Set the location of the "cc65" tool set. Make a copy of `virtual/src/include/sample.build.props`
and call it `build.props` (in that same directory). Edit the `CC65_BIN_DIR` path inside that file
to point at your cc65 installation. There should be "ca65", "cc65", "ld65" etc. in the directory
you point to.
3. Add game data. Grab sample game data (images, maps, etc.) and put them into the `data` directory.
Image .bin files go in `data/images`, etc.
6. Now build a complete disk image: `cd virtual` and then `ant`
4. Now build a complete disk image: `cd virtual` and then `ant`
7. Boot up the resulting disk image `game.2mg` on your Apple II or emulator.
5. Boot up the resulting disk image `game.2mg` on your Apple II or emulator.
6. To run the render demo, type `-RENDER` at the ProDOS Basic prompt.
8. To run the render demo, type `-RENDER` at the ProDOS Basic prompt.