HypnoS chess engine

Discussion about chess-playing software (engines, hosts, opening books, platforms, etc...)
LION
Posts: 24
Joined: Tue Aug 22, 2023 5:24 am
Real Name: LION

Re: HypnoS chess engine

Post by LION » Fri Mar 29, 2024 4:35 am

sarona wrote:
Fri Mar 29, 2024 1:30 am
The 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.
:difus_19

Homayoun
Posts: 1577
Joined: Tue Mar 21, 2023 4:57 pm
Real Name: Homayoun

Re: HypnoS chess engine

Post by Homayoun » Fri Mar 29, 2024 8:25 am

sarona wrote:
Fri Mar 29, 2024 1:30 am
The 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.
Many thanks. :difus_19

LION
Posts: 24
Joined: Tue Aug 22, 2023 5:24 am
Real Name: LION

Re: HypnoS chess engine

Post by LION » Wed Apr 03, 2024 4:31 am

sarona wrote:
Thu Mar 28, 2024 1:56 pm
OrgZ wrote:
Wed Mar 27, 2024 6:50 pm
Homayoun wrote:
Wed Mar 27, 2024 6:30 pm
LION wrote:
Wed Mar 27, 2024 5:50 pm
Homayoun wrote:
Wed Mar 27, 2024 1:11 pm
Go to githube page, you will find the source code.
https://github.com/Zerbinati/HypnoS/releases/tag/240324
Source code not working.
If you have problem with source code , report it to author. (Marco Zerbinati).
It Shows he doesn't know anything. He can only compile. I told him what to do, inorder to compile
Lot's of people are like that. :lol:

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
Ref is invalid
404 - page not found :?:

Robert57
Posts: 20
Joined: Fri May 26, 2023 9:19 am
Real Name: Marco Cerri

Re: HypnoS chess engine

Post by Robert57 » Wed Apr 03, 2024 2:29 pm

LION wrote:
Wed Apr 03, 2024 4:31 am
Ref 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

LION
Posts: 24
Joined: Tue Aug 22, 2023 5:24 am
Real Name: LION

Re: HypnoS chess engine

Post by LION » Wed Apr 03, 2024 4:48 pm

Robert57 wrote:
Wed Apr 03, 2024 2:29 pm
LION wrote:
Wed Apr 03, 2024 4:31 am
Ref 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
But it is impossible to compile the engine using the master branch code. :difus_2

User avatar
sarona
Posts: 77
Joined: Sun Aug 29, 2021 8:59 pm
Real Name: Ron Doughie
Location: Canada

Re: HypnoS chess engine

Post by sarona » Thu Apr 04, 2024 12:38 am

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.

Image

LION
Posts: 24
Joined: Tue Aug 22, 2023 5:24 am
Real Name: LION

Re: HypnoS chess engine

Post by LION » Thu Apr 04, 2024 6:41 am

sarona wrote:
Thu Apr 04, 2024 12:38 am
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.

Image
Thank you, it works. :difus_19
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.

User avatar
sarona
Posts: 77
Joined: Sun Aug 29, 2021 8:59 pm
Real Name: Ron Doughie
Location: Canada

Re: HypnoS chess engine

Post by sarona » Fri Apr 05, 2024 2:30 am

LION wrote:
Thu Apr 04, 2024 6:41 am

Thank you, it works. :difus_19
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.
An experience file is created after the first game is completed. Everything appears normal. exp is growing after several games. Should be fine.

LION
Posts: 24
Joined: Tue Aug 22, 2023 5:24 am
Real Name: LION

Re: HypnoS chess engine

Post by LION » Fri Apr 05, 2024 6:06 am

sarona wrote:
Fri Apr 05, 2024 2:30 am
LION wrote:
Thu Apr 04, 2024 6:41 am

Thank you, it works. :difus_19
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.
An experience file is created after the first game is completed. Everything appears normal. exp is growing after several games. Should be fine.
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.

User avatar
sarona
Posts: 77
Joined: Sun Aug 29, 2021 8:59 pm
Real Name: Ron Doughie
Location: Canada

Re: HypnoS chess engine

Post by sarona » Sat Apr 06, 2024 1:23 am

LION wrote:
Fri Apr 05, 2024 6:06 am
sarona wrote:
Fri Apr 05, 2024 2:30 am
LION wrote:
Thu Apr 04, 2024 6:41 am

Thank you, it works. :difus_19
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.
An experience file is created after the first game is completed. Everything appears normal. exp is growing after several games. Should be fine.
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.
:)
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. 8-)

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.

Post Reply