DON Chess Engine

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

Moderator: Ras

peter
Posts: 3428
Joined: Sat Feb 16, 2008 7:38 am
Full name: Peter Martan

Re: DON Chess Engine

Post by peter »

The problem at the site is the scroll- function of the mouse. Being at right side of the window, mouse- wheel doesn't scroll but enlarge the screen, so one doesn't see the very end of the site that way, only scrolling at left side of window shows all content, thus I was accidentally lucky once the other day but unfortunately not at the next one trial of today, until I finally got the trick now
:)
Anyhow, what's the expected syntax for the HashFile to be saved? Tried don.dat, don.hsh and don.ptt so far, no file gets stored at given path, regards
Peter.
erashid
Posts: 71
Joined: Sun Oct 20, 2013 8:40 pm
Full name: Ehsan Rashid

Re: DON Chess Engine

Post by erashid »

peter wrote: Mon Nov 10, 2025 3:16 pm The problem at the site is the scroll- function of the mouse. Being at right side of the window, mouse- wheel doesn't scroll but enlarge the screen, so one doesn't see the very end of the site that way, only scrolling at left side of window shows all content, thus I was accidentally lucky once the other day but unfortunately not at the next one trial of today, until I finally got the trick now
:)
Anyhow, what's the expected syntax for the HashFile to be saved? Tried don.dat, don.hsh and don.ptt so far, no file gets stored at given path, regards
Thanks

It is used to save the Hash file for long analysis.

For it to work:
you need 3 options basically:

option name HashFile type string default <empty>
option name Save Hash type button
option name Load Hash type button

HashFile -> set the name of file:
Save Hash -> Save the given file.
Load Hash -> Load the given file.

try the latest DON version then let me know.

Thanks
erashid
Posts: 71
Joined: Sun Oct 20, 2013 8:40 pm
Full name: Ehsan Rashid

Re: DON Chess Engine

Post by erashid »

peter wrote: Mon Nov 10, 2025 3:16 pm The problem at the site is the scroll- function of the mouse. Being at right side of the window, mouse- wheel doesn't scroll but enlarge the screen, so one doesn't see the very end of the site that way, only scrolling at left side of window shows all content, thus I was accidentally lucky once the other day but unfortunately not at the next one trial of today, until I finally got the trick now
:)
Anyhow, what's the expected syntax for the HashFile to be saved? Tried don.dat, don.hsh and don.ptt so far, no file gets stored at given path, regards
Thanks now I find the issue why file is not saved.

I will give the Link to new binary after fix.
Thanks for pointing out the issue.

Please report any such issue on Github:
https://github.com/ehsanrashid/DON
https://github.com/ehsanrashid/DON/issues

Thanks
peter
Posts: 3428
Joined: Sat Feb 16, 2008 7:38 am
Full name: Peter Martan

Re: DON Chess Engine

Post by peter »

erashid wrote: Mon Nov 10, 2025 3:33 pm It is used to save the Hash file for long analysis.

For it to work:
you need 3 options basically:

option name HashFile type string default <empty>
option name Save Hash type button
option name Load Hash type button

HashFile -> set the name of file:
Save Hash -> Save the given file.
Load Hash -> Load the given file.
Tried as name of HashFile

don.dat

then

don.hsh

and then

don.ptt

(these are the three formats of persistent hash of Stockfish- derivatives I know so far from Tomasz Sobczyk with his Cfish and Marco Zerbinati with some of his branches)
none of these names worked (no data stored at given path).

Edit: you already answered, while I was still typewriting.
erashid wrote: Mon Nov 10, 2025 3:55 pm Thanks now I find the issue why file is not saved.

I will give the Link to new binary after fix.
Thanks for pointing out the issue.
So I'll wait for next update, please let us know here, when it should work then, before I download again, regards
Last edited by peter on Mon Nov 10, 2025 4:05 pm, edited 4 times in total.
Peter.
erashid
Posts: 71
Joined: Sun Oct 20, 2013 8:40 pm
Full name: Ehsan Rashid

Re: DON Chess Engine

Post by erashid »

Hash file name not matter:

any file works.

What I use is don.hash

also ok:
don.dat
don.txt
any name works.

Thanks
erashid
Posts: 71
Joined: Sun Oct 20, 2013 8:40 pm
Full name: Ehsan Rashid

Re: DON Chess Engine

Post by erashid »

peter wrote: Mon Nov 10, 2025 4:00 pm
erashid wrote: Mon Nov 10, 2025 3:33 pm It is used to save the Hash file for long analysis.

For it to work:
you need 3 options basically:

option name HashFile type string default <empty>
option name Save Hash type button
option name Load Hash type button

HashFile -> set the name of file:
Save Hash -> Save the given file.
Load Hash -> Load the given file.
Tried as name of HashFile

don.dat

then

don.hsh

and then

don.ptt

(these are the three formats of persistent hash of Stockfish- derivatives I know so far from Tomasz Sobczyk with his Cfish and Marco Zerbinati with some of his branches)
none of these names worked (no data stored at given path).

Edit: you already answered, while I was typewriting,
erashid wrote: Mon Nov 10, 2025 3:55 pm Thanks now I find the issue why file is not saved.

I will give the Link to new binary after fix.
Thanks for pointing out the issue.
So I'll wait for next update, please let us know here, when it should work then, before I download again, and please give correct syntax for the file to be stored, regards
Yes I am not at the end of fixing.

Till then you try other featurs:
and let me know if any thing is wrong or report the issue.

Thanks
erashid
Posts: 71
Joined: Sun Oct 20, 2013 8:40 pm
Full name: Ehsan Rashid

Re: DON Chess Engine

Post by erashid »

peter wrote: Mon Nov 10, 2025 3:16 pm The problem at the site is the scroll- function of the mouse. Being at right side of the window, mouse- wheel doesn't scroll but enlarge the screen, so one doesn't see the very end of the site that way, only scrolling at left side of window shows all content, thus I was accidentally lucky once the other day but unfortunately not at the next one trial of today, until I finally got the trick now
:)
Anyhow, what's the expected syntax for the HashFile to be saved? Tried don.dat, don.hsh and don.ptt so far, no file gets stored at given path, regards
Try the Binary form this Link:

It should work.

https://github.com/ehsanrashid/DON/acti ... 235906580/

and let me know then I will merge this fix.

Thanks
peter
Posts: 3428
Joined: Sat Feb 16, 2008 7:38 am
Full name: Peter Martan

Re: DON Chess Engine

Post by peter »

Ok, save HashFile works now with new .bmi2- compile as for seeing the file with the chosen name at disk after command to save, yet it's only 0Kb big and at attempt to reload it after restart of GUI (Fritz 20) engine crashes with error message
Don dev....caused an exemption. This is a problem in the engine.
...
Edit: maybe at first trial the 8G hash were too much and or I didn't wait long enough before restart of GUI, a second one try with 1024Mb worked ok without crash of engine, regards
Peter.
erashid
Posts: 71
Joined: Sun Oct 20, 2013 8:40 pm
Full name: Ehsan Rashid

Re: DON Chess Engine

Post by erashid »

peter wrote: Mon Nov 10, 2025 5:02 pm Ok, save HashFile works now with new .bmi2- compile as for seeing the file with the chosen name at disk after command to save, yet it's only 0Kb big and at attempt to reload it after restart of GUI (Fritz 20) engine crashes with error message
Don dev....caused an exemption. This is a problem in the engine.
...
Edit: maybe at first trial the 8G hash were too much and or I didn't wait long enough before restart of GUI, a second one try with 1024Mb worked ok without crash of engine, regards
Now yes i have another fix commig.
It will Load any Hash. but for large hash it takes time.
I am trying to multi-thread it but for later now it load any hash size.

I am now merging the Hash Save & load branch.
so that user can use this fature now and get no error.

Thanks
erashid
Posts: 71
Joined: Sun Oct 20, 2013 8:40 pm
Full name: Ehsan Rashid

Re: DON Chess Engine

Post by erashid »

peter wrote: Mon Nov 10, 2025 5:02 pm Ok, save HashFile works now with new .bmi2- compile as for seeing the file with the chosen name at disk after command to save, yet it's only 0Kb big and at attempt to reload it after restart of GUI (Fritz 20) engine crashes with error message
Don dev....caused an exemption. This is a problem in the engine.
...
Edit: maybe at first trial the 8G hash were too much and or I didn't wait long enough before restart of GUI, a second one try with 1024Mb worked ok without crash of engine, regards
Also if you using GUI or command-line it will print a info string on success and failure:

"Save succeeded" : "Save failed"

"Load succeeded" : "Load failed"

so that user know what had happend.

Thanks