Pre-v5.1 non-Unicode resource format

This page describes the resource file format used with the pre-Unicode versions of Symbian platform (all versions before v5.1). This format is obsolete for later versions.

Number of bytes

Description

2

This two-byte integer (in little-endian byte order) stores the file-position of the start of the resource index (see the last row of this table for a description of the resource index).

2

This two-byte integer (in little-endian byte order) stores the size of the resource index in bytes.

[any]

This contains the data for all the resources stored in order, one after another with no byte-padding between them. The binary data of each resource is laid out exactly as specified in the resource definition.

(number_of_resources+1)*2

This is the resource index, which is a series of two-byte integers (in little-endian byte order), one for each resource in the resource file, each storing the file-position of that resource’s data (see row immediately above).

The last 16-bit number gives the file offset of the end of the last resource (i.e. the beginning of the index table).