sarona wrote: ↑Fri Mar 29, 2024 1:30 amThe sources are different.
Download the source files from both links and compare the files. The Makefiles are not the same and there are slight code differences in a few other files. I believe evaluate.h, timeman.cpp and ucioption.cpp. Then try to compile both sources. I think the source from your link fails to compile for specific reasons I will not elaborate on. I stand to be corrected here.
You should be commended for posting links in the various sections to keep this forum alive.
I return your greetings from Canada.
HypnoS chess engine
Re: HypnoS chess engine
Re: HypnoS chess engine
Many thanks.sarona wrote: ↑Fri Mar 29, 2024 1:30 amThe sources are different.
Download the source files from both links and compare the files. The Makefiles are not the same and there are slight code differences in a few other files. I believe evaluate.h, timeman.cpp and ucioption.cpp. Then try to compile both sources. I think the source from your link fails to compile for specific reasons I will not elaborate on. I stand to be corrected here.
You should be commended for posting links in the various sections to keep this forum alive.
I return your greetings from Canada.
Re: HypnoS chess engine
Ref is invalidsarona wrote: ↑Thu Mar 28, 2024 1:56 pmLot's of people are like that.OrgZ wrote: ↑Wed Mar 27, 2024 6:50 pmIt Shows he doesn't know anything. He can only compile. I told him what to do, inorder to compileHomayoun wrote: ↑Wed Mar 27, 2024 6:30 pmIf you have problem with source code , report it to author. (Marco Zerbinati).LION wrote: ↑Wed Mar 27, 2024 5:50 pmSource code not working.Homayoun wrote: ↑Wed Mar 27, 2024 1:11 pmGo to githube page, you will find the source code.
https://github.com/Zerbinati/HypnoS/releases/tag/240324
Homayoun, you are linking to the wrong section of M.Z's Github for the code. You need the Development source found here: https://github.com/Zerbinati/HypnoS/tree/Development
404 - page not found
Re: HypnoS chess engine
LION wrote: ↑Wed Apr 03, 2024 4:31 amRef is invalid
404 - page not found
Homayoun, you are linking to the wrong section of M.Z's Github for the code. You need the Development source found here: https://github.com/Zerbinati/HypnoS/tree/Development
It was absorbed by the master branch
the complete code is now there
Re: HypnoS chess engine
But it is impossible to compile the engine using the master branch code.Robert57 wrote: ↑Wed Apr 03, 2024 2:29 pmLION wrote: ↑Wed Apr 03, 2024 4:31 amRef is invalid
404 - page not found
Homayoun, you are linking to the wrong section of M.Z's Github for the code. You need the Development source found here: https://github.com/Zerbinati/HypnoS/tree/Development
It was absorbed by the master branch
the complete code is now there
Re: HypnoS chess engine
The problem is simple to solve. Tanick even posted the solution earlier in this thread.
1. Replace the Makefile in Hypnos-Master with the one in the link.
STUDY THE DIFFERENCES BETWEEN THE TWO FOR A BETTER UNDERSTANDING OF THE PROBLEM
https://pixeldrain.com/u/LtP9FRGy
2. Go to evaluate.h in the HypnoS source.
Lines 43 and 44 change
// #define EvalFileDefaultNameBig "nn-ae6a388e4a1a.nnue"
// #define EvalFileDefaultNameSmall "nn-baff1ede1f90.nnue"
to
#define EvalFileDefaultNameBig "nn-ae6a388e4a1a.nnue"
#define EvalFileDefaultNameSmall "nn-baff1ede1f90.nnue"
3. save changes and compile.
1. Replace the Makefile in Hypnos-Master with the one in the link.
STUDY THE DIFFERENCES BETWEEN THE TWO FOR A BETTER UNDERSTANDING OF THE PROBLEM
https://pixeldrain.com/u/LtP9FRGy
2. Go to evaluate.h in the HypnoS source.
Lines 43 and 44 change
// #define EvalFileDefaultNameBig "nn-ae6a388e4a1a.nnue"
// #define EvalFileDefaultNameSmall "nn-baff1ede1f90.nnue"
to
#define EvalFileDefaultNameBig "nn-ae6a388e4a1a.nnue"
#define EvalFileDefaultNameSmall "nn-baff1ede1f90.nnue"
3. save changes and compile.
Re: HypnoS chess engine
Thank you, it works.sarona wrote: ↑Thu Apr 04, 2024 12:38 amThe problem is simple to solve. Tanick even posted the solution earlier in this thread.
1. Replace the Makefile in Hypnos-Master with the one in the link.
STUDY THE DIFFERENCES BETWEEN THE TWO FOR A BETTER UNDERSTANDING OF THE PROBLEM
https://pixeldrain.com/u/LtP9FRGy
2. Go to evaluate.h in the HypnoS source.
Lines 43 and 44 change
// #define EvalFileDefaultNameBig "nn-ae6a388e4a1a.nnue"
// #define EvalFileDefaultNameSmall "nn-baff1ede1f90.nnue"
to
#define EvalFileDefaultNameBig "nn-ae6a388e4a1a.nnue"
#define EvalFileDefaultNameSmall "nn-baff1ede1f90.nnue"
3. save changes and compile.
But after compilation there is now no Hypnos.exp file.
It’s a pity that now there is no Development, where all the changes were taken into account and there was no need to make changes manually.
Re: HypnoS chess engine
An experience file is created after the first game is completed. Everything appears normal. exp is growing after several games. Should be fine.
Re: HypnoS chess engine
Everything is correct.
Initially, the path to the experience file is specified in the engine settings.
And if this file does not exist, then there is nothing to grow.
Re: HypnoS chess engine
LION wrote: ↑Fri Apr 05, 2024 6:06 amEverything is correct.
Initially, the path to the experience file is specified in the engine settings.
And if this file does not exist, then there is nothing to grow.
If you examine the source (experience.cpp/experience.h), you will find that a new experience file is created at the end of a game if one is not found in the engine path's folder. The default path is the engine's folder in the code.
Try it. Start HypnoS with no experience file in the engine's folder. Play one game. Check the folder. You will see a newly created experience file. Use the HypnoS Experience Tool to check the contents prior to a defrag.
Then play some games. Check the experience file again. You find that it has grown.