![]() |
#1 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 328
Karma: 800105
Join Date: Feb 2013
Device: PW1
|
X-Ray Builder - Windows Application
For those who don't already know, X-Ray is a reference feature available on any Kindle product with a touch screen (Touch, Paperwhite, Kindle for Android, etc), provided the book has an X-Ray available for it.
X-Ray Builder gives users the ability to create fully-functional X-Rays for both retail books that Amazon has not X-Ray-enabled yet as well as side-loaded books that have been purchased elsewhere. It will also build some extra metadata files:
Goodreads is used as the main datasource, but does not always contain rich character information. A new source called Roentgen is now available that may have more data available depending on the book. Requirements:
Instructions: See camelx's step-by-step guide and the Quality Check plugin. You can also check out the basic video demo that gives you a 5min rundown of how to use the program. May 2020 Note These instructions are outdated and may not be entirely accurate anymore. I'll try to update them at some point... In general you should be able to:
Terms Builder (useful for users creating translated X-Rays) There is a button for downloading all terms to an XML file as well as a simple interface for adding/modifying them. When available, terms can also be imported into the terms builder directly from Roentgen. Creating the perfect X-Ray Creating a perfect X-Ray is not a 1-step process, but a decent one is usually just a few clicks away. The default options will usually give you a reasonable result but getting the best results may require a bit of effort. Character aliases usually need to be used to match more locations within the book, for example if the character name is "Harry Potter", the builder won't know that you also want to match the word "Harry" as well. For some books, a last name might be exclusive to a character and used on its own - making "Potter" a valid alias. In most cases this isn't possible, as it would also match any other spot where the last name shows up - "James Potter." This requires knowing how the names are used throughout the book, which mostly defeats the purpose of having the X-Ray in the first place. Alias Files: Spoiler:
Troubleshooting Spoiler:
Acknowledgements Thanks to:
Source: GUI Version: Ephemerality/xray-builder.gui Error Reporting: Any issues with the program can be posted here (if you paste any logs, please put them in a spoiler tag), PMed directly to me, or posted as an issue on GitHub. A copy of the book can be very helpful as well and can be sent to me if you want. Books are used for testing purposes only and deleted afterwards (must be DRM-free). Kindle app for Android There is now an option in Settings to turn on building for Android. These files will be placed in the "out\Android\BXXXXXXXXX" folder, where the name is the book's ASIN. Your book needs to go in the "sdcard/Android/data/com.amazon.kindle/files/" folder on your Android device. You can then copy the entire BXXXXXXXXX folder to that same spot. Calibre Plugin This plugin (plugin-kindlexray-0.0.3.zip) allows Calibre to automatically find and copy the files built by X-Ray Builder to your Kindle when you use the 'send to device' feature. To install, load the plugin from the zip file from Preferences -> Plugins as per usual. Once installed, it will show up under 'Device Interface plugins'. You should disable the original 'Kindle 2/3/4/Touch/etc' plugin to ensure it uses the new one. Select the KindleXRay plugin and hit 'Customize plugin'. You will need to hit browse and point it to your X-Ray Builder's /out folder so it knows where to look. You can choose whether or not to overwrite existing X-Ray/extras files as well. The plugin gives no feedback on success, but if all goes well, when you send a book to your Kindle, the files you created in X-Ray Builder will copy over as well. If not, you can try starting Calibre in debug mode, copy the book to your device, then close Calibre to view the log to check for any exceptions. Note regarding Kindle firmware < 5.6 If you have a Kindle Paperwhite with firmware version lower than v5.6, you will have to uncheck "Use New X-Ray Format" in the settings page. The following section is retained for legacy purposes in case anyone actually needs it. Spoiler:
Last edited by Ephemerality; 05-06-2022 at 12:34 PM. |
![]() |
![]() |
![]() |
#2 |
Zealot
![]() Posts: 129
Karma: 14
Join Date: Dec 2007
Device: pakiyabhai
|
Hello,
Whenever I use the GUI program,at the end when the scanning book content start , I get an error saying Spoiler:
Last edited by Dr. Drib; 10-08-2014 at 12:55 PM. |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 328
Karma: 800105
Join Date: Feb 2013
Device: PW1
|
I'll have to add some better error reporting to it to make it a bit easier to solve these. What book was it? If possible, you can send me a copy of the book and I can see if it works on my end. (I delete books people send once I'm done testing them in the program)
|
![]() |
![]() |
![]() |
#4 |
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Oct 2014
Device: Kindle Paperwhite 2G
|
Hi Ephemerality, the tool is very nice, once I noticed that MOBI files work better (the AZW3 files created by Calibre don't work, there is an issue with Chapter detection and I get the WG error on the kindle)
Just a note: if by chance the chapters file is not created properly but you say you want to open it anyway, the app crashes when you close the empty notepad Last edited by vanbarel; 10-08-2014 at 07:47 AM. |
![]() |
![]() |
![]() |
#5 | |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 328
Karma: 800105
Join Date: Feb 2013
Device: PW1
|
Quote:
GUI v1.32 has been uploaded to the first post. It should fix the notepad crash and adds some error reporting. Last edited by Ephemerality; 10-08-2014 at 04:58 PM. |
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 230
Karma: 13495
Join Date: Feb 2009
Location: SoCal
Device: Kindle 3, Kindle PW, Pocketbook 301+, Pocketbook Touch, Sony 950, 350
|
2Ephemerality
Problem: ASIN containing blank(s) or period gets truncated at these characters. My books are converted with ASIN equal to file name, that's why I ran into this. Is this fixable? |
![]() |
![]() |
![]() |
#7 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 328
Karma: 800105
Join Date: Feb 2013
Device: PW1
|
I hadn't seen anyone using a value that wasn't an Amazon ASIN or the generic one that Calibre creates, so it's not matching properly for anything else. I'll upload 1.33 with a fix for it when I get home from work in a couple hours.
|
![]() |
![]() |
![]() |
#8 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 230
Karma: 13495
Join Date: Feb 2009
Location: SoCal
Device: Kindle 3, Kindle PW, Pocketbook 301+, Pocketbook Touch, Sony 950, 350
|
Thanks a lot!
Unfortunately, this is not the last of my woes ![]() During conversion, I'm inserting soft hyphen code (Unicode U+00AD) into all words to provide hyphenation. This prevents your code from recognizing any alias. It would be perfect if you coud add ignoring soft hyphens at the scanning step. |
![]() |
![]() |
![]() |
#9 | |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 328
Karma: 800105
Join Date: Feb 2013
Device: PW1
|
Quote:
A mobi with this in practice would be useful to test on before I release it. Last edited by Ephemerality; 10-09-2014 at 08:28 PM. |
|
![]() |
![]() |
![]() |
#10 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 230
Karma: 13495
Join Date: Feb 2009
Location: SoCal
Device: Kindle 3, Kindle PW, Pocketbook 301+, Pocketbook Touch, Sony 950, 350
|
Last edited by EbokJunkie; 10-10-2014 at 12:39 AM. |
![]() |
![]() |
![]() |
#11 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 328
Karma: 800105
Join Date: Feb 2013
Device: PW1
|
It isn't going to be as easy as I thought it would be so I'm going to put 1.33 up with the ASIN fix and work on the hypen thing. You can delete your attachment now if you want.
Last edited by Ephemerality; 10-10-2014 at 12:25 AM. |
![]() |
![]() |
![]() |
#12 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 230
Karma: 13495
Join Date: Feb 2009
Location: SoCal
Device: Kindle 3, Kindle PW, Pocketbook 301+, Pocketbook Touch, Sony 950, 350
|
Thank you for your care. Those who use Calibre plugin Hyphenate This! will be grateful.
|
![]() |
![]() |
![]() |
#13 | |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 328
Karma: 800105
Join Date: Feb 2013
Device: PW1
|
Quote:
In the meantime I did try adding aliases for terms using soft hypens and it seems to work, but it involves knowing where they are (by searching the rawml). Such as: Northland|North-land |
|
![]() |
![]() |
![]() |
#14 | |
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Oct 2014
Device: Kindle Paperwhite 2G
|
Quote:
I do not have any orginal AZW3, so it's probably a problem in the conversion I make |
|
![]() |
![]() |
![]() |
#15 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 392
Karma: 1008414
Join Date: Jun 2011
Device: Kindle
|
I get the following error in Windows 7:
![]() I tried to install .NET 4.0 but Windows said I already had a higher version. |
![]() |
![]() |
![]() |
Tags |
x-ray |
Thread Tools | Search this Thread |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Windows 8 with Kindle Application | nomadreader | Amazon Kindle | 4 | 03-16-2013 02:47 PM |
Which Windows pc / Android application will keep epub annotations consistent? | internalaudit | Reading and Management | 0 | 03-01-2013 09:55 AM |
how do you create your application installer for Windows. | KevinH | Calibre | 4 | 01-07-2011 09:04 PM |
portable application for windows ebook reading | rheostaticsfan | Reading and Management | 8 | 06-27-2008 08:26 PM |