Maps & Tilesets
This page is a guide to the games/tla/src/map/ folder of the Alchemy project,
where all 301 towns, dungeons, interiors, and sailing maps in Golden Sun: The
Lost Age are kept as plain text grids.
Rather than opaque binary dumps, every place in the game is held in this tree as
four open .tsv grids that can be read directly. All 301 folders appear in ROM
order inside maps.tsv and connect to the game through the 332-row
MapsWork table in resources.s.
This guide describes how The Lost Age splits terrain flags into a fourth map grid, then covers animated tiles, World Map streaming, and special folders. How maps drive movement and height collision is described in World, Scenes & Maps.
Three layers in a four-grid .tsv layout

Unlike The Broken Seal's three-grid maps, TLA splits universal terrain flags
into their own byte grid (4 grids per 128×128 map), alongside
grid_actors.tsv so that characters walk behind roofs with no script code.
Three hardware background layers stack vertically on screen while sitting
side-by-side inside grid_picture.tsv, with column offsets, scroll ratios, and
drift rates stored in layers.tsv:
| File | Contents |
|---|---|
grid_picture.tsv | 128×128 metatile appearance indices into metatile_tiles.tsv (3 layers laid side-by-side) |
grid_behavior.tsv | Metatile behaviour IDs (0 = plain ground, 255 = wall, 242–247 = universal searchable jars, barrels, and similar objects, 1–230 = scene cue triggers) |
grid_shape.tsv | TLA terrain flags byte: wadeable water, hop ledges, ladders, and secondary encounter zone |
shape_grid.tsv | Ground height shape indices into shapes.tsv (up to 3 heights per shape) |
grid_actors.tsv | Metatiles overriding an actor's BG layer or OAM priority (for walking behind roofs) |
metatile_tiles.tsv, shapes.tsv | 2×2 tile definitions and per-pixel terrain height profiles |
points.tsv, entrances.tsv, bounds.tsv | Numbered anchor points (paired with field/scene_items.s to spawn up to 16 chests or hidden items), entrances, and camera bounds |
animation.tsv, blend.tsv | Timer-driven tile animations (maps can borrow another map's animations) and alpha-blend scripts |
header.tsv, layers.tsv, contents.tsv, tilesets.tsv | Map metadata, layer offsets and drift, and referenced palette plus 4 tileset resources |
Japanese-only map variants sit beside base files (for example,
grid_picture_ja.tsv).
Tile animations, World Map blocks, and special folders

animation.tsvandblend.tsv: Water ponds and torches repaintVRAMtiles on timers without modifying metatiles. Maps without their own table can borrow another map's animations.world/: World Map 512×512 compressed terrain blocks (world/blocks.tsv), split into 32×32 blocks streamed 4 at a time. At most 1 new block unpacks per tick as the party walks or sails.default/: Fallback World Map metatiles and shared map tables.empty_map/: Empty row 0 ofMapsWorkused by the Title, World Map, credits, and debug level room.unused_test_room/: Unreferenced test map retained in the ROM (0-based index290, line 292 ofmaps.tsv).- Every other folder is named for the first scene in
ScenesWorkthat uses it (for example,daila_flooded/forMapsWorkrow 9). Map-reading code is in Field engine and tileset PNGs are in Graphics assets.