OpenSpace GF: Difference between revisions

From XentaxWiki
Jump to navigation Jump to search
imported>Ikskoks
imported>Ikskoks
No edit summary
 
(4 intermediate revisions by the same user not shown)
Line 36: Line 36:


=== Notes and Comments ===  
=== Notes and Comments ===  
* GF files contains textures and are used by OpenSpace engine.
* GF files contains textures and are used by [https://raymanpc.com/wiki/en/OpenSpace OpenSpace engine].


=== Supported Programs ===  
=== Supported Programs ===  
Line 57: Line 57:
[[Category:Extension_gf | Extension: gf]]
[[Category:Extension_gf | Extension: gf]]
[[Category:BMS_None | BMS: None]]
[[Category:BMS_None | BMS: None]]
[[Category:File Format]]

Latest revision as of 12:11, 4 January 2021

GF


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

Supported Programs

Games

List of games using this file format:

  • Rayman 2
  • Donald Duck: Quack Attack / Donald Duck: Goin' Quackers