Banksia GUI released

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

Moderator: Ras

Rom77
Posts: 48
Joined: Wed Oct 24, 2018 7:37 am
Full name: Roman Zhukov

Re: Banksia GUI released

Post by Rom77 »

phhnguyen, here is another problem:

When I launched Banksia on another computer and tried to install the engines, after restarting the GUI, the records about these engines disappeared. Banksia has returned to its original state. Only the general settings are saved. Verification showed that the GUI cannot create .json files in the directory where all the settings are stored. And if .json files are forced to be created, then they are not changed. But at the same time, the rest of the configuration files are created and modified without problems.

The only difference the other computer that I noticed is that the path to the directory with the Banksia settings contains non-Latin characters - Cyrillic. The path is something like this: "c:/Users/Имя_пользователя/AppDataRoaming/BanksiaGUI/" Unfortunately, Cyrillic characters indicate the Username of the user in Windows. Therefore, if the problem really consists in using non-Latin characters, then it looks quite serious and can affect many users.

Here I remembered that I had previously encountered a similar problem. It is resolved, but apparently not completely. Files under "Logs:" were not previously saved in directories whose path contained non-Latin characters. Now they are saved, everything is fine, but the path to them still looks strange:

For example, the real way is this:
"C:/Загрузки/Chess/BanksiaGui/Tests/logresults.txt"

But when you click "JSON" in the "New tournament" window, the path is displayed as
"path": "C:/u0417/u0430/u0433/u0440/u0443/u0437/u043a/u0438/Chess/BanksiaGui/Tests/logresults.txt"

I wanted to put the Banksia settings directory in a different place. But unfortunately this is not possible, since in the "File => Settings => General => Configuration files" window you cannot change the location of the directory (by the way, this would be useful in any case). So I can’t even test my hypothesis.
User avatar
phhnguyen
Posts: 1524
Joined: Wed Apr 21, 2010 4:58 am
Location: Australia
Full name: Nguyen Hong Pham

Re: Banksia GUI released

Post by phhnguyen »

Jonathan003 wrote: Sat Apr 25, 2020 1:34 pm Hi,
I wanted to try the new book merging options for pgn books, in Banksia 0.21
When I tried to make a bgdb from a pgn database, the pgn database is not listed.
I made a video capture of it:
Thanks for the report!

For creating a database, BSG works with a folder (which may have multi PGN files) thus you need to select a folder, not a PGN file. Can you verify that? Thanks
https://banksiagui.com
The most features chess GUI, based on opensource Banksia - the chess tournament manager
User avatar
phhnguyen
Posts: 1524
Joined: Wed Apr 21, 2010 4:58 am
Location: Australia
Full name: Nguyen Hong Pham

Re: Banksia GUI released

Post by phhnguyen »

Rom77 wrote: Sat Apr 25, 2020 5:48 pm phhnguyen, here is another problem:

When I launched Banksia on another computer and tried to install the engines, after restarting the GUI, the records about these engines disappeared. Banksia has returned to its original state. Only the general settings are saved. Verification showed that the GUI cannot create .json files in the directory where all the settings are stored. And if .json files are forced to be created, then they are not changed. But at the same time, the rest of the configuration files are created and modified without problems.

The only difference the other computer that I noticed is that the path to the directory with the Banksia settings contains non-Latin characters - Cyrillic. The path is something like this: "c:/Users/Имя_пользователя/AppDataRoaming/BanksiaGUI/" Unfortunately, Cyrillic characters indicate the Username of the user in Windows. Therefore, if the problem really consists in using non-Latin characters, then it looks quite serious and can affect many users.

Here I remembered that I had previously encountered a similar problem. It is resolved, but apparently not completely. Files under "Logs:" were not previously saved in directories whose path contained non-Latin characters. Now they are saved, everything is fine, but the path to them still looks strange:

For example, the real way is this:
"C:/Загрузки/Chess/BanksiaGui/Tests/logresults.txt"

But when you click "JSON" in the "New tournament" window, the path is displayed as
"path": "C:/u0417/u0430/u0433/u0440/u0443/u0437/u043a/u0438/Chess/BanksiaGui/Tests/logresults.txt"

