From bb8fda0d3dbb4f783df71ff924eedcb163d360ea Mon Sep 17 00:00:00 2001 From: H.G. Muller Date: Sun, 27 Oct 2013 12:43:28 +0100 Subject: [PATCH] Add XBoard settings files for Chu and Sho shogi --- svg/chu | 42 ++++++++++++++++++++++++++++++++++++++++++ svg/sho | 28 ++++++++++++++++++++++++++++ 2 files changed, 70 insertions(+), 0 deletions(-) create mode 100644 svg/chu create mode 100644 svg/sho diff --git a/svg/chu b/svg/chu new file mode 100644 index 0000000..45195ef --- /dev/null +++ b/svg/chu @@ -0,0 +1,42 @@ +; +; settings for oriental Chu-Shogi theme +; +-variant chu +; +; pieces: supplied chu-shogi svg's, and flip them in flipView +; +-pid ~~/themes/chu +-flipBlack true +-trueColors true +; +; board: no checkering (both w. and w.o. texture) +; +-liteBackTextureFile "~~/themes/textures/wood_l.png" +-darkBackTextureFile "~~/themes/textures/wood_l.png" +-lightSquareColor #FF8040 +-darkSquareColor #FF8040 +; +; detour under-promotion is less convenient when non-pawns promote +; +-sweepPromotions false +; +; legality testing must be on for double-moves to work, no adjudication +; +-testLegality true +-trivialDraws false +-materialDraws false +; +; make the Lion roar on double captures +; +-roarSound roar.wav +; +; redefine default engine +; +-fcp hachu +-scp hachu +; +; set up own persistence file, used for this theme only +; +-settingsFile ~/.xboard-chu-rc +-saveSettingsFile ~/.xboard-chu-rc + diff --git a/svg/sho b/svg/sho new file mode 100644 index 0000000..7b48f27 --- /dev/null +++ b/svg/sho @@ -0,0 +1,28 @@ +; +; additional settings for Sho Shogi +; +-variant shogi +; +; size overrides +; +-boardWidth 9 +-boardHeight 9 +-holdingsSize 0 +; +; add Elephant to piece set +; +-pieceToCharTable "PNBRLSE..G.+++++++Kpnbrlse..g.+++++++k" +; +; provide initial position +; +-loadPositionFile "~~/themes/conf/sho.fen" +; +; must play with legality testing off, for +E and mate +; +-testLegality false +; +; redefine default engine +; +-fcp hachu +-scp hachu + -- 1.7.0.4