View Single Post
Old 09-30-2016, 08:10 PM   #90
maximalmobi7
Enthusiast
maximalmobi7 began at the beginning.
 
Posts: 38
Karma: 10
Join Date: Sep 2016
Location: U.S.A, California, Redding
Device: Amazon Kindle paperwhite 2, and android tablet 10.1 with Kindle app
so I want to point out if you rename the file.kfx format extension to file.azw8 extension it seems to be able to load it the file kfx in Kindle Previewer 3 if it thinks its an azw8 file.

also I was playing with converting files to kepub format then to LRF format removed a few fonts in under styling tab I used a few of the filter style information which can remove fonts , padding etc..
in any case then I converted from LRF back to azw3 and also tried epub then to kfx format, that seems to work too if you play around with it to get it to convert to kfx without errors but you do have to play around with the settings in convert tab in calibre a bit, I hope that helps, since at one point I had fonts in an ebook I didn't want so I removed them, also I think converting to LRF first helps remove some stuff that can crash the kfx plugin , also used kepub since I was trying the other one that has features like kfx ,

again the only way to load kfx format into Kindle Previewer 3 is to rename the file to azw8 format. I guess it seems that azw8 is like the kfx format since once in kfx and rename it seems kindle previewer3 likes that file extension for kfx format to be in an azw8 container or at least it thinks that what it is I guess.

any chance in getting the plugin setup to output to azw8 instead of kfx?
since then you can just click in calibre the view icon it it would open it as azw8 to Kindle Previewer 3 if it converted it to azw8 instead of manually renameing the file, its just an idea anyway.

in the kfx output.zip which files requiring editing if you want it to target the format azw8 instead of kfx like for example the output extension and the output text in calibre? it could be converted to kfx but I want to target just the container output name to azw8 since it seems that kfx format files are azw8 files at least it seems that way since it loads them output problems if you rename kfx to azw8 then open the file in kindle previewer 3.

just wondering what strings need to be edited and what does not need editing in kfx output.zip in order to make it output to azw8 instead for extension, or format? since it seems kindle previewer 3 may be making azw8 files instead of that kfx format is the wrong extension maybe for kindle format or I am just guessing since the program seems to like them if their end with azw8 instead of kfx.

ok so I changed kfx to azw8 in the file __init__.py
rename kfxlib to azw8lib
edited kdf_container.py from kfx to text replacement to azw8
rename and edited kfx_container.py to azw8_container.py with replacing kfx to azw8 in it.
misc.py edit the kfx to (".azw8z:"
keep previewer_kpf.py unedited to kfx
edited yj_book.py kfx to azw8
the rest of the files were unedited, then I used 7 zip to recreate the plugin with the changes that seem to make the output azw8 instead of kfx , I hope that info helps, used wordpad to find the kfx text and update it to azw8 ,

again I keep the keep previewer_kpf.py unedited , so it targets kfx but outputs it as an azw8 container I hope that info helps,

"" I will not provide an edited zip file either the creator of kfx plugin need to do that themselves or someone else needs to do so if you don't want to change it yourself.""

I just want to make some info simple since its was easy to change it again you can't change the previewer_kpf.py since it need to target the libs and stuff like epub to kfx in order to create the files , so it needs to stay the same for now I think.

Last edited by maximalmobi7; 09-30-2016 at 09:54 PM. Reason: was able to edit the zip to replace text of kfx to azw8 for using with calibre
maximalmobi7 is offline   Reply With Quote