It is currently Wed May 01, 2024 2:01 am

All times are UTC - 8 hours [ DST ]




Post new topic Reply to topic  [ 10 posts ] 
Author Message
Offline
 Post subject: Misplaced stone when creating SGF.
Post #1 Posted: Tue Aug 10, 2010 9:10 pm 
Dies with sente
User avatar

Posts: 74
Location: Near Denver, Colorado
Liked others: 11
Was liked: 6
Rank: OGS 17K
KGS: psk31
OGS: psk31
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.

_________________
"Play confidently. Make the best of mistakes."
- Janice Kim, Learn to Play Go Vol. 1

Top
 Profile  
 
Offline
 Post subject: Re: Misplaced stone when creating SGF.
Post #2 Posted: Tue Aug 10, 2010 9:18 pm 
Judan
User avatar

Posts: 5539
Location: Banbeck Vale
Liked others: 1103
Was liked: 1456
Rank: 1D AGA
GD Posts: 1512
Kaya handle: Test
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.

_________________
Help make L19 more organized. Make an index: https://lifein19x19.com/viewtopic.php?f=14&t=5207

Top
 Profile  
 
Offline
 Post subject: Re: Misplaced stone when creating SGF.
Post #3 Posted: Tue Aug 10, 2010 10:36 pm 
Oza

Posts: 2264
Liked others: 1180
Was liked: 552
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.

Top
 Profile  
 
Offline
 Post subject: Re: Misplaced stone when creating SGF.
Post #4 Posted: Tue Aug 10, 2010 10:50 pm 
Lives with ko
User avatar

Posts: 205
Liked others: 6
Was liked: 65
Rank: EGF 5 dan
GD Posts: 29
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

Top
 Profile  
 
Offline
 Post subject: Re: Misplaced stone when creating SGF.
Post #5 Posted: Wed Aug 11, 2010 4:41 am 
Lives in gote
User avatar

Posts: 399
Location: Shanghai, China
Liked others: 5
Was liked: 35
Rank: EGF 2d KGS 3d
GD Posts: 353
KGS: freegame
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).

_________________
Laurens
Go school: freegame's Teaching School
Author of: The Next Move a book for 15-3kyu players.

Top
 Profile  
 
Offline
 Post subject: Re: Misplaced stone when creating SGF.
Post #6 Posted: Wed Aug 11, 2010 7:25 pm 
Dies with sente
User avatar

Posts: 74
Location: Near Denver, Colorado
Liked others: 11
Was liked: 6
Rank: OGS 17K
KGS: psk31
OGS: psk31
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:

_________________
"Play confidently. Make the best of mistakes."
- Janice Kim, Learn to Play Go Vol. 1

Top
 Profile  
 
Offline
 Post subject: Re: Misplaced stone when creating SGF.
Post #7 Posted: Wed Aug 11, 2010 11:02 pm 
Honinbo

Posts: 9545
Liked others: 1600
Was liked: 1711
KGS: Kirby
Tygem: 커비라고해
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.

_________________
be immersed

Top
 Profile  
 
Offline
 Post subject: Re: Misplaced stone when creating SGF.
Post #8 Posted: Thu Aug 12, 2010 7:08 am 
Dies with sente
User avatar

Posts: 74
Location: Near Denver, Colorado
Liked others: 11
Was liked: 6
Rank: OGS 17K
KGS: psk31
OGS: psk31
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.

_________________
"Play confidently. Make the best of mistakes."
- Janice Kim, Learn to Play Go Vol. 1

Top
 Profile  
 
Offline
 Post subject: Re: Misplaced stone when creating SGF.
Post #9 Posted: Thu Aug 12, 2010 7:55 am 
Honinbo

Posts: 9545
Liked others: 1600
Was liked: 1711
KGS: Kirby
Tygem: 커비라고해
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.

_________________
be immersed

Top
 Profile  
 
Offline
 Post subject: Re: Misplaced stone when creating SGF.
Post #10 Posted: Thu Aug 12, 2010 11:23 am 
Oza

Posts: 2264
Liked others: 1180
Was liked: 552
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 :)

Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 10 posts ] 

All times are UTC - 8 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group