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 Latest Comments Only For Pages | Games | Rated Pages | Rated Games | Subjects of Discussion ]

Comments/Ratings for a Single Item

LatestLater Reverse Order Earlier
Alfaerie Variant Chess Graphics. Set of chess variant graphics based on Eric Bentzen's Chess Alpha font.[All Comments] [Add Comment or Rating]
🕸Fergus Duniho wrote on Mon, Oct 8, 2018 08:28 PM UTC:

If you have your own VPS, what's stopping you from installing the software you need on it?


H. G. Muller wrote on Mon, Oct 8, 2018 07:06 PM UTC:

I have the XBoard SVG piece images on my website, at http://hgm.nubati.net/svg/ . It should be relatively easy for me to copy-paste the XBoard code for rendering these pieces to a bitmap (written in plain C) into a CGI program that then outputs it as PGN of a specified size. But I got stuck doing that. I have access to only 3 Linux machines: the one I use for development, running in VirtualBox, which has no web-server running on it. Then I have some webspace I borrow from a former collaborator on XBoard, where I have the XBoard development website on a Linux machine, including my git source repository. I have several CGI programs running there, but I cannot run any SVG stuff there, as librsvg-2 doesn't seem to be installed, and I have no root permission I can use there to install anything. Finally I have my own web server running on a VPS I rent (winboard.nl). I did not manage to run any new CGI program there (even those which tested OK on the XBoard website). Behavior there seems quite sick: I have gitweb.cgi running there to put a mirror of my git repository online, at winboard.nl/cgi-bin/gitweb.cgi . This works fine, despite the fact that gitweb.cgi DOES NOT EXIST, and the cgi-bin directory is entirely empty! If I place other CGI programs in the cgi-bin directory, or even just png images, and try to access these through the web server (lighttpd) with an URL, GitWeb starts running instead, browsing my repository?!? If I place CGI programs in another place in the www tree, they do not seem to run correctly, and produce a blank page when accessed through their URL. I wonder if the machine is somehow hacked.

So I am stuck. I can write a CGI program to produce scaled (or colored) pieces, but I cannot run it where I have a web server, and cannot test it where I can compile it...


🕸Fergus Duniho wrote on Mon, Oct 8, 2018 01:34 AM UTC:

The GD functions are not accepting script URLs as valid image resources. So, I'll have to handle the recoloring of pieces differently for the GIF, PNG, and JPG rendering methods. I'm thinking I'll add two new parameters. I was going to call them wcolor and bcolor, but bcolor is already used for the border color. Maybe color1 and color2. If left blank, the default color would be used. If non-empty, it would override the color for sets using solid color pieces. For the table and CSS rendering methods, it would convert the image URLs in $pieces to the scripted URLs, and for the GIF, JPG, and PNG methods, it would change the color as it worked with the images.


🕸Fergus Duniho wrote on Mon, Oct 8, 2018 01:10 AM UTC:

I have never worked with SVG files, and the GD library, which is what this script uses, does not support them. Plus, I don't yet have any SVG files to work with. Once I get some, I could look into how they could be used.


H. G. Muller wrote on Sun, Oct 7, 2018 09:40 PM UTC:

Nice. Would it be difficult to also make it work for SVG? The result would be much smoother, as SVG rendering usually also involves anti-aliasing. I know there is a command rsvg under Linux, which can render SVG files to various bitmap formats. (I usually prefer PNG.) Would it be possible to call such a command from a PHP script, and then send the output file as answer to the request?

All XBoard pieces are available as SVG, and Greg is already working on converting Alfaerie to SVG.


🕸Fergus Duniho wrote on Sun, Oct 7, 2018 06:04 PM UTC:

Testing new script.

I was finally able to preserve transparency when resizing. This script works with bitmap images, not with SVG images.


H. G. Muller wrote on Sun, Oct 7, 2018 08:10 AM UTC:

I am a bit skeptical about whether making piece colors fully customizable is really worth the effort, compared to just preparing a handful of sets of different colors as normal gif, jpeg or png images. It seems far more useful to have customizable size. But I suppose the technical solution would be much the same, along the lines Fergus suggests: rather than linking to image files we could link to a PHP or CGI program to render the pieces with the desired size and color, e.g. from SVG prototypes, and supply those to the client.

I assume most browser will also cache data fetched from CGI scripts as long as the same arguments get passed to the script; for this reason I always append a dummy "&t=<TIMESTAMP> when requesting 'volatile' data, e.g. when polling whether another party has appended a new move to a game to be fetched. So once a client has used the renderer to obtain a set of pieces of his preferred size and color, he will cache the resulting images, and as long as he sticks to that size, color and pieces he used before, he will cause no further load on the server-side renderer.

