🕸Fergus Duniho wrote on Thu, Oct 23, 2008 08:03 PM UTC:
H. G.,
If you do add support for bitmap images to Winboard, you might want to do it with OpenGL, which is supported by both Windows and Linux. A good image file format to use is PNG. It's a cross-platform compressed lossless format, similar to GIF but capable of supporting true color images. Like GIF, it can support transparent images. Zillions of Games supports Windows bitmap images, and instead of having a transparent color, Zillions treats green (#00FF00) as transparent. Game Courier follows the same convention for when it can't make use of an image's transparency, such as when it is using it as a brush for drawing a single board image.
While it would be nice for Winboard to support customized graphics, I might be able to use Andreas Kaufmann's Winboard Adapter for Zillions with the games you write Winboard engines for.
|| I would not know if this is true, because Winboard would not let
|| me make a single move when I tried to use it for Shogi.
| This is strange. Was that because you could not select Shogi at all,
| because you had no engine? If you click 'view or edit games' in the
| startup dialog, you should not need any engne, and it sould accept all
| moves. Be sure to use board size middling or bulky if you want to see al
| the pieces, though, as for Shogi, not all sizes have built-in bitmaps.
I have two installations of Winboard. One is Winboard_F, which had Fairy-Max but no Shogi engine. The other is your demo package, which includes a Shogi engine that shows the opponent's pieces as reversed. When I tried to move pieces with it, it rejected every move I tried.
H. G.,
If you do add support for bitmap images to Winboard, you might want to do it with OpenGL, which is supported by both Windows and Linux. A good image file format to use is PNG. It's a cross-platform compressed lossless format, similar to GIF but capable of supporting true color images. Like GIF, it can support transparent images. Zillions of Games supports Windows bitmap images, and instead of having a transparent color, Zillions treats green (#00FF00) as transparent. Game Courier follows the same convention for when it can't make use of an image's transparency, such as when it is using it as a brush for drawing a single board image.
While it would be nice for Winboard to support customized graphics, I might be able to use Andreas Kaufmann's Winboard Adapter for Zillions with the games you write Winboard engines for.
I have two installations of Winboard. One is Winboard_F, which had Fairy-Max but no Shogi engine. The other is your demo package, which includes a Shogi engine that shows the opponent's pieces as reversed. When I tried to move pieces with it, it rejected every move I tried.