Home > Librie > LrfFormat
LrfFormat

Some information is available in emails from the Yahoo! Librie group [1] [2] [3].

A LRF file consists of a header, a number of objects and an object index. All values are in Intel (LSB first) order.

Header

Offset (hex)Size(bytes)Name/meaningExample value
08LRF Signature4C 00 52 00 46 00 00 00 = "LRF" in Unicode
82version?999 in most files
A2"Psuedo-Encryption" key byte48
0C4RootObjectID0x0044
108NumberOfObjects342
188ObjectIndexOffset0x00093440
204unknown0
241Flags (16 - back to front, 1 = front to back)16
251unknown (padding?)0
262unknown1600
282unknown (padding?)0
2A2Height?600
2C2Width?800
2E1unknown24
2F1unknown (padding?)0
300x14unknownzeroes
444Object ID of only PlaneStream (0x1E) object0x0042
484unknown0x1536
4C2XMLCompSize0x035C

Next two fields are only present if version>=800.

4E2unknown0x0014
504GifSize0x03F2

Immediately follows the compressed XML metainfo, of size XMLCompSize. First dword of it is the size of uncompressed data, the rest is zlib compressed unicode XML.

If version>=800, the gif thumbnail follows, of size GifSize.

Object index

Offset to the index is specified by the ObjectIndexOffset in the header, and number of entries is NumberOfObjects.

Each index entry has the following layout:

Offset (hex)Size(bytes)Name/meaningExample value
004id0x32
044offset0x07B0
084size0x44
0C4reserved?0

Objects

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