Naraku: clone or not???

Discussion about chess-playing software (engines, hosts, opening books, platforms, etc...)
BB+
Posts: 1484
Joined: Thu Jun 10, 2010 4:26 am

Re: Naraku: clone or not???

Post by BB+ » Sun Mar 27, 2011 7:13 pm

I'm not going to look at this too thoroughly right now (32-bit code makes my head hurt also), but here is an IvanHoe (or R3) remnant in Naraku 1.4:

Code: Select all

0x004129e8:     cmp    $0x5,%eax
0x004129eb:     jne    0x412a0a
0x004129ed:     mov    0x8c(%ebx),%eax
0x004129f3:     or     0x9c(%ebx),%eax
0x004129f9:     xor    %ecx,%ecx
0x004129fb:     and    $0xffffff00,%eax
0x00412a00:     or     %eax,%ecx
0x00412a02:     je     0x412a0a
0x00412a04:     add    $0x5000f,%esi
So it checks if the rook is on the 6th rank, then if the opponent has a pawn or king on the 6th-8th, and if so, gives a bonus of 5 in the opening and 15 in the endgame.

Right before this is the 7th rank code:

Code: Select all

0x0041298e:     cmp    $0x6,%eax
0x00412991:     jne    0x4129e8
0x00412993:     mov    0x98(%ebx),%ecx
0x00412999:     mov    0x9c(%ebx),%edx
0x0041299f:     mov    %ecx,0xe8(%esp)
0x004129a6:     mov    %edx,%ecx
0x004129a8:     or     0x8c(%ebx),%ecx
0x004129ae:     xor    %edi,%edi
0x004129b0:     and    $0xffff0000,%ecx
0x004129b6:     or     %ecx,%edi
0x004129b8:     je     0x4129e8
0x004129ba:     and    $0xff000000,%edx
0x004129c0:     xor    %ecx,%ecx
0x004129c2:     add    $0xa001e,%esi
0x004129c8:     or     %edx,%ecx
0x004129ca:     je     0x4129e8
0x004129cc:     mov    0x7c(%ebx),%ecx
0x004129cf:     or     0x74(%ebx),%ecx
0x004129d2:     xor    %edx,%edx
0x004129d4:     and    0x34(%esp),%ecx
0x004129d8:     and    $0xff0000,%ecx
0x004129de:     or     %ecx,%edx
0x004129e0:     je     0x4129e8
0x004129e2:     add    $0x60008,%esi
So the (10,30) bonus stayed the same, but the one for doubled rooks changed (at least from the IvanHoe version I am looking at).

And lo and behold, right before this we have rooks on the 8th:

Code: Select all

0x00412971:     cmp    $0x7,%eax
0x00412974:     jne    0x41298e
0x00412976:     mov    0x9c(%ebx),%edx
0x0041297c:     and    $0xff000000,%edx
0x00412982:     xor    %ecx,%ecx
0x00412984:     or     %edx,%ecx
0x00412986:     je     0x41298e
0x00412988:     add    $0x5000a,%esi
And right before that (1,2) is added for a rook outpost, with (3,4) if it is guarded. The RookHalfOpen bonus is (3,6) the RookOpenFile bonus is (10,20), the RookOpenMinor bonus is still (15,5), etc. There are some minor modifications.

I would thus but the engine in the "suspect" category until evidence to the contrary.

User avatar
noctiferus
Posts: 122
Joined: Thu Jun 10, 2010 7:57 am
Location: Ivrea (To), Italy

Re: Naraku: clone or not???

Post by noctiferus » Mon Mar 28, 2011 7:05 am

http://www.miroku79.info/blog/?p=218

it looks like this is the last piece of information about Naraku I can post here... :o

User avatar
Uly
Posts: 838
Joined: Thu Jun 10, 2010 5:33 am

Re: Naraku: clone or not???

Post by Uly » Mon Mar 28, 2011 7:26 am

>Sorry for all the people who liked an engine with a lot of different elo levels, but if I have to take insults for what I always treated like an hobby,

Huh? You don't have to, you can just ignore the insults...

Post Reply