Skip to main content

Module tile_database

Module tile_database 

Source
Expand description

Tile database files for Total War terrain systems.

The tile database (tile_database.bin) contains definitions for terrain tiles, including their rendering parameters, textures, climate variations, and linking rules. This data is used by the game’s terrain system to generate and render battle maps.

§File Format

Tile database files use the FASTBIN0 binary format with versioned serialisation. Currently only version 1 is supported.

§Structure

The database contains several interconnected components:

  • Render Parameters: Global rendering settings for terrain.
  • Conversion Parameters: Parameters for tile format conversion.
  • Climates: Climate-specific tile variations (e.g., temperate, desert).
  • Tile Sets: Groups of related tiles.
  • Tiles: Individual terrain tile definitions with textures and properties.

Structs§

TileDatabase
In-memory representation of a decoded tile database file.

Constants§

NAME
Name of the file used by Tile Databases.
SIGNATURE
FASTBIN0