I have found a solution to the red pieces showing up as white on my Kindle without recoloring any image files. I first got it to work with Game Courier and the Diagram Designer, and now it also works with Interactive Diagrams. However, Interactive Diagrams will have to be edited individually to apply the solution.
The general solution tests whether the User Agent string matches a brand name of some of the most popular ereading devices. In my case, I have confirmed that my Kindle has "Kindle" in the User Agent string, and my Likebook Mars has "Likebook" in it, and tests with Game Courier show that it is correctly recognizing these devices. When it displays a piece whose file name begins with "b" or "B" on a recognized eink device, it changes the piece color to #808080. This is a medium grey that works about equally well on the Kindle, which displays #FF0000 as white, and my Likebook Mars, which displays #FF0000 as black.
On the Ultima page, I have changed the value of graphDir for the Abstract set to '/play/pbm/showpiece.php?originalcolor=ff0000&image=/graphics.dir/abstract/new/'. The originalcolor value is required for recoloring a piece, but this value is true only for the black pieces. With the wrong value for the white pieces, they simply won't be recolored. The image value is the actual directory where the images are found. It comes at the end, because this will be concatenated with the prefix and the rest of the file name to form the complete file name.
Incidentally, my fitness tracking watch told me that I had completed 10,000 steps today while sitting here typing. Maybe it interpreted typing action as walking.
I have found a solution to the red pieces showing up as white on my Kindle without recoloring any image files. I first got it to work with Game Courier and the Diagram Designer, and now it also works with Interactive Diagrams. However, Interactive Diagrams will have to be edited individually to apply the solution.
The general solution tests whether the User Agent string matches a brand name of some of the most popular ereading devices. In my case, I have confirmed that my Kindle has "Kindle" in the User Agent string, and my Likebook Mars has "Likebook" in it, and tests with Game Courier show that it is correctly recognizing these devices. When it displays a piece whose file name begins with "b" or "B" on a recognized eink device, it changes the piece color to #808080. This is a medium grey that works about equally well on the Kindle, which displays #FF0000 as white, and my Likebook Mars, which displays #FF0000 as black.
On the Ultima page, I have changed the value of graphDir for the Abstract set to '/play/pbm/showpiece.php?originalcolor=ff0000&image=/graphics.dir/abstract/new/'. The originalcolor value is required for recoloring a piece, but this value is true only for the black pieces. With the wrong value for the white pieces, they simply won't be recolored. The image value is the actual directory where the images are found. It comes at the end, because this will be concatenated with the prefix and the rest of the file name to form the complete file name.
Incidentally, my fitness tracking watch told me that I had completed 10,000 steps today while sitting here typing. Maybe it interpreted typing action as walking.