Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Formats > Kindle Formats

Notices

Reply
 
Thread Tools Search this Thread
Old 03-25-2009, 11:30 AM   #271
karatchov
Junior Member
karatchov began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Mar 2009
Device: none
My 2 cents:
the best way to decompress a drm-free mobipocket ebook with hufdif compression is to use any2mobi that comes with caliber.
Just install caliber, and call any2mobi from any path:
any2mobi drm-free-ebook.prc
and you will get an uncompressed drm-free-ebook.mobi

if the resulting file is too big, you can try:
any2mobi --compress drm-free-ebook.prc
it will take more time, but you will get a smaller file that you can open of fbreader
karatchov is offline   Reply With Quote
Old 03-25-2009, 11:40 AM   #272
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 79,763
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by Marysart View Post
Yep, i noticed that, but renaming it did not work...I'm just not good in Windows. I had a mac before this and am now using Ubuntu.
Windows frustrates the hell out of me.
If you can use Linix, there's no reason the command line should not be easy to use (IMHO).
JSWolf is offline   Reply With Quote
Advert
Old 03-25-2009, 11:42 AM   #273
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 79,763
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by karatchov View Post
My 2 cents:
the best way to decompress a drm-free mobipocket ebook with hufdif compression is to use any2mobi that comes with caliber.
Just install caliber, and call any2mobi from any path:
any2mobi drm-free-ebook.prc
and you will get an uncompressed drm-free-ebook.mobi

if the resulting file is too big, you can try:
any2mobi --compress drm-free-ebook.prc
it will take more time, but you will get a smaller file that you can open of fbreader
Why not use mobi2oeb to expand a Mobipocket eBook?
JSWolf is offline   Reply With Quote
Old 03-25-2009, 11:58 AM   #274
Marysart
Member Retired
Marysart will become famous soon enoughMarysart will become famous soon enoughMarysart will become famous soon enoughMarysart will become famous soon enoughMarysart will become famous soon enoughMarysart will become famous soon enough
 
Posts: 69
Karma: 588
Join Date: Sep 2007
Location: Amsterdam
Device: none
Quote:
Originally Posted by JSWolf View Post
If you can use Linix, there's no reason the command line should not be easy to use (IMHO).
Well because of as per your own explanation, the automatic adding of invisible extension names for instance...If you don't now windows behaves like this it can cause a few hours of frustration. It did me.
Because like i explained, i am not really a windows user. Don't now that much about it.

The command lines in Linux and in windows aren't exactly the same, although the basic premise maybe is.
Marysart is offline   Reply With Quote
Old 03-25-2009, 06:35 PM   #275
tompe
Grand Sorcerer
tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.
 
Posts: 7,452
Karma: 7185064
Join Date: Oct 2007
Location: Linköpng, Sweden
Device: Kindle Voyage, Nexus 5, Kindle PW
Quote:
Originally Posted by Marysart View Post
Well because of as per your own explanation, the automatic adding of invisible extension names for instance...If you don't now windows behaves like this it can cause a few hours of frustration. It did me.
Because like i explained, i am not really a windows user. Don't now that much about it.

The command lines in Linux and in windows aren't exactly the same, although the basic premise maybe is.
As a Linux or Unix user you have to install Cygwin to get a properly working shell in Windows. Otherwise you will get hit by these differences you mention.
tompe is offline   Reply With Quote
Advert
Old 03-26-2009, 07:45 AM   #276
orwell2k
Addict
orwell2k can extract oil from cheeseorwell2k can extract oil from cheeseorwell2k can extract oil from cheeseorwell2k can extract oil from cheeseorwell2k can extract oil from cheeseorwell2k can extract oil from cheeseorwell2k can extract oil from cheeseorwell2k can extract oil from cheeseorwell2k can extract oil from cheese
 
orwell2k's Avatar
 
Posts: 357
Karma: 1112
Join Date: Oct 2008
Location: Euroland
Device: PocketBook 360°, BeBook (Hanlin V3), iRex DR1000S, iPad
Quote:
Originally Posted by JSWolf View Post
Why not use mobi2oeb to expand a Mobipocket eBook?
Also, why not use the Python script MobiHuff.py (v.0.03)?
orwell2k is offline   Reply With Quote
Old 03-26-2009, 08:22 AM   #277
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 79,763
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by orwell2k View Post
Also, why not use the Python script MobiHuff.py (v.0.03)?
Because mobi2oeb works better and is actively supported so if you find a problem, you can create a ticket for it to get fixed.
JSWolf is offline   Reply With Quote
Old 03-31-2009, 05:25 AM   #278
Jellby
frumious Bandersnatch
Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.
 
Jellby's Avatar
 
Posts: 7,549
Karma: 19500001
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
I downloaded the free sample of this dictionary. I tried opening it in FBReader and it said compression method not supported. Then I tried mobihuff.py and it said it's encrypted. Then I tried mobidedrm.py with igorsk's changes above and it said "invalid PID checksum" and created a 0-byte output file. I tried with versions 0.01, 0.02, 0.04 and 0.05 with no joy.

Is there any solution for decrypting this file? Note that it's a demo, I didn't give any PID to dowload it.
Jellby is offline   Reply With Quote
Old 03-31-2009, 05:56 AM   #279
pdurrant
The Grand Mouse 高貴的老鼠
pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.
 
pdurrant's Avatar
 
Posts: 73,955
Karma: 315160596
Join Date: Jul 2007
Location: Norfolk, England
Device: Kindle Oasis
It sounds like it's got that strange no-pid encryption applied, so that only genuine mobipocket software can read it.

