sgfutils
The package sgfutils
contains a few command line utilities that help working with
SGF files that describe go (igo, weiqi, baduk) games.
This page is about gib2sgf, ngf2sgf and ugi2sgf.
See also
sgf,
sgfcharset,
sgfcheck,
sgfcmp,
sgfdb,
sgfdbinfo,
sgfinfo,
sgfmerge,
sgfsplit,
sgfstrip,
sgftf,
sgftopng,
sgfvarsplit,
sgfx.
The program gib2sgf reads a GIB file and converts it to SGF.
Input is from stdin, output is to stdout.
Typical usage:
% gib2sgf < foo.ngf > foo.sgf
The program ngf2sgf reads an NGF file and converts it to SGF.
Input is from stdin, output is to stdout.
Typical usage:
% ngf2sgf < foo.ngf > foo.sgf
% ugi2sgf [-ni] [--] [files]
The program ugi2sgf reads UGF files (usually with .ugi
or .ugf extension) and converts them to SGF.
If input is from stdin, output is to stdout.
If input is from foo.xxx then output is to foo.sgf.
Embedded photographs are stored in the same directory
(usually as .jpg images).
Typical usage:
% ugi2sgf *.ugi
Options:
- -fig
- Also output the .Fig subsections.
- -ip
- ("Image Prefix") Prefix the names of images saved from foo.xxx
with foo_.
- -ip=PREFIX
- Prefix the names of images saved with PREFIX.
E.g.
-ip=../pics/
.
- -ni
- ("No Images") Don't save images.