Add XBoard settings files for Chu and Sho shogi
authorH.G. Muller <h.g.muller@hccnet.nl>
Sun, 27 Oct 2013 11:43:28 +0000 (12:43 +0100)
committerH.G. Muller <h.g.muller@hccnet.nl>
Sun, 27 Oct 2013 11:43:28 +0000 (12:43 +0100)
svg/chu [new file with mode: 0644]
svg/sho [new file with mode: 0644]

diff --git a/svg/chu b/svg/chu
new file mode 100644 (file)
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 (file)
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
+