There is a way to change the decoding script to remove this encoding - it's mentioned up here somewhere. Essentially you need to use the base number in the script, unmodified by a PID.

Quote:
Originally Posted by Jellby View Post
I downloaded the free sample of this dictionary. I tried opening it in FBReader and it said compression method not supported. Then I tried mobihuff.py and it said it's encrypted. Then I tried mobidedrm.py with igorsk's changes above and it said "invalid PID checksum" and created a 0-byte output file. I tried with versions 0.01, 0.02, 0.04 and 0.05 with no joy.

Is there any solution for decrypting this file? Note that it's a demo, I didn't give any PID to dowload it.
pdurrant is offline   Reply With Quote
Old 03-31-2009, 07:00 AM   #280
Jellby
frumious Bandersnatch
Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.
 
Jellby's Avatar
 
Posts: 7,549
Karma: 19500001
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
Quote:
Originally Posted by pdurrant View Post
It sounds like it's got that strange no-pid encryption applied, so that only genuine mobipocket software can read it.

There is a way to change the decoding script to remove this encoding - it's mentioned up here somewhere. Essentially you need to use the base number in the script, unmodified by a PID.
Yes, that's what I meant when I said "with igorsk's changes above". I modified the lines to read "temp_key = keyvec1" and the other one, and I did that with all the versions I mentioned, none of them worked. Did you tried it with this file?
Jellby is offline   Reply With Quote
Old 03-31-2009, 08:02 AM   #281
pdurrant
The Grand Mouse 高貴的老鼠
pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.
 
pdurrant's Avatar
 
Posts: 73,955
Karma: 315160596
Join Date: Jul 2007
Location: Norfolk, England
Device: Kindle Oasis
OK, I just tried it. It worked fine here. With the changes to the script, you do still need to enter a PID in the command line, it just doesn't get used.

Quote:
Originally Posted by Jellby View Post
Yes, that's what I meant when I said "with igorsk's changes above". I modified the lines to read "temp_key = keyvec1" and the other one, and I did that with all the versions I mentioned, none of them worked. Did you tried it with this file?
pdurrant is offline   Reply With Quote
Old 03-31-2009, 11:09 AM   #282
Jellby
frumious Bandersnatch
Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.
 
Jellby's Avatar
 
Posts: 7,549
Karma: 19500001
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
Quote:
Originally Posted by pdurrant View Post
OK, I just tried it. It worked fine here. With the changes to the script, you do still need to enter a PID in the command line, it just doesn't get used.
I must be doing something wrong then...

Just to make it clear, the changes are those in post #176? I've applied those changes to every version I have of the script and run it with:

$ python mobidedrm.py demo_DRAE.prc DRAE.prc 0000000000

(in a linux box, bash shell)
And all I get is:

MobiDeDrm v0.05. Copyright (c) 2008 The Dark Reverser
Error: invalid PID checksum

and a 0-byte DRAE.prc. So, either I'm doing something wrong, or there is something weird in my system, or I don't have the right version of mobidedrm. Could you send me yours by PM?
Jellby is offline   Reply With Quote
Old 03-31-2009, 11:10 AM   #283
pilotbob
Grand Sorcerer
pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.
 
pilotbob's Avatar
 
Posts: 19,832
Karma: 11844413
Join Date: Jan 2007
Location: Tampa, FL USA
Device: Kindle Touch
Quote:
Originally Posted by Jellby View Post
MobiDeDrm v0.05. Copyright (c) 2008 The Dark Reverser
Error: invalid PID checksum
I think you still have to provide a valid PID. It just isn't used.

BOb
pilotbob is offline   Reply With Quote
Old 03-31-2009, 11:12 AM   #284
pdurrant
The Grand Mouse 高貴的老鼠
pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.
 
pdurrant's Avatar
 
Posts: 73,955
Karma: 315160596
Join Date: Jul 2007
Location: Norfolk, England
Device: Kindle Oasis
Yes. Or tweak the python code a little more, which is left an an exercise for the reader.

Quote:
Originally Posted by pilotbob View Post
I think you still have to provide a valid PID. It just isn't used.

BOb
pdurrant is offline   Reply With Quote
Old 03-31-2009, 11:47 AM   #285
Jellby
frumious Bandersnatch
Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.
 
Jellby's Avatar
 
Posts: 7,549
Karma: 19500001
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
Quote:
Originally Posted by pilotbob View Post
I think you still have to provide a valid PID. It just isn't used.
Ah... so that's the trick... Yes, it seems to work now. I don't have my Cybook here now, so I couldn't check the PID, but I had entered it in the Fictionwise account

Now I get an error with mobihuff.py, but that's a different matter.
Jellby is offline   Reply With Quote
Reply

Tags
conversion, drm, formatting, mobipocket


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
New Epub/Mobipocket creation tool: Jutoh Julian Smart ePub 78 03-28-2014 07:28 AM
eReader Decoder Tool wallcraft Workshop 177 09-27-2009 08:46 PM
Secure Mobipocket Decoder ebookfab Kindle Formats 3 12-09-2008 08:50 PM
Secure Mobipocket Decoder v0.3 Aenea Kindle Formats 74 07-10-2008 09:57 AM
Secure Mobipocket Decoder is no more... Aenea Kindle Formats 26 04-12-2008 09:53 AM


All times are GMT -4. The time now is 07:05 PM.


MobileRead.com is a privately owned, operated and funded community.