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 02-10-2008, 06:54 PM   #31
DaleDe
Grand Sorcerer
DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.
 
DaleDe's Avatar
 
Posts: 11,470
Karma: 13095790
Join Date: Aug 2007
Location: Grass Valley, CA
Device: EB 1150, EZ Reader, Literati, iPad 2 & Air 2, iPhone 7
Quote:
Originally Posted by wallcraft View Post
The mobidedrm tool does seem to allow Kindle AZW e-books to be read by MobiPocket Reader software and (all) MOBI e-books to be read on the Kindle.

However, it may not allow format shifting because the MOBI "exploder" mobi2html does not work on files that use "Mobipocket hufdif compression" (mobigen -c2). Most DRM-free MOBI files use simple compression, but it is unknown what fraction of DRM-laden files use hufdif.

It would probably be ok for mobi2html to add support for hufdif (particularly since there are some DRM-free MOBIs using it), but first someone has to work out how to decompress such files.
There are plenty of people including the author of FBReader that would like to have the answer to that question.

Dale
DaleDe is offline   Reply With Quote
Old 02-11-2008, 03:03 AM   #32
HarryT
eBook Enthusiast
HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.
 
HarryT's Avatar
 
Posts: 85,544
Karma: 93383043
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
Has anyone tried asking Mobi for a specification of the compression format?
HarryT is offline   Reply With Quote
Advert
Old 02-11-2008, 03:07 AM   #33
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,857
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
I'd guess it would be some kind of huffman code, since that's optimal for data on which you have a good prior. See http://en.wikipedia.org/wiki/Huffman_coding
kovidgoyal is offline   Reply With Quote
Old 02-11-2008, 03:53 AM   #34
darkninja
Member
darkninja will become famous soon enoughdarkninja will become famous soon enoughdarkninja will become famous soon enoughdarkninja will become famous soon enoughdarkninja will become famous soon enoughdarkninja will become famous soon enough
 
Posts: 12
Karma: 636
Join Date: Feb 2008
Device: none
Mobipocket HuffDic compression

If someone can provide me with mobipocket files that use the HuffDic compression scheme, I could attempt to write a decoder, assuming the compression format isn't too complicated and/or it would take too much time to figure out how it works.
darkninja is offline   Reply With Quote
Old 02-11-2008, 04:02 AM   #35
Jaapjan
Avid reader
Jaapjan doesn't litterJaapjan doesn't litter
 
Jaapjan's Avatar
 
Posts: 262
Karma: 132
Join Date: Mar 2005
Location: The Netherlands
Device: HTC Touch Diamond, iLiad Book Edition
If you want to do such a thing then the easiest thing you can do is to get the free mobipocket creator from their website, generate a miniature book and compress it with various kinds including the c2 option so you can check how it proceeds from raw uncompressed to compressed state. Really, all you need you can download for free already.
Jaapjan is offline   Reply With Quote
Advert
Old 02-11-2008, 06:43 AM   #36
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 HarryT View Post
Has anyone tried asking Mobi for a specification of the compression format?
It was asked in

http://www.mobipocket.com/forum/view...=decompressing

by DMcCunney but no answer.
tompe is offline   Reply With Quote
Old 02-11-2008, 10:43 AM   #37
DMcCunney
New York Editor
DMcCunney ought to be getting tired of karma fortunes by now.DMcCunney ought to be getting tired of karma fortunes by now.DMcCunney ought to be getting tired of karma fortunes by now.DMcCunney ought to be getting tired of karma fortunes by now.DMcCunney ought to be getting tired of karma fortunes by now.DMcCunney ought to be getting tired of karma fortunes by now.DMcCunney ought to be getting tired of karma fortunes by now.DMcCunney ought to be getting tired of karma fortunes by now.DMcCunney ought to be getting tired of karma fortunes by now.DMcCunney ought to be getting tired of karma fortunes by now.DMcCunney ought to be getting tired of karma fortunes by now.
 
DMcCunney's Avatar
 
Posts: 6,384
Karma: 16540415
Join Date: Aug 2007
Device: PalmTX, Pocket eDGe, Alcatel Fierce 4, RCA Viking Pro 10, Nexus 7
Quote:
Originally Posted by HarryT View Post
Has anyone tried asking Mobi for a specification of the compression format?
Yes, on their Creator forum. As expected, no response.
______
Dennis
DMcCunney is offline   Reply With Quote
Old 02-11-2008, 10:46 AM   #38
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 DMcCunney View Post
Yes, on their Creator forum. As expected, no response.
______
Dennis
I wonder why they could not have responded with just "No"?
tompe is offline   Reply With Quote
Old 02-11-2008, 06:05 PM   #39
TallMomof2
Kindlephilia
TallMomof2 ought to be getting tired of karma fortunes by now.TallMomof2 ought to be getting tired of karma fortunes by now.TallMomof2 ought to be getting tired of karma fortunes by now.TallMomof2 ought to be getting tired of karma fortunes by now.TallMomof2 ought to be getting tired of karma fortunes by now.TallMomof2 ought to be getting tired of karma fortunes by now.TallMomof2 ought to be getting tired of karma fortunes by now.TallMomof2 ought to be getting tired of karma fortunes by now.TallMomof2 ought to be getting tired of karma fortunes by now.TallMomof2 ought to be getting tired of karma fortunes by now.TallMomof2 ought to be getting tired of karma fortunes by now.
 
