ROL Format (image archive)

From ModdingWiki
Jump to navigation Jump to search
ROL Format (image archive)
Format typeArchive
Max filesLimited only by OS max file size
File Allocation Table (FAT)Embedded
Filenames?No
Metadata?None
Supports compression?No
Supports encryption?No
Supports subdirectories?No
Hidden data?Yes
Games

The ROL format is used to store STP Format image data for J.R.R. Tolkien's Riders of Rohan and Nomad. Its extension is an abbreviation of the name "stamp roll", which describes the function of the ROL format in grouping together a number of "stamp" graphics. It is essentially a simple concatenation of the contained files, with minimal header data.

File format

The file starts with a list of 32-bit little-endian words, where each one contains the starting offset for one of the files in the ROL archive. There is no explicit field containing the number of files, nor of any of the contained file sizes; this data is computed based on the start offsets. The size of the header is the same as the start offset of the first file. The number of files can be computed by dividing the header size by 4.