I wanted to put the Banksia settings directory in a different place. But unfortunately this is not possible, since in the "File => Settings => General => Configuration files" window you cannot change the location of the directory (by the way, this would be useful in any case). So I can’t even test my hypothesis.
Thanks a lot for the report. I have been fixing that bug. In the next version, users can:
- Use Unicode folder for configuration/JSON files (hope it works ;) )
- Store configuration/JSON files in a custom/new folder to avoid Unicode problem (I am using some std C++ library and they are not good at Unicode) or for having more choices
https://banksiagui.com
The most features chess GUI, based on opensource Banksia - the chess tournament manager
supersharp77
Posts: 1265
Joined: Sat Jul 05, 2014 7:54 am
Location: Southwest USA

Re: Version 0.20 beta released

Post by supersharp77 »

phhnguyen wrote: Sun Apr 19, 2020 11:31 am
Charly wrote: Sat Apr 18, 2020 5:12 pm
phhnguyen wrote: Wed Apr 15, 2020 8:54 am Version 0.20 beta released

1) Fixed bugs: almost all known bugs so far such as bugs on loading ongoing tournaments, tournament games on from round 2 have no openings, buttons for moving tournament records don’t work…

2) Some small improvements/adjustments

3) Some improvements
  • Configurable adjudication by scores
  • Play via Internet Chess Server such as FICS: show more info, result tables, summary; game can abort; Seek can use formula; Auto seek to continue playing event the account is a computer one.
4) New features
  • Merge opening books in formats PGN and EDP
  • Support multi-languages: it still needs translated language files. if you can, please help us and other people to translate BSG into your languages
Hi,
I just sent you the french translation (format .qm) to your gmail address :D
Wow, you are so fast. Thank you very much. I got it and am going to publish it soon. I believe the community will get benefits and highly appreciate your work!
Banksia GUI.......Issues.....my Swiss system Tourneys are running pretty well....some engines that do not crash are crashing including ExChess 4.03 (wb & uci) Fairy Stockfish (working in Fritz Gui) Gullydeckel 2.15 pl10 (never crashes wb &uci)...Mace II v0.22 (illegal move crash)....Human Engine Fairy Stockfish & other engines seem to be missing the Full engine parameters (seen this also in Shredder GUI) ELO box missing and in Fairy Stockfish chess variant box seems to be missing....so engines will not run properly or not at all

PSSS: Tourney Game adjudication box is still not added to the GUI...(very important)....Thx AR :) :wink:
User avatar
phhnguyen
Posts: 1524
Joined: Wed Apr 21, 2010 4:58 am
Location: Australia
Full name: Nguyen Hong Pham

Re: Version 0.20 beta released

Post by phhnguyen »

Thanks a lot for the report and the list of problem engines. I am going to run those engines for testing.
supersharp77 wrote: Tue Apr 28, 2020 7:37 pm
Banksia GUI.......Issues.....my Swiss system Tourneys are running pretty well....some engines that do not crash are crashing including ExChess 4.03 (wb & uci) Fairy Stockfish (working in Fritz Gui) Gullydeckel 2.15 pl10 (never crashes wb &uci)...Mace II v0.22 (illegal move crash)....Human Engine Fairy Stockfish & other engines seem to be missing the Full engine parameters (seen this also in Shredder GUI) ELO box missing and in Fairy Stockfish chess variant box seems to be missing....so engines will not run properly or not at all

PSSS: Tourney Game adjudication box is still not added to the GUI...(very important)....Thx AR :) :wink:
- BSG ignores only some special options (start with UCI_ such as UCI_Variant). Otherwise, it should full the options. If you see some options missing, please post its image here
- BSG doesn't support any chess variants but only standard one (the next release will support Chess960 and support special option UCI_Variant and UCI_Chess960)
- BSG can show ELO, game adjudication setup as below image

Image
https://banksiagui.com
The most features chess GUI, based on opensource Banksia - the chess tournament manager
User avatar
phhnguyen
Posts: 1524
Joined: Wed Apr 21, 2010 4:58 am
Location: Australia
Full name: Nguyen Hong Pham

Version 0.22 beta released

Post by phhnguyen »

Version 0.22 beta released

* Fixed bugs: almost all known bugs, e.g., adjudicate with shorter ply range 
* Some small improvements/adjustments: such as showing ponderhits
* New features:
- Support Chess960
- Changeable configuration folder (the folder to store all BSG’s JSON, init files) by using command line parameter -configpath PATH

Notes:
- Chess960 is the first chess variant we support, affected so many functions. Likely there are some bugs. Please help us to test and find them out.
- When creating a new Chess960 game, users can select the starting positions from a sortable list with some extra info such as win/draw rates (data calculated from CCRL games) as Fig. 1
- For the older versions, BSG did not support and ignore the engine option UCI_Chess960. Now users need to update option lists of engines thus BSG can know which one supports Chess960. Use the button "All" from Settings dialog as Fig. 2.

