image2tiles.py

Aquarius+ tile generator utility.

Overview

image2ties reads an image file and generates Aquarius+ tilemap asset files.

Source Image

Generated Asset File Types

Tileset (.tile)

Tile definitions as stored in Video RAM.

The tile definitions start at tile index 128 unless otherwise spceified by the -s (--suffix) parameter.

The first tile generated will be blank unless overridden by hr-b (--blanktile) parameter.

The tiles are generated by dividing the image into 8 pixel by 8 pixel squares which are processed sequentiallt from left to right.

The tileset can be loaded into Video RAM using

Virtual Tilemap (.vmap)

Tilemap with the same geometry as the source image.

Tilemap (.tmap)

Aquarius+ compatible tilemap file.

Palette (.palt)

Palette the tiles in the tilemap.

CLIP

Tileclips (for use with plusBASIC commands and/or kernel routines)