Scape Description File - vanjac/zoomscape-info GitHub Wiki
.ZI
files are referred to as "Scape Description Files" by zrun.exe. They define a ZoomScape game, including a list of rooms and the starting position of the player. They are compiled from ZoomScript files.
File format description
- WORD: zscript version. This must match the zrun version (see list of games)
- WORD: number of rooms
- For each room:
- BYTE: 0x73
s
- BYTE: name length
- (name length) bytes: name string (no null)
- WORD: room number (ranges from 1 to the number of rooms. This matches the order of definition in ZoomScript and corresponds to a numbered
.ZA0
file)
- BYTE: 0x73
- 3 * WORD: starting X,Y,Z coordinates of the player
- WORD: starting direction of the player (0 - 65535)
- BYTE: 0x24
$
- BYTE: starting room (as a 0-based index in the list, NOT the room number!)