My gift to the community – a much better cutechessGUI

Discussion of anything and everything relating to chess playing software and machines.

Moderator: Ras

User avatar
Gabor Szots
Posts: 1594
Joined: Sat Jul 21, 2018 7:43 am
Location: Budapest, Hungary
Full name: Gabor Szots

Re: My gift to the community – a much better cutechessGUI

Post by Gabor Szots »

pohl4711 wrote: Wed Mar 04, 2026 4:07 pm
Gabor Szots wrote: Wed Mar 04, 2026 10:59 am Improved and bugfixed release! :D

https://github.com/Yoshie2000/cutechess ... ag/qol-1.1
Yes, here are the improvements:

New features:
Customisable font size


Bugfixes:

Correctly track button states when loading tournaments
Popup windows better fit on the screen with windows display scaling enabled
Improved layout saving on Windows 10
Tablebases now work correctly after loading a tournament
Side swapping now works correctly after loading a tournament (tablebase adjudication by GUI now works after resuming a tournament)
Numeric UCI options are restored correctly after loading a tournament
I am just running a tournament. Interrupting and resuming seems OK. Buttons visible without having to change screen scaling. I am happy.

What I could not do is set default location for the engine json file. However I try it does not change the default which, on my PC, is
e:\Sakk\Cute Chess\cutechess-config\cutechess\. I may miss something but it is a minor issue anyway.
Gabor Szots
CCRL testing group
User avatar
RubiChess
Posts: 670
Joined: Fri Mar 30, 2018 7:20 am
Full name: Andreas Matthies

Re: My gift to the community – a much better cutechessGUI

Post by RubiChess »

Boo for not committing my patch https://github.com/Yoshie2000/cutechess/pull/1 :-P
cpeters
Posts: 254
Joined: Wed Feb 17, 2021 7:44 pm
Full name: Christian Petersen

Re: My gift to the community – a much better cutechessGUI

Post by cpeters »

The provided binaries wont work under Debian 13 (and related distros) - the updated sourcecode however, after removing:

Code: Select all

	if (s.value("ui/colorTheme").toString() == "Dark")
		QGuiApplication::styleHints()->setColorScheme(Qt::ColorScheme::Dark);
	else if (s.value("ui/colorTheme").toString() == "Light")
		QGuiApplication::styleHints()->setColorScheme(Qt::ColorScheme::Light);
Line 99-102 in projects/gui/src/cutechessapp.cpp compiles just fine and produces working programs.

Thanks.
cpeters
Posts: 254
Joined: Wed Feb 17, 2021 7:44 pm
Full name: Christian Petersen

Re: My gift to the community – a much better cutechessGUI

Post by cpeters »

cpeters wrote: Wed Mar 04, 2026 7:47 pm The provided binaries wont work under Debian 13 (and related distros) - the updated sourcecode however, after removing:

Code: Select all

	if (s.value("ui/colorTheme").toString() == "Dark")
		QGuiApplication::styleHints()->setColorScheme(Qt::ColorScheme::Dark);
	else if (s.value("ui/colorTheme").toString() == "Light")
		QGuiApplication::styleHints()->setColorScheme(Qt::ColorScheme::Light);
Line 99-102 in projects/gui/src/cutechessapp.cpp compiles just fine and produces working programs.

Thanks.
Instructions for 'Building from Source' in the readme seemed not sufficient; after installing

Code: Select all

qt6-5compat-dev  qt6-base-dev  qt6-base-dev-tools  qt6-svg-dev
additionally (and let apt apt care for the dependencies) no fiddeling with the source was necessary anymore.
User avatar
Gabor Szots
Posts: 1594
Joined: Sat Jul 21, 2018 7:43 am
Location: Budapest, Hungary
Full name: Gabor Szots

Re: My gift to the community – a much better cutechessGUI

Post by Gabor Szots »

Yesterday evening I interrupted a gauntlet and resumed it this morning. However, it did not play the engine that was next in the queue but restarted from the first engine.
I'm going to investigate further.
Gabor Szots
CCRL testing group
Modern Times
Posts: 3922
Joined: Thu Jun 07, 2012 11:02 pm

Re: My gift to the community – a much better cutechessGUI

Post by Modern Times »

The Dark theme looks fantastic. It is a great new look, very well done.

I'm not using this new version currently because I don't like the Decision Time (DT) in the pgn. Stefan says I can probably replace the cutechess-cli.exe file with the previous version, but I haven't tried that yet. As the saying goes, you can't keep everyone happy all of the time.

Thanks again Stefan for this gift to the community.
whelanh
Posts: 18
Joined: Mon Jun 28, 2021 4:04 pm
Full name: Hugh Whelan

Re: My gift to the community – a much better cutechessGUI

Post by whelanh »

I think the new GUI is really nice and appreciate the effort to provide it to the community. One minor nit/question does not relate to the GUI but to the cutechess-cli binary. If you decide to use it directly (instead of the GUI), you get two warnings which I assume are related to the new abilities of the GUI to save tournaments (and perhaps another feature?). The warnings are:

Code: Select all

Warning: QFSFileEngine::open: No file name specified
Warning: Tournament::saveTournament(): Could not open file for writing:  ""
I wonder if it's possible to update the cutechess-cli --help output to document what is needed to provide the new parameters it's looking for.

If it's not, no worries. The GUI is very nice!
User avatar
Gabor Szots
Posts: 1594
Joined: Sat Jul 21, 2018 7:43 am
Location: Budapest, Hungary
Full name: Gabor Szots

Re: My gift to the community – a much better cutechessGUI

Post by Gabor Szots »

Again, I am stuck after stopping then reloading a tournament. The last unfinished game (where the tournament was interrupted) was repeated, which is OK, but then the tournament froze. This was a gauntlet, rounds set to 32, games per encounter set to 1, swap sides set to on, concurrency set to 1.

I would like to edit the tournament file but I don't know which variable to alter so that it continues normally.
Gabor Szots
CCRL testing group
User avatar
Rebel
Posts: 7606
Joined: Thu Aug 18, 2011 12:04 pm
Full name: Ed Schröder

Re: My gift to the community – a much better cutechessGUI

Post by Rebel »

It would probably too much to ask, but a streaming function would be the cherish on the cake.
90% of coding is debugging, the other 10% is writing bugs.
User avatar
Gabor Szots
Posts: 1594
Joined: Sat Jul 21, 2018 7:43 am
Location: Budapest, Hungary
Full name: Gabor Szots

Re: My gift to the community – a much better cutechessGUI

Post by Gabor Szots »

Another problem. The gauntlet seed (there is only one) plays some of games against itself! Concurrency is 2 now.
Gabor Szots
CCRL testing group