11-12-2013, 05:55 PM | #91 |
Sigil Developer
Posts: 7,506
Karma: 5433350
Join Date: Nov 2009
Device: many
|
Hi Paul,
I can go back and grab version 1.31 (which was the last time we just left in zero sized sections I think) and try and backport all of the changes since for fixing the issue when the srcs count is greater than 1 and setting the srcs to ffffffff and count to 0 and see if I can get it to work with his testcase. I don't have time this week but I should have some time next week to give it a try and I will post back here if I can get something to work. Take care, KevinH |
11-24-2013, 12:04 PM | #92 |
Groupie
Posts: 195
Karma: 42216
Join Date: Oct 2013
Location: Poland
Device: Kindles: KOA1, KV
|
Could you tell me where is version 1.31 available to download?
EDIT: Nevermind… Got it from this thread. Last edited by quiris; 11-24-2013 at 12:08 PM. |
Advert | |
|
11-26-2013, 04:09 PM | #93 |
Sigil Developer
Posts: 7,506
Karma: 5433350
Join Date: Nov 2009
Device: many
|
Experimental kindlestrip_v135alt.py
Hi,
I have taken the kindlestrip_v131.py source (the one that left the srcs sections in the main palm database but made each 0 length) and backported and cleaned up a number of things things from the 1.32 through 1.35 series in an attempt to make a source stripper that will work properly with the very latest Kindlegen (especially for devices that have HD images). So please download kindlestrip_v135alt.py.zip and let me know if that seems to fix your issue. If so, I will clean it up further and then adding proper paths and command line parsing to get full unicode compliance to make an official release Hope this does the trick. KevinH Last edited by KevinH; 12-04-2013 at 11:43 AM. |
11-26-2013, 04:23 PM | #94 |
KCC Co-Author
Posts: 845
Karma: 765434
Join Date: Mar 2013
Location: Poland
Device: Kindle Oasis 2
|
I never had any issues with striping MOBIs created by latest KindleGen and filled with HD graphics. So I can't really provide any feedback this time.
|
11-26-2013, 04:33 PM | #95 |
Sigil Developer
Posts: 7,506
Karma: 5433350
Join Date: Nov 2009
Device: many
|
Hi,
Only shows up with stripped (not split) mobis on Kindle Fire HD and similar devices. Here is the only testcase I have: (post 86 in this thread) https://www.mobileread.com/forums/sho...0&postcount=86 to see it try using Kindle Previewer (again the very latest) using the HD device setting. Kindlegen now adds in a second BOUNDARY section with container section that has placeholders for normal images and higher resolution images and its own EXTH section as well. See the latest DumpMobiHeader_v14 posted in this thread to see these new sections. KevinH Last edited by KevinH; 11-26-2013 at 04:43 PM. |
Advert | |
|
11-26-2013, 04:50 PM | #96 |
KCC Co-Author
Posts: 845
Karma: 765434
Join Date: Mar 2013
Location: Poland
Device: Kindle Oasis 2
|
Ah that would explain why I never encountered this problem. I don't use this type of image anchoring.
Nice work. Last edited by AcidWeb; 11-26-2013 at 05:04 PM. |
11-28-2013, 04:05 AM | #97 |
Groupie
Posts: 195
Karma: 42216
Join Date: Oct 2013
Location: Poland
Device: Kindles: KOA1, KV
|
|
11-28-2013, 10:29 AM | #98 |
Sigil Developer
Posts: 7,506
Karma: 5433350
Join Date: Nov 2009
Device: many
|
Hi,
Great, glad to hear it works. I will add in some utility routines to properly grab command line parameters as utf-8 to make everything unicode safe and post a 1.36 version later this week or early next when I have more time. Take care, KevinH |
12-02-2013, 05:50 PM | #99 |
Groupie
Posts: 195
Karma: 42216
Join Date: Oct 2013
Location: Poland
Device: Kindles: KOA1, KV
|
KevinH, I don't know if it is related to handling utf-8, but I am not able to unpack (with KindleUnpack 0.62) the stripped file with altered version of KindleStrip 1.35.
|
12-02-2013, 06:02 PM | #100 | |
Sigil Developer
Posts: 7,506
Karma: 5433350
Join Date: Nov 2009
Device: many
|
Quote:
Thanks for the bug report. KevinH |
|
12-03-2013, 03:08 PM | #101 |
Sigil Developer
Posts: 7,506
Karma: 5433350
Join Date: Nov 2009
Device: many
|
Hi,
The bug was in kindlestrip_v135alt.py as it hacked off the BOUNDARY section which immediately followed the SRCS sections by mistake (added one section too many in length). So hang on and don't use kindlestrip_v135alt.py until I get it fixed and get the command line unicode support added. Sorry about that. KevinH Last edited by KevinH; 12-04-2013 at 11:44 AM. |
12-03-2013, 04:15 PM | #102 |
Sigil Developer
Posts: 7,506
Karma: 5433350
Join Date: Nov 2009
Device: many
|
kindlestrip_v136.py
Hi,
I had some spare time and tracked down how best to fix the bug and added in the utf8 path routines so please try the attached version and make sure that it will now unpack properly with KindleUnpack and will work properly with your image test case problem. Hope this does the trick. KevinH |
12-04-2013, 02:03 AM | #103 |
Groupie
Posts: 195
Karma: 42216
Join Date: Oct 2013
Location: Poland
Device: Kindles: KOA1, KV
|
KevinH, thank you for a quick update
All tests perfomed by me using KindleStrip 1.36 with two different problematic Mobi files: 1) Stripped Mobi files have images placed in right places - OK 2) Stripped Mobi files are usable for unpack with KindleUnpack 0.62 - OK |
12-04-2013, 11:42 AM | #104 |
Sigil Developer
Posts: 7,506
Karma: 5433350
Join Date: Nov 2009
Device: many
|
Hi Quiris,
Glad to hear it. I had to change the command line interface to deal with the potential for multiple SRCS sections (adding a -d to the command line will dump copies of each SRCS section to the current working directory) and need to test all of that a bit more and then I think kindlestrip_v136.py will be ready for general release. I also have to talk to Paul (pdurrant) to see if the command line changes I made are compatible with his nice Applescript interface or if changes are needed to make things play well together. Thanks again for your testing and reporting back of bugs. KevinH |
12-06-2013, 08:58 AM | #105 | |
Groupie
Posts: 195
Karma: 42216
Join Date: Oct 2013
Location: Poland
Device: Kindles: KOA1, KV
|
Quote:
I am unable to find the info nowhere |
|
Tags |
k5 tools, mobi2mobi |
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Applescript Wrapper Application for Kindlegen | pdurrant | Kindle Formats | 50 | 02-18-2020 01:16 AM |
how to use python script with windows xp | tuufbiz1 | Other formats | 12 | 01-08-2011 08:22 AM |
How do I get a shortcut for a Python script onto the taskbar in W7? | Sydney's Mom | Workshop | 6 | 03-28-2010 08:11 PM |
Nedd a little help with a python script | gandor62 | Calibre | 1 | 08-07-2008 09:59 PM |
Python script to create collections | gwynevans | Sony Reader Dev Corner | 2 | 03-13-2008 12:29 PM |