04-09-2009, 11:31 AM | #736 |
The Grand Mouse 高貴的老鼠
Posts: 71,496
Karma: 306214458
Join Date: Jul 2007
Location: Norfolk, England
Device: Kindle Voyage
|
I took a look at the code, since tompe mentioned my name. I think that a mobipocket file with a MOBI header length of 0 is a bad mobipocket file.
The error message is because it's assumed that the header length is at least 0x74 bytes, and that line is trying to set a flag in the 71-74 bytes of the zero-length header. Whoops. Probably the code should be sanity checking the header length and failing more gracefully. Paul |
04-14-2009, 07:47 PM | #737 |
Fanatic
Posts: 551
Karma: 1121392
Join Date: May 2008
Location: USA
Device: HTC One M8
|
I hope this is the right place for this query...Can anyone direct me toward instructions for using the Windows executables for the Mobiperl tools? Something is going very very wrong when I try it on my WinXP system.
I downloaded and unzipped mobiperl-win-0.0.41.zip. When I click on mobi2html.exe, a window appears, shows a message (looks like usage description and list of options), and then vanishes before I can read it all. Dragging and dropping a non-DRM Mobipocket file from the Baen Free Library onto the mobi2html.exe icon also causes a window to appear with a different message (I saw the book title and author in there); that window also vanishes within a few seconds. No .html file appears. Do I need to install something else to make mobi2html work? |
Advert | |
|
04-14-2009, 08:31 PM | #738 |
Wizard
Posts: 3,442
Karma: 300001
Join Date: Sep 2006
Location: Belgium
Device: PRS-500/505/700, Kindle, Cybook Gen3, Words Gear
|
Open a command prompt (aka "DOS window") and run it from there.
|
04-15-2009, 07:52 AM | #739 |
Fanatic
Posts: 551
Karma: 1121392
Join Date: May 2008
Location: USA
Device: HTC One M8
|
A big thank you for the help! That works perfectly. (I should've thought of trying a command prompt... )
This tool is going to be incredibly useful, I can see. I usually download Baen books as .rtf, but the ones with pictures take forever over my dialup connection. Much quicker to get the .prc's and convert them. |
04-19-2009, 05:34 PM | #740 |
Junior Member
Posts: 3
Karma: 10
Join Date: Apr 2009
Device: BeBook
|
Hello,
I just tried to change some data in my .mobi files using mobi2mobi so that my BeBook displays the correct titles. It worked really fine, but there is one problem: German umlauts are not shown properly. Is there a way to enter those special characters in way they are accepted? Thanks in advance, Schulze |
Advert | |
|
04-19-2009, 06:03 PM | #741 | |
Grand Sorcerer
Posts: 7,452
Karma: 7185064
Join Date: Oct 2007
Location: Linköpng, Sweden
Device: Kindle Voyage, Nexus 5, Kindle PW
|
Quote:
I just tested on a Linux machine and using ISO 8859-1 it worked adding the title "Wåäö" with --title "Wåäö". |
|
04-20-2009, 01:57 AM | #742 |
Junior Member
Posts: 3
Karma: 10
Join Date: Apr 2009
Device: BeBook
|
Thank you for answering so quickly.
As a newbie, I need a little additional help: How do I use ISO 8859-1 for input? I found no help file or explanation to mobi2mobi, so perhaps you can give me a link or hint where I could learn the details about the tool. I am using mobi2mobi_GUI.exe under Windows XP. Thanks in advance. Schulze |
04-20-2009, 06:13 AM | #743 | |
Grand Sorcerer
Posts: 7,452
Karma: 7185064
Join Date: Oct 2007
Location: Linköpng, Sweden
Device: Kindle Voyage, Nexus 5, Kindle PW
|
Quote:
You can always just test to run mobi2mobi in a cmd window to see if this work or not. mobi2mobi documentation is here: https://dev.mobileread.com/dist/tomp...mobi2mobi.html |
|
04-25-2009, 06:27 AM | #744 |
Member
Posts: 11
Karma: 10
Join Date: Jun 2008
Device: Kindle 3, Samsung Galaxy SII
|
Hi. I have a problem with this tool that I haven't been able to fix. I take a prc file as input and modify the title and author name. When I open the file in my Iliad I only see the title not the author name. I've tried both ways (last,first - first last) but the problem persists. I've also tried to change the author name using the exth field, but nothing happens. Any help would be appreciated. Thanks.
|
04-25-2009, 07:05 AM | #745 | |
Grand Sorcerer
Posts: 7,452
Karma: 7185064
Join Date: Oct 2007
Location: Linköpng, Sweden
Device: Kindle Voyage, Nexus 5, Kindle PW
|
Quote:
|
|
05-01-2009, 05:23 AM | #746 |
Member
Posts: 11
Karma: 10
Join Date: Jun 2008
Device: Kindle 3, Samsung Galaxy SII
|
Well, I'm using the GUI, but I've found the solution. Like I said, after transfering the file to the Iliad I only see the title, but after opening it and closing, voila!. Now I see Title and Author. I've noted that this happens because upon opening the book the Iliad creates a directory containing files related to it.
Thanks, anyway. |
05-18-2009, 02:46 PM | #747 |
Fanatic
Posts: 527
Karma: 1048576
Join Date: May 2009
Device: bebook; prs-950; nook simple touch; HTC Jetstream tablet
|
problem with mobi2html.exe
Ok, I downloaded the mobiperl-win-0.0.41.zip, expanded it in a subdir. 'mobiperl', looked at the directions to use mobi2html.exe and tried it:
mobi2html.exe "Tarzan of the Apes.mobi" unpack --mobihtml also tried various different options in place of the --mobihtml. It provides an impressive list of what the script has done and every time I get a new file in the upack subdir named "Tarzan of the Apes. html". BUT the html file is always 1 kb in size and there is onlly a single short line of text in the file! What am I doing wrong? Please help! Bob |
05-18-2009, 06:10 PM | #748 | |
Grand Sorcerer
Posts: 19,832
Karma: 11844413
Join Date: Jan 2007
Location: Tampa, FL USA
Device: Kindle Touch
|
Quote:
BOb |
|
05-18-2009, 06:14 PM | #749 |
Grand Sorcerer
Posts: 7,452
Karma: 7185064
Join Date: Oct 2007
Location: Linköpng, Sweden
Device: Kindle Voyage, Nexus 5, Kindle PW
|
|
05-18-2009, 07:42 PM | #750 |
Resident Curmudgeon
Posts: 73,897
Karma: 128597114
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Or high compression
|
Tags |
mobi2mobi, mobils |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Mobi2Mobi Mobi2Mobi v0.13 - GUI for Mobiperl tools | Jad | Kindle Formats | 476 | 03-15-2015 05:51 PM |
Tools for Editing Kindle .mobi Files? | GJN | Kindle Formats | 33 | 12-26-2013 02:05 PM |
Handy Perl Script to convert HTML0 files to smartquotes | maggotb0y | Sony Reader | 0 | 04-12-2007 11:49 AM |
PRS-500 Perl tools to generate Reader content | TadW | Sony Reader Dev Corner | 0 | 01-08-2007 05:55 AM |
gmail copy (gmcp) - Perl script to copy files to/from Gmail | Colin Dunstan | Lounge | 0 | 09-04-2004 01:24 PM |