When I save a 2-stone handicap game with qGo 2.0.0 using GNU Go 3.9.1 as engine and then open it with the same software, the handicap stones are missing. This is quite annoying, as one has to imagine the missing stones and the scoring function will count them as territory or dame or treat the position as unsettled.
I can add them to the SGF file by hand, in which case they appear as unnumbered stones when I click the button for the first move, followed by white’s first move numbered 1.
It is evident that either the save or the load function is incorrect, and I suspect that it is the former, as handicap stones need not be on hoshi.
- Does the file format prescribe how handicap stones should be saved?
- If so, does qGo+GNU Go do it right?
- Is this function performed by qGo or GNU Go?
- Is the manual addition of the stones the best workaround?
Here is an example of an SGF-file saved and edited, with the handicap stones added by hand (AB[pd][dp]
at the end of the second line):
(;GM[1]FF[4]AP[qGo:2.0.0]ST[1]
SZ[19]HA[2]KM[0]PW[Human]PB[Computer]AB[pd][dp]
;W[pp];B[cd];W[ed];B[hd];W[fc];B[np];W[qm];B[cg];W[cc];B[bc]
;W[dc];B[dk];W[cn];B[en];W[cq];B[cp];W[bp];B[bo];W[bq];B[bn]
;W[dq];B[gq];W[eq];B[oq];W[pg];B[nd];W[bb];B[pq];W[qq];B[qr]
;W[rq];B[qf];W[qg];B[pe];W[qc];B[rd];W[rb];B[pj];W[pb];B[nb]
;W[qd];B[re];W[rc];B[sc];W[ri];B[gb];W[gc];B[hc];W[fb];B[hb]
;W[ef];B[bd];W[nc];B[mc];W[oc];B[sb];W[mb];B[lb];W[md];B[ma]
;W[od];B[ne];W[oe];B[kc];W[of];B[me];W[ld];B[le];W[qe];B[jq]
;W[mg];B[eg];W[gf];B[fg];W[ff];B[rr];W[sr];B[qp];W[rp];B[qo]
;W[ro];B[po];W[qn];B[hj];W[gg];B[ep];W[mj];B[ml];W[ok];B[kk]
;W[on];B[mn];W[oo];B[op];W[pn];B[fi];W[gr];B[fr];W[fq];B[hr]
;W[gp];B[hq];W[fp];B[hp];W[er];B[cm];W[ho];B[go];W[fo];B[gn]
;W[fn];B[fm];W[gm];B[hn];W[hm];B[io];W[in];B[ho];W[fk];B[im]
;W[em];B[fl];W[el];B[gl];W[hl];B[gk];W[dn];B[dm];W[eo];B[fj]
;W[ek];B[dj];W[dg];B[dh];W[df];B[cf];W[ij];B[ji];W[ii];B[ik]
;W[jj];B[kj];W[jh];B[ki];W[hh];B[gs];W[co];B[nj];W[nk];B[pp]
;W[mk];B[kh];W[jg];B[mi];W[ni];B[nh];W[oi];B[mh];W[oh];B[lg]
;W[ng];B[nl];W[ol];B[ab];W[il];B[jk];W[cb];B[je];W[if];B[nm]
;W[om];B[ie];W[ll];B[lk];W[nn];B[mm];W[mo];B[mp];W[ln];B[jn]
;W[lp];B[lq];W[kp];B[kq];W[lf];B[kf];W[mf];B[no];W[lm];B[ko]
;W[kn];B[jp];W[jm];B[lo];W[in];B[hk];W[jo];B[ge];W[fe];B[ob]
;W[kg];B[jf];W[lh];B[li];W[ig];B[hi];W[gh];B[ih];W[lg];B[mn]
;W[mm];B[gd];W[gi];B[gj];W[de];B[fh];W[ce];B[be];W[rs];B[pr]
;W[ao];B[bm];W[an];B[am];W[ap];B[dl];W[oa];B[ej];W[en];B[jl]
;W[im];B[ii];W[nf];B[ke];W[ga];B[ha];W[fa];B[jn];W[km];B[qs]
;W[es];B[fs];W[hf];B[sq];W[sp];B[ss];W[rn];B[sq];W[lc];B[mb]
;W[sr];B[jo];W[sq];B[mo];W[ac];B[ad];W[dd];B[rs];W[ba];B[ac]
;W[aa];B[af];W[pa];B[he];W[na];B[fd];W[kl];B[lj];W[tt];B[tt]
TB[ae][ag][ah][ai][aj][ak][al][bf][bg][bh][bi][bj][bk][bl][ch]
[ci][cj][ck][cl][di][eh][ei][gr][hs][ia][ib][ic][id][ij][ip]
[iq][ir][is][ja][jb][jc][jd][jj][jr][js][ka][kb][kd][kp][kr]
[ks][la][lc][ld][lp][lr][ls][md][mq][mr][ms][nq][nr][ns][or]
[os][ps]
TW[aq][ar][as][br][bs][ca][cp][cr][cs][da][db][do][dp][dr][ds]
[ea][eb][ec][ee][ep][hg][ml][nj][nl][nm][og][oj][pc][pd][pe]
[pf][ph][pi][pj][pk][pl][pm][qa][qb][qf][qh][qi][qj][qk][ql]
[ra][rd][re][rf][rg][rh][rj][rk][rl][rm][sa][sb][sc][sd][se]
[sf][sg][sh][si][sj][sk][sl][sm][sn][so]
)
computers
tagged questions you can see that they are usually pretty general. That said, this is a good question and a good answer. If you would like to propose a change to what is on and off topic you are welcome to make a meta post.