Help with BanksiaGUI: how to recover a just played game.

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

Moderator: Ras

pepechuy
Posts: 226
Joined: Fri Oct 22, 2021 4:22 am
Full name: José García Ruvalcaba

Help with BanksiaGUI: how to recover a just played game.

Post by pepechuy »

Hi.

I have just played a game in BanksiaGUI.
I wanted to save it to a pgn file.
Unfortunately, I clicked on "Open" (instead of "Save") and chose a pgn file.
¡The tab with the recently played game disappeared!
I do not find a way to recover it... perhaps I am missing something very simple.
¿Is there a way to recover that game? ¿How?

Greetings.
User avatar
phhnguyen
Posts: 1542
Joined: Wed Apr 21, 2010 4:58 am
Location: Australia
Full name: Nguyen Hong Pham

Re: Help with BanksiaGUI: how to recover a just played game.

Post by phhnguyen »

Typically the current game is auto-stored in the configuration folder with the name banksiaautogame.pgn but it is quite easy to be written over whenever any player makes a move (opening a new game won't affect it yet). Just try to copy that file into another folder or rename it (to avoid being written over again) then open it to see if you still see the previous game.

If you had played vs an engine and you have set the engine log, you have a better chance to recover. Open that log (via Settings -> Log & Configuration), and find the last line with the word "position". Typically it looks similar the bellow line:

Code: Select all

position startpos moves e2e4 e7e5 g1f3 b8c6 f1b5 a7a6 b5a4 g8f6 e1g1 f8e7 a4c6 d7c6 b1c3 c8g4 h2h3 g4h5 d1e2 f6d7 c3d1 d7c5 d2d3 c5e6 c1e3 e7f6 d1c3 d8e7 c3b1 g7g5 b1d2 h8g8
Just copy that line and paste it into BSG, it should understand well and will display the game for you.

Good luck!
https://banksiagui.com
The most features chess GUI, based on opensource Banksia - the chess tournament manager
pepechuy
Posts: 226
Joined: Fri Oct 22, 2021 4:22 am
Full name: José García Ruvalcaba

Re: Help with BanksiaGUI: how to recover a just played game.

Post by pepechuy »

phhnguyen wrote: Tue Dec 27, 2022 6:25 am Typically the current game is auto-stored in the configuration folder with the name banksiaautogame.pgn but it is quite easy to be written over whenever any player makes a move (opening a new game won't affect it yet). Just try to copy that file into another folder or rename it (to avoid being written over again) then open it to see if you still see the previous game.

If you had played vs an engine and you have set the engine log, you have a better chance to recover. Open that log (via Settings -> Log & Configuration), and find the last line with the word "position". Typically it looks similar the bellow line:

Code: Select all

position startpos moves e2e4 e7e5 g1f3 b8c6 f1b5 a7a6 b5a4 g8f6 e1g1 f8e7 a4c6 d7c6 b1c3 c8g4 h2h3 g4h5 d1e2 f6d7 c3d1 d7c5 d2d3 c5e6 c1e3 e7f6 d1c3 d8e7 c3b1 g7g5 b1d2 h8g8
Just copy that line and paste it into BSG, it should understand well and will display the game for you.

Good luck!
Hi.

Thank you for the answer. I will try in a few minutes.
Effectively, it was a challenge game against an engine.
In any case, not too much is lost... I can replay it.
But this one was quite interesting, and I can not remember it completely.

Greetings.
pepechuy
Posts: 226
Joined: Fri Oct 22, 2021 4:22 am
Full name: José García Ruvalcaba

Re: Help with BanksiaGUI: how to recover a just played game.

Post by pepechuy »

phhnguyen wrote: Tue Dec 27, 2022 6:25 am Typically the current game is auto-stored in the configuration folder with the name banksiaautogame.pgn but it is quite easy to be written over whenever any player makes a move (opening a new game won't affect it yet). Just try to copy that file into another folder or rename it (to avoid being written over again) then open it to see if you still see the previous game.

Good luck!
Hi.

Thank you again.
I just want to say that this worked.
I will devote some time to learn more about the multiple features of BanksiaGUI before I play more games.
I am sure it will be worth it.

Greetings.
User avatar
phhnguyen
Posts: 1542
Joined: Wed Apr 21, 2010 4:58 am
Location: Australia
Full name: Nguyen Hong Pham

Re: Help with BanksiaGUI: how to recover a just played game.

Post by phhnguyen »

Phew! Thank you too, I could sleep well tonight without concerning anything :D

BTW, I have added to my to-do list a new task: instead of only one BSG should store the last few games to avoid an incidence of losing games (similar to yours)!
https://banksiagui.com
The most features chess GUI, based on opensource Banksia - the chess tournament manager