Difference between revisions of "Cine/Specifications"

Jump to navigation Jump to search
(Added info about different fonts used by the Cinematique engine (Pictures too).)
(Added info about the font file format used by Cinematique and revised the fonts-section a bit.)
Line 408: Line 408:
===Fonts===
===Fonts===


Fonts are loaded from file "texte.dat".
Fonts are loaded from file "TEXTE.DAT".


There are 4 known different versions.
====TEXTE.DAT file's format====
<pre>
    Byte  Meaning
    ------ ------------------------------------------------------------
    0-1  Entry size (16-bit big endian integer)
    2-3  Entry count (16-bit big endian integer)
    4-end Font data (4-bit bitplaned data in 16-bit big endian chunks)
    ------ ------------------------------------------------------------
</pre>


====78 characters version====
* Characters are 16x8 in size
* Entry size has been 8 in all observed data
* Entry count divided by entry size gives the number of characters in the font
* Take a look at [http://scummvm.svn.sourceforge.net/viewvc/scummvm/scummvm/trunk/engines/cine/gfx.cpp?revision=33976&view=markup#l_1669 gfxConvertSpriteToRaw] to see how the font data can be unpacked
 
====Known different font versions====
 
There are 4 known different font versions:
 
=====78 characters version=====
* Used by most PC, Amiga and Atari ST versions of Future Wars, but also by Operation Stealth's Amiga demo
* Used by most PC, Amiga and Atari ST versions of Future Wars, but also by Operation Stealth's Amiga demo
* [[Image:Cinematique-78_characters_font.png]]
* [[Image:Cinematique-78_characters_font.png]]


====85 characters version====
=====85 characters version=====
* Used by all observed versions of German Future Wars (Amiga and PC), possibly by Spanish Future Wars too
* Used by all observed versions of German Future Wars (Amiga and PC), possibly by Spanish Future Wars too
* [[Image:Cinematique-85_characters_font.png]]
* [[Image:Cinematique-85_characters_font.png]]


====90 characters version====
=====90 characters version=====
* Used by most PC, Amiga and Atari ST versions of Operation Stealth
* Used by most PC, Amiga and Atari ST versions of Operation Stealth
* [[Image:Cinematique-90_characters_font.png]]
* [[Image:Cinematique-90_characters_font.png]]


====93 characters version====
=====93 characters version=====
 
* Used by all observed versions of German Operation Stealth (Amiga and PC)
* Used by all observed versions of German Operation Stealth (Amiga and PC)
* [[Image:Cinematique-93_characters_font.png]]
* [[Image:Cinematique-93_characters_font.png]]