I had been using this PieceToChar, which is basically the old one I had but with the / to skip to the promotion series: "P.BRQFE.CWMOH..GDVL.U/+.++.+..+++++..+++.++Kp.brqfe.cwmoh..gdvl.u/+.++.+..+++++..+++.++k"
However, I now switched to this game definition based on your piece assignments:
Code: Select all
##########
# WaShogi #
##########
Variant: WaShogi (11x11)
Board: 11x11
#FEN: "hmocvkwgubd/1e3l3f1/ppprpppqppp/3p3p3/11/11/11/3P3P3/PPPQPPPRPPP/1E3L3F1/DBUGWKVCOMH w - 0 1"
#XBoard pieces: "P.BRQFE.CWMOH..GDVL.U/+.++.+..+++++..+++.++Kp.brqfe.cwmoh..gdvl.u/+.++.+..+++++..+++.++k"
FEN: "hmlcvkwgudo/1e3s3f1/ppprpppxppp/3p3p3/11/11/11/3P3P3/PPPXPPPRPPP/1F3S3E1/ODUGWKVCLMH w 0 1"
XBoard pieces: "P..^S^FV..^LW^OH.F.^R.E....R...D.GOL^M..^H.M.C.^CU.^W/.......^V.^P.^U..^DS.^GXKp..^s^fv..^lw^oh.f.^r.e....r...d.gol^m..^h.m.c.^cu.^w/.......^v.^p.^u..^ds.^gxk"
XBoard parent: "chu"
Zone: white_promotion = a11,b11,c11,d11,e11,f11,g11,h11,i11,j11,k11,a10,b10,c10,d10,e10,f10,g10,h10,i10,j10,k10,a9,b9,c9,d9,e9,f9,g9,h9,i9,j9,k9
Zone: black_promotion = a3,b3,c3,d3,e3,f3,g3,h3,i3,j3,k3,a2,b2,c2,d2,e2,f2,g2,h2,i2,j2,k2,a1,b1,c1,d1,e1,f1,g1,h1,i1,j1,k1
# crane King, K=King
# cloud Eagle, E
# flying Falcon F promotes to *Tenacious Falcon
# Swallows wings, S promotes to *Gliding Swallow
# treacherous foX, X
# running Rabbit, R promotes to *Treacherous fox
# violent Wolf, W promotes to *Bear's Eyes
# Violent stag, V promotes to *Roaming Boar
# flying Goose, G promotes to *Swallow's Wings
# flying Cock, C promotes to *Raiding Falcon
# strUtting crow, U promotes to *Flying Falcon
# swooping owL, L promotes to *Cloud Eagle
# blind Dog, D promotes to *Violent Wolf
# climbing Monkey, M promotes to *Violent Stag
# liberated Horse, H promotes to *Heavenly Horse
# Oxcart, O promotes to *Plodding Ox
# sparrow Pawn, P=Pawn promotes to *Golden Bird
# Define the pieces
Piece: Crane King
Symbol: "K", "K,k"
Move: leap (0,1)|(1,1)
Flags: royal
Piece: Cloud Eagle
Symbol: "E", "E,e"
Move: slide (V)
Move: step W,E,SW,SE,3NW,3NE
Value: 850
Piece: Treacherous Fox
Symbol: "X", "X,x"
Move: aleap (1,1)|(2,2)|(-1,1)|(-2,2)|(1,-1)|(2,-2)|(-1,-1)|(-2,-2)|(0,1)|(0,2)|(0,-1)|(0,-2)
Value: 750
Piece: Flying Falcon
Symbol: "F", "F,f"
Move: slide (D,A)
Move: step N
Promotion: white_promotion, black_promotion, "+"
Value: 600
Piece: Tenacious Falcon
Symbol: "+F", "+F,+f"
Move: slide (V,A,D)
Move: step W,E
Value: 700
Piece: Running Rabbit
Symbol: "R", "R,r"
Move: step NE,NW,SE,S,SW,10N
Promotion: white_promotion, black_promotion, "+"
Value: 400
Piece: Promoted Running Rabbit
Symbol: "+R", "+R,+r"
Move: aleap (1,1)|(2,2)|(-1,1)|(-2,2)|(1,-1)|(2,-2)|(-1,-1)|(-2,-2)|(0,1)|(0,2)|(0,-1)|(0,-2)
Value: 750
Piece: Violent Wolf
Symbol: "W", "W,w"
Move: aleap (1,0)|(-1,0)|(0,1)|(0,-1)|(1,1)|(-1,1)
Promotion: white_promotion, black_promotion, "+"
Value: 400
Piece: Bears Eyes
Symbol: "+W", "+W,+w"
Move: leap (0,1)|(1,1)
Piece: Violent Stag
Symbol: "V", "V,v"
Move: aleap (0,1)|(1,1)|(1,-1)|(-1,-1)|(-1,1)
Promotion: white_promotion, black_promotion, "+"
Piece: Roaming Boar
Symbol: "+V", "+V,+v"
Move: aleap (1,0)|(-1,0)|(0,1)|(1,1)|(-1,1)|(-1,-1)|(1,-1)
Piece: Blind Dog
Symbol: "D", "D,d"
Move: aleap (-1,1)|(1,1)|(-1,0)|(1,0)|(0,-1)
Promotion: white_promotion, black_promotion, "+"
Piece: Promoted Blind Dog
Symbol: "+D", "+D,+d"
Move: aleap (1,0)|(-1,0)|(0,1)|(0,-1)|(1,1)|(-1,1)
Piece: Climbing Monkey
Symbol: "M", "M,m"
Move: aleap (-1,1)|(0,1)|(1,1)|(0,-1)
Promotion: white_promotion, black_promotion, "+"
Piece: Promoted Climbing Monkey
Symbol: "+M", "+M,+m"
Move: aleap (0,1)|(1,1)|(1,-1)|(-1,-1)|(-1,1)
Piece: Flying Goose
Symbol: "G", "G,g"
Move: aleap (-1,1)|(0,1)|(1,1)|(0,-1)
Promotion: white_promotion, black_promotion, "+"
Piece: Promoted Flying Goose
Symbol: "+G", "+G,+g"
Move: slide (H)
Move: aleap (0,1)|(0,-1)
Piece: Flying Cock
Symbol: "C", "C,c"
Move: aleap (-1,1)|(-1,0)|(1,1)|(1,0)
Promotion: white_promotion, black_promotion, "+"
Piece: Raiding Falcon
Symbol: "+C", "+C,+c"
Move: aleap (-1,1)|(-1,0)|(1,1)|(1,0)
Move: slide (V)
Piece: Swallows Wings
Symbol: "S", "S,s"
Move: slide (H)
Move: aleap (0,1)|(0,-1)
Promotion: white_promotion, black_promotion, "+"
Piece: Gliding Swallow
Symbol: "+S", "+S,+s"
Move: slide (H,V)
Piece: Strutting Crow
Symbol: "U", "U,u"
Move: aleap (-1,-1)|(1,-1)|(0,1)
Promotion: white_promotion, black_promotion, "+"
Piece: Promoted Strutting Cow
Symbol: "+U", "+U,+u"
Move: slide (D,A)
Move: step N
Piece: Swooping Owl
Symbol: "L", "L,l"
Move: aleap (-1,-1)|(1,-1)|(0,1)
Promotion: white_promotion, black_promotion, "+"
Piece: Cloud Eagle (Promoted Swooping Owl)
Symbol: "+L", "+L,+l"
Move: slide (V)
Move: step W,E,SW,SE,3NW,3NE
Piece: Liberated Horse
Symbol: "H", "H,h"
Move: step 10N,2S
Promotion: white_promotion, black_promotion, "+"
Piece: Heavenly Horse
Symbol: "+H", "+H,+h"
Move: aleap (1,2)|(-1,2)|(1,-2)|(-1,-2)
Piece: Oxcart
Symbol: "O", "O,o"
Move: step 10N
Promotion: white_promotion, black_promotion, "+"
Piece: Plodding Ox (Promoted Oxcart)
Symbol: "+O", "+O,+o"
Move: leap (0,1)|(1,1)
Piece: Sparrow Pawn
Symbol: "P", "P,p"
Move: step N
Promotion: white_promotion, black_promotion, "+"
Flags: drop_no_mate, drop_one_file
Value: 80
Piece: Golden Bird (Promoted Sparrow Pawn)
Symbol: "+P", "+P,+p"
Move: aleap (1,0)|(-1,0)|(0,1)|(0,-1)|(1,1)|(-1,1)
Value: 450
Rule: keep capture, allow drops
Rule: repeat4 = draw
Rule: perpetual4 = loss
However, this results in a segfault from XBoard when I try to start the game (I updated to the latest from your git repository):
Disabling the sending of piece commands in SjaakII avoids the crash (but the game cannot be played, even with legality testing off), so it apparently crashes on either of these:
Oddly, this did not happen with the earlier definition...