Quote:
Originally Posted by LittleBeard
|
Finally in front of an actual PC.
- I don't actually use the standard "Unpack AZW3" option. Instead, I do the ff:
- Select all AZW3 files I want to process
- Use "KF8 to ePub..." option in KindleUnpack (adds the EPUB for all selected books with AZW3 format directly to the library)
- Save to disk -> Save single format to disk... -> EPUB (I use a flat structure as Save to disk template for saving to the kindlegen folder)
- Sorry, I don't use Kindle Previewer so can't help with that.
Tested this and it works for converting a bunch of EPUBs in the same folder. Make sure kindlegen.exe is either in the same folder as your EPUB files or in Windows' PATH (still on Win7 so dunno how to add this on Win10).
Code:
Command:
forfiles /m *.epub /c "cmd /c kindlegen.exe <options> @file"
Options:
-c0 No compression
-c1 Standard DOC compression (fast: default)
-c2 Huffdic compression (smallest file sizes but very slow)
-dont_append_source Don't include the EPUB source file in the MOBI output
- Yep. Dual-format in this case means you have two formats inside that single MOBI file: KF6 (old MOBI) and KF8 (AZW3). That's part of the reason the file sizes are so big. In your case, the generated file also includes the original EPUB input so that's actually 3 files: KF6, KF8 and EPUB.
Here are the results for some compression tests I previously did for kindlegen if you wish to slim those down.
Code:
EPUB source
~700 KB: 1.78 MB uncompressed, ~275,000 words, 65KB cover image
forfiles /m *.epub /c "cmd /c kindlegen.exe -c1 @file"
2.73 MB, 2-3 seconds processing time on Core i5-3450S 2.80 GHz
forfiles /m *.epub /c "cmd /c kindlegen.exe -c1 -dont_append_source @file"
2.05 MB, 2-3 seconds
forfiles /m *.epub /c "cmd /c kindlegen.exe -c2 @file"
2.04 MB, 1 minute 28 seconds
forfiles /m *.epub /c "cmd /c kindlegen.exe -c2 -dont_append_source @file"
1.36 MB, 1 minute 28 seconds
By the way, I just tested this on my devices.
- Created annotations on an unregistered PW3.
- Copied the sidecar files from PW3 to a registered PW4 (with WhisperSync enabled and already had a copy of the AZW3 ebook/doc from Kindle cloud archive)
- Renamed azw3r/f files to add the user id.
- Fiddled with annotations on PW4 (select annotation, move the end marker a little and immediately return it to its original position)
- Closed ebook and manually ran sync.
- Checked on registered PW2 and Kindle for iOS (iPad) and the annotations I fiddled with were uploaded.
Note, you do need to fiddle with every single annotation to get it uploaded. Since the highlights are off by a bit, fixing them by hand on the Kindle would upload all the annotations you've fixed.
Conversion and upload of dual MOBI is pretty simple so if I were you, I'd just do that first followed by copy/rename of the old sidecar files. Then just fix/upload the highlights at leisure.