I guess it would not even require any adaptations of my Interactive Diagram script to use such a 'dynamic' piece set; the user can just include the name of the script file and the fixed arguments he wants for his design as part of the pathname of the 'graphicsDir' parameter of the diagram, e.g.

graphicsDir=/membergraphics/piece.cgi?c=#8000FF&s=40&t=

where 'c' and 's' are the color and size arguments, and t would specify the piece type in a format that normally is used for the image filename (but with an empty string for the graphicsType extension).

I don't think it would be necessary to limit ourselves to just specifying one color. In WinBoard rendering pieces from true-type chess fonts (the nearest thing Windows supported to SVG), you can independently specify foreground and background colors for both the white and black pieces. It turns out that pieces that are not purely black or very dark gray (like #202020) always need a black outline, or they will look extremely ugly (even when very dark blue). WinBoard contains a special set of ('solid') images for the black pieces, where the 'outline' basically fills the entire glyph, exept for some line details in it (such as the cross on the Bishop). But for people that wanted to change the black piece color, I had to provide an extra option that forced using the 'outline' images normally only used for the white pieces also for black, and have the /blackPieceColor option then apply to the filling of this outline, rather than to the outline itself (as was done for the 'solid' pieces. With the font rendering the outline and filling color can be specified separately, and even then the filling color is subject to a shading gradient to create a 3D illiusion.

SVG images are normal text strings; even if the rendering routine would not supply an option to replace certain colors by certain others, we should be able to write a small routine that locates the color spec inside the SVG file, and substitute it by the color spec for the desired color, before we pass the string to the renderer.


Greg Strong wrote on Sat, Oct 6, 2018 10:41 PM UTC:

I would suggest lifting the graphics from ChessV.  It has a large set of images from both the Abstract and Alfaerie sets with unified, consisting naming and a consistent format.  I've spent quite a bit of time over the years getting them organized and unified.


🕸Fergus Duniho wrote on Sat, Oct 6, 2018 10:17 PM UTC:

Pieces could be recolored when rendering the board as a single image, and in table- or CSS-rendered diagrams, script URLs in place of image files. For simplicity's sake, it might be best to do it all through a script that shows individual pieces in specific colors. This is assuming that GD can load an image from a PHP script. But this should be done only for solid-color pieces. So, it would be best to do it with new sets or to adapt some pre-existing sets to handle changes in color.


Greg Strong wrote on Sat, Oct 6, 2018 10:01 PM UTC:

It would be really awesome if you could customize the piece colors the way you can with ChessV, but I realize that's a tall ask.

That reminds me, I need to get back to my project of porting the Abstract and Alfaerie sets to SVG vector graphics.  I'm almost done with the eight primary Capablanca pieces for both.


🕸Fergus Duniho wrote on Sat, Oct 6, 2018 09:55 PM UTC:

I'm now beginning to see why David chose to use blue for the black pieces. I have been looking at the site with my new Likebook Mars, which is an e-ink Android device, and the reds appear very dark or even black, which obscures the detail of the red pieces I've made. But the blue Alfaerie pieces look just fine on its e-ink screen. This is relevant, because David is color-blind, and if I recall correctly, he has difficulty seeing red. I'm going to have to recolor some things so that they are still visible in e-ink and to color-blind people.


Malcolm Webb wrote on Sat, Nov 24, 2012 01:54 AM UTC:Excellent ★★★★★
I love using the Alfaerie graphics: it is the piece-set with the greatest
variety. I note that otheers have modified some of your images, but kept
these new images in the Alfaerie style.

Has anyone ever made an image of a dog that is compatible with the Alfaerie
set? I am looking for a dog image for a game I am working on.

Ivan Roth wrote on Fri, May 27, 2011 03:22 AM UTC:Excellent ★★★★★
This is fantastic! One quibble though: It would be great if you could put all the expansions that directly add to this collection onto this one page, since they are really tucked away and difficult to find as it is.

Claudio Martins Jaguaribe wrote on Thu, Jul 8, 2010 03:38 PM UTC:
Nope!

He's right!

In miscelaneous there's a nightknight, but, once I asked about this and they told me that not all designs are real pieces.

Or, the nightknight is the knightrider, did you took a look at the piececlopedia?

Hugs.

