Check out Janggi (Korean Chess), our featured variant for December, 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 ]

Comments/Ratings for a Single Item

EarliestEarlier Reverse Order LaterLatest
Diagram Designer. Lets you display diagrams without uploading any graphics.[All Comments] [Add Comment or Rating]
🕸💡📝Fergus Duniho wrote on Fri, Aug 10, 2018 09:10 PM UTC:

Until now, the FFEN tool and the Diagram Designer shared a common limitation. Neither one could show capture moves by placing a dot over a space with a piece on it. I have now fixed that for the diagram designer. Enclosed in braces, write the index of the color, a space, and the label for a piece. For example {2 r}. This will draw that piece on the space with a dot over it in the color with that index. So, if you include 3 colors in the colors field, 2 will be the index of the third color, and a dot of that color would be placed over black's rook.


Kevin Pacey wrote on Sat, Nov 17, 2018 11:30 PM UTC:

In case anything can be done, I'd note that the Diagram Designer's Alfaerie: Many piece set seems to be missing any symbol to represent a plain Alfil+Rook compound piece figurine, which I happen to be thinking I might use sometime, since I'm toying with an invention idea. The closest symbols are for either elephant rider versions of that compound piece, or else for versions where the rook component is restricted to moving up to just 4 squares. I'm thinking the latter would be a less confusing substitute (if one is necessary) for a plain Alfil+Rook piece, unless something more unrelated like e.g. an upside-down rook figurine would be less confusing than even that. I suppose CVP editors take accepting such emergency substitutions for diagram figurines on a case-by-case basis.

As an aside, oddly enough, Diagram Designer's Alfaerie: Many piece set does have a figurine for the plain Dabbabah+Bishop compound piece, as well as for the (plain) Alfil+Dabbabah+Queen triple compound piece. The latter I recently noticed is a piece type used in the patented 10x10 Big Battle commercial variant. No indication on the CVP page for Big Battle that that piece type is patented, nor is there anything about the QAD type being patented that I could easily find elsewhere on the internet. I know e.g. the Champion piece type (aka WAD) in (commercial) Omega Chess is used liberally in games found on this website alone. On the other hand, every aspect of e.g. Arimaa is patented/licensed (including the piece type names for that, if I recall correctly).


H. G. Muller wrote on Sun, Nov 18, 2018 05:17 PM UTC:

You can get compound pieces of any kind with the SVG piece generator:

( http://winboard.nl/my-cgi/fen2.cgi?f=e-r )


Kevin Pacey wrote on Sun, Nov 18, 2018 07:49 PM UTC:

It seems it would be great if the SVG generator supplements or is the successor to the diagram designer on CVP at some point. I assume most any shade of colouring can be used for the SVG figurines.

Again an aside: For the variant idea I had in mind, it involved  using the RA piece type (besides the BD and QAD types, along with NP, and K) for an 8x8 variant involving eight sergeant pawns per side, but the idea looks like it's not going to pan out, if only because the RAs apparently could be swapped off the board on the flank files early in a game, at little cost to either player. Using RD (plus BA) instead would be no better, on 8x8, for that reason, but on a 10x8 board with the BD's not guarding the RA's in some setup with an extra piece type I've yet to decide on, with the seargent pawns and QAD thrown in, all the ingredients in question might work together better. The toying continues...


H. G. Muller wrote on Sun, Nov 18, 2018 08:18 PM UTC:

> It seems it would be great if the SVG generator supplements or is the successor to the diagram designer on CVP at some point. I assume most any shade of colouring can be used for the SVG figurines.

Well, it is there for you to use it. Just type the FEN after the f= in the link I gave. Indeed you can use any color for the pieces or shade for the squares; for details see the discussion in the comments on the Alfaerie piece set.


Kevin Pacey wrote on Sun, Nov 18, 2018 08:32 PM UTC:

That's quite nifty, then. The only problem at the moment for CVP users would seem to be if Game Courier somehow does not yet allow for the use of SVG generated figurines in presets (i.e. for use in actual play on GC), but rather GC users still must use the kind of piece sets found on it, which are also found on the diagram designer.


H. G. Muller wrote on Sun, Nov 18, 2018 08:56 PM UTC:

I don't know anything about GC. But if it allows the use of off-site image files for the pieces (like http://...) it would also be possible to put the URL of the SVG generator there, requesting the desired piece. If the requested 'FEN' is 1x1, it will be rendered with transparent background, as the generator will assume you just want an individual piece to be used in a larger image. This is what I actually did below.

I know this works for the Interactive Diagram. This is what I actually used in the 'Board Editor' posted in the Alfaerie comments; it uses an Interactive Diagram to let the user set up the desired board position, and it uses the SVG generator to supply the individual pieces in it.


Kevin Pacey wrote on Mon, Nov 19, 2018 02:44 AM UTC:

Apparently with Game Courier you can create your own piece set (i.e. a collection of images), which could then be used with GC or Diagram Designer (which uses pieces sets currently available from GC), but if you wish to upload images to this website (for use by GC/DD, at least) you ought to ask Fergus or perhaps another editor to do that for you, I gather from the following GC instruction sub-link (I've never tried to create my own piece set as yet, and it may be beyond my current know-how if I ever wished to do so):

https://www.chessvariants.com/play/pbm/devguide.html#newset


H. G. Muller wrote on Wed, Nov 21, 2018 10:19 AM UTC:

Uploading images would defeat the purpose of having an on-line generator, as you would have to fix the color and sizes at generation time.


Greg Strong wrote on Sat, May 25, 2019 09:04 PM UTC:

Is it possible to get a background image with the diagram desiginer?  It has a pick-list for the option, but it doesn't seem to do anything.

I tried adding &bgimage=marble-gw.png to the code it generated but that didn't do it for some reason.


Ben Reiniger wrote on Tue, May 28, 2019 01:54 AM UTC:

Background images work for the "Custom Grid" Shape.


Ben Reiniger wrote on Mon, Jul 8, 2019 03:23 AM UTC:

The change of interpretation of the period from movement-marker to single empty square has affected a few pages.  (The changes were documented in this comment thread; a bug report was made at https://www.chessvariants.com/index/listcomments.php?id=37820 .) 

I have added the new functionality's description to the introduction here.

I've identified 25 affected pages, all but one of them by Charles Gilman.  (I only ran the search on member-submitted pages' Pieces section.  There were 4 false positives in the regex [from another author], so perhaps not all of these actually have problems.  The other affected page is an old never-published submission.)

ItemID    
MSaltorth-hex-chess    
MSnearlydouble-wildebeest    
MSnimrod-chess    
MSbachelor-nimrod    
MSman-and-beast-01-constitutional-characters    
MSman-and-beast-03-from-ungulates-outward    
MSman-and-beast-04-generalised-generals    
MSman-and-beast-06-the-heavy-brigade    
MShunterbeest    
MSman-and-beast-07-when-beasts-collide    
MSman-and-beast-08-diverse-directions    
MSman-and-beast-09-mighty-like-a-rose    
MSman-and-beast-11-long-nosed-generals    
MSman-and-beast-12-alternative-fronts    
MSman-and-beast-13-straight-and-crooked-moving    
MSman-and-beast-14-oddly-oblique    
MSman-and-beast-15-strengthened-across-the-board    
MSman-and-beast-19-the-vice-squad    
MSwestfield-chess    
MSman-and-beast-21-lords-high-everything-else    
MSfragnurasian-qi    
MSbachelor-hunterbeest    
MSaltorth-with-further-piece-types    
MSknavish-chess    

There might be a regex solution to fixing all of these pages, which seems superior to doing them by hand or splitting off a version of this script for the old period-markers, but I don't want to accidentally break anything more.  I think the periods that need to be replaced can be described as those following `drawdiagram.php`...`code=`, before any closing `>` or argument-separating `&`.  I'll think/look at it more later, but comments are eagerly solicited.


Greg Strong wrote on Tue, Jul 9, 2019 11:55 PM UTC:

Good job tracking down those pages!  Fortunately not too bad.  Gilman has over 250 pages so I was afraid it could be much worse...

Given the scope, I don't mind taking it on, probably manually.  I'll probably take me a couple weeks to get through them but they've been broken for a while so I don't think fixing them is super urgent, so long as it gets accomplished.


Aurelian Florea wrote on Wed, Feb 19, 2020 01:50 PM UTC:

@Hg,

Is it possible to make with the diagram designer  boards that are not rectangular?


H. G. Muller wrote on Wed, Feb 19, 2020 02:27 PM UTC:

The 'diagram designer' was not made by me, but by Fergus. I am only responsible for the 'Interactive Diagram'. Because you explicitly address me, I will answer for the latter:

It is certainly not possible in the Interactive Diagram to use other board topologies, such as hexagonal bords, or circularly deformed boards. All boards must consist of a corner-connected grid of squares. Irregular shapes of such boards (such as e.g. in Omega Chess, with its wizzard squares, or the citadel of Tamerlane Chess) can be emulated by declaring some squares in the smallest surrounding rectangle to be inaccessible 'holes'. The Design Wizard in the Interactive Diagram article has no provisions for defining those, though. But you can just edit the HTML code that it delivers to add the holes; you only need to define an extra 'piece' with the name 'hole', followed by a list of squares that should be holes.


🕸💡📝Fergus Duniho wrote on Wed, Feb 19, 2020 03:26 PM UTC:

It can handle hexagonal boards and custom boards with spaces arranged in a grid, but I have not added in code for circular boards or for custom boards with custom spaces.


Aurelian Florea wrote on Wed, Feb 19, 2020 04:27 PM UTC:

Sorry, I knew about that. I meant HG's interactive diagram :)! And thanks for the info :)!


Anders Gustafson wrote on Sun, Mar 22, 2020 08:00 AM UTC:

Is it possible to adjust the number of ranks and files, on the board, independently?  I can't figure out how to increase the number of ranks without decreasing the number of files, and vice verse. 


Aurelian Florea wrote on Sun, Mar 22, 2020 01:00 PM UTC:

The diagram designer has a columns option. That is in relationship with the fen code where the number of blank spaces and pieces added up give the total board size.


Thomas wrote on Fri, Apr 24, 2020 03:50 PM UTC:

Is it possible to use other pieces from the alfaerie set than those 26 which are displayed and acessible by one letter? I tried around with braces, e.g. {squirrel} or {bsquirrel.gif} but it doesn't work.


🕸💡📝Fergus Duniho wrote on Fri, Apr 24, 2020 05:14 PM UTC:

Yes, just change the set being used. The Alfaerie pieces are not a single set. There are multiple sets that use Alfaerie pieces. To change to another set using Alfaerie pieces, you will need to change the Set Group first. You may select "All" for a complete listing of all sets, or you may select a specific group of sets. The Automatic group contains script generated sets of all images in the same style, and each set in it bases labels on file names. The other groups contain manually written sets using more abbreviated labels. When you change the set, each piece in the new set will show up on the page with the label you need to use for it. Note that all pieces you use must be from the same set. Besides the Automatic sets, the "Alfaerie: Many" set will contain all or most Alfaerie pieces with short, but frequently cryptic, labels. Depending on what pieces are in your game, you might find a smaller set that includes them all.


Greg Strong wrote on Fri, Aug 28, 2020 07:31 PM UTC:

Some piece sets will not work with the diagram designer for some reason, including sets that work fine with game courier.

For example, change the piece set to Alfaerie for Grand Betza. All the pieces show correctly, but the board produces a bad link. But here is a Game Courier preset that uses that same set and works fine:

https://www.chessvariants.com/play/pbm/play.php?game=Grand+Betza&settings=standard

Whatever it is is not related to the PNG graphics. There are other piece sets that have this problem also.


Greg Strong wrote on Fri, Aug 28, 2020 09:53 PM UTC:

Ah! I think I found the commonality...

The Diagram Designer does not work if the name of the set contains the word "for", such as "Alfaerie for Bifold Chess". Must be a reserved word that is not being escaped somewhere.


Greg Strong wrote on Fri, Sep 18, 2020 04:22 PM UTC:

Some piece sets still won't render a board with diagram designer although all the individual pieces show correctly. My earlier speculation that it involves sets with "for" in the title appears to be incorrect, or there is more to it. The ones that fail all seem to have "for" in the name, but some others containing "for" do work.

Also, in Game Courier, if there is only one square color, it will draw outlines around the squares as shown in this preset: https://www.chessvariants.com/play/pbm/play.php?game%3DMaorider+Chess%26settings%3Ddefault But Diagram Designer doesn't do this. It just shows a solid board with nothing to separate the squares.


🕸💡📝Fergus Duniho wrote on Fri, Sep 18, 2020 07:43 PM UTC in reply to Greg Strong from 04:22 PM:

Also, in Game Courier, if there is only one square color, it will draw outlines around the squares as shown in this preset: https://www.chessvariants.com/play/pbm/play.php?game%3DMaorider+Chess%26settings%3Ddefault But Diagram Designer doesn't do this. It just shows a solid board with nothing to separate the squares.

That's a feature of the Table rendering method, which the Diagram Designer does not use. Game Courier does not do this for the GIF, JPG, or PNG methods.


25 comments displayed

EarliestEarlier Reverse Order LaterLatest

Permalink to the exact comments currently displayed.