![]() |
2008-04-16
, 20:28
|
Posts: 3 |
Thanked: 0 times |
Joined on Apr 2008
|
#32
|
Some MobiPocket files are .mobi and others (probably most) are .prc. There is no consistent difference in the contents of the files, and a file can be renamed from one extension to the other without effecting it. If your files are .prc, simply replace one or both of the .mobi's in the command line with .prc's.
![]() |
2008-04-16
, 21:16
|
Posts: 1,950 |
Thanked: 1,174 times |
Joined on Jan 2008
@ Seattle, USA
|
#33
|
Please help. I do not really know anything about Python. I followed all directions, loaded an interpreter, compiled the script (MobiDeDRM.py 0.02), then run the module as instructed: mobidedrm infile.prc outfile.prc PID
Which I took to mean: mobidedrm ogre.prc ogre.prc PID where "ogre.prc" is the name of the file I want to "clean up".
I have also tried naming them differently. I tried changing the extensions to mobi. I keep getting the same 3 line response:
File "<stdin>", line 1
mobidedrm ogre.prc ogre.prc PID
^
SyntaxError: invalid syntax
![]() |
2008-04-16
, 21:51
|
Posts: 3 |
Thanked: 0 times |
Joined on Apr 2008
|
#34
|
![]() |
2008-04-16
, 22:07
|
Posts: 1,950 |
Thanked: 1,174 times |
Joined on Jan 2008
@ Seattle, USA
|
#35
|
Just the three letters PID. Didn't know it should be something else?!?
I am on XP professional running Python 2.52 from the command prompt.
![]() |
2008-04-17
, 15:01
|
Posts: 3 |
Thanked: 0 times |
Joined on Apr 2008
|
#36
|
![]() |
2008-04-17
, 15:14
|
Posts: 1,950 |
Thanked: 1,174 times |
Joined on Jan 2008
@ Seattle, USA
|
#37
|
![]() |
2008-06-11
, 13:05
|
Posts: 1 |
Thanked: 0 times |
Joined on Jun 2008
|
#38
|
Weeeelllll, such a goodie I found for you today:
google "pastebin mobidedrm", you will want both versions 0.01 & 0.02 as not all files work in both scripts. It does not change the format of the file only strips out the DRM so you can use it on a device like the NIT's in Fbreader which does not support DRM'd ebooks. I mean I still have to buy the books but it sure makes all my old content easy to move over to the tablet too.
I am not sure the specific reason but apparently these scripts are kosher and not breaking the rules due to them not using any copyrighted code. So now Mobi format files are as open as .LIT format.
There is also a script to explode the HTML of your mobi format files so you can then run something to convert them for use on the Sony.
Much discussion has been going on over on Mobilereader (in the lounge) about these scripts...
I tested both versions of the scripts on my tablet and they work directly on the tablet. If you get a "string index out of range" error try the other script version.
Slow as heck on the tablet but that is compared to a 2.2Ghz dual-core laptop. Maybe 2-mins to open up a 900k book. Still that's not awful really.
![]() |
2008-07-11
, 20:54
|
Posts: 1 |
Thanked: 0 times |
Joined on Jul 2008
|
#39
|
![]() |
2009-02-17
, 20:46
|
Posts: 1 |
Thanked: 0 times |
Joined on Feb 2009
|
#40
|
Anyway i will try now this http://users.softlab.ece.ntua.gr/~tt...iaOffline.html which really looks promising.