by H.G.Muller » 13 Mar 2017, 08:28
WinBoard has two modes for editing positions, with or without piece menu. This is controlled by the command-line option -pieceMenu true|false . (There is no interactive way to change this, so you would have to type it in the 'Additional options' field of the Startup Dialog.) Not all WinBoard installs are configured the same way.
Problem with the piece menu is that it really is designed only for orthodox Chess / Xiangqi / Shogi. For variants like Chu or Tenjiku (let alone Tai Shogi) it would become unwieldly large. Problem is also that even the same pieces have different names in different variants, so that you would need a dedicated menu for each variant, and that all the names would need translations in all languages. (Shogi and Spartan Chess have such a dedicated piece menu.) And for engine-defined variants, where WinBoard has no idea of the rules (or piece names), it seems an unsolvable problem.
I have experimented with a graphical piece menu, where there would pop up a window with a board showing all pieces as the same images as used on the board, so you could click on one to choose it, but this turned out to be also quite cumbersome in variants with many pieces.
So as an alternative to the piece menu I finally settled on 'sweep selection': When you make a stationary right-click on the board, a white Pawn is created in the clicked square (because that is the piece you need most often). A middle click (or Shift + click) would give you a black Pawn. (The Shift key is a general means to swap the function of the right and middle mouse button.) But if you vertically move the mouse between the (right- or middle-)button press and release ('sweep'), a Pawn will appear in the square on the press, but then cycle through all other pieces participating in the current variant. The piece that is shown when you release the button will then stay in the square.
This works quite well in western Chess variants, where you have 10-12 piece types. But for Chu Shogi, with 36 piece types, it can still be very cumbersome, because you don't have enough room to make the sweep you need. (Sweeping diagonally helps a bit.) In the latest WinBoard version of the main branch I have added several ways to facilitate setup in such large variants, (but the WinBoard fork that knows the large Shogi variants and kanji unfortunately does not have those yet):
1) Existing pieces can be duplicated by moving them with the Ctrl key pressed
2) repeatedly clicking the clock in Edit Position mode (which originally just cleared the board) produces a board where every piece occurs only once ('piece pallette')
3) stationary right clicking on a piece you just created 'upgrades' it to the next piece type, rather than initiating a sweep for an entirely new piece.
But I guess in the kanji-enabled version of WinBoard you will have to live with the sweep selection, because the piece menu, even if you would enable it, is grossly inadequate for Chu Shogi. In theory it is possible to get pieces not in the menu by (repeated) use of the 'promote' and 'demote' entries in that menu: when you try to demote a piece that is not a promoted one, it would upgrade its type to the next one in line. But having to do that 18 times is also a royal pain...