Welcome to Data Crystal's new home! Data Crystal is now part of the TCRF family (sort of).
The wiki has recently moved; please report any issues in Discord. Pardon the dust.
The wiki has recently moved; please report any issues in Discord. Pardon the dust.
Vagrant Story/ARM files
Jump to navigation
Jump to search
\SMALL\*.ARM are area map files, used by the MAP manu.
Minimap Section $0 4 num_rooms $4 FOR {num_rooms} main_data: // $c bytes per room $0 4 ? (RAM only) $4 4 lenght of map graphics section (RAM: pointer to section) $8 2 zone number $a 2 map number Room Graphics Section + FOR {num_rooms} map_graphics: $0 4 num_vertices + FOR {num_vertices} vertex3f (8 bytes each): $0 2 vertex x $2 2 vertex y $4 2 vertex z $6 2 zero padding + FOR {5 faces} polygons: $0 4 num polygons + FOR {num polygons} poly4gt or polyline (4 bytes each): second face is always a poly4gt and defines the floor other faces are polylines and define the walls $0 1 vertex 1 $1 1 vertex 2 $2 1 vertex 3 $3 1 vertex 4 Room Names Section + FOR {num_rooms} room_name: $0 $24str room name