Editing sgf files

For discussing go computing, software announcements, etc.
Post Reply
bleep
Dies with sente
Posts: 92
Joined: Fri Oct 28, 2011 1:31 am
Rank: 6 - 9k
GD Posts: 0
KGS: bleep
Tygem: rbleep
IGS: rbleep
Location: Zimbabwe
Has thanked: 3 times
Been thanked: 18 times

Editing sgf files

Post 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.
xed_over
Oza
Posts: 2264
Joined: Mon Apr 19, 2010 11:51 am
Has thanked: 1179 times
Been thanked: 553 times

Re: Editing sgf files

Post 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.
bleep
Dies with sente
Posts: 92
Joined: Fri Oct 28, 2011 1:31 am
Rank: 6 - 9k
GD Posts: 0
KGS: bleep
Tygem: rbleep
IGS: rbleep
Location: Zimbabwe
Has thanked: 3 times
Been thanked: 18 times

Re: Editing sgf files

Post 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.
User avatar
Phelan
Gosei
Posts: 1449
Joined: Tue Apr 20, 2010 3:15 pm
Rank: KGS 6k
GD Posts: 892
Has thanked: 1550 times
Been thanked: 140 times

Re: Editing sgf files

Post 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).
a1h1 [1d]: You just need to curse the gods and defend.
Good Go = Shape.
Associação Portuguesa de Go
bleep
Dies with sente
Posts: 92
Joined: Fri Oct 28, 2011 1:31 am
Rank: 6 - 9k
GD Posts: 0
KGS: bleep
Tygem: rbleep
IGS: rbleep
Location: Zimbabwe
Has thanked: 3 times
Been thanked: 18 times

Re: Editing sgf files

Post by bleep »

Thanks Phelan,

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

Cheers.
Post Reply