display-name: "Z-Experimental/Grand Theft Auto"

gry-names: ["Side tiles", "Top tiles", "Aux tiles", "Sync animation", "Palette", "Remap tables",
"Remap index", "Object index", "Cars", "Sprite info", "Sprite graphics", "Sprite numbers"]

if (file.name like "*.gry")
{
	unsigned32[13] lengths
	data-start: 52

	file[12]: i
	{
		name: gry-names[i]
		size: lengths[i + 1]
	}
}

if (file.name like ["* tiles", "sprite graphics"])
{
	image
	{
		width: 256
		height: file.size / 256
		format: "I8"
		transparent-index: 0
		palette: "style001.gry\\Palette"
	}
}

if (file.name == "palette")
{
	palette
	{
		size: 256
		format: "R6G6B6"
	}
}