Home > Librie > MgrTabFormat
MgrTabFormat

The MgrTbl.dat File


When LRF files are transferred onto a memory stick using the LIBRIe Reader software, a certain file structure is created. Part of this structure is the MgrTbl.dat file (located in the /mssony/librie/booklist directory on the memory stick). This file acts as a list of the books contained on the memory stick. Linux users can also create the MgrTbl.dat file using BookListGen[1]

Format of MgrTbl.dat File


The MgrTbl.dat file consists of individual records one after another (i.e. There is no header at the start of the file, and there is nothing inbetween the records). Each of the records describes a single LRF file.

Format of Record


Each record consists of a 33 byte header followed by data fields.

Header

The header describes the lengths of various fields in the record. It starts at offset 0x00 and is 33 bytes long. All values are in Intel (LSB first) order.

Offset (hex)Size(bytes)NameDescriptionExample value
0x002RecordLengthLength of the entire recordD8 06
0x022TitleLengthLength of the Title field0C 00
0x042unknownunknown00 00
0x062AuthorLengthLength of the Author field2C 00
0x082unknownunknown00 00
0x0A2MysteryBytes1Length?Length of MysteryBytes1?0A 00
0x0C2LocationLengthLength of the LRF location27 00
0x0E2GIFDataLengthLength of the GIF thumbnail dataFA 05
0x102unknownunknown60 00
0x1215unknownunknown (padding?)zeros

Data Fields

After the header, the following data fields are found, starting at offset 0x21:

NameSize (bytes)FormatDescriptionExample value
ID32UTF-16The ID of the bookTESTBOOKID000004
CreationDate15ASCIIThe creation date of the book2004-10-26
TitleOffset 0x02 in headerUTF-16The title of the bookThe Lost World
AuthorOffset 0x06 in headerUTF-16The author of the bookSir Arthur Conan Doyle
MysteryBytes1?Offset 0x0A in headerUTF-16unknownAleph
LocationOffset 0x0C in headerASCIILocation of LRF file (preceded by a:)a:/EBOOK/BBEB/TESTBOOKID000004.lrf
MysteryBytes221unknownBinarySee Below
GIFDataOffset 0x0E in headerBinaryGIF thumbnail image dataN/A

In the sample file MysteryBytes2 was set to the following:

C0 25 0D 00 00 00 00 00 3D 55 81 41 00 00 01 00 00 00 00 00 14

The meaning of this sequence has yet to be determined.

[http://buycialis.cc(approve sites) buy cialis online] [http://buycialis.cc(approve sites) buy cialis] http://buycialis.cc buy cialis online(approve sites)