Magicwand wrote:emeraldemon wrote:Thanks

. It's a shame about not having sgfs.
I think they do. I don't know how to use them.
I was curious about this since you mentioned it, so I took a look at the site (
http://www.cyberoro.com/news/news_view.oro?num=517211). In particular, if you view the source for the page, and search for the first text that you quoted, MW, you can see the following:
Code: Select all
<center><div class=caption><center> <b> ▼ 참고도1-2(흑, 곤란)</b> </center></div><script>showgibo('http://open.cyberoro.com/photo/201210/[517211]121018c1-2.ntf',400,'center');</script></center><br>
실전에선 백1에 흑2로 막았다. 이후 흑8로 젖히는 싸움은 잘 안 된다. 백9로 끊어 싸우면 흑이 좋지 않은 자세. <br>
<br>
Looks like they do some stuff with javascript for the image, etc. Anyway, if you take the hyperlink and paste it in your browser directly, you can download the file (
http://open.cyberoro.com/photo/201210/[ ... 18c1-2.ntf).
The file opens in a text editor, and has an interesting format, which can be seen here:
Code: Select all
1
(
2[cc]
2[ic]
2[nc]
1[oc]
1[bd]
2[dd]
2[fd]
2[nd]
1[pd]
1[cf]
1[ef]
1[pf]
1[bi]
2[di]
1[pj]
2[cn]
2[jo]
2[dp]
1[op]
1[qp]
2[cq]
1[fq]
1[hq]
2[jq]
2[mq]
1[dr]
1[nr]
)
21
W[gp]
B[fp]
W[gq]
B[gr]
W[hp]
B[hr]
W[fo]
B[eo]
W[ep]
B[go]
W[fn]
B[ip]
W[ho]
B[io]
W[hn]
B[in]
W[iq]
B[hm]
W[gn]
B[eq]
W[jp]
To switch this to an SGF, you can make a couple of quick modifications:
1.) Do a quick find/replace on the capital "B[" and "W[" elements so that they start with semicolons (eg. "B[" becomes ";B[").
2.) Do a find/replace on the "1[" with "AB[". Do the same to replace "2[" with "AW[".
3.) Remove excess parentheses.
4.) Slap on "(;FF[3]SZ[19]" at the top of the file.
5.) Add a parenthesis at the end of the file.
6.) ???
7.) Profit!!!
This gave me:
Code: Select all
(;FF[3]SZ[19]
AW[cc]
AW[ic]
AW[nc]
AB[oc]
AB[bd]
AW[dd]
AW[fd]
AW[nd]
AB[pd]
AB[cf]
AB[ef]
AB[pf]
AB[bi]
AW[di]
AB[pj]
AW[cn]
AW[jo]
AW[dp]
AB[op]
AB[qp]
AW[cq]
AB[fq]
AB[hq]
AW[jq]
AW[mq]
AB[dr]
AB[nr]
;W[gp]
;B[fp]
;W[gq]
;B[gr]
;W[hp]
;B[hr]
;W[fo]
;B[eo]
;W[ep]
;B[go]
;W[fn]
;B[ip]
;W[ho]
;B[io]
;W[hn]
;B[in]
;W[iq]
;B[hm]
;W[gn]
;B[eq]
;W[jp]
)
Which can be seen in an SGF editor:
---
Kind of a tedious approach, but it could be automated. I might be inclined to do so if I can get more information about the spec for these elusive ntf files...
