Search found 145 matches

by Fabio Gobbato
Wed Jan 01, 2020 4:09 pm
Forum: Computer Chess Club: General Topics
Topic: New release Pedone 2.0
Replies: 3
Views: 1066

New release Pedone 2.0

I have just released a new version of my engine. This are the changes: Tuning Probcut Removed razoring Speed optimizations Store in the hash a move also in allnodes Fixed a bug with multipv Don't reduce a low depths LMP tuning SEE pruning tuning Use history ordering also in qsearch Clear killer at p...
by Fabio Gobbato
Sun Dec 29, 2019 4:23 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Microsoft Visual C vs Gcc on Windows
Replies: 4
Views: 968

Re: Microsoft Visual C vs Gcc on Windows

With gcc you can use also -flto when compiling and when linking.
by Fabio Gobbato
Sun Dec 29, 2019 4:16 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: ELO value of TTSE?
Replies: 5
Views: 1260

Re: ELO value of TTSE?

The elo increase given by singular extension is different from engine to engine. In my engine it gives about 10-20 elo after a lot of tries to find the best formula for the depth of the search to find if the move is singular. Stockfish uses depth/2 but in my engine was not optimal.
by Fabio Gobbato
Sat Dec 07, 2019 11:52 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Include 4men syzygy in an engine
Replies: 11
Views: 2379

Re: Include 4men syzygy in an engine

I've found the problem! In init_table there is this code: for (int t = 0; t < num; t++) { data = (uint8_t *)(((uintptr_t)data + 0x3f) & ~0x3f); ei[t].precomp->data = data; data += size[t][0][2]; if (split) { data = (uint8_t *)(((uintptr_t)data + 0x3f) & ~0x3f); ei[num + t].precomp->data = data; data...
by Fabio Gobbato
Thu Dec 05, 2019 2:51 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Include 4men syzygy in an engine
Replies: 11
Views: 2379

Re: Include 4men syzygy in an engine

Please, read carefully the code.

Code: Select all

*mapping = file_size(fd);
by Fabio Gobbato
Wed Dec 04, 2019 8:49 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Include 4men syzygy in an engine
Replies: 11
Views: 2379

Re: Include 4men syzygy in an engine

I've found the point, this is the original map_tb code: static void *map_tb(const char *name, const char *suffix, map_t *mapping) { FD fd = open_tb(name, suffix); if (fd == FD_ERR) return NULL; void *data = map_file(fd, mapping); if (data == NULL) { fprintf(stderr, "Could not map %s%s into memory.\n...
by Fabio Gobbato
Wed Dec 04, 2019 7:25 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Include 4men syzygy in an engine
Replies: 11
Views: 2379

Re: Include 4men syzygy in an engine

There are a lot of engines that uses internal tb, my engine would not be the only one. Stockfish uses a bitbase too.
by Fabio Gobbato
Wed Dec 04, 2019 1:43 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Include 4men syzygy in an engine
Replies: 11
Views: 2379

Re: Include 4men syzygy in an engine

I've found a difference in decompress_pairs, the initialization of the variable "code" is different, the other variables are all correct but I can't fully understand the code.
by Fabio Gobbato
Tue Dec 03, 2019 5:02 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Include 4men syzygy in an engine
Replies: 11
Views: 2379

Re: Include 4men syzygy in an engine

These are the changes that I've made: This is the array of the tb files and the file data typedef struct { char FileName[32]; int FileSize; const void *FilePointer; } TInternalTB; // Array containing all the tb files #define DIMTBDATA 543332 const uint64_t TBData[DIMTBDATA]={ ... ... }; #define TBFI...
by Fabio Gobbato
Tue Dec 03, 2019 11:16 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Include 4men syzygy in an engine
Replies: 11
Views: 2379

Include 4men syzygy in an engine

I'm trying to add 4men syzygy tables inside my engine, for having a 4men tb even if the user doesn't download them. The first thing is that I don't know if the syzygy licence permit this thing. If this thing is permitted I have problems with the probing code. Basing on cfish probing code I have chan...