SAGA/Datafiles/Object Name List

From ScummVM :: Wiki
< SAGA‎ | Datafiles
Revision as of 09:27, 9 November 2007 by Md5 (talk | contribs) (Added resource page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Object Name List Resource Format

An Object Name List is consists simply of a table of strings, these correspond to the names of objects as they appear in the game.

A Object Name List resource begins with a simple header:

Type Order Name Description
INT16 LE table_len String offset table length in bytes

Followed by a table of ( table_len / 2 ) of the following:

Type Order Name Description
INT16 LE string_offset Offset of string from start of resource

A string_offset equal to the length of the resource followed by a string_offset of 0 appears to signify the end of the offset table.

Each string begins on an even offset. Random characters are present as padding.