Houdini 1.5: adujstable personality

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

Moderator: Ras

User avatar
rvida
Posts: 481
Joined: Thu Apr 16, 2009 12:00 pm
Location: Slovakia, EU

Houdini 1.5: adujstable personality

Post by rvida »

For advanced users who don't mind some hex-editing...

1. Open Houdini executable in your favorite hex editor.
2. Search for ASCII string (NOT hex values): "5D717974912A20202020202020202020202020202020202020202020202020202020202020"
3. Adjust weights to your preferences ;)

This string is a vector of 2 digit hex numbers with evaluation adjustments. First 6 values are material related and are in centipawn units. Rest are feature weights in units of 1/32.


Meaning of the entries:

Code: Select all

 
entry #    default value    description

                            Material values:

   01      0x5D             pawn value
   02      0x71             knight value minus 200
   03      0x79             bishop value minus 200
   04      0x74             rook_value minus 375
   05      0x91             queen_value minus 850
   06      0x2A             bishop pair value

                            Eval weights (in steps of 1/32):

   07      0x20             static weight pawn  
   08      0x20             static weight knight
   09      0x20             static weight bishop
   10      0x20             static weight rook
   11      0x20             static weight queen
   12      0x20             static weight king
   13      0x20             pawn island
   14      0x20             pawn hole
   15      0x20             pawn doubled on closed file
   16      0x20             pawn doubled on semiopen file
   17      0x20             pawn doubled & isolated on closed file
   18      0x20             pawn doubled & isolated on semiopen file
   19      0x20             pawn isolated on closed file
   20      0x20             pawn isolated on semiopen file
   21      0x20             pawn backward on closed file
   22      0x20             pawn backward on semiopen file
   23      0x20             candidate passed pawn
   24      0x20             passed pawn base value
   25      0x20             passed pawn protected
   26      0x20             passed pawn outside
   27      0x20             passed pawn connected
   28      0x20             pawn: king distance
   29      0x20             passed pawn: friendly king distance
   30      0x20             passed pawn: opposing king distance
   31      0x20             pawn shield outer file
   32      0x20             pawn shield inner file
   33      0x20             pawn shield middle file
   34      0x20             pawn shield diagonal   
   35      0x20             pawn storm outer file 
   36      0x20             pawn storm inner file 
   37      0x20             pawn storm middle file
Have fun

Richard
User avatar
Matthias Gemuh
Posts: 3245
Joined: Thu Mar 09, 2006 9:10 am

Re: Houdini 1.5: adujstable personality

Post by Matthias Gemuh »

rvida wrote:For advanced users who don't mind some hex-editing...

1. Open Houdini executable in your favorite hex editor.
2. Search for ASCII string (NOT hex values): "5D717974912A20202020202020202020202020202020202020202020202020202020202020"
3. Adjust weights to your preferences ;)

...


Richard
I looked in Houdini 1.5a and found it.

Thanks,
Matthias.
My engine was quite strong till I added knowledge to it.
http://www.chess.hylogic.de
User avatar
Don
Posts: 5106
Joined: Tue Apr 29, 2008 4:27 pm

Re: Houdini 1.5: adujstable personality

Post by Don »

I have actually considered making Komodo configurable with an external utility that inserts new values like this. It would not overide the standard values but a UCI option would trigger using alternative values. It just bothers me a little to modify the binary like this as a feature of the program :-)

Don

rvida wrote:For advanced users who don't mind some hex-editing...

1. Open Houdini executable in your favorite hex editor.
2. Search for ASCII string (NOT hex values): "5D717974912A20202020202020202020202020202020202020202020202020202020202020"
3. Adjust weights to your preferences ;)

This string is a vector of 2 digit hex numbers with evaluation adjustments. First 6 values are material related and are in centipawn units. Rest are feature weights in units of 1/32.


Meaning of the entries:

Code: Select all

 
entry #    default value    description

                            Material values:

   01      0x5D             pawn value
   02      0x71             knight value minus 200
   03      0x79             bishop value minus 200
   04      0x74             rook_value minus 375
   05      0x91             queen_value minus 850
   06      0x2A             bishop pair value

                            Eval weights (in steps of 1/32):

   07      0x20             static weight pawn  
   08      0x20             static weight knight
   09      0x20             static weight bishop
   10      0x20             static weight rook
   11      0x20             static weight queen
   12      0x20             static weight king
   13      0x20             pawn island
   14      0x20             pawn hole
   15      0x20             pawn doubled on closed file
   16      0x20             pawn doubled on semiopen file
   17      0x20             pawn doubled & isolated on closed file
   18      0x20             pawn doubled & isolated on semiopen file
   19      0x20             pawn isolated on closed file
   20      0x20             pawn isolated on semiopen file
   21      0x20             pawn backward on closed file
   22      0x20             pawn backward on semiopen file
   23      0x20             candidate passed pawn
   24      0x20             passed pawn base value
   25      0x20             passed pawn protected
   26      0x20             passed pawn outside
   27      0x20             passed pawn connected
   28      0x20             pawn: king distance
   29      0x20             passed pawn: friendly king distance
   30      0x20             passed pawn: opposing king distance
   31      0x20             pawn shield outer file
   32      0x20             pawn shield inner file
   33      0x20             pawn shield middle file
   34      0x20             pawn shield diagonal   
   35      0x20             pawn storm outer file 
   36      0x20             pawn storm inner file 
   37      0x20             pawn storm middle file
Have fun

Richard