Hamsterball font.description: Difference between revisions

From XentaxWiki
Jump to navigation Jump to search
imported>Ikskoks
(Created page with "== font.description == * ''' Game ''': Hamsterball <br> * ''' Format Type ''': Font <br> * ''' [http://en.wikipedia.org/wiki/Endianness Endian Order] ''': Little...")
imported>Ikskoks
 
(3 intermediate revisions by the same user not shown)
Line 37: Line 37:




   1 byte (uint8) - width in bitmap
   1 byte (uint8) - width
   1 byte - unknown // "41"
   1 byte - unknown // "41"
   2 bytes - nulls
   2 bytes - nulls
Line 58: Line 58:
=== Notes and Comments ===  
=== Notes and Comments ===  


* These "description" files contains data for viewing characters in game texts.<br> They describe character properties.
* These "description" files contains data for viewing characters from game texts.<br> They describe character properties.


=== Compatible Programs ===  
=== Compatible Programs ===  

Latest revision as of 09:40, 28 October 2020

font.description


Format Specifications

// Document has been created by Bartlomiej Duda
// Creation date: 27.10.2020
// Hamsterball (PC)
// font.description file format

// little endian


//header
4 bytes (uint32) - version? // "1" or "2"
4 bytes (uint32) - number of characters


//char array (33 bytes per entry)
num_of_chars *
{
   1 byte (char) - character // "A", "B", "C" etc.
   6 bytes - nulls

   1 byte (uint8) - Position X
   1 byte - unknown // "43"
   2 bytes - nulls

   1 byte - Position Y
   1 byte - unknown // "42"
   2 bytes - nulls


   1 byte (uint8) - width
   1 byte - unknown // "41"
   2 bytes - nulls

   1 byte (uint8) - height // min. height is half of the char
   1 byte - unknown // "42"
   1 byte (uint8) - character spacing from right
   3 bytes - nulls

   1 byte (uint8) - character spacing from left
   7 bytes - nulls
}

MultiEx BMS Script

Not written yet.

Notes and Comments

  • These "description" files contains data for viewing characters from game texts.
    They describe character properties.

Compatible Programs

None.