UGF format
UGF is a file format for storing Go games.
Applications that can handle UGF
- gGo (read)
- glGo (read)
- GoAssistant (read)
- GoWrite (read)
- MultiGo
- Panda Egg
- SenteGoban
- Go Eye
Sample File
[Header] Ver=UGF2,200 Lang=SJIS Crypt=2146,PLAIN_UGF_FILE,READ_WRITE Title=26th,Gosei,Title matches 5th game Place=The Nihon Ki-in, Tokyo Date=2001/08/20,09:00:00,2001/08/20,00:00:00 Rule=JPN Size=19 Hdcp=0,5.50 Ptime=J;240;0;0,J;240;0;0,0,0 Winner=B,1.5 Moves=230 Writer= Copyright=The Nihon Ki-in CoordinateType=IGS Comment= PlayerW=K.Yamashita,Gosei,0, PlayerB=K.Kobayashi,9-dan,0, [Data] PP,B1,1,0 DD,W1,2,0 PC,B2,3,0 ... EK,W2,228,0 AG,B1,229,0 FK,W1,230,0
UGZ
UGZ files are UGF files compressed using the LHA compression algorithm.
Links
On-line UGF Format to SGF converters
- http://gobase.org/online/sgf2misc/?mode=ugf&fname=
- http://www.ask.ne.jp/~sakana/Go/ugf2sgf_e.html
- http://playgo.to/kifu/ugf2sgf.html
Tools
- http://www.pandanet.co.jp/English/glgo/sgftools/ -- glGo SGF Tools converts both UGF Format and Ishi format to SGF
- sgfutils: ugi2sgf -- command-line utility
- http://www.asahi-net.or.jp/~bq5y-mtt/igo/igosoft.htm#fileconv (not found)
An alias is UGI-format as the files are named *.ugi
Comments
Fhayashi: I've checked a few Japanese language go websites (including Go Weekly), and it seems to me that they all use UGF format.
BobMcGuigan: Most of the web pages of the newspapers that sponsor the Japanese titles use UGF for their "live" presentations of the title match games. If you install the Panda Egg IGS client and visit these newspaper web pages, when you click on the "live" button Panda Egg will activate and show the game move by move. The newspaper web page URLs are at Japanese Go Column URLs.
Bob Myers: Does anyone know where to find a spec for UGF? I have a UGF file which contains the line CRYPT=9666,... and the rest of the file appears to be encrypted using a very simple substitution cipher. Any ideas? Neither of the tools mentioned above seem to be happy about this.
RiffRaff: IGS seems to use UGF format for publishing their PandaNet Mail Magazine by e-mail. It does not appear to be supported well by most programs, even among those listed above as supporting UGF format. I used the sample game commentary to test. glGo seems like the best bet currently.