OpenSpace GF: Difference between revisions
Jump to navigation
Jump to search
imported>Ikskoks (Created page with "== SNA == * ''' Format Type ''': Image <br> * ''' [http://en.wikipedia.org/wiki/Endianness Endian Order] ''': Little Endian <br> === Format Specifications === <div...") |
(No difference)
|
Revision as of 17:22, 26 October 2020
SNA
- Format Type : Image
- Endian Order : Little Endian
Format Specifications
// GF file format
//header
4 bytes - magic
4 bytes - width
4 bytes - height
1 byte - channel count
1 byte - repeat byte
//Channel
//For each pixel (width*height):
1 byte - color value
If color value 1 equals repeat byte from header, we read more values:
1 byte - color value
1 byte - repeat count
Else:
channel pixel = color value
MultiEx BMS
Not written yet.
Notes and Comments
- GF files contains textures and are used by OpenSpace engine.
Supported Programs
Games
List of games using this file format:
- Rayman 2
- Donald Duck: Quack Attack / Donald Duck: Goin' Quackers