Image
Fig. 1: select openings for a Chess60 game

Image
Fig. 2: auto update option lists for all engines
https://banksiagui.com
The most features chess GUI, based on opensource Banksia - the chess tournament manager
Rom77
Posts: 48
Joined: Wed Oct 24, 2018 7:37 am
Full name: Roman Zhukov

Re: Banksia GUI released

Post by Rom77 »

phhnguyen wrote: Tue Apr 28, 2020 5:32 pm Thanks a lot for the report. I have been fixing that bug. In the next version, users can:
- Use Unicode folder for configuration/JSON files (hope it works ;) )
This works for a path with non-Latin characters. Everything is fine.
phhnguyen wrote: Wed Apr 29, 2020 5:22 pm - Changeable configuration folder (the folder to store all BSG’s JSON, init files) by using command line parameter -configpath PATH
1. This does not work for a path with non-Latin characters. The GUI does not find the directory:
https://prnt.sc/s8duws

2. I hope this method will be written somewhere, since not everyone will know about it. And besides, it’s easy to forget about this method and command that it uses.
User avatar
phhnguyen
Posts: 1524
Joined: Wed Apr 21, 2010 4:58 am
Location: Australia
Full name: Nguyen Hong Pham

Re: Banksia GUI released

Post by phhnguyen »

Rom77 wrote: Thu Apr 30, 2020 7:08 am
phhnguyen wrote: Tue Apr 28, 2020 5:32 pm Thanks a lot for the report. I have been fixing that bug. In the next version, users can:
- Use Unicode folder for configuration/JSON files (hope it works ;) )
This works for a path with non-Latin characters. Everything is fine.
phhnguyen wrote: Wed Apr 29, 2020 5:22 pm - Changeable configuration folder (the folder to store all BSG’s JSON, init files) by using command line parameter -configpath PATH
1. This does not work for a path with non-Latin characters. The GUI does not find the directory:
https://prnt.sc/s8duws

2. I hope this method will be written somewhere, since not everyone will know about it. And besides, it’s easy to forget about this method and command that it uses.
Thanks a lot for the info!

I am just a bit confused. Can you help to confirm If BSG can work with default Rusian path (not use the parameter -configpath)?

For using Rusian in parameter -configpath, I realize that Windows may use wide characters (_TCHAR) which is hard to support by C++ standard library (BanksiaGUI is built based on Banksia - an open-source C++ 11). Thus I won't support (using Rusian in -configpath) at the moment.
https://banksiagui.com
The most features chess GUI, based on opensource Banksia - the chess tournament manager
Rom77
Posts: 48
Joined: Wed Oct 24, 2018 7:37 am
Full name: Roman Zhukov

Re: Banksia GUI released

Post by Rom77 »

phhnguyen wrote: Thu Apr 30, 2020 2:41 pm Thanks a lot for the info!

I am just a bit confused. Can you help to confirm If BSG can work with default Rusian path (not use the parameter -configpath)?
Yes. If the default path (-configpath is not used), then the Russian letters in the "Configuration files" window are displayed normally. There are no question marks along the path. At least on the computer where the screenshot above was taken from.

The path looks something like this:
c:/Users/Жуков/AppData/Roaming/BanksiaGUI/
User avatar
phhnguyen
Posts: 1524
Joined: Wed Apr 21, 2010 4:58 am
Location: Australia
Full name: Nguyen Hong Pham

Re: Banksia GUI released

Post by phhnguyen »

Rom77 wrote: Thu Apr 30, 2020 4:17 pm
phhnguyen wrote: Thu Apr 30, 2020 2:41 pm Thanks a lot for the info!

I am just a bit confused. Can you help to confirm If BSG can work with default Rusian path (not use the parameter -configpath)?
Yes. If the default path (-configpath is not used), then the Russian letters in the "Configuration files" window are displayed normally. There are no question marks along the path. At least on the computer where the screenshot above was taken from.

The path looks something like this:
c:/Users/Жуков/AppData/Roaming/BanksiaGUI/
Phew! Thank you! So I suppose now you can run BSG normally (full functionally) on your second computer (the one with Rusian path "c:/Users/Имя_пользователя/AppDataRoaming/BanksiaGUI/") without using the parameter -configpath. Just make a quick test and tell me if there is any problem. Thanks again!
https://banksiagui.com
The most features chess GUI, based on opensource Banksia - the chess tournament manager