Flexible and composable tile graphics converter supporting Super Nintendo, Game Boy, Game Boy Color, Game Boy Advance, Mega Drive, PC Engine and WonderSwan formats.
-W 8 -H 16 would be the expected usage for -M gb and -M gbc
8x16 are stored as two consecutively following 8x8 tiles.
The tilemap still operates on 8x8 tiles and since 8x16 mode is only for sprites, they can be accessed as 8x8 for the background at the same time, since the can share tiles.
What does this mean?:
8x16 tiles have be stored consecutively
each 8x16 tile has two tilemap entries (upper and lower half), even though sprites will only use the first one
deduplication is not allowed to break 8x16 tiles apart, it's always upper+1==lower
deduplication is allowed to combine two 8x16 tiles if the second starts with the 8x8 tile the first one ends with
EDIT:
I was wrong, the upper tile has to be on even indices and the lower tile on odd ones. The lowest bit is ignored.
-W 8 -H 16
would be the expected usage for-M gb
and-M gbc
8x16 are stored as two consecutively following 8x8 tiles. The tilemap still operates on 8x8 tiles and since 8x16 mode is only for sprites, they can be accessed as 8x8 for the background at the same time, since the can share tiles.
What does this mean?:
upper+1==lower
deduplication is allowed to combine two 8x16 tiles if the second starts with the 8x8 tile the first one ends withEDIT: I was wrong, the upper tile has to be on even indices and the lower tile on odd ones. The lowest bit is ignored.