--- BeoUnix.old/main.c +++ BeoUnix/main.c @@ -38,12 +38,14 @@ Board Current_Board; int mvno,automoves,testtime=5; CompDat Params; -BOOL XBoard=FALSE,LoadPGN=FALSE,Post=TRUE, UCI=FALSE; BOOL Computer[2]={FALSE,FALSE},ComputerGO = FALSE,AutoMove=FALSE,Ponder=FALSE, Force=FALSE; void *TBBuffer; char TB_PATH[FILENAME_MAX]="TB"; -char BOOK_FILE[FILENAME_MAX]="book.dat"; -char PERSON_FILE[FILENAME_MAX]="default.per"; + +BOOL XBoard = TRUE, LoadPGN=FALSE, Post=TRUE, UCI=FALSE ; +char BOOK_FILE [FILENAME_MAX] = "__META_PREFIX__/data/beochess-book.dat" ; +char PERSON_FILE [FILENAME_MAX] = "__META_PREFIX__/data/beochess.per" ; + char EPD_FILE[FILENAME_MAX]=""; extern HashElt *TableW,*TableB; extern int InputFlag, GlobalAlpha, GlobalBeta; @@ -918,7 +920,7 @@ /* Set up some default values in case config file is not found */ Params.WSkill = 10; /* [1-10] Higher is stronger */ Params.BSkill = 10; /* [1-10] Higher is stronger */ - Params.HashSize = 14; /* Hash Table Size is 2^HashSize kb */ + Params.HashSize = 15; /* Hash Table Size is 2^HashSize kb */ Params.Resign = TRUE; /* Do we resign? */ /* Open the config file */