Check out Glinski's Hexagonal Chess, our featured variant for May, 2024.


[ Help | Earliest Comments | Latest Comments ]
[ List All Subjects of Discussion | Create New Subject of Discussion ]
[ List Earliest Comments Only For Pages | Games | Rated Pages | Rated Games | Subjects of Discussion ]

Single Comment

Chess and a Half. Game with extra leapers.[All Comments] [Add Comment or Rating]
H. G. Muller wrote on Wed, Aug 16, 2017 03:37 AM EDT:

But which pieces are we talking about? The one used in the diagram in the setup section?

It is quite trivial to render SVG to fixed-size bitmap formats. Just run 'rsvg' with the desired size as option. This is how I made the XBoard33 and XBoard50 sets for use in the Interactive Diagrams. I used PNG as target format; I am pretty sure it could produce GIF too, and if not you can always run 'convert' to transform PNG to GIF. All these formats support transparence, so if the SVG have transparent background, so will be the raster images produced by rsvg. (Only windows .BMP files would be a problem, as transparancy in those is not even supported in MS Paint. So I made a specially modified version of XBoard, which would dump all his pieces as such bitmaps.)

Because I am lazy, and XBoard has a lot of pieces, I actually did the conversion 'in batch': I just ran an 'ls -l > tmp' command in the directory with SVG files, to get a list of all the names. And then used two global substitution commands to convert the list into a list of rsvg commands, one for each file. Finally I ran that through 'bash < tmp'. Easy as pie. Of course if you need specific names for the image files, which differ from the XBoard SVG names, you would have to rename them all. I also made a script for that.