Workaround for Tenuki

Various tips, tricks and known issues

Moderator: lpaatero

gwport
Posts: 66
Joined: Mon Apr 03, 2006 5:28 pm
Contact:

Workaround for Tenuki

Postby gwport » Wed Apr 11, 2012 7:48 pm

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.
robert jasiek

gwport
Posts: 66
Joined: Mon Apr 03, 2006 5:28 pm
Contact:

Re: Workaround for Tenuki

Postby gwport » Thu Apr 12, 2012 11:35 am

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.
robert jasiek

lpaatero
Go liiton hallitus
Posts: 458
Joined: Fri May 21, 2004 12:20 pm
Location: Finland

Re: Workaround for Tenuki

Postby lpaatero » Fri Jul 08, 2016 6:52 am

This feature has been added in gowrite 3.x versions:
It is possible to add "custom exception" to move.
Go to move requiring the exception, and press button [...], there select "custom exception".
Now move should be in exceptions with text given.


Return to “Tips & Tricks”

Who is online

Users browsing this forum: No registered users and 1 guest