![]() |
#151 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,686
Karma: 874275
Join Date: Nov 2008
Location: Virginia Beach, VA
Device: Kindle DX
|
Quote:
![]() |
|
![]() |
![]() |
![]() |
#152 | |
Xtreme Quijote
![]() ![]() ![]() Posts: 101
Karma: 208
Join Date: Sep 2008
Location: La Mancha, Spain
Device: Sony PRS-505
|
Quote:
Meantime you can use this: http://rapidshare.com/files/21048476...9.196.jar.html |
|
![]() |
![]() |
![]() |
#153 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,686
Karma: 874275
Join Date: Nov 2008
Location: Virginia Beach, VA
Device: Kindle DX
|
I dont know why but the Mac is a little funny like that sometimes lol.
|
![]() |
![]() |
![]() |
#154 | |
Hey Trashcan Man
![]() ![]() ![]() ![]() ![]() ![]() Posts: 66
Karma: 658
Join Date: Jan 2008
Location: So Cal
Device: Nook color, prs 505, Axim x30, psp, Acer Aspire One [running xp]
|
Quote:
java -Xms200M -Xmx300M -jar LRFTools.jar convertLRF c:\eBooks -EPUB I can now take the epub to Calibre and add my cover. That's really all I wanted was to have covers on my lrfs. ![]() ![]() |
|
![]() |
![]() |
![]() |
#155 | |
Hey Trashcan Man
![]() ![]() ![]() ![]() ![]() ![]() Posts: 66
Karma: 658
Join Date: Jan 2008
Location: So Cal
Device: Nook color, prs 505, Axim x30, psp, Acer Aspire One [running xp]
|
Quote:
![]() I've got a couple of blackmask.com books and I keep getting this error. java.lang.OutOfMemoryError: Java heap space I've googled it and have tried to adjust the heap space both in the control panel java app and in a command prompt. I've also tried changing the command values, but the books still refuse to convert. I have success with about 70% of the lrfs I've tried so I know I have it set up to work. Has anyone else ran into this error and if so, were you able to convert the book to any other format. I just want to add a cover so I've been converting to epub. I then edit the epub in calibre, add a cover and convert back to lrf. Last edited by RandallFlagg; 03-24-2009 at 09:28 PM. Reason: question |
|
![]() |
![]() |
![]() |
#156 |
Groupie
![]() ![]() Posts: 159
Karma: 170
Join Date: Feb 2009
Device: PRS-505
|
Hi,
by reading this thread i am guessing we need to install java vm to have this working as it wasn t very clear in the instructions! Anyway seems like a very interesting project! Had just a few scanned lrf to convert to epup, this just hits the spot thanks ![]() |
![]() |
![]() |
![]() |
#157 |
Xtreme Quijote
![]() ![]() ![]() Posts: 101
Karma: 208
Join Date: Sep 2008
Location: La Mancha, Spain
Device: Sony PRS-505
|
|
![]() |
![]() |
![]() |
#158 |
Hey Trashcan Man
![]() ![]() ![]() ![]() ![]() ![]() Posts: 66
Karma: 658
Join Date: Jan 2008
Location: So Cal
Device: Nook color, prs 505, Axim x30, psp, Acer Aspire One [running xp]
|
|
![]() |
![]() |
![]() |
#159 |
Xtreme Quijote
![]() ![]() ![]() Posts: 101
Karma: 208
Join Date: Sep 2008
Location: La Mancha, Spain
Device: Sony PRS-505
|
This is a well-known bug for me. Some streams inside book are scrambled and compressed, most of them we can handle. But some fails to decompress.
I cannot find any system, program or similar able to show, transform or handle in general these books (except Sony software of course). Sorry, but (for now) i cannot correct this... till now! I've implemented a brute-force descrambling (well, only 256 posibilities of key is not so brute-force) These books now works (for text, I'll try images next weekend) I'm uploading v0.9.200 to google right now with this change. Last edited by elinares; 03-30-2009 at 12:39 PM. Reason: New version |
![]() |
![]() |
![]() |
#160 |
Xtreme Quijote
![]() ![]() ![]() Posts: 101
Karma: 208
Join Date: Sep 2008
Location: La Mancha, Spain
Device: Sony PRS-505
|
New Version v0.9.200
New version v0.9.200
Please see first post. Enjoy, Eladio |
![]() |
![]() |
![]() |
#161 |
Hey Trashcan Man
![]() ![]() ![]() ![]() ![]() ![]() Posts: 66
Karma: 658
Join Date: Jan 2008
Location: So Cal
Device: Nook color, prs 505, Axim x30, psp, Acer Aspire One [running xp]
|
Thanks, I going now to try it out.
|
![]() |
![]() |
![]() |
#162 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,442
Karma: 300001
Join Date: Sep 2006
Location: Belgium
Device: PRS-500/505/700, Kindle, Cybook Gen3, Words Gear
|
Quote:
AFAIK you just need to check the object type and stream length. See here: http://www.sven.de/librie/Librie/Psu...on?action=diff |
|
![]() |
![]() |
![]() |
#163 | |
Xtreme Quijote
![]() ![]() ![]() Posts: 101
Karma: 208
Join Date: Sep 2008
Location: La Mancha, Spain
Device: Sony PRS-505
|
Quote:
I'm going to pm you the books. The following code Code:
BYTE keybyte; declen = LengthOfStream keybyte = (declen % PsuedoEncryptionKeyByte) + 0x0F; if ((type == 0x11)||(type == 0x19)||(type == 0x17)) { if (declen > 0x400) declen = 0x400; } for (i = 0; i < declen; i++) { *(p + i) ^= keybyte; } |
|
![]() |
![]() |
![]() |
#164 | |
Junior Member
![]() Posts: 3
Karma: 10
Join Date: Mar 2009
Device: Sony PRS-505
|
Hello! I'm trying out the PDF2EPUB conversion and I get the following error. Any suggestions?
Quote:
|
|
![]() |
![]() |
![]() |
#165 |
Hey Trashcan Man
![]() ![]() ![]() ![]() ![]() ![]() Posts: 66
Karma: 658
Join Date: Jan 2008
Location: So Cal
Device: Nook color, prs 505, Axim x30, psp, Acer Aspire One [running xp]
|
I tried out your fix and it was able to convert lrf to epub. I was able to add a cover via Calibre. Unfortunately all the text was pushed together, no idents or paragraphs. Also the fonts change size throughout the book and line spacing isn't consistant.
![]() ![]() ![]() |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
A real PDF to epub/djvu/rtf/html software?. | DsOft | ePub | 35 | 01-02-2011 03:57 PM |
PRS-700 Unable to convert pdf to other formats (epub/rtf/doc) | testndtv | Sony Reader | 1 | 09-24-2010 01:45 PM |
How to create non-embedded Unicode EPUB,LRF,TXT,RTF,PDF | alexmobile | Sony Reader | 1 | 09-23-2009 10:04 PM |
Calibre PDF conversions - LRF/EPUB vs RTF | jackie_w | Calibre | 14 | 09-22-2009 03:06 PM |
[Old Thread] unable to convert ebooks(rtf, txt,lit,html,pdf) to lrf in calibre .4.131 | jackdeth191 | Calibre | 9 | 05-02-2009 02:55 AM |