Hafsteinn Kjartansson wrote on Wed, Jul 7, 2010 05:56 PM UTC:
>>I'm curious: what is the nightknight?<< Don't you mean nightrider? In that case, a nightrider is a piece that moves as a knight and can repeat the previous move as long as every passed-by squere is empty. (ex.: a nightrider on b1 could move to c3 and then continue to d5 (if c3 was empty) and then to e7 (if d5 was empty). If it captures a piece, it must stop.

Hafsteinn Kjartansson wrote on Wed, Jul 7, 2010 05:49 PM UTC:Excellent ★★★★★
love this set!

Garth Wallace wrote on Sun, Dec 6, 2009 07:59 AM UTC:Excellent ★★★★★
I'm curious: what is the nightknight?

H. G. Muller wrote on Sun, Sep 28, 2008 06:32 PM UTC:
M. Winther: 
| Why don't you download a font editor and complement the Tasc figurine 
| font with fairy pieces.
| /Mats

Would this be before or after I wrote the 7-men tablebase builder, a Shogi engine, back-ported WinBoard to Linux, fixed up Joker80 for the upcoming World Championhip of the unspeakable variant, and implemented on-the-fly tablebase generation in my normal-Chess engine Joker?

Problem is that I am aready severely overloaded with Chess-programming projects, so I try to avoid doing things that others might do as well or better as I could do them, or might even have done already. So that I can concentrate on those that people are waiting for most, and will not be done unless I do them.

H. G. Muller wrote on Sat, Sep 27, 2008 06:19 AM UTC:
'Tascbase (now discontinued) had a TrueType chess figurine font for diagrams, which is freeware I'm sure'

Yes, but it seems to contain only symbols for orthodox Chess pieces. There are many freely available fonts that do that, (e.g. see http://www.enpassant.dk/chess/fonteng.htm ), but virtually none those support fairy pieces. And the few that do usually support them as rotated ordinary symbols (upside-down Queen for Grasshopper etc.), which I positively hate.

There is George Tsavdaris' WinboardF font, but it is far more limited than Alfaerie. And there is the Superchess font that supports the orthodox plus 9 non-orthodox Chess pieces, but it has a licene agreement that allows it only to be used for Superchess. So besides the fact that it is even more limited than the WinboardF font, it cannot b distributed with WinBoard.

M Winther wrote on Sat, Sep 27, 2008 05:09 AM UTC:
Tascbase (now discontinued) had a TrueType chess figurine font for diagrams, which is freeware I'm sure
http://home7.swipnet.se/~w-73784/TBASEDIA.TTF

There are also diverse chess true type fonts here:
http://www.chessvariants.com/d.font/fonts.html
/Mats

📝David Howe wrote on Fri, Sep 26, 2008 05:29 PM UTC:
I would do it, but I suspect the skill level required to create vector-graphic versions of the bitmaps would be greater than my own skill level in that area (not to mention the time and energy required). I would be very pleased if someone who does have the necessary skill level and inclination, time and energy, would create a true-type font for Alfaerie.

H. G. Muller wrote on Fri, Sep 26, 2008 12:42 PM UTC:
Is it possible to make the alfaerie set available as a true-type font? Then it would be automatically scalable to any size, rather than needing a separate set of bitmaps for every size.

They could also be used in the WinBoard GUI, in that case.

📝David Howe wrote on Sun, Mar 2, 2008 12:56 PM UTC:
>> How do we propose graphics for inclusion in the set? I have been modifying some of the alfaerie graphics for some of the diagrams I have made on my computer, and I think they could be useful.

Please email them to me, and I will consider them for the next expansion set! Just click on my name and mail to the displayed email address. Thanks!

Alastair Carr wrote on Sun, Mar 2, 2008 09:50 AM UTC:Excellent ★★★★★
How do we propose graphics for inclusion in the set? I have been modifying some of the alfaerie graphics for some of the diagrams I have made on my computer, and I think they could be useful.

Anonymous wrote on Fri, Jan 4, 2008 06:02 PM UTC:Excellent ★★★★★
Brilliant sets of graphics. Not only do the sets contain pieces for most chess variants, but they also contain other pieces for new ones, too.

Christine Bagley-Jones wrote on Fri, Jun 23, 2006 01:07 PM UTC:Excellent ★★★★★
oops i have never rated my fav graphs before?!

Jeremy Good wrote on Sat, May 20, 2006 03:38 PM UTC:

Jared, I agree that the tiger should have stripes :-)

Meanwhile, we've been using this particular tiger in one of Eric Greenwood's Courier Modified variants, Courier Mod 3 and casually referring to him as a 'mountain lion.' He moves as a non-leaping lion that moves one or two spaces outward in any direction.

I don't know which variants / presets / zillions games have been implementing the same piece and using it for a different purpose. It would be nice to know though, and also know more about who uses a 'tiger' piece and for which purpose. I dissuaded Eric from introducing a new 'tiger' this morning, partly because there is no alfaerie piece which really looks much like a tiger yet. If someone stripes that one though, it would do, I'll say.


Jared McComb wrote on Sat, May 20, 2006 03:20 PM UTC:
The zebra has stripes but the tiger has none... ???

James Spratt wrote on Sat, May 20, 2006 11:23 AM UTC:Excellent ★★★★★
Agreed! Clear, sharp and well-employed at CVP, hence familiar and easy to use. The only thing I'd alter about any of them is the 'added-on' look of some of the adaptations of the knight/horse's head; it would help to break the outline of the horse in a place or two to make it look like it was designed a-purpose to be a Cavalier or whatever else. But maybe that's just fuss-budget Meester Arteeste's problem, nyuk-nyuk.

Joe Joyce wrote on Fri, May 19, 2006 01:52 PM UTC:Excellent ★★★★★
Generally tremendous graphics: clean, clear and simple. Is it possible to
offer pieces for inclusion, or make requests? I'm using some 'new'
graphics for shatranj variants, and will soon need to make more. These
pieces are or will be adaptations of your existing graphics. In some
cases, I'd like to replace an existing piece with a more themed graphic.
For example, in a shatranj-like game, I'd replace the squirrel with a new
piece consisting of the 'High Priestess' piece fronting a warmachine.
This will be a visual combination of knight, alfil, and dabbabah, whose
moves comprise the squirrel movement; and this doesn't put a squirrel on
the battlefield with elephants and horses and war machines.
Thank you for the great graphics and for making them so freely available.
When people start complaining that your graphics should be used more, you
are definitely doing something right.

Anonymous wrote on Fri, May 19, 2006 07:43 AM UTC:
It would be cool if all the Recognized variants here would use these Alfaerie as a standard for ZRF implementation. I find it tough readjusting to different piece sets and board colours when playing a zillions game. Crazyhouse would be my first candidate.

Anonymous wrote on Fri, May 19, 2006 07:37 AM UTC:
Terrific fonts.. could you implement Crazyhouse as well?

Jean-Louis Cazaux wrote on Tue, Mar 29, 2005 06:55 AM UTC:Excellent ★★★★★
Having done the excercice myself few years ago, I know what kind of work it
represents. I can only say this: I LOVE YOUR DESIGNS, much more than mine,
actually ! Wonderful, congratulations !
Jean-Louis

Bernhard U. Hermes wrote on Sat, Mar 26, 2005 10:00 PM UTC:Excellent ★★★★★
A very nice set of graphics indeed. Something for everybody, I think,
provided you like the style.
I do :-).
Even though everything thats really necessary for me is already there, or
in the additional sets, 2 symbols I would like as well are:
- a wizard's pointed hat
- a helmet (not of a knight, but a medieval foot soldier's, if that
makes
sense - the one I am thinking of does not look too unlike the one the
British used in WW I)
I only mention that as a source for inspiration, if any is wanted, again,
the set is already excellent as it is!

Bernhard

Sean Duggan wrote on Fri, Nov 26, 2004 12:25 PM UTC:Excellent ★★★★★
A very handy set of pieces for the various alternates. I'm going to have to integrate this into <A HREF='http://www.chessvariants.org/index/zillions.php?itemid=zDuggansFantasyC'>Duggan's Fantasy Chess</A> (shameless plug!) so as to disambiguate my use of standard chess pieces for entirely different movements.

Charles Gilman wrote on Fri, Mar 26, 2004 08:52 AM UTC:Excellent ★★★★★
The way that you mark the Zebra with stripes while retaining army colour differentiation is particularly good. You might consider adding striped versions of others for some of my coinages and other unusual pieces: of a Camel for Zemel (5:1 leaper); of an Elephant for the Korean Elephant (stepping Zebra); and of a Kangaroo for Zengaroo (Zebra+Elephant, extrapolating from the Knight+Elephant sense of Kangaroo in Outback Chess).

Anonymous wrote on Tue, Nov 19, 2002 01:37 AM UTC:Excellent ★★★★★

37 comments displayed

LatestLater Reverse Order Earlier

Permalink to the exact comments currently displayed.