q5go-2.1.3: Autoplay and some other minor updates

Tell the community about tournaments, new go sites, software updates, etc.
bernds
Lives with ko
Posts: 259
Joined: Sun Apr 30, 2017 11:18 pm
Rank: 2d
GD Posts: 0
Has thanked: 46 times
Been thanked: 116 times

Re: q5go-2.1.1: Minor enhancements and fixes

Post by bernds »

I've pushed out some new code that adds initial support for KataGo's rulesets. This is currently for live analysis only, and I've focused on making it guess the correct ruleset from the various bits of information in the SGF file. This is based on what I've found in GoGoD plus files from a few Go servers. I'm still unsure how many menu options I really want for various rulesets and their subvariations, so on top of "Best guess" there's only Chinese and Japanese so far. It's possible to influence the guess by editing the game information and changing the rules field, which may be the best way to do it if the SGF file doesn't properly specify the rules yet.

No binaries yet, but if someone wants to test I'd be interested in hearing whether it works well or has some shortcomings. One known issue: I don't know what to do about Ing rules, they aren't listed on the KataGo GTP extensions page.
lightvector
Lives in sente
Posts: 759
Joined: Sat Jun 19, 2010 10:11 pm
Rank: maybe 2d
GD Posts: 0
Has thanked: 114 times
Been thanked: 916 times

Re: q5go-2.1.1: Minor enhancements and fixes

Post by lightvector »

bernds wrote:No binaries yet, but if someone wants to test I'd be interested in hearing whether it works well or has some shortcomings. One known issue: I don't know what to do about Ing rules, they aren't listed on the KataGo GTP extensions page.
There's no reason why you should need KataGo to name the rules for you to use them. KataGo's ruleset is fully documented at https://lightvector.github.io/KataGo/rules.html and every option here is indivdually toggleable, so if you want to support any new rules, you can find the closest combination of rules there and use that - and if there isn't a practically-exact match, you can ask other people specialized in rules beasts and corner cases for help in figuring what would be the closest match.

Or, if your research turns up that there is simply no 99%-correct match and you need a rule that is strongly distinct from the ones there, you can suggest to add it (but hopefully you also have a good proposal on how to make it well-defined enough to implement it programatically - e.g. if it's even 10% as complex as Japanese territory scoring, it might need some careful thought).
User avatar
jl1990
Beginner
Posts: 2
Joined: Thu Nov 05, 2020 3:46 pm
GD Posts: 0
Has thanked: 2 times

Re: q5go-2.1.1: Minor enhancements and fixes

Post by jl1990 »

Hey guys,

First things first. Congratulations for the program @bernds.
Also nice to see you here @lightvector (thanks for KataGo, I follow the development closely)

I guess not much people uses Gentoo linux here, but just in case.
I created a Gentoo overlay which includes a q5Go ebuild (there was none previously), so now everyone should be able to use q5Go with this repository in Gentoo.

You can find ebuild here: https://github.com/jl1990/gentoo-overla ... board/q5Go and the repository is listed here: https://overlays.gentoo.org/.
It's my first ebuild, so feel free to submit bugs, PRs...
And
Gosei
Posts: 1464
Joined: Tue Sep 25, 2018 10:28 am
GD Posts: 0
Has thanked: 212 times
Been thanked: 215 times

Re: q5go-2.1.1: Minor enhancements and fixes

Post by And »

during the game of two engines how to stop the game in order to continue later? save, then close? or does it not matter? is it possible to stop for a while? can add a pause button?
bernds
Lives with ko
Posts: 259
Joined: Sun Apr 30, 2017 11:18 pm
Rank: 2d
GD Posts: 0
Has thanked: 46 times
Been thanked: 116 times

Re: q5go-2.1.1: Minor enhancements and fixes

Post by bernds »

jl1990 wrote:I guess not much people uses Gentoo linux here, but just in case.
I do, actually...
I created a Gentoo overlay which includes a q5Go ebuild (there was none previously), so now everyone should be able to use q5Go with this repository in Gentoo.
Neat. You might want to add a "doc" USE flag which requires pandoc as a build dependency. The README will get installed if that program is present.

You probably also need a few additional dependencies beyond qtgui, such as qtsvg and qtmultimedia.
bernds
Lives with ko
Posts: 259
Joined: Sun Apr 30, 2017 11:18 pm
Rank: 2d
GD Posts: 0
Has thanked: 46 times
Been thanked: 116 times

Re: q5go-2.1.1: Minor enhancements and fixes

Post by bernds »

And wrote:during the game of two engines how to stop the game in order to continue later? save, then close? or does it not matter? is it possible to stop for a while? can add a pause button?
Possibly. Shouldn't be too hard, but maybe not the highest priority.
bernds
Lives with ko
Posts: 259
Joined: Sun Apr 30, 2017 11:18 pm
Rank: 2d
GD Posts: 0
Has thanked: 46 times
Been thanked: 116 times

Re: q5go-2.1.1: Minor enhancements and fixes

Post by bernds »

lightvector wrote:
bernds wrote:No binaries yet, but if someone wants to test I'd be interested in hearing whether it works well or has some shortcomings. One known issue: I don't know what to do about Ing rules, they aren't listed on the KataGo GTP extensions page.
There's no reason why you should need KataGo to name the rules for you to use them. KataGo's ruleset is fully documented at https://lightvector.github.io/KataGo/rules.html and every option here is indivdually toggleable, so if you want to support any new rules, you can find the closest combination of rules there and use that - and if there isn't a practically-exact match, you can ask other people specialized in rules beasts and corner cases for help in figuring what would be the closest match.
The problem is I really don't understand Ing rules. My eyes glaze over whenever I start reading the ko rules. I guess it doesn't matter very much, I'll ignore them for now.
User avatar
jl1990
Beginner
Posts: 2
Joined: Thu Nov 05, 2020 3:46 pm
GD Posts: 0
Has thanked: 2 times

Re: q5go-2.1.1: Minor enhancements and fixes

Post by jl1990 »

bernds wrote:
jl1990 wrote:I guess not much people uses Gentoo linux here, but just in case.
I do, actually...
I created a Gentoo overlay which includes a q5Go ebuild (there was none previously), so now everyone should be able to use q5Go with this repository in Gentoo.
Neat. You might want to add a "doc" USE flag which requires pandoc as a build dependency. The README will get installed if that program is present.

You probably also need a few additional dependencies beyond qtgui, such as qtsvg and qtmultimedia.
Thanks for the feedback, I will apply those changes
bernds
Lives with ko
Posts: 259
Joined: Sun Apr 30, 2017 11:18 pm
Rank: 2d
GD Posts: 0
Has thanked: 46 times
Been thanked: 116 times

Re: q5go-2.1.2: Minor enhancements and fixes

Post by bernds »

I've uploaded a 2.1.2 bugfix release. In locales where a comma is used instead of a decimal point, SGF files (specifically the komi value) weren't written out properly. Pitfalls of the C/C++ standard library...

The new version should be able to load files written by the old one and save them correctly.
And
Gosei
Posts: 1464
Joined: Tue Sep 25, 2018 10:28 am
GD Posts: 0
Has thanked: 212 times
Been thanked: 215 times

Re: q5go-2.1.2: Minor enhancements and fixes

Post by And »

bernds
great - thank you very much! (Autoplay) :D
And
Gosei
Posts: 1464
Joined: Tue Sep 25, 2018 10:28 am
GD Posts: 0
Has thanked: 212 times
Been thanked: 215 times

Re: q5go-2.1.2: Minor enhancements and fixes

Post by And »

in the sidebar during analysis (primary move:), some coordinates are displayed incorrectly. e.g. (af19) - ('19), (ad19) - (^19)
bernds
Lives with ko
Posts: 259
Joined: Sun Apr 30, 2017 11:18 pm
Rank: 2d
GD Posts: 0
Has thanked: 46 times
Been thanked: 116 times

Re: q5go-2.1.2: Minor enhancements and fixes

Post by bernds »

And wrote:in the sidebar during analysis (primary move:), some coordinates are displayed incorrectly. e.g. (af19) - ('19), (ad19) - (^19)
Is this with extra large board sizes?
And
Gosei
Posts: 1464
Joined: Tue Sep 25, 2018 10:28 am
GD Posts: 0
Has thanked: 212 times
Been thanked: 215 times

Re: q5go-2.1.2: Minor enhancements and fixes

Post by And »

yes, I noticed so far only on them (for example 37x37)
User avatar
Dragon
Dies in gote
Posts: 45
Joined: Thu May 14, 2020 3:07 pm
GD Posts: 0
Has thanked: 47 times
Been thanked: 10 times

Re: q5go-2.1.2: Minor enhancements and fixes

Post by Dragon »

bernds I also thank you very much for autoplay! :clap:
User avatar
Dragon
Dies in gote
Posts: 45
Joined: Thu May 14, 2020 3:07 pm
GD Posts: 0
Has thanked: 47 times
Been thanked: 10 times

Re: q5go-2.1.2: Minor enhancements and fixes

Post by Dragon »

bernds, https://github.com/bernds/q5Go/actions/runs/1039399331 and https://github.com/bernds/q5Go/actions/runs/1291776787 "This artifact has expired and you can no longer download it"
update please!
Post Reply