M
Micky
Guest
Just a tiny bit about worldmaps in Xenogears: The map is stored in the last two files in each directory, once row-by-row and and once column by column, probably to optimise the disk-access when updating edges.
The map is stored in 16x16 tiles of 2k, each tile starts with four 9x9 sub-tiles of 4 byte per entry followed by a 16x16 subtile of 2 byte per entry.
The elevation is in the first byte of the 4 initial subtiles.
I've got some code to display it, but it is a bit boring without textures... Does anyone have an idea what compression is used? It doesn't seem to be LZS, because the data doesn't make sense.
(I got my own code to display the battle stages as well, but it is terribly unoptimised - but the stages really look cool, don't they? Maybe I'll port it to GameCube at some point. Where are the filed maps stored?)
The map is stored in 16x16 tiles of 2k, each tile starts with four 9x9 sub-tiles of 4 byte per entry followed by a 16x16 subtile of 2 byte per entry.
The elevation is in the first byte of the 4 initial subtiles.
I've got some code to display it, but it is a bit boring without textures... Does anyone have an idea what compression is used? It doesn't seem to be LZS, because the data doesn't make sense.
(I got my own code to display the battle stages as well, but it is terribly unoptimised - but the stages really look cool, don't they? Maybe I'll port it to GameCube at some point. Where are the filed maps stored?)