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

Misplaced stone when creating SGF.
http://www.lifein19x19.com/viewtopic.php?f=24&t=1345
Page 1 of 1

Author:  psk31 [ Tue Aug 10, 2010 9:10 pm ]
Post subject:  Misplaced stone when creating SGF.

Hi all,

I've just finished entering one of my games from Congress last week into CGoban3 using the Create SGF File function. When I finished I discovered that I have one stone out of place (found that when I hit the score estimate and it was way off). The stone in question is one space off, I put in on L9 instead of L10 and it makes the difference in making a group live. Is there anyway to move that one stone? Or do I have to wind it back to the move in question and re-enter from there. Or am I lucky enough that if I rewind back to the move, correct it, does the program remember the subsequent moves? Yes, it's late and I've discovered it takes forever to enter a game manually.

Thanks.

Author:  Joaz Banbeck [ Tue Aug 10, 2010 9:18 pm ]
Post subject:  Re: Misplaced stone when creating SGF.

You can manually edit an SGF file. The code for L9 will be '[kk]' and the code for L10 will be '[kj]'. Just stick the SFG file in an editor and do a search and replace.

Author:  xed_over [ Tue Aug 10, 2010 10:36 pm ]
Post subject:  Re: Misplaced stone when creating SGF.

psk31 wrote:
Or am I lucky enough that if I rewind back to the move, correct it, does the program remember the subsequent moves?

yes, you can cut and paste the remaining moves from the old branch to the new branch.

Author:  Vesa [ Tue Aug 10, 2010 10:50 pm ]
Post subject:  Re: Misplaced stone when creating SGF.

Also, if you use real SGF publishing tools like GoWrite you can easily move the stone when editing (click and drag). CGoban3 is notorious for its tendency to create variations after a scribe error.

Cheers,
Vesa

Author:  freegame [ Wed Aug 11, 2010 4:41 am ]
Post subject:  Re: Misplaced stone when creating SGF.

Open the sgf in CGoban.
Use cut at the first move after the mistake.
Then delete the mistaken move(s) and put the correct once in.
Then past the part you removed back into the tree.

Don't just use the edit tool for this, it will mess up things (game tree/move sequence).

Author:  psk31 [ Wed Aug 11, 2010 7:25 pm ]
Post subject:  Re: Misplaced stone when creating SGF.

Thanks all, good that there are options out there. Unfortunately, it looks like I missed the save button when I closed out last night because only about a fourth of the game was there. I guess I get to re-enter anyway, sigh. :cry:

Author:  Kirby [ Wed Aug 11, 2010 11:02 pm ]
Post subject:  Re: Misplaced stone when creating SGF.

Are you replaying the game from memory, or is it from like an iPhone? I seem to recall you mentioning that you were able to email yourself the sgf text of a file that you had.

Sorry if you already know this, or if it's not applicable, but if you are able to email the sgf text of the file that you had, you can copy and paste that text into a text file, and rename the text file extension to .sgf...

I'm not really sure if this applies to what you're trying to do or not. I just seem to remember you saying something about being able to get the text of the sgf, but not the sgf file itself.

Author:  psk31 [ Thu Aug 12, 2010 7:08 am ]
Post subject:  Re: Misplaced stone when creating SGF.

This particular game is one that I had kept a paper game record and I was transcribing it to make a sgf file. The earlier one that I had emailed to me came to me not as an sgf attachment but the with sgf text as the body of the email. I just copied and pasted that into Notepad, gave it a .sgf extentsion and it worked great.

Author:  Kirby [ Thu Aug 12, 2010 7:55 am ]
Post subject:  Re: Misplaced stone when creating SGF.

psk31 wrote:
This particular game is one that I had kept a paper game record and I was transcribing it to make a sgf file. The earlier one that I had emailed to me came to me not as an sgf attachment but the with sgf text as the body of the email. I just copied and pasted that into Notepad, gave it a .sgf extentsion and it worked great.


Great. I remembered that you had said something about the text, and I figured it was obvious to you that you could make the SGF file from it, but I wasn't totally sure.

Author:  xed_over [ Thu Aug 12, 2010 11:23 am ]
Post subject:  Re: Misplaced stone when creating SGF.

psk31 wrote:
Thanks all, good that there are options out there. Unfortunately, it looks like I missed the save button when I closed out last night because only about a fourth of the game was there. I guess I get to re-enter anyway, sigh. :cry:

always remember to work on a copy of the original when making such sweeping changes :)

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