Difference between revisions of "Telara.db"

From The Ghar Station Wiki
Jump to: navigation, search
(Created page with "== telara.db == '''telara.db''' is an encrypted SQLite3 database stored within the RIFT Assets and consists of 3 tables, only 2 are used by us. === dataset === Contain...")
 
Line 15: Line 15:
  
 
This table contains 2 columns, "datasetId" and "frequencies" and contains the 1024 byte Huffman table frequencies to build a [https://rosettacode.org/wiki/Huffman_coding Huffman tree] to decompress the dataset entries.
 
This table contains 2 columns, "datasetId" and "frequencies" and contains the 1024 byte Huffman table frequencies to build a [https://rosettacode.org/wiki/Huffman_coding Huffman tree] to decompress the dataset entries.
 +
 +
The exact algorithm to build the tree is unknown at this time.

Revision as of 15:43, 13 April 2017

telara.db

telara.db is an encrypted SQLite3 database stored within the RIFT Assets and consists of 3 tables, only 2 are used by us.


dataset

Contains 6 columns. The most useful are "datasetID", "datasetKey" and "value". The ID and Key together point to a unique entry. Most of the entries are COMPRESSED and have to be decompressed to be read.

Each entry starts with a LEB128 to indicate decompressed size, followed by compressed DAT_Format data.


dataset_compression

This table contains 2 columns, "datasetId" and "frequencies" and contains the 1024 byte Huffman table frequencies to build a Huffman tree to decompress the dataset entries.

The exact algorithm to build the tree is unknown at this time.