Maps
Jump to navigation
Jump to search
This page is about the structure of maps. For the list of maps, see Map List or https://ffhacktics.com/wiki/Category:Vanilla_Maps.
There are three kinds of files in the MAP directory:
- GNS files, which tell the game where to look for map data given a certain set of criteria. (Weather, day/night, room arrangement.)
- Texture files, which are always 131072 bytes.
- Mesh files, which contain:
- XYZ/UV Vertices of the map's polygons
- Normal vectors of map's vertices
- Texture palettes (in color)
- Ambient light color and directional light positions
- Background gradient colors
- Terrain data (tile heights, slopes, and surface type for Geomancy purposes)
- Texture animation data
- Palette animation data
- Texture palettes (grayscale)
- Vertex animation data
- Eight sets of animated vertex data
- Polygon visibility angle data (for removing obstructions from the camera's line of sight when the camera is facing in different directions)
Here is a list of mesh files in the MAP directory and how many bytes can safely be added to each one.