Need a little help - nothing urgent re: Houdini/Mac

Get your specific HIARCS/Junior support questions answered here as well as up-to-the-minute news!

Moderators: Watchman, Mark Uniacke, mrudolf

Post Reply
MikeB
Member
Posts: 90
Joined: Thu Aug 09, 2007 11:08 pm

Need a little help - nothing urgent re: Houdini/Mac

Post by MikeB »

What's the best and simplest way to connect HCE for the Mac and Hounded 4.0 32 bit together using wine. I created a Winewrap around the 32 bit Houdini - and it works fine in console mode when I double click on the wine wrap.

Code: Select all

iMac:~ michaelbyrne$ /Applications/Houdini/Houdini_4 ; exit;
Houdini for Chess King w32
(c) 2013 Robert Houdart

info string 8 processor(s) found, POPCNT available
info string 128 MB Hash
uci
id name Houdini for Chess King w32
id author Robert Houdart
option name Tactical Mode type check default false
option name Hash type spin min 4 max 1024 default 128
option name Clear Hash type button
option name Threads type spin min 1 max 6 default 6
option name Split Depth type spin min 8 max 99 default 10
option name Ponder type check default false
option name Contempt type spin min 0 max 2 default 1
option name Analysis Contempt type check default false
option name MultiPV type spin min 1 max 64 default 1
option name MultiPV_cp type spin min 0 max 999 default 0
option name SyzygyPath type string default <empty>
option name EGTB Probe Depth type spin min 2 max 99 default 10
option name GaviotaTbPath type string default <empty>
option name GaviotaTbCache type spin min 4 max 1024 default 64
option name NalimovPath type string default <empty>
option name NalimovCache type spin min 4 max 1024 default 32
option name Mate Search type spin min 0 max 99 default 0
option name Strength type spin min 0 max 100 default 100
option name UCI_LimitStrength type check default false
option name UCI_Elo type spin min 1200 max 3000 default 3000
option name UCI_Chess960 type check default false
option name Never Clear Hash type check default false
option name Hash File type string default <empty>
option name Save Hash to File type button
option name Load Hash from File type button
option name Learning File type string default <empty>
option name Learning Threshold type spin min -100 max 200 default 10
option name Learning type check default false
option name FiftyMoveDistance type spin min 5 max 50 default 50
uciok
go depth 18
info string No valid License found - Engine strength reduced
info multipv 1 depth 4 seldepth 14 score cp 10 time 3 nodes 1212 nps 404000 tbhits 0 hashfull 0 pv e2e4 d7d5 e4e5 d5d4 b2b4 e7e6 d1g4
info multipv 1 depth 5 seldepth 14 score cp 10 time 3 nodes 1598 nps 532000 tbhits 0 hashfull 0 pv e2e4 d7d5 e4e5 d5d4 b2b4 e7e6 d1g4
info depth 6
info multipv 1 depth 6 seldepth 15 score cp 10 time 4 nodes 2237 nps 559000 tbhits 0 hashfull 0 pv e2e4 d7d5 e4e5 d5d4 b2b4 e7e6 d1g4
info depth 7
info multipv 1 depth 7 seldepth 18 score cp 0 time 8 nodes 4864 nps 608000 tbhits 0 hashfull 0 pv e2e4 d7d5 e4e5 d5d4 b2b4 b8c6 f1b5
info depth 8
info multipv 1 depth 8 seldepth 18 score cp 1 time 9 nodes 5953 nps 661000 tbhits 0 hashfull 0 pv e2e4 d7d5 e4e5 d5d4 b2b4 d8d5 g1f3 e7e6
info multipv 1 depth 8 seldepth 18 score cp 7 lowerbound time 12 nodes 7252 nps 604000 tbhits 0 hashfull 0 pv e2e3
info multipv 1 depth 8 seldepth 18 score cp 7 time 12 nodes 7889 nps 657000 tbhits 0 hashfull 0 pv e2e3 d7d5 d2d4 e7e6 c1d2 c8d7 h2h4 h7h5
info depth 9
info multipv 1 depth 9 seldepth 22 score cp 3 time 27 nodes 56541 nps 2094000 tbhits 0 hashfull 0 pv d2d4 d7d5 e2e3 e7e6 d1f3 g8f6 c1d2 c8d7 c2c4 h7h6
info depth 10
info multipv 1 depth 10 seldepth 23 score cp 11 lowerbound time 35 nodes 90122 nps 2574000 tbhits 0 hashfull 6 pv d2d4
info multipv 1 depth 10 seldepth 23 score cp 7 time 44 nodes 115082 nps 2615000 tbhits 0 hashfull 8 pv d2d4 d7d5 d1d3 g8f6 e2e3 e7e6 c1d2 c7c6 f2f3 b7b6 c2c4
info depth 11
info multipv 1 depth 11 seldepth 23 score cp 15 lowerbound time 59 nodes 185189 nps 3138000 tbhits 0 hashfull 11 pv d2d4
info multipv 1 depth 11 seldepth 25 score cp 11 time 65 nodes 203619 nps 3132000 tbhits 0 hashfull 13 pv d2d4 d7d5 d1d3 g8f6 c1f4 e7e6 e2e3 c8d7 d3b3 d7c6 f4g5 h7h6 g5f6 d8f6
info depth 12
info multipv 1 depth 12 seldepth 28 score cp 13 time 84 nodes 285095 nps 3393000 tbhits 0 hashfull 17 pv d2d4 d7d5 d1d3 g8f6 c1f4 e7e6 e2e3 c8d7 f1e2 a7a6 d3c3 b8c6 c3d2 f6e4
info depth 13
info multipv 1 depth 13 seldepth 28 score cp 18 time 168 nodes 739403 nps 4401000 tbhits 0 hashfull 45 pv d2d4 d7d5 d1d3 g8f6 c1f4 e7e6 e2e3 c8d7 d3b3 b7b6 f4g5 h7h6 g5f6 d8f6 b3c3 f8d6 f1e2
info depth 14
info multipv 1 depth 14 seldepth 32 score cp 10 upperbound time 227 nodes 1064402 nps 4688000 tbhits 0 hashfull 68 pv d2d4 d7d5
info multipv 1 depth 14 seldepth 36 score cp 11 time 466 nodes 2555830 nps 5484000 tbhits 0 hashfull 157 pv d2d4 d7d5 d1d3 b8c6 g1f3 g7g6 c1f4 c8f5 d3b3 c6a5 b3b4 b7b6 b4c3 a5c4 e2e3
info depth 15
info multipv 1 depth 15 seldepth 36 score cp 15 time 523 nodes 2970772 nps 5680000 tbhits 0 hashfull 182 pv d2d4 d7d5 d1d3 b8c6 g1f3 c6b4 d3b5 b4c6 f3e5 a7a6 b5d3 c6e5 d4e5 e7e6 e2e4 d5e4 d3e4 d8d5 e4f4 b7b5 h2h3
info depth 16
info multipv 1 depth 16 seldepth 36 score cp 7 upperbound time 683 nodes 4140155 nps 6061000 tbhits 0 hashfull 245 pv d2d4 d7d5
info multipv 1 depth 16 seldepth 37 score cp 15 time 874 nodes 5421133 nps 6202000 tbhits 0 hashfull 310 pv e2e4 d7d5 e4d5 d8d5 b1c3 d5e6 g1e2 e6b6 d2d4 e7e6 e2g1 c7c5 d4d5 g8f6 f1b5 c8d7 b5d7 b8d7 d1e2 a7a6 d5e6 b6e6 e2e6 f7e6 c3b1
info depth 17
info time 1005 nodes 6373887 nps 6342000 tbhits 0 hashfull 372 cpuload 735 idle 479M
info multipv 1 depth 17 seldepth 37 score cp 14 time 1232 nodes 8108715 nps 6581000 tbhits 0 hashfull 461 pv e2e4 d7d5 e4d5 d8d5 b1c3 d5e6 g1e2 e6b6 d2d4 e7e6 a2a3 c8d7 h2h3 f8d6 d1d3 h7h6 b2b4 g8e7 e2g1 a7a6 h3h4 d7c6
info depth 18
info multipv 1 depth 18 seldepth 44 score cp 12 time 1830 nodes 12650508 nps 6912000 tbhits 0 hashfull 673 pv e2e4 d7d5 e4d5 d8d5 b1c3 d5e6 g1e2 e6b6 d2d4 c8d7 a2a3 e7e6 d1d3 f8d6 b2b4 h7h6 h2h3 g8e7 e2g1 a7a6 h3h4 d7c6 c3d1
info time 2004 nodes 13876942 nps 6924000 tbhits 0 hashfull 727 cpuload 738 idle 683M
info multipv 1 depth 18 seldepth 44 score cp 12 time 2185 nodes 15173953 nps 6944000 tbhits 0 hashfull 763 pv e2e4 d7d5 e4d5 d8d5 b1c3 d5e6 g1e2 e6b6 d2d4 c8d7 a2a3 e7e6 d1d3 f8d6 b2b4 h7h6 h2h3 g8e7 e2g1 a7a6 h3h4 d7c6 c3d1
bestmove e2e4 ponder d7d5
and here's the cc code I wrote to compile the wrap

