Question about KindleGen.

User avatar
david_macrae
Posts: 18
Joined: Thu Feb 01, 2018 4:15 pm
Platform: Mac + iOS
Contact:

Tue Feb 12, 2019 8:18 am Post

Scrivener uses KindleGen when compiling to mobi. I noticed KindleGen has not been updated since 2014 and appears to be a 32 bit unix executable. I was wondering if the software engineers here have heard anything from amazon about if and when they plan on updating it?

User avatar
KB
Site Admin
Posts: 20730
Joined: Tue Jun 13, 2006 11:23 pm
Platform: Mac
Location: Truro, Cornwall
Contact:

Tue Feb 12, 2019 9:30 pm Post

I'm afraid not, no. If Amazon do phase it out, I expect you'll simply need to use ePub instead (you can already upload ePubs via KDP).

All the best,
Keith
"You can't waltz in here, use my toaster, and start spouting universal truths without qualification."

User avatar
Silverdragon
Posts: 1479
Joined: Mon Jul 29, 2013 2:52 pm
Platform: Mac + iOS
Location: Tarzana, California, USA
Contact:

Tue Feb 12, 2019 10:31 pm Post

David, I share your concern regarding KindleGen. FWIW, I've already had success uploading an epub 3 to Amazon, using the "optimize for Kindle conversion" option. I was able to use Kindle Previewer with the epub, and use the output from previewer to check how my book worked with the iOS and Mac Kindle apps. My uploaded book looks fine in "Look Inside" as well.
screenshot_2019-02-12_14_21_29.jpg
screenshot_2019-02-12_14_21_29.jpg (119.63 KiB) Viewed 7538 times
  • Fiction-writer curled up on her TP hoard.
  • Mac Scrivener 3.1.5, MacBook Air 11, MacOS 10.15.6 (Catalina)
  • IOS Scrivener 1.2.1; iPhone 8+, iPad 6; i(Pad)OS 13.6
  • Website: https://silverdrag0n.wordpress.com

User avatar
david_macrae
Posts: 18
Joined: Thu Feb 01, 2018 4:15 pm
Platform: Mac + iOS
Contact:

Wed Feb 13, 2019 3:52 pm Post

Thanks,

I will try that, but I also think I might just freeze my mac like a production machine without anymore updates (at least for a while). I have every working exactly the way I want it to.

i can't imagine they will leave it though. I noticed they finally updated the kindle for mac app to 64 bit.

User avatar
david_macrae
Posts: 18
Joined: Thu Feb 01, 2018 4:15 pm
Platform: Mac + iOS
Contact:

Thu Feb 14, 2019 1:38 pm Post

There actually is a 64 bit version it is distributed with kindle previewer 3

the location is here: /Applications/Kindle\ Previewer\ 3.app/Contents/MacOS/lib/fc/bin/kindlegen

when i ran a file command on it the result was: Mach-O 64-bit executable x86_64

Amazon probably just never got around to updating the download link page

User avatar
Silverdragon
Posts: 1479
Joined: Mon Jul 29, 2013 2:52 pm
Platform: Mac + iOS
Location: Tarzana, California, USA
Contact:

Thu Feb 14, 2019 5:45 pm Post

Good grief! :shock: Thanks for that link!
  • Fiction-writer curled up on her TP hoard.
  • Mac Scrivener 3.1.5, MacBook Air 11, MacOS 10.15.6 (Catalina)
  • IOS Scrivener 1.2.1; iPhone 8+, iPad 6; i(Pad)OS 13.6
  • Website: https://silverdrag0n.wordpress.com

User avatar
david_macrae
Posts: 18
Joined: Thu Feb 01, 2018 4:15 pm
Platform: Mac + iOS
Contact:

Thu Feb 14, 2019 6:08 pm Post

You're welcome.

I should add that I went in the application folder and control clicked on the kindle previewer 3 app then clicked on show package contents and browsed to the file location so I could copy it and move it somewhere else to use with Scrivener.

Hy
Hydester
Posts: 12
Joined: Thu Nov 22, 2018 4:52 pm
Platform: Mac
Location: London
Contact:

Thu Feb 21, 2019 7:14 pm Post

Hi

Thanks for this

Have located the 64bit version of kindlegen and simply overwritten the 32bit one in the folder KindleGen_Mac_i386_v2_9

Should this do the trick?

Seems to work, but was wondering if I needed to do anything else.

With thanks in anticipation

Stephen

User avatar
david_macrae
Posts: 18
Joined: Thu Feb 01, 2018 4:15 pm
Platform: Mac + iOS
Contact:

Sat Feb 23, 2019 2:14 pm Post

I would just put it in the same location and then inside Scrivener point it to the new file. The name of the executables are different and it could be confusing to rename the 64 bit executable . The i386 designation is for 32 bit programs while x86_64 represents 64 bit. That being said it will work either way.

Hy
Hydester
Posts: 12
Joined: Thu Nov 22, 2018 4:52 pm
Platform: Mac
Location: London
Contact:

Tue Feb 26, 2019 8:43 am Post

Perfect. Many thanks for your help.

Best wishes

Stephen
______________________

User avatar
KB
Site Admin
Posts: 20730
Joined: Tue Jun 13, 2006 11:23 pm
Platform: Mac
Location: Truro, Cornwall
Contact:

Wed May 01, 2019 4:00 pm Post

david_macrae wrote:There actually is a 64 bit version it is distributed with kindle previewer 3

the location is here: /Applications/Kindle\ Previewer\ 3.app/Contents/MacOS/lib/fc/bin/kindlegen

when i ran a file command on it the result was: Mach-O 64-bit executable x86_64

Amazon probably just never got around to updating the download link page


This is a great find, and I've used it for the next update - I've made it so that if you have Kindle Previewer installed, Scrivener looks for KindleGen inside that, and only requires a separate installation of KindleGen if it cannot be found (or cannot be used for some reason) inside Kindle Previewer. Thanks!
"You can't waltz in here, use my toaster, and start spouting universal truths without qualification."

ba
bakari45
Posts: 6
Joined: Wed Mar 16, 2011 5:08 pm
Platform: Mac

Thu May 02, 2019 11:32 pm Post

Hi, I’m new to Scrivener compiling. The link in Scrivener to the Kindle Gen file page is not there any more. I see the link above in other posts, but that’s not taking me to place to download the file. Can someone help find what I need to install in order to output to a Kindle document in Scrivener. Really appreciate the help. Thanks.

Jo
JoRo
Posts: 828
Joined: Sat May 26, 2018 6:40 am
Platform: Mac

Fri May 03, 2019 6:45 am Post


Fj
Fjunillon
Posts: 9
Joined: Wed Oct 31, 2018 12:37 pm
Platform: Mac

Tue Oct 15, 2019 4:08 am Post

whaou, you save me a lot of time, great discover, easy to do ! thanks a lot David & KB :D

no
norse2
Posts: 1
Joined: Wed Apr 17, 2019 10:38 pm
Platform: Mac

Sat Nov 02, 2019 7:01 pm Post

I upgraded to Catalina (Mac Os 10.15) without giving a thought to KindleGen and ran into this error message:

"KindleGen failed to generate a .mobi file at the expected location."

Several searches on the error message failed to give me a solution. Then I just searched on KindleGen and found your solution, Installing Kindle Previewer 3 did the trick. Thank you for the solution. Hopefully with the error message posted here others will find it faster than I did.