RSC Format (BattleStar)

From ModdingWiki
Jump to navigation Jump to search
RSC Format (BattleStar)
Format typeArchive
Max files65,536
File Allocation Table (FAT)Beginning
Filenames?Yes, 8.3
Supports compression?No
Supports encryption?No
Supports subdirectories?No
Hidden data?No

File format


RSC files begins with the number of files in the archive.

Data type Description
UINT16LE iFileCount Number of files.

The signature is followed immediately by a file entry structure, repeated iFileCount times.

File Entry

Each file entry consists of the file name, its offset and size in the file. Even though the file name is fixed-width, it appears to be null-terminated.

Data type Description
UINT32LE Size File's size in the RSC archive.
UINT32LE Unknown Possibly the CRC of the file?
UINT32LE iOffset File's offset in the LIB archive.
char cFilename[13] File name (8.3 style), null terminated and padded with garbage data.