Thread: PRS-500 HTML2LRF
View Single Post
Old 11-03-2006, 11:39 AM   #17
igorsk
Wizard
igorsk ought to be getting tired of karma fortunes by now.igorsk ought to be getting tired of karma fortunes by now.igorsk ought to be getting tired of karma fortunes by now.igorsk ought to be getting tired of karma fortunes by now.igorsk ought to be getting tired of karma fortunes by now.igorsk ought to be getting tired of karma fortunes by now.igorsk ought to be getting tired of karma fortunes by now.igorsk ought to be getting tired of karma fortunes by now.igorsk ought to be getting tired of karma fortunes by now.igorsk ought to be getting tired of karma fortunes by now.igorsk ought to be getting tired of karma fortunes by now.
 
Posts: 3,442
Karma: 300001
Join Date: Sep 2006
Location: Belgium
Device: PRS-500/505/700, Kindle, Cybook Gen3, Words Gear
Quote:
Originally Posted by porkupan
BTW, my attempts to decipher the DesignHorisontal.lrf with lrf2lrs were unsuccessful. The scripts unloads with the error message:
Traceback (most recent call last):
File "H:\boroda\HTML2LRF-0.1\bin\lrf2lrs.py", line 1506, in <module>
sys.exit(main(sys.argv[1:]))
File "H:\boroda\HTML2LRF-0.1\bin\lrf2lrs.py", line 1500, in main
out.write(h.toXml());
File "H:\boroda\HTML2LRF-0.1\bin\lrf2lrs.py", line 1480, in toXml
xml += o.toXml(self.objects)
File "H:\boroda\HTML2LRF-0.1\bin\lrf2lrs.py", line 498, in toXml
f = StringIO.StringIO(self.stream)
AttributeError: LRFHeader instance has no attribute 'stream'
Here's an updated version which can decompile it.
Also updated lrs2lrf which sets the specific scramble key (0xFE00) checked by LRFCreator.dll.
Attached Files
File Type: zip lrf2lrs_02.zip (12.3 KB, 761 views)
File Type: zip lrs2lrf_011.zip (178.7 KB, 764 views)
igorsk is offline   Reply With Quote