12-25-2008, 05:00 AM | #16 |
Resident Curmudgeon
Posts: 73,645
Karma: 127838196
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Would it be ok to post a link to the changes as long as the changes were posted someplace else?
|
12-30-2008, 07:28 AM | #17 |
eBook Enthusiast
Posts: 85,544
Karma: 93383043
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
|
Yes, that would be fine.
|
Advert | |
|
01-10-2009, 10:28 AM | #18 |
Enthusiast
Posts: 44
Karma: 100
Join Date: Oct 2007
Device: Nook Simple Touch, HTC Desire
|
I'm using version 0.05 and have successfully stripped many files. However I have one that it doesn’t work with; I get a message saying “Invalid file format”. This file is readable using Mobipocket software, and Calibre recognises it as a valid mobi file. Any ideas on how I can investigate further to solve the problem?
Cheers Wayne |
01-10-2009, 10:50 AM | #19 |
reader
Posts: 6,975
Karma: 5183568
Join Date: Mar 2006
Location: Mississippi, USA
Device: Kindle 3, Kobo Glo HD
|
This should only happen if the file does not have "BOOKMOBI" starting at byte 61, see Wiki: PDB. This should be the case for all recent MOBI's, but very early ones used to have "TEXtREAd" (i.e. they pretended to be PalmDOC ebooks).
Use a text editor to see what your ebook contains. If it has "TEXtREAd", did you download it recently? I am surprised no one has come across a "TEXtREAd" with DRM before now if they exist. EDIT: My guess is that this ebook has "TEXtREAd", but it is not encrypted. So you don't need mobidedrm at all. Last edited by wallcraft; 01-10-2009 at 10:55 AM. |
01-10-2009, 02:11 PM | #20 |
Enthusiast
Posts: 44
Karma: 100
Join Date: Oct 2007
Device: Nook Simple Touch, HTC Desire
|
You're right, the file format is "TEXtREAd", but it's also encrypted according to Calibre. I commented out the check in mobidedrm to ignore the header, but then I got the error message "invalid encryption type: 1" - the script is expecting the crypto_type to be 2. I tried commenting out this check, but then the script fails later on somewhere in the unpack method. To me, it looks as if a different encryption algorithm is being used.
I only purchased this book a couple of days ago; it was purchased directly from the publisher. -Wayne |
Advert | |
|
01-10-2009, 04:22 PM | #21 |
reader
Posts: 6,975
Karma: 5183568
Join Date: Mar 2006
Location: Mississippi, USA
Device: Kindle 3, Kobo Glo HD
|
|
01-11-2009, 08:22 PM | #22 |
Enthusiast
Posts: 44
Karma: 100
Join Date: Oct 2007
Device: Nook Simple Touch, HTC Desire
|
I'm sorry, I can't do that as I don't have Windows, and I can't seem to get that info from the Palm MobiPocket reader or from the Cybook. Is there anything else I can do?
Last edited by wmaurer; 01-11-2009 at 09:04 PM. |
01-12-2009, 10:00 PM | #23 |
Ebook Addict
Posts: 225
Karma: 2136
Join Date: Jul 2003
Location: Appleton, Wisconsin, USA
Device: Kindle Paperwhite Signature Edition
|
I've read thru thread after thread, installed python, copied so many scripts I'm blue in the face and no matter what I've tried I've never gotten past "Bad Key Length!" I guess I won't fret too much as I haven't purchased that many Mobi DRM'd books.
I'm giving up totally on anything except MS LIT which has a system I've actually managed to use. |
01-13-2009, 05:40 PM | #24 | |
Enthusiast
Posts: 44
Karma: 100
Join Date: Oct 2007
Device: Nook Simple Touch, HTC Desire
|
Quote:
Your help is appreciated. -Wayne |
|
01-13-2009, 05:47 PM | #25 | |
Grand Sorcerer
Posts: 7,452
Karma: 7185064
Join Date: Oct 2007
Location: Linköpng, Sweden
Device: Kindle Voyage, Nexus 5, Kindle PW
|
Quote:
Code:
EXTH doctype: EXTH EXTH length: 48 EXTH n_items: 2 EXTH item: 2 - drm_commerce_id - 15 - MOBIPOCKET_0123 EXTH item: 3 - drm_ebookbase_book_id - 5 - 19122 LONGTITLE: Concise Oxford English Dictionary |
|
01-13-2009, 09:42 PM | #26 | |
Enthusiast
Posts: 44
Karma: 100
Join Date: Oct 2007
Device: Nook Simple Touch, HTC Desire
|
[CODE]
Quote:
Code:
Version: 0 Type: TEXt Creator: REAd Seed: 0 Resdb: AppInfoDirty: ctime: -1968466898 - Fri Aug 16 12:38:22 1907 mtime: -1968466898 - Fri Aug 16 12:38:22 1907 baktime: -2082844800 - Thu Dec 31 17:00:00 1903 --------------------------------------------------- FIRST IMG Record Id: 7307629 WARNING: Record 7307820 - Image data size might be too large: 62718 --------------------------------------------------- Image record index: 365 (90 x 140) START IMAGE INDEX: 365 COVER IMAGE INDEX: 365 PDHEADER Version: 2 PDHEADER Length: 745441 PDHEADER NRecords: 364 PDHEADER Recsize: 2048 PDHEADER Unknown: 69220 LASTID: 7307878 ----------------- Thanks -Wayne |
|
02-16-2009, 11:34 PM | #27 | |
Zealot
Posts: 120
Karma: 567
Join Date: Feb 2009
Device: nook color
|
Quote:
I am in the same boat. I can't seem to get past the "Bad Key Length!" problem either. I have run MobiDeDRM 01, 02, and 05 with no luck. Any ideas? |
|
02-17-2009, 12:14 AM | #28 |
You kids get off my lawn!
Posts: 4,220
Karma: 73492664
Join Date: Aug 2007
Location: Columbus, Ohio
Device: Oasis 2 and Libra H2O and half a dozen older models I can't let go of
|
I'm not sure this is a related issue, but do you have more than one Mobi device registered for your ebooks? For example, do you have your desk top computer, a PDA, and a Cybook installed (just as an example - don't have to be exact combination!) You might try one of the other device's PIDs in that case.
The other thing I regularly "hiccup" on is that you either must have a filename (and new filename) with no spaces in it, or you have to put the filename in quotes. So using Code:
mobidederm05 Old Filename New Filename PIDnumber Instead, it should be Code:
mobidederm05 OldFilename NewFilename PIDnumber or mobidedrm05 "Old Filename" "New Filename" PIDnumber |
02-17-2009, 01:10 AM | #29 | |
Junior Member
Posts: 5
Karma: 10
Join Date: Sep 2003
Location: Singapore
Device: Sony PRS-505
|
Quote:
|
|
02-17-2009, 12:22 PM | #30 |
Zealot
Posts: 120
Karma: 567
Join Date: Feb 2009
Device: nook color
|
|
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Seriously thoughtful Problems with latest IE8 patch? | HarryT | Lounge | 11 | 12-12-2009 04:34 PM |
help with mobidedrm | bobcdy | Kindle Formats | 5 | 06-29-2009 03:00 PM |
MobiDeDRM | jabberwock_11 | Kindle Formats | 13 | 12-17-2008 05:33 PM |
How to use Mobidedrm | larlissm | Sony Reader | 15 | 10-05-2008 05:15 PM |