TallMomof2's Avatar
 
Posts: 2,017
Karma: 1139255
Join Date: Nov 2007
Location: Snowpacolypse 2010
Device: Too many to count
Thank-you, DarkNinja for liberating my DRMed books! Even with the flu I feel like dancing!
TallMomof2 is offline   Reply With Quote
Old 02-12-2008, 12:35 PM   #40
darkninja
Member
darkninja will become famous soon enoughdarkninja will become famous soon enoughdarkninja will become famous soon enoughdarkninja will become famous soon enoughdarkninja will become famous soon enoughdarkninja will become famous soon enough
 
Posts: 12
Karma: 636
Join Date: Feb 2008
Device: none
I wrote a decompressor for the new huffdic compressed files. Maybe this code can be incorporated into mobiperl?

Note. This program does not break any DRM encryption, so it's not illegal. It just decompresses files compressed with the new compression into a raw html file.

Thanks to Igor Skochinsky for the valuable assistance.

http://pastebin.com/m656dfbda

Last edited by darkninja; 02-12-2008 at 05:51 PM.
darkninja is offline   Reply With Quote
Old 02-12-2008, 01:41 PM   #41
llasram
Reticulator of Tharn
llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.
 
llasram's Avatar
 
Posts: 618
Karma: 400000
Join Date: Jan 2007
Location: EST
Device: Sony PRS-505
Quote:
Originally Posted by darkninja View Post
I wrote a decompressor for the new huffdic compressed files.
Nice! However for the one from-the-wild compressed mobipocket book I have the trailing data-entries size calculation is obviously spurious (e.g. values like 251929435 bytes), which results in significant quantities of clipped text. Any chance you could take a second look at your algorithm / post details of how you derived the algorithm you do have?
llasram is offline   Reply With Quote
Old 02-12-2008, 09:15 PM   #42
joewandy
Enthusiast
joewandy began at the beginning.
 
Posts: 37
Karma: 11
Join Date: Jun 2007
Quote:
Originally Posted by TallMomof2 View Post
Thank-you, DarkNinja for liberating my DRMed books! Even with the flu I feel like dancing!
Thanks from me too

Ironically for MobiPocket, this development would just result in more business from me as I would be less hesitant in buying more buying more Mobi books from now on.
joewandy is offline   Reply With Quote
Old 02-13-2008, 12:31 PM   #43
darkninja
Member
darkninja will become famous soon enoughdarkninja will become famous soon enoughdarkninja will become famous soon enoughdarkninja will become famous soon enoughdarkninja will become famous soon enoughdarkninja will become famous soon enough
 
Posts: 12
Karma: 636
Join Date: Feb 2008
Device: none
I made a blog!

http://darkreverser.wordpress.com/

Here you can read about my reversing!
darkninja is offline   Reply With Quote
Old 02-13-2008, 01:01 PM   #44
badgoodDeb
Grand Sorcerer
badgoodDeb ought to be getting tired of karma fortunes by now.badgoodDeb ought to be getting tired of karma fortunes by now.badgoodDeb ought to be getting tired of karma fortunes by now.badgoodDeb ought to be getting tired of karma fortunes by now.badgoodDeb ought to be getting tired of karma fortunes by now.badgoodDeb ought to be getting tired of karma fortunes by now.badgoodDeb ought to be getting tired of karma fortunes by now.badgoodDeb ought to be getting tired of karma fortunes by now.badgoodDeb ought to be getting tired of karma fortunes by now.badgoodDeb ought to be getting tired of karma fortunes by now.badgoodDeb ought to be getting tired of karma fortunes by now.
 
badgoodDeb's Avatar
 
Posts: 8,501
Karma: 64095689
Join Date: Jan 2008
Location: Harrisburg outskirts
Device: Palms, K1-4s, iPads, iPhones, KV, KO1
Oooo - I see on your blog that you've also got an eReader to html converter. THAT one I'll have to go try! I have a *bunch* of eReader books, that I haven't all read yet and want to read on my Kindle.
badgoodDeb is offline   Reply With Quote
Old 02-13-2008, 04:45 PM   #45
mores
Guru
mores knows the air-speed velocity of an unladen swallow.mores knows the air-speed velocity of an unladen swallow.mores knows the air-speed velocity of an unladen swallow.mores knows the air-speed velocity of an unladen swallow.mores knows the air-speed velocity of an unladen swallow.mores knows the air-speed velocity of an unladen swallow.mores knows the air-speed velocity of an unladen swallow.mores knows the air-speed velocity of an unladen swallow.mores knows the air-speed velocity of an unladen swallow.mores knows the air-speed velocity of an unladen swallow.mores knows the air-speed velocity of an unladen swallow.
 
mores's Avatar
 
Posts: 834
Karma: 102419
Join Date: Sep 2007
Location: Vienna, Austria
Device: iPhone
hmmmmmm ... what about protected eReader books?
There's a book I *really* want to read, but it's only available in pbook or eReader format. Could I buy it from eReader and then convert it to html? *ohpleaseohpleaseohplease*

EDIT: as I can see in another thread, your tool will do just that! excellent!

Last edited by mores; 02-13-2008 at 04:55 PM.
mores 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 11:57 PM.


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