Anarchy-Online Map Compiler
Print

AOMC

Anarchy-Online Map Compiler

About:

AOMC is a map compiler for Anarchy-Online. (Hence the name, Anarchy-Online Map Compiler).
Anarchy-Online doesn't use normal image files as map files.
Instead, if you want to make a map, you have to do some footwork to convert a image file into a format Anarchy-Online can understand.
To do this, AOMC has to split up the image file into slices. A slice is really just a 128x128 px image file.
Each slice is added to a "binfile", in serialized order.
Each slices "FilePos" (how many bytes into the binfile does the slice start?) is kept track of, and exported to a format which lets Anarchy-Online read and use it.

The main benefit of AOMC is that it is very customizable through a easy-to-understand config file.
Another benefit is that if you have multiple images that are mostly the same, they can be "compared", so that if slice X in the images are identical, it's added only once. This lets you have multiple similar versions of a map with a smaller size than if the images were just blindly added to the binfile.

AOMC supports multithreading, as long as your map has more than one layer.

AOMC is a php-based application, and requires PHP to run. PHP is boundled with the release, with PHP's license terms in "php\license.txt".
For more information about PHP, see http://www.php.net/.

Please use the AOMC discussion forum to discuss topics related to AOMC.

Download:

Test release: AOMC_2.1.1 (25th October, 2008)
Zip (4 650 044 bytes)
7z (3 250 539 bytes)


Planned changes

[-]
  • None at the moment. Please contact me if you have a feature/change request.

Changelog

[-]

2.1.2 (Jul 30, 2009)

  • Worker changes
    • Now supports JPG, PNG and GIF output. Note: On compare layers, the worker generates both a PNG image and a image of the requested type. If requested type is PNG, no extra overhead is added.
    • Note: Still only supports PNG as input.
  • Config changes
    • Added item under map section: outputtype. Set to either png, jpg or gif.

2.1.1 (Oct 25, 2008)

  • Worker changes
    • Debug option SliceID should now add the LayerID, Xpos and Ypos of the slice. (example)
    • Using the debug options will make the compiler use more time when compiling compare-layers due to the debug information being added after comparing the slices.

2.1.0 (Oct 23, 2008)

  • Rewritten the entire compiler. :)
    • A lot less disk IO (but bigger reads/writes once there is any), resulting in a rather big performance gain. Varies based on compile type and system, but for me, about 50% faster.
    • Will use more RAM than before
    • New config file layout & intrepetation
      • More flexibility in regards to advanced layout setups. Layers are no longer bound to textfiles, but textfiles rather add layers that are available.
      • Compiler-related configurations have been moved to a own config file
      • Input images are now relative to the workdir (where run.bat is). You can also specify a full path to each image.
      • Better sanity checking of the configuration.
      • Default map configurations have been throughly commented in order to make them easier to understand.
      • More fine-grained debug-compile options.
    • New configuration utility for configuring compiler-specific configuration parameters
    • Better looking console output

Older releases

[+]

Screenshots

[+]


Credits

  • Onack (Testing, feedback, feature requests and making maps I can test with)
  • Finnagen (for providing the mapcompiler used to create the CSPmap, and for making the 'making of CSPmap' guide. Both gave me insight to how AO maps work)
  • Dhurdahl (dhurdahl@ao-europe.com) for making the mapcompiler used to make CSPmap (which gave me insight to how AO maps worked)

Known bugs

None as of now.

Contributors to this page: Demoder1963 points  .
Page last modified on Thursday 30 of July, 2009 18:09:50 CEST by Demoder1963 points .

Menu

Search Wiki PageName