Telltale Games FONT: Difference between revisions

From XentaxWiki
Jump to navigation Jump to search
imported>Ikskoks
imported>Ikskoks
Line 58: Line 58:
num_of_images *
num_of_images *
{
{
  // image header
   4 bytes (uint32) - unknown  // 8
   4 bytes (uint32) - unknown  // 8
   4 bytes (uint32) - unknwon  // 8
   4 bytes (uint32) - unknwon  // 8

Revision as of 12:52, 8 May 2022

Back to index | Edit this page

FONT

  • Format Type : Font
  • Endian Order : Little Endian
  • Signature : VSM / 5VSM / 6VSM


Format Specifications

// Telltale's FONT file format (version 10)
// Based on font from "Batman: The Telltale Series"


// header
4 bytes (char) - signature // e.g. "5VSM"
4 bytes (uint32) - iamge data offset?
4 bytes (uint32) - nulls
4 bytes (uint32) - data size?
4 bytes (uint32) - font version  // e.g. 10 - Batman


// info table
120 bytes - unknown
4 bytes (uint32) - name+sizes length
4 bytes (uint32) - font name length
x bytes (char) - font name  // e.g. "Gotham Light_60"
1 byte (uint8) - check flag?
16 bytes - unknown
4 bytes(uint32) - coordinates table length
4 bytes (uint32) - number of entries in coordinates table


// coordinates table
num_of_entries *
{
   4 bytes (uint32) - symbol's utf-8 code  // e.g. 78 for "N" 
   4 bytes (uint32) - texture number  // usually 0 or 1
   4 bytes (uint32) - HZ / Channel
   4 bytes (uint32) - w_start
   4 bytes (uint32) - w_end
   4 bytes (uint32) - h_start
   4 bytes (uint32) - h_end
   4 bytes (uint32) - width
   4 bytes (uint32) - height
   4 bytes (uint32) - kern_left_side
   4 bytes (uint32) - to_top
   4 bytes (uint32) - width with kerning
}


// image info table
4 bytes (uint32) - image info length
4 bytes (uint32) - number of images

num_of_images *
{
   // image header
   4 bytes (uint32) - unknown  // 8
   4 bytes (uint32) - unknwon  // 8
   4 bytes (uint32) - unknown  // 273
   4 bytes (uint32) - unknown  // 8
   4 bytes (uint32) - platform  // 2 - PC
                                // 7, 9 - iOS
   4 bytes (uint32) - name+sizes length
   4 bytes (uint32) - font name  length
   x bytes (char) - font name  // e.g. "MenuBodyLarge.font"
   4 bytes (uint32) - name+sizes length 
   4 bytes (uint32) - original path length
   x bytes (char) - original path  // e.g. "C:/Program Files/Telltale Games/Telltale Tool/t3/Temp/Gotham Light_0.tga"
}

Notes and Comments

  • This file format occurs in games made by Telltale Games.

Games

List of games using this file format:

  • Batman: The Telltale Series (PC) (*.FONT) ("5VSM" signature, version 10)

QuickBMS Script

Not written yet.

Compatible Programs