It is currently Fri May 02, 2025 1:17 am

All times are UTC - 8 hours [ DST ]




Post new topic Reply to topic  [ 2 posts ] 
Author Message
Offline
 Post subject: Gowrite: Workaround for Tenuki
Post #1 Posted: Wed Apr 11, 2012 11:00 am 
Judan

Posts: 6269
Liked others: 0
Was liked: 796
The following procedure makes it possible to show a specified text such as "tenuki" in the diagram exceptions. Different specified texts within one diagram are not supported yet. There are limitations for mixing specified texts and passes.

- Use Gowrite 2_3_48 or later. (Possibly 2_3_45 or later also works.)

- Enable: Board Options | Detailed Exception Options | Missing Move | Show in Displayed

- Enable: Board Options | Detailed Exception Options | Missing Move | Show in Diagram

- Select: Options | Language | English (en)

- Select: Options | SGF Options | Select other locale | English (en)

- Select: Options | GOWrite Development and Test... | Translation Target Language | English (en)

- Select: Options | GOWrite Development and Test... | Enable Translation Test

- Exit Gowrite, then start Gowrite.

- Select: Options | GOWrite Development and Test... | Edit Translation...

- There select: File | Open SGF Text

- Click into the field: EXCEPTION_MOVE_MISSING | Language en value

- Type: {0} tenuki

- Press ENTER.

- Select: File | Save New Values

- Close the Translation window.

- Exit Gowrite, then start Gowrite.

- Edit or open an SGF file.

- In the game tree, delete the move(s) for which you want to see the exceptions text "tenuki".

- In the game tree, click on the next diagram symbol following the missing move(s) or else click on the variation's last move.

- Select a board area.

- Use File | Export or use Edit | Copy Current Diagram.

- View or paste the diagram in a different application. You should see the text "tenuki".

- When finished, you can disable, deselect or default the language and translation options. Restart Gowrite.


This post by RobertJasiek was liked by 2 people: emeraldemon, logan
Top
 Profile  
 
Offline
 Post subject: Re: Gowrite: Workaround for Tenuki
Post #2 Posted: Thu Apr 12, 2012 2:38 am 
Judan

Posts: 6269
Liked others: 0
Was liked: 796
First Move is Tenuki

Workaround: Alter the EXCEPTION_MOVE_MISSING procedure. Set EXCEPTION_MOVE_IS_PASS =
{0} tenuki
Restart Gowrite. Represent the first move as a pass. (This does not work if there are both tenukis and passes in one diagram.)

Successive Tenukis

Workaround: Alter the EXCEPTION_MOVE_MISSING procedure. Set EXCEPTION_MOVE_IS_PASS =
{0} tenuki
Restart Gowrite. Represent the tenukis by passes. (This does not work if there are both tenukis and passes in one diagram.)

Last Move is Tenuki

Workaround: Use the EXCEPTION_MOVE_MISSING procedure. After the tenuki move, put a fake move elsewhere on the board. In the game tree, remove the preceding tenuki move and go to the fake move elsewhere on the board. Mark a board area not including the fake move elsewhere on the board.

File

It is also possible to manually edit C:\Users\<username>\.gowrite\translation_en_23_48.xml, then restart Gowrite. (Other Gowrite versions can use other file names.)

Other Texts

Instead of "tenuki", you can write another text such as "elsewhere", "ladder breaker", "ko threat", "ko-pass", "ko-pass for the ko K" etc. Do not forget to write "{0} ".

Other languages

Instead of English (en), other languages can be abused, provided you select them thrice.

Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 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