01-17-2012, 12:27 AM | #436 |
Groupie
Posts: 152
Karma: 772
Join Date: Mar 2008
Location: Perth, Western Australia
Device: Cybook Gen3
|
Hi Peter 1977, the GUI is just a batch builder app that sits on top of the Mobi2Mobi Perl tool. I have not made any significant changes to the GUI as the underlying tool has had no major updates for sometime. If you would like to see some changes made to Mobi2Mobi then I would recommend that you ask in the Mobiperl thread as the author of the tools frequents there more regularly. Feel free to grab the code to the GUI though and have a tinker. If you make any interesting mods let us all know here.
Cheers |
01-17-2012, 05:43 PM | #437 | |
Grand Sorcerer
Posts: 7,452
Karma: 7185064
Join Date: Oct 2007
Location: Linköpng, Sweden
Device: Kindle Voyage, Nexus 5, Kindle PW
|
Quote:
For example: --language fi and --language 0x000b should give the same result. I actually do not know what a dictionary option is. Also as you have noted the UTF8 support is non-existant (it actually packs the file in the wrong way). Calibre I think support utf8 for mobipocket generation. But this hould be irrelevant for mobi2mobi. |
|
01-18-2012, 11:24 PM | #438 | |
Junior Member
Posts: 5
Karma: 10
Join Date: Jan 2012
Device: Kindle Touch
|
Quote:
|
|
01-18-2012, 11:42 PM | #439 | |
Junior Member
Posts: 5
Karma: 10
Join Date: Jan 2012
Device: Kindle Touch
|
Quote:
dictionaryin/out is what im referring to. with the touch some dictionaries are appearing in the wrong list and you can no longer select which dictionary language to use only which one under a particular language this is now auto selected and based on the dictionaryin/out metadata . you can unpack a mobi file and change it in mobi pocket creator but the last one i tried failed to publish due to utf8 validity errors even without this problem it seems much easier to directly edit and save it through this gui interface. |
|
01-19-2012, 08:33 PM | #440 | |
Groupie
Posts: 152
Karma: 772
Join Date: Mar 2008
Location: Perth, Western Australia
Device: Cybook Gen3
|
Quote:
https://www.mobileread.com/forums/showthread.php?t=17718 The GUI is setup as per the codes configured in the underlying Mobi2Mobi tools code. Tompe the author has advised that you can directly modify the language using the appropriate HEX code. As you have noted the GUI is not configured to handle HEX code modification of the Language field. The GUI does have a save batch file option which you can use to make your other mods and output the batch file. You can then add the language flag that way. Alternatively you can grab the source code from page 1 of this thread and mod the GUI to add the option. If there is enough interest from other users I'll look at modifying the GUI. Note: Just as a heads up the language options in the GUI is based on the Language Map specified in the MobiHeader.pm file. Last edited by Jad; 01-19-2012 at 08:43 PM. |
|
02-20-2012, 05:27 PM | #441 |
Junior Member
Posts: 5
Karma: 10
Join Date: Jan 2012
Device: Kindle Touch
|
Dictionary Support
thanks very much for the update
|
02-24-2012, 02:48 PM | #442 |
Junior Member
Posts: 7
Karma: 2952
Join Date: Feb 2012
Device: Kindle Fire
|
Can this tool be used to quickly change the PDOC tag to EBOK on mobi files? If so, is there any advantage to using mobi2mobi instead of this Java tool https://www.mobileread.com/forums/sho...d.php?t=165729
I really would rather not take the time to convert my books in Calibre just to change the PDOC tags to EBOK.... seems like a waste of time and a way to potentially lose ebook data and formatting. |
02-24-2012, 08:12 PM | #443 | |
Grand Sorcerer
Posts: 27,550
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Quote:
|
|
02-24-2012, 09:11 PM | #444 | |
reader
Posts: 6,975
Karma: 5183568
Join Date: Mar 2006
Location: Mississippi, USA
Device: Kindle 3, Kobo Glo HD
|
Quote:
I just tried the Java Mobi Metadata Editor and it is very basic. The output filename is fixed, and to switch from PDOC to EBOK you have to delete the existing 501 and add a new one. It is very simple to use though, and it can also be used to check what the current value of exth 501 is. |
|
02-24-2012, 09:16 PM | #445 |
Junior Member
Posts: 7
Karma: 2952
Join Date: Feb 2012
Device: Kindle Fire
|
Thanks for the reply! I think I'll check both out to familiarize myself.
|
02-24-2012, 11:06 PM | #446 | |
Grand Sorcerer
Posts: 27,550
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Quote:
The problem is because of null characters (chr(0), \0... etc) that are present in the data stored in the various EXTH entries. Textboxes in Visual Basic are unable to display these null characters so as soon as one is encountered... it barfs and everything that comes after gets truncated. Easily fixable by replacing the null characters in the string that gets written to the textbox. Taking a look at the source, I was able to get it to work properly by modifying the string that gets returned by the BatchProcess function. Instead of: PHP Code:
PHP Code:
|
|
02-29-2012, 10:46 PM | #447 |
Groupie
Posts: 152
Karma: 772
Join Date: Mar 2008
Location: Perth, Western Australia
Device: Cybook Gen3
|
Never noticed there was a problem with the output before, mind you I never actually use it myself =8)
I'll modify the code in the near future to add this fix. Cheers DiapDealer for the fix. |
03-08-2012, 12:56 PM | #448 | |
Grand Sorcerer
Posts: 27,550
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Quote:
It's pretty hard to fix something when no one tells you it's broken. |
|
03-15-2012, 08:10 PM | #449 |
Groupie
Posts: 152
Karma: 772
Join Date: Mar 2008
Location: Perth, Western Australia
Device: Cybook Gen3
|
Updated GUI to v0.11 to address NULL character issue
Please find attached the updated GUI with the change from DiapDealer to address potential NULL characters truncating the Mobi2Mobi output to the GUI output textbox.
Could those experiencing this problem please give this version a try and confirm it fixes the problem for you. Excuse any typos as number 3 child is currently running sleep deprivation experiments on his Mother & I... |
03-25-2012, 07:49 AM | #450 |
Junior Member
Posts: 4
Karma: 10
Join Date: Mar 2012
Device: Kindle
|
Index was outside the bounds of the array
Hi,
Just installed mobiperl 0.0.43 + Mobi2Mobi_GUI v11 (+activepython +.net v4 client) in order to change some .mobi titles. There seem to be some strange issues. First of all, seemingly all files containing a cover image get error messages in the info field, e.g.: "FIRST IMG Record Id: 174 ERROR: Record 178 - Image data size definitely too large: 289188 ERROR: Record 180 - Image data size definitely too large: 267626 ERROR: Record 183 - Image data size definitely too large: 223086 ..." etc. I guess this message comes from mobi2mobi.exe. Do you know if it is normal? Secondly and more importantly, I find that on some .mobi files, I get an unhandled exception "Index was outside the bounds of the array". The exception text is: "System.IndexOutOfRangeException: Index was outside the bounds of the array. at WindowsApplication1.progbOpenFile.UpdateBookFields (String datapath, Boolean open) in C:\Users\Developer\Desktop\Mobi2Mobi_GUI\Mobi2Mobi _GUI_v11\Mobi2Mobi_GUI\Form1.vb:line 615 at WindowsApplication1.progbOpenFile.btnOpenFile_Clic k(Object sender, EventArgs e) in C:\Users\Developer\Desktop\Mobi2Mobi_GUI\Mobi2Mobi _GUI_v11\Mobi2Mobi_GUI\Form1.vb:line 439 at System.Windows.Forms.Control.OnClick(EventArgs e) at System.Windows.Forms.Button.OnClick(EventArgs e) at System.Windows.Forms.Button.OnMouseUp(MouseEventAr gs mevent) at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.ButtonBase.WndProc(Message& m) at System.Windows.Forms.Button.WndProc(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)" I can send you an offending .mobi if it would be of help. |
Tags |
mobi2mobi |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Mobiperl Mobiperl - Perl tools for handling MobiPocket files | tompe | Kindle Formats | 890 | 01-17-2021 06:16 PM |
Problem updating metadata (using mobi2mobi command line and gui) | whitearrow | Kindle Formats | 3 | 12-05-2009 07:07 PM |
Mobi2mobi GUI has died again/New version? | AlexBell | Kindle Formats | 8 | 12-10-2008 08:13 PM |
Mobi2Mobi Mobi2Mobi GUI Cover Art Help? | huskies4all | Kindle Formats | 7 | 09-04-2008 11:31 AM |
I seem to have killed Mobi2Mobi gui | AlexBell | Kindle Formats | 8 | 09-02-2008 01:54 AM |