Code: Select all

#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>

int main&#40;&#41;
&#123;
	FILE *f = fopen&#40;"wrapper.ini", "r"&#41;;
	char buf&#91;1024&#93;, exe_name&#91;1024&#93;;
	if&#40;!f&#41; return -1;
	fscanf&#40;f, "%&#91;^\n&#93;", exe_name&#41;; fclose&#40;f&#41;;
	snprintf&#40;buf, 1024, "/opt/local/bin/wine %s/%s",  getcwd&#40;&#41;, exe_name&#41;;
	system&#40;buf&#41;;
	return 0;
&#125;

When I go to connect the Wrap as a UCI engine to HCE, HCE does not recognize the wrap as UCI engine.

Any suggestions or comments appreciated.
MikeB
Member
Posts: 90
Joined: Thu Aug 09, 2007 11:08 pm

Re: Need a little help - nothing urgent re: Houdini/Mac

Post by MikeB »

MikeB wrote:What's the best and simplest way to connect HCE for the Mac and Hounded 4.0 32 bit together using wine. I created a Winewrap around the 32 bit Houdini - and it works fine in console mode when I double click on the wine wrap.
Image


Just get wine bottler from the link below ( click skip ad after 5 seconds)

http://ay.gy/146mqq

NOTE: 148 MB DMG file will start downloading immediately - or just go to their main site if you want to check it our first.

http://winebottler.kronenberg.org/
Post Reply