2 ; Settings for Wa Shogi (theme + other)
12 ; define participating pieces
14 -pieceToCharTable "P..^S!^FS...W^OH.F.^R.^O'....R...D.GOO'^M..^H.M.C.^CC'.^W../.......^S.^P.^C'..^DS!.^GXKp..^s!^fs...w^oh.f.^r.^o'....r...d.goo'^m..^h.m.c.^cc'.^w../.......^s.^p.^c'..^ds!.^gxk"
16 ; redefine default engine
21 ; provide initial position
23 -fen "hmo'cskwgc'do/1+o'3s!3f1/ppprpppxppp/3p3p3/11/11/11/3P3P3/PPPXPPPRPPP/1F3S!3+O'1/ODC'GWKSCO'MH w"
25 ; define how pieces move
27 -men "P:fW;O:fR;H:fRbW2;C':fWbF;O':fWbF;M:vWfF;G:vWfF;C:sWfF;D:sbWfF;S:FfW;W:WfF;S!:sRvW;R:FfR;X:FvWAvD;F:BfW;+P:WfF;+O:K;+H:vN;+C':BfW;+O':vRfF3bFsW;+M:FfW;+G:sRvW;+C:vRsWfF;+D:WfF;+S:FfsW;+W:K;+S!:R;+R:FvWAvD;+F:BvRsW"
29 ; pieces: supplied wa-shogi svg's, and flip them in flipView
31 -pid ~~/themes/SHOGI/1-kanji-wa
32 -inscriptions " ..燕鶏鹿...狼歬風.鷹.狐.鷲....兎...犬.鳫車鴟鹿..天.猿.鶏.延烏.熊/.......猪.金.鷹..狼羽.羽狐 "
36 ; board: no checkering (both w. and w.o. texture)
38 -liteBackTextureFile "~~/themes/textures/kaya.png"
39 -darkBackTextureFile "~~/themes/textures/kaya.png"
40 -lightSquareColor #77A26D
41 -darkSquareColor #77A26D
43 ; detour under-promotion is less convenient when non-pawns promote
45 -sweepPromotions false
47 ; legality testing must be on for double-moves to work, no adjudication
53 ; set up own persistence file, used for this theme only
55 -settingsFile ~/.xboard-wa-rc
56 -saveSettingsFile ~/.xboard-wa-rc