pencat

从明天起,关心粮食和蔬菜。我有一所房子,面朝大海,春暖花开

« file formatHistory of LRF format »

Lrf file format

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/meaning Example value
0 8 LRF Signature 4C 00 52 00 46 00 00 00 = "LRF" in Unicode
8 2 version? 999 in most files
A 2 "Psuedo-Encryption" key byte 48
0C 4 RootObjectID 0x0044
10 8 NumberOfObjects 342
18 8 ObjectIndexOffset 0x00093440
20 4 unknown 0
24 1 Flags (16 - back to front, 1 = front to back) 16
25 1 unknown (padding?) 0
26 2 unknown 1600
28 2 unknown (padding?) 0
2A 2 Height? 600
2C 2 Width? 800
2E 1 unknown 24
2F 1 unknown (padding?) 0
30 0x14 unknown zeroes
44 4 Object ID of only PlaneStream (0x1E) object 0x0042
48 4 unknown 0x1536
4C 2 XMLCompSize 0x035C

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

4E 2 unknown 0x0014
50 4 GifSize 0x03F2

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/meaning Example value
00 4 id 0x32
04 4 offset 0x07B0
08 4 size 0x44
0C 4 reserved? 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)

  • 相关文章:

发表评论:

◎欢迎参与讨论,请在这里发表您的看法、交流您的观点。

日历

最新评论及回复

最近发表

Powered By Z-Blog 1.8 Devo Build 80201

Copyright © 1998-2007 bigcomic.com All rights reserved.