Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 08-04-2020, 09:34 PM   #961
jhowell
Wizard
jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.
 
jhowell's Avatar
 
Posts: 4,478
Karma: 44061161
Join Date: Nov 2011
Location: Tampa Bay, Florida
Device: Oasis 2, Fire, iPad Air 2, Nexus 7
Quote:
Originally Posted by thiago.eec View Post
What is the current status on importing KFX books newly downloaded from Amazon? I have all the latest plugins, calibre 4.22, and K4PC 1.24.3 (51068) but I can't add new books.
You should be able to import and convert books in KFX format as long as they are downloaded with K4PC version 1.26 or earlier and the latest DeDRM tools and KFX Input plugin are used. Make sure you remove and re-download books that may have been downloaded using a later version before import into calibre.

If DRM is not being removed you will need to ask for help at Apprentice Alf's Blog or Apprentice Harper's GitHub.

Quote:
Originally Posted by thiago.eec View Post
If I disable KFX, then I can add AZW3 (but many of them lacks the embedded fonts).
I haven't noticed any cases of AZW3 format being missing fonts that were included in KFX. If you have an example I would be interested in finding out more.

You are usually better off using AZW3 format as a source for conversion. The contents are closer to the original format provided to Amazon by the publisher when compared with KFX.
jhowell is offline   Reply With Quote
Old 08-04-2020, 11:05 PM   #962
thiago.eec
Fanatic
thiago.eec can grok the meaning of the universe.thiago.eec can grok the meaning of the universe.thiago.eec can grok the meaning of the universe.thiago.eec can grok the meaning of the universe.thiago.eec can grok the meaning of the universe.thiago.eec can grok the meaning of the universe.thiago.eec can grok the meaning of the universe.thiago.eec can grok the meaning of the universe.thiago.eec can grok the meaning of the universe.thiago.eec can grok the meaning of the universe.thiago.eec can grok the meaning of the universe.
 
Posts: 517
Karma: 155092
Join Date: Dec 2016
Location: Goiânia - Brazil
Device: iPad, Kindle Paperwhite
Quote:
Originally Posted by jhowell View Post
You should be able to import and convert books in KFX format as long as they are downloaded with K4PC version 1.26 or earlier and the latest DeDRM tools and KFX Input plugin are used. Make sure you remove and re-download books that may have been downloaded using a later version before import into calibre.
Ok. I'll try deregister, clean up, and reinstall.


Quote:
Originally Posted by jhowell View Post
I haven't noticed any cases of AZW3 format being missing fonts that were included in KFX. If you have an example I would be interested in finding out more.
It happens a lot here. Example attached (ASIN: B009M84ZXE).
Besides removing the font file, the AZW3 has its CSS like this:
Spoiler:

Code:
@font-face
{
font-family: "TemaCantante";
font-style: italic;
font-weight: normal;
src:url(XXXXXXXXXXXXXXXX);
}
@font-face
{
font-family: "AT Sackers Gothic";
font-style: normal;
font-weight: light;
src:url(XXXXXXXXXXXXXXXX);
}
@font-face
{
font-family: "Garamond Three";
font-style: normal;
font-weight: normal;
src:url(XXXXXXXXXXXXXXXX);
}
@font-face
{
font-family: "Garamond Three";
font-style: italic;
font-weight: normal;
src:url(XXXXXXXXXXXXXXXX);


The path for the font file is replaced by this X's. The font file is also not present.

Quote:
Originally Posted by jhowell View Post
You are usually better off using AZW3 format as a source for conversion. The contents are closer to the original format provided to Amazon by the publisher when compared with KFX.
Sure, AZW3 is a better format to keep (and edit/convert). KFX seems to have a terrible markup inside (as the converted EPUBs indicate).
Attached Thumbnails
Click image for larger version

Name:	KFX vs KF8.png
Views:	281
Size:	690.5 KB
ID:	181130   Click image for larger version

Name:	Editor.png
Views:	229
Size:	631.6 KB
ID:	181131  
thiago.eec is offline   Reply With Quote
Old 08-05-2020, 12:44 PM   #963
thiago.eec
Fanatic
thiago.eec can grok the meaning of the universe.thiago.eec can grok the meaning of the universe.thiago.eec can grok the meaning of the universe.thiago.eec can grok the meaning of the universe.thiago.eec can grok the meaning of the universe.thiago.eec can grok the meaning of the universe.thiago.eec can grok the meaning of the universe.thiago.eec can grok the meaning of the universe.thiago.eec can grok the meaning of the universe.thiago.eec can grok the meaning of the universe.thiago.eec can grok the meaning of the universe.
 
Posts: 517
Karma: 155092
Join Date: Dec 2016
Location: Goiânia - Brazil
Device: iPad, Kindle Paperwhite
Quote:
Originally Posted by jhowell View Post
You should be able to import and convert books in KFX format as long as they are downloaded with K4PC version 1.26 or earlier and the latest DeDRM tools and KFX Input plugin are used. Make sure you remove and re-download books that may have been downloaded using a later version before import into calibre.
Got it working again.
thiago.eec is offline   Reply With Quote
Old 08-05-2020, 01:49 PM   #964
jhowell
Wizard
jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.
 
jhowell's Avatar
 
Posts: 4,478
Karma: 44061161
Join Date: Nov 2011
Location: Tampa Bay, Florida
Device: Oasis 2, Fire, iPad Air 2, Nexus 7
Quote:
Originally Posted by thiago.eec View Post
It happens a lot here. Example attached (ASIN: B009M84ZXE). ... The path for the font file is replaced by this X's. The font file is also not present.
Thanks for the example. I took a look at the free sample for that book and I see the same thing. The KF8/AZW3 version is missing the fonts, but they are present in KFX format for the same book. Strange.

Quote:
Originally Posted by thiago.eec View Post
Got it working again.
Great.
jhowell is offline   Reply With Quote
Old 08-05-2020, 02:03 PM   #965
thiago.eec
Fanatic
thiago.eec can grok the meaning of the universe.thiago.eec can grok the meaning of the universe.thiago.eec can grok the meaning of the universe.thiago.eec can grok the meaning of the universe.thiago.eec can grok the meaning of the universe.thiago.eec can grok the meaning of the universe.thiago.eec can grok the meaning of the universe.thiago.eec can grok the meaning of the universe.thiago.eec can grok the meaning of the universe.thiago.eec can grok the meaning of the universe.thiago.eec can grok the meaning of the universe.
 
Posts: 517
Karma: 155092
Join Date: Dec 2016
Location: Goiânia - Brazil
Device: iPad, Kindle Paperwhite
Quote:
Originally Posted by jhowell View Post
Thanks for the example. I took a look at the free sample for that book and I see the same thing. The KF8/AZW3 version is missing the fonts, but they are present in KFX format for the same book. Strange.
I don't know if this is something particular to the Brazilian store, but this seems to happen in about 3 out 10 books.
thiago.eec is offline   Reply With Quote
Old 08-09-2020, 11:42 PM   #966
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 13,442
Karma: 65505905
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Forma, Clara HD, Nexus 7 HD, iPad Pro, Tolino epos
Quote:
Originally Posted by jhowell View Post
I modified your .cmd file to not require a separate .reg file and to poll the registry and patch the value once Kindle for PC has set it. That should make it work more quickly on fast systems and prevent it from failing on slow systems.

The file is attached for testing. Unzip and run. (On some systems you may need to unblock it by right clicking, selecting Properties and then in the dialog checking Unblock then OK.)

Spoiler:
Code:
reg delete "HKEY_CURRENT_USER\SOFTWARE\Amazon\Kindle\User Settings" /v "isKRFDRendererSupported" /f
start %LOCALAPPDATA%\Amazon\Kindle\application\kindle.exe
:repeat
timeout 1
reg query "HKEY_CURRENT_USER\SOFTWARE\Amazon\Kindle\User Settings" /v "isKRFDRendererSupported"
if ERRORLEVEL 1 goto :repeat
reg add "HKEY_CURRENT_USER\SOFTWARE\Amazon\Kindle\User Settings" /v "isKRFDRendererSupported" /t REG_SZ /d "false" /f
In response to a PM from a user who has a space in her user name, I modified the cmd file to add a "" and "s around the command line that runs kindle.exe. Without the blank "", Windows treated the command line as the title.

Spoiler:
Code:
@echo off
rem delete the registy key controlling KFX downloads

reg delete "HKEY_CURRENT_USER\SOFTWARE\Amazon\Kindle\User Settings" /v "isKRFDRendererSupported" /f

rem start K4PC from the default location or admin install location.  This can be modified for non-standard installs
rem the "" sets the title for the DOS box.  This was needed when the location for the segment
rem that starts K4PC had a user name with an embedded space requiring the "...." wrapper

set KINDLE=%LocalAppData%\Amazon\Kindle
set KINDLE_EXE=%PROGRAMFILES(X86)%\Amazon\Kindle

cd "%KINDLE%"

if not exist "%KINDLE_EXE%\Kindle.exe" goto :next
start "" "%KINDLE_EXE%\kindle.exe"
goto :repeat

:next
if not exist "%KINDLE%\application\Kindle.exe" goto :error
start "" "%KINDLE%\application\kindle.exe"

rem this loop waits for the isKRFDRendererSupported key to be created
:repeat
timeout 1
reg query "HKEY_CURRENT_USER\SOFTWARE\Amazon\Kindle\User Settings" /v "isKRFDRendererSupported"
if ERRORLEVEL 1 goto :repeat

rem when we arrive here, the key has been created, replace it with a version that does not allow KFX downloads
reg add "HKEY_CURRENT_USER\SOFTWARE\Amazon\Kindle\User Settings" /v "isKRFDRendererSupported" /t REG_SZ /d "false" /f
goto :ender

:error
echo Could not start Kindle4PC from either location tried.

:ender
rem  wait for any key to be hit to close the command windows.  remove the pause statement to auto-close
pause


Edit: the batch file has been updated to start Kindle4PC from either the normal user install location or the admin user install location without needing to be edited.
Attached Files
File Type: bat KFX_begone4.bat (1.4 KB, 40 views)

Last edited by DNSB; 06-10-2021 at 03:06 PM.
DNSB is offline   Reply With Quote
Old 08-12-2020, 11:08 AM   #967
Pepperspray
Junior Member
Pepperspray began at the beginning.
 
Pepperspray's Avatar
 
Posts: 1
Karma: 10
Join Date: Oct 2011
Location: Brazil
Device: Kindle 7th
Any recent tips?

Hello,

I have an old 7th-gen Kindle and Kindle for PC 1.29.0 and have just updated Calibre to 4.22, and I wonder if there are any new tips about downloading and converting AZW files. I know nothing about programming and tried reading the most recent posts but could not understand anything

Is there any tool/plug-in available that does the job?

Pepperspray is offline   Reply With Quote
Old 08-12-2020, 11:13 AM   #968
Sirtel
Wizard
Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.
 
Sirtel's Avatar
 
Posts: 4,116
Karma: 144226240
Join Date: Jan 2014
Location: Estonia
Device: Kindle Oasis 3, Nook Glowlight Plus 7.8'', Kobo Libra H2O
Quote:
Originally Posted by Pepperspray View Post
Hello,

I have an old 7th-gen Kindle and Kindle for PC 1.29.0 and have just updated Calibre to 4.22, and I wonder if there are any new tips about downloading and converting AZW files. I know nothing about programming and tried reading the most recent posts but could not understand anything

Is there any tool/plug-in available that does the job?

Read the very first post. There are detailed instructions there.
Sirtel is online now   Reply With Quote
Old 08-17-2020, 07:25 AM   #969
Dillon
Junior Member
Dillon began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Aug 2020
Device: Kindle Paperwhite 4
Quote:
Originally Posted by DNSB View Post
In response to a PM from a user who has a space in her user name, I modified the cmd file to add a "" and "s around the command line that runs kindle.exe. Without the blank "", Windows treated the command line as the title.

Spoiler:
Code:
reg delete "HKEY_CURRENT_USER\SOFTWARE\Amazon\Kindle\User Settings" /v "isKRFDRendererSupported" /f
start "" "%LOCALAPPDATA%\Amazon\Kindle\application\kindle.exe"
:repeat
timeout 1
reg query "HKEY_CURRENT_USER\SOFTWARE\Amazon\Kindle\User Settings" /v "isKRFDRendererSupported"
if ERRORLEVEL 1 goto :repeat
reg add "HKEY_CURRENT_USER\SOFTWARE\Amazon\Kindle\User Settings" /v "isKRFDRendererSupported" /t REG_SZ /d "false" /f
I am kinda new. I usually remove DRM off kindle purchased ebooks using epUBOR Ultimate and this new amazon book I've bought won't let me download unless I update my Kindle for PC to 1.29, while epUBOR suggests downgrading kindle for PC to 1.24. Is there anyway to tweak around kindle for PC through which I can download that ebook on 1.24
Dillon is offline   Reply With Quote
Old 08-17-2020, 07:55 AM   #970
pdurrant
The Grand Mouse 高貴的老鼠
pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.
 
pdurrant's Avatar
 
Posts: 67,339
Karma: 291000001
Join Date: Jul 2007
Location: Norfolk, England
Device: Kindle Voyage
Quote:
Originally Posted by Dillon View Post
this new amazon book I've bought won't let me download unless I update my Kindle for PC to 1.29, while epUBOR suggests downgrading kindle for PC to 1.24. Is there anyway to tweak around kindle for PC through which I can download that ebook on 1.24
No, that's entirely under Amazon's control.
pdurrant is offline   Reply With Quote
Old 08-17-2020, 09:31 AM   #971
jhowell
Wizard
jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.
 
jhowell's Avatar
 
Posts: 4,478
Karma: 44061161
Join Date: Nov 2011
Location: Tampa Bay, Florida
Device: Oasis 2, Fire, iPad Air 2, Nexus 7
Quote:
Originally Posted by Dillon View Post
...this new amazon book I've bought won't let me download unless I update my Kindle for PC to 1.29
I am curious to know which book has this restriction.

There were several textbooks published by Pearson that were limited that way, but as far as I can tell they were all pulled from sale on Amazon a while ago.
jhowell is offline   Reply With Quote
Old 08-17-2020, 09:58 AM   #972
lkmiller
Laura
lkmiller ought to be getting tired of karma fortunes by now.lkmiller ought to be getting tired of karma fortunes by now.lkmiller ought to be getting tired of karma fortunes by now.lkmiller ought to be getting tired of karma fortunes by now.lkmiller ought to be getting tired of karma fortunes by now.lkmiller ought to be getting tired of karma fortunes by now.lkmiller ought to be getting tired of karma fortunes by now.lkmiller ought to be getting tired of karma fortunes by now.lkmiller ought to be getting tired of karma fortunes by now.lkmiller ought to be getting tired of karma fortunes by now.lkmiller ought to be getting tired of karma fortunes by now.
 
lkmiller's Avatar
 
Posts: 958
Karma: 10974894
Join Date: Nov 2009
Device: Kobo Forma, Nook Glowlight Plus 7.8", Kindle Oasis 2, Onyx T68 Lynx
If you can download it with Kindle for PC 1.26, you can use DeDRM. But if it has to be 1.29, you're out of luck for now.
lkmiller is offline   Reply With Quote
Old 08-17-2020, 10:42 AM   #973
jhowell
Wizard
jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.
 
jhowell's Avatar
 
Posts: 4,478
Karma: 44061161
Join Date: Nov 2011
Location: Tampa Bay, Florida
Device: Oasis 2, Fire, iPad Air 2, Nexus 7
Quote:
Originally Posted by lkmiller View Post
If you can download it with Kindle for PC 1.26, you can use DeDRM. But if it has to be 1.29, you're out of luck for now.
That is not strictly true. There is an alternate method of disabling KFX that works with the latest version of Kindle for PC. It is linked to under Method 2 in the first post of this thread.

However, if the book requires both the latest version of Kindle for PC and KFX support then there is currently no solution available.
jhowell is offline   Reply With Quote
Old 08-18-2020, 08:24 AM   #974
lkmiller
Laura
lkmiller ought to be getting tired of karma fortunes by now.lkmiller ought to be getting tired of karma fortunes by now.lkmiller ought to be getting tired of karma fortunes by now.lkmiller ought to be getting tired of karma fortunes by now.lkmiller ought to be getting tired of karma fortunes by now.lkmiller ought to be getting tired of karma fortunes by now.lkmiller ought to be getting tired of karma fortunes by now.lkmiller ought to be getting tired of karma fortunes by now.lkmiller ought to be getting tired of karma fortunes by now.lkmiller ought to be getting tired of karma fortunes by now.lkmiller ought to be getting tired of karma fortunes by now.
 
lkmiller's Avatar
 
Posts: 958
Karma: 10974894
Join Date: Nov 2009
Device: Kobo Forma, Nook Glowlight Plus 7.8", Kindle Oasis 2, Onyx T68 Lynx
I had assumed that requiring the latest version of Kindle for PC went hand in hand with a book only being available in KFX format.
lkmiller is offline   Reply With Quote
Old 08-18-2020, 10:43 AM   #975
jhowell
Wizard
jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.
 
jhowell's Avatar
 
Posts: 4,478
Karma: 44061161
Join Date: Nov 2011
Location: Tampa Bay, Florida
Device: Oasis 2, Fire, iPad Air 2, Nexus 7
Quote:
Originally Posted by lkmiller View Post
I had assumed that requiring the latest version of Kindle for PC went hand in hand with a book only being available in KFX format.
Yes, the need for KFX is likely the issue.

I was hoping that Dillon would say which book is causing the problem. Dillon reported that the latest version of Kindle for PC is needed for the book, but that might not actually be the case.

It would be worth trying Method 4 (KFX conversion) with Kindle for PC version 1.26 to see whether that works instead.
jhowell is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Handling KFX files in Calibre HarryT Conversion 53 08-31-2018 03:21 AM
Dealing with Kindle for PC/Mac 1.19 and KFX in calibre BetterRed Conversion 0 02-08-2017 12:47 PM
Dealing with Kindle for PC/Mac 1.19 and KFX in calibre BetterRed Devices 0 02-06-2017 06:59 PM
updated calibre with a little help for kfx format cvkemp Amazon Kindle 0 10-06-2015 10:08 AM
Dealing with Multiple Calibre libraries samoanbiscuit Calibre Companion 4 08-27-2014 09:35 AM


All times are GMT -4. The time now is 01:18 PM.


MobileRead.com is a privately owned, operated and funded community.