Thread: Byteswap .sgf files?

Started: 2006-10-27 20:53:01
Last activity: 2006-10-27 20:53:01
Topics: SAC Help
andreas wessel
2006-10-27 20:53:01
Hello,

For accessing .sgf files that were created on another machine I probably
have to byteswap them.
With SAC data files thats done easily by just 2 lines in SAC:
r file
w file

Now I'm wondering, if there is a similar (easy) way to do this with sgf
files.
The sgftops script only works for sgf files that I created myself, with
other ones I end up with a "Segmentation fault"

Thanks,
Andreas

  • Arthur Snoke
    2006-10-27 15:28:12
    To my knowledge, there is no "sgfswap" program or capability.

    SGF format is something I have a personal interest in and plan to write
    such a translator, but have not gotten to it. If anyone else has done it,
    please share.

    On Fri, 27 Oct 2006, andreas wessel wrote:

    Hello,

    For accessing .sgf files that were created on another machine I probably
    have to byteswap them.
    With SAC data files thats done easily by just 2 lines in SAC:
    r file
    w file

    Now I'm wondering, if there is a similar (easy) way to do this with sgf
    files.
    The sgftops script only works for sgf files that I created myself, with
    other ones I end up with a "Segmentation fault"

    Thanks,
    Andreas


07:44:02 v.e73c6799