Hi all! I have always got a problem with ooening ctg. tree in chessX. on Windows. Every time I load it with CTRL + O it shows up the name of the ctg. tree in the tree widget, but is totally empty and shows no moves. Also, it doesn't create a database tab at all. That always happened to me regardless on the version of the ChessX . What may be wrong?
CTGs don't work like standard databases as they cannot be written to nor do they contain games. They only work via the Opening Tree. So you open a CTG like a database and then you select the CTG in the combo box of the opening tree (! - this is what you probably missed - by default, the combobox is on "database" and applies to your current database which has a board representation, but a CTG doesn't have one) .
I am using the opening book here as reference: https://www.hiarcs.com/book-downloads/H12Book.zip and it works fine for me.
I know this is a slightly awkward way of handling CTG and other books and I expose inner workings of ChessX to the user. But this way, you can close books again from the database list which was somewhat important in times when computers were short of RAM and databases were comparably large.
here is the photo
wow - very unexpected. If you make a move on the board, will the list then populate? I remember an issue where I forgot to update the list in some obscure cases (like changing the active database) and I saw another one yesterday when closing the ctg (the list was not deleted in this case).
Is this Windows 11?
Yes, it's Windows 11. But what's annoying, I always had this problem. It was the same issue on Windows 10 as well. Installed from preinstalled exe. or compiled from source it's always the same issue. What's important it's only about CTG. ABK works well (quite slow for multi-million games database, but it finally loads and works) LICHESS DATABASE works well and is super fast. Only CTG doesn't load at all. All dlls are there, CTG files are not corrupted. It's either something in the code itself, or in some Linux\Windows incompatibility in one of the aspects. I hope we can solve this annoying problem somehow as I really like ChessX a lot :( UPDATE: When I make moves on the board nothing happens as well, no list gets populated.
Last edit: John Dohn 2025-08-13
It never worked in OS where ntohl is not supported (Windows/Linux). Fixed it now.