Page 1 of 1

Editing sgf files

Posted: Fri Aug 31, 2012 12:57 pm
by bleep
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.

Re: Editing sgf files

Posted: Sat Sep 01, 2012 9:31 am
by xed_over
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.

Re: Editing sgf files

Posted: Sat Sep 01, 2012 10:48 am
by bleep
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.

Re: Editing sgf files

Posted: Sat Sep 01, 2012 9:39 pm
by Phelan
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).

Re: Editing sgf files

Posted: Sun Sep 02, 2012 1:13 am
by bleep
Thanks Phelan,

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

Cheers.