Life In 19x19
http://www.lifein19x19.com/

Editing sgf files
http://www.lifein19x19.com/viewtopic.php?f=18&t=6621
Page 1 of 1

Author:  bleep [ Fri Aug 31, 2012 12:57 pm ]
Post subject:  Editing sgf files

The file that is saved after playing a Tygem game is a .gib file. I use MultiGo, which saves it as a .sgf, and then I go through the game using MFOG to see where I could have played differently. One of the things I do is get the computer to play some of the key moves, and compare them to where I chose.

Unfortunately, the .sgf shows both players as having zero time, and the computer therefore takes no time to think. Is it possible to edit a .sgf to increase the allotted time? If it's hectic programming, then I'd rather not bother, but I'm hoping there is a simple way to do it.

Any help appreciated.

Author:  xed_over [ Sat Sep 01, 2012 9:31 am ]
Post subject:  Re: Editing sgf files

I don't believe it has anything to do with the time settings in the game record, but rather its more to do with the skill settings of the AI and the complications of the board position.

Author:  bleep [ Sat Sep 01, 2012 10:48 am ]
Post subject:  Re: Editing sgf files

No, MFOG definitely requires some time to think. Currently the game has both players with 00:00 time remaining, and so it plays instantly. This normally results in inferior moves.

At the 1 dan setting, given 5 minutes, it can easily beat me, and I find it interesting to see where a "better player" would have played. If I give it 10 seconds to play the whole game, I beat it easily and pointlessly.

Author:  Phelan [ Sat Sep 01, 2012 9:39 pm ]
Post subject:  Re: Editing sgf files

Have you tried checking the game settings, after opening the file? I think most editors allow you to edit the time settings for the game. If not, you can open it up on notepad or other text editor and check out the time properties (I don't know which tags they are right now, though).

Author:  bleep [ Sun Sep 02, 2012 1:13 am ]
Post subject:  Re: Editing sgf files

Thanks Phelan,

I didn't realise they were a text file that could be edited, that did the trick.

Cheers.

Page 1 of 1 All times are UTC - 8 hours [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/