aspose.info
EN

LRF File Format - A Sony Portable Reader File

Updated

What is an LRF file?

A file with .lrf extension is a Broad Band eBook (BBeB)file that contains data for a Sony BBeB, including text, images and pagination data. The file is saved in a compressed binary format which contains a header, a specified number of objects, and an object index. LRF and LRX files enclose the two BBeB book formats available. The LRF files are not encrypted and can be compiled from LRX files. The LRF files can be converted from several other file types including PDF and HTML. If your computer cannot open the LRF file, then you probably do not have the software installed to open or edit the LRF files. Programs that can open LRF files are Caliber, BookDesigner, Makelrf and Canon Book Creator for Windows, Caliber for Linux, Caliber, and Sony Reader for Macintosh.

Brief History

LRF file type is first and foremost associated with Line Rider by inXile entertainment. The Line Rider is an internet physics toy and was invented in September 2006 by a Slovenian university student, Boštjan Čadež. Sony brand eBook eReaders (such as Sony PRS-500 readers and Sony Librie) utilize the LRF file extension for their documents and texts. This proprietary file type is now obsolete, as well as the related LRS and LRX files. Those three file types made up the BroadBand eBook (BBeB) which was discontinued in 2010 when Sony began selling their ebooks in the EPUB format.

LRF File Format

Detailed specifications of LRF file format are available at web archive. An LRF file consists of:

  • a header
  • a number of objects
  • an object index.

All these values are in Intel (LSB first) order.

LRF 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 byte 48
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

References

See also