This is weird. I did run Houdini 1.5a under WinBoard some time ago (for Charge of the Light Brigade), and there did not seem to be any problems. Are you sure that there did not accidentlly creep in a wrong value for the hash-table size setting (in the WinBoard Options -> Common Engine menu dialog)?fluviumque wrote:Well, Winboard is kind of nice, but I found myself spending a lot of time solving problems. Currently, with Houdini and the fUci switch (EDIT: now also with ""polyglot.exe ..\Houdini\houdini.ini" /fd=".""), it prefers to have Houdini allocate all 8 GB RAM of my system, making it unusable and really hard to kill Winboard.
Font names starting with an asterisks are ignored. I guess this is a bad design, inherited from Winboard_x; there really should have been separate options /renderPiecesWithFont true|false to switch the feature on or off, (what the asterisk does now) and /pieceFont to specify the actual font. Using a leading '*' to temporary disable the font rendering without losing a long and cumbersome font name is a kludge that works nicely when you edit the winboard.ini directly, but it doesn't help a bit when you enter options in the startup dialog. ThatAlso, I haven't found out to make it use a westernized font for Shogi.
I found out how to use "Chess Merida" font by changing a font command line in the winboard.ini. For Shogi, I added /renderPiecesWithFont *blah to the respective line in the startup screen. The result is, it uses a default font without the additional Shogi symbols (e.g. the lance is invisible), but also in winboard.ini the chessmerida line has disappeared...
I think I'll set up Winboard shortcuts for variations only.
But the underlying problem you are battling against is that WinBoard does not support variant-dependent piece rendering. You can select one font, and it will be used for all variants, (or switch the feature off for all variantsif it was an 'invalid' name), and all memory of any previously selected font will be erased (as with any setting that you change,when you save settings).
To some extent you can get around this by clever configuring. If you want a Shogi font to be used only when you select certain Shogi engines from the Startup dialog, you can specify the font with the engine. Like
sdk10 /fd="..\shokidoki" /variant=shogi /renderPiecesWithFont="Shogi Western"
You would likely also have to specify a new /fontPieceToCharTable, and to prevent those font settings leaking into your winboard.ini file, you probably would want to add /saveSettingsOnExit false. So you have to add a great deal, and it would be a bit cumbersome to add that to the install line of every Shogi engine. So a better approach would be to collect all the settings only used for Shogi in a file "shogi.ini", which could contain something like:
Code: Select all
/variant=shogi
;
/renderPiecesWithFont="Shogi Western"
/fontPieceBackColorWhite=#ffffff
/fontPieceForeColorWhite=#000000
/fontPieceBackColorBlack=#ffffff
/fontPieceForeColorBlack=#000000
/fontPieceSize=80
/fontPieceToCharTable="......... "
;
/saveSettingsOnExit=false
sdk10 /fd="..\shokidoki" @shogi
"uci2wb -s BlunderUCI.exe ..\Blunder" @shogi
Then selecting a Shogi engine from the startup-dialog combo-box will automatically cause the Shogi settings to be instated. This approach won't work if you want to change variantduring the session, but I don't know any engines that would play some non-Shogi variant next to Shogi anyway.
An alternative would be to make a separate shortcut (or Windows start-menu entry) for starting up WinBoard in shogi mode. The target linein the shortcut could then be
C:\WinBoard-4.5.1\WinBoard\winboard.exe @shogi
In the "shogi.ini" file you could then even specify a list of Shogi engines, so that the start menu would show only those, and only then:
Code: Select all
/variant=shogi
;
/firstChessProgramNames={sdk10 /fd="..\shokidoki"
GNUShogi /fd="..\GNU"
"uci2wb -s BlunderUCI.exe ..\Blunder"
"uci2wb -s Larami.exe ..\Larami03"
}
/secondChessProgramNames={sdk10 /sd="..\shokidoki"
GNUShogi /sd="..\GNU"
"uci2wb -s BlunderUCI.exe ..\Blunder"
"uci2wb -s Larami.exe ..\Larami03"
}
;
/renderPiecesWithFont="Shogi Western"
/fontPieceBackColorWhite=#ffffff
/fontPieceForeColorWhite=#000000
/fontPieceBackColorBlack=#ffffff
/fontPieceForeColorBlack=#000000
/fontPieceSize=80
/fontPieceToCharTable="......... "
;
/saveSettingsFile=%APPDATA%\ShogiSettings.ini
/settingsFile=%APPDATA%\ShogiSettings.ini

