RIX File Format

In Fallout 2 there are six RIX files. All are in master.dat, in the art\splash folder, and appear when loading the game.

File Structure

ColorRIX is an outdated graphics editor for VGA and SVGA cards, running under MS-DOS. There were about half a dozen formats, of which Fallout 2 only used one - SCF (renamed RIX). ColorRIX came with some VGA graphics cards and a description of the format can be found on some sites with FTP archives.

This format lets/allows us to save uncompressed images in 640x480 resolution, 256 colors (indexed). It's analogous to the Microsoft Windows Bitmap File format (BMP).

All of the control values it the file are stored in little-endian format. (I.e. least-significant byte first).

Offset Size (bytes) Description
0x000 4 "RIX3" - the file signature.
0x004 2 width of the image - example: 0x280 = 640
0x006 2 height of the image - example: 0x1E0 = 480
0x008 1 0xAF = VGA - Palette type.
0x009 1 0x00 = linear - Storage type.
0x00A 256*3 = 768 The palette. 3 bytes per color.
0x30A 640*480 = 307200 The image data. 1 byte for each pixel referencing the palette data defined previously.

Tools

Graphics viewer 1.36 to load/save
XnView
rix2bmp
rix2gif