![]() |
#1 |
Member
![]() Posts: 24
Karma: 10
Join Date: Jan 2008
Device: Sony Reader 505
|
Mobidedrm - How the heck do you use it??
I PM'd several people who seemed to know, but they didn't so somebody who knows how please tell me how.
I installed ActivePython 2.5.2.2 and have all the Mobidedrm scripts in text files. Now how the hell do I actually go about using this crap to get the damn DRM off my Mobipocket book? This stuff don't come with instructions clear enough for a layman to follow through. And for those who will jump up and down about copyright, I bought this ebook as I couldn't find it in any easier format to rip to LRF. All I need this MobideDRM thing to do is get rid of the DRM so I can convert it myself. So someone please just give some clear info. |
![]() |
![]() |
![]() |
#2 |
reader
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,977
Karma: 5183568
Join Date: Mar 2006
Location: Mississippi, USA
Device: Kindle 3, Kobo Glo HD
|
In answer to the general question of how to get a python script working, the first thing is that it should have extension .py. Then see How to make Igor's script work and/or The Idiot's Guide to running Igorsk's Python Scripts. Igor's kindlefix.py is a bit simpler than the typical format shifting scripts (fewer arguments), but any well written script is likely to give you an informative usage statement if called with no arguments. Sometimes arguments need to be in quotes, and the Windows cmd shell will complete a filename if you type a few characters and hit <tab> (and it will add quotes if necessary). If the shell gives you the wrong filename the command line can be edited with arrow keys and backspace.
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Member
![]() Posts: 24
Karma: 10
Join Date: Jan 2008
Device: Sony Reader 505
|
Thanks for the response, I will try that. But I really need to convert a .prc file to anything else (html, .lit, .lrf) with ultimate purpose of ultimately converting into .LRF for the sony reader. But what I am confused about is the scripts I have for Mobidedrm are in text format with all the commands in there. Will this still be able to work?
Sorry if my tone in the initial post is flippy, but this is the most frustrating thing especially since the ebook I got is worthless to me if I can't convert it. ![]() Last edited by reeder; 05-09-2008 at 11:53 PM. |
![]() |
![]() |
![]() |
#4 |
reader
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,977
Karma: 5183568
Join Date: Mar 2006
Location: Mississippi, USA
Device: Kindle 3, Kobo Glo HD
|
Python scripts are text files containing Python source code, which is run using the Python interpreter (the .py extension is one way for Windows to detect that the script should be run using the Python interpreter). Once you have a DRM-free MOBI file, then mobi2lrf (another Python script, part of calibre, which was formally known as libprs500) is one way to convert it. See Question about libprs500 and DRM-PRC files.... If you have calibre installed, mobi2lrf (not mobi2lrf.py) will be in your "path" and can be run from a command window in any directory.
|
![]() |
![]() |
![]() |
#5 |
Member
![]() Posts: 24
Karma: 10
Join Date: Jan 2008
Device: Sony Reader 505
|
Eureka!!!
Extremely big THANK YOU to you, Wallcraft!!! I am repping you and give you karma if I can. And I publicly state here that you have been the most helpful person to my situation in this whole forum with all your great resource links that explained how to do this extremely frustrating (for newbies) process step by step so even I could understand. You just made a worthless purchase usable to me as I can now read my purchase on my Reader (the format from the conversion has made the text have some misspellings and spacing issues here and there, but that's normal the course with ebooks, isn't it?). Once again, big thank you to you, Mr. Wallcraft!!! ![]() ![]() ![]() |
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Junior Member
![]() Posts: 4
Karma: 40
Join Date: Jul 2008
Location: Whangaparaoa, Hibiscus Coast NZ
Device: Sony Reader PRS 505
|
Nice to see that someone else remembers the old Murray teleprinter code :-)
|
![]() |
![]() |
![]() |
#7 |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 447
Karma: 5365
Join Date: Dec 2007
Location: Sin City
Device: PW2 + HDX 8.9
|
Ok I have mobidedrm and I ran it like this:
mobidedrm infile.prc outfile.prc PID I tried the Kindle's PID (for the heck of it since the Mobipocket PID didn't work) and I also tried Mobipocket's PC PID. I then took that file and used it on processText's Amber Palm Converter, and the resulting files are scrambled. I used a perl script and it says it has Huff compression or something like that. Which leads me to believe it's not DRMing. Help? Thanks! ![]() |
![]() |
![]() |
![]() |
#8 | |
reader
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,977
Karma: 5183568
Join Date: Mar 2006
Location: Mississippi, USA
Device: Kindle 3, Kobo Glo HD
|
Quote:
If you want to "explode" a DRM-free MOBI (e.g. the result of mobidedrm), I recommend the python command mobi2oeb which comes with Calibre. If you have Calibre installed, then you should be able to invoke mobi2oeb from the command line. Its primary advantage is that it handles both compression levels. An "OEB" ebook is HTML, images, and a .opf file (just as you get from exploding a LIT ebook using ConvertLIT). Unless the MOBI is already in its own directory, you should give mobi2oeb a directory name (e.g. Author_Title) to hold the output: Code:
mobi2oeb -o Author_Title Author_Title.mobi |
|
![]() |
![]() |
![]() |
#9 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,184
Karma: 32196
Join Date: Jan 2007
Location: Anchorage, AK
Device: Sony Reader PRS-505, PRS-650, PRS-T3, Pocketbook HD2
|
Quote:
are your files stored in the C: directory? I had to move everything into that directory because originally mine was in the My Documents and for some reason it wouldn't work. Um also, I'm not sure if you checked this but in the command prompt you also need to be at C: in XP my command prompt had me starting at My Documents and I had to move down a few directories. |
|
![]() |
![]() |
![]() |
#10 | |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 447
Karma: 5365
Join Date: Dec 2007
Location: Sin City
Device: PW2 + HDX 8.9
|
Quote:
IT WORKED BEAUTIFULLY!!! THANKS!!!! ![]() ![]() ![]() |
|
![]() |
![]() |
![]() |
#11 |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 447
Karma: 5365
Join Date: Dec 2007
Location: Sin City
Device: PW2 + HDX 8.9
|
Well, now that I think about it, after stripping drm there really isn't a need to convert, is there? The Kindle will read them just like that?
I converted five without a problem but two gave me this error message: Line 24 something about getsizeoftrailingdata entried and index out of range. What could be going on with those? Thanks again! ![]() |
![]() |
![]() |
![]() |
#12 |
reader
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,977
Karma: 5183568
Join Date: Mar 2006
Location: Mississippi, USA
Device: Kindle 3, Kobo Glo HD
|
|
![]() |
![]() |
![]() |
#13 |
reader
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,977
Karma: 5183568
Join Date: Mar 2006
Location: Mississippi, USA
Device: Kindle 3, Kobo Glo HD
|
There were originally two version of mobidedrm and sometimes only one of the two works. There is a 4th version that is supposed to work on all files, see New Patches to MobiDeDRM 0.02.
|
![]() |
![]() |
![]() |
#14 |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 447
Karma: 5365
Join Date: Dec 2007
Location: Sin City
Device: PW2 + HDX 8.9
|
Thanks, they both converted! I was only able to make 3 of the four changes:
if size <= 0: My script didn't have that, so I couldn't make the first change. Still it worked! ![]() My script was .02. |
![]() |
![]() |
![]() |
#15 |
The Grand Mouse 高貴的老鼠
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 73,699
Karma: 315126578
Join Date: Jul 2007
Location: Norfolk, England
Device: Kindle Oasis
|
The first change is to add two lines (one of which is the if size <= 0 line) after the line bitpos, result = 0,0
So it's not surprising you couldn't find if size <= 0 in the script. Do make the change - otherwise there are some Mobipocket fies it won't work with. Paul |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
What the heck? | Dena | Kobo Reader | 9 | 09-27-2010 07:27 PM |
why the heck would you upgrade? | ThomasC | Amazon Kindle | 30 | 08-07-2010 06:44 PM |
Kindle4PC - where the heck is it loaded? | Sydney's Mom | Amazon Kindle | 10 | 06-11-2010 12:54 PM |
Who the heck is Michele L?? | GraceKrispy | Lounge | 36 | 06-04-2010 03:43 AM |
So where the heck is the Sony Reader's new firmware?!? | maggotb0y | Sony Reader | 107 | 08-01-2008 06:28 PM |