Projects
Games
togaII-141
togaII-141-egbb_path.patch
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File togaII-141-egbb_path.patch of Package togaII-141
--- readme.txt.orig 2009-08-28 21:18:46.747131631 +0200 +++ readme.txt 2009-08-28 21:19:45.319096924 +0200 @@ -102,8 +102,8 @@ ------------ First You have to download the 5men bitbases from Leo Dijksman's WBEC site http://www.wbec-ridderkerk.nl . The egbbs are 340mb in size. Then put them - anywhere in your computer. The default path is c:\egbb\ but you can change this in the uci options. - The egbbdll.dll must be in the same folder as the bitbase files. + anywhere in your computer. The default path is c:\egbb\ (Windows) or /usr/share/egbb (Unix/Linux) but you can change this in the uci options. + The egbbdll.dll (Windows) or egbbso.so (Linux/Unix) must be in the same folder as the bitbase files. Thanks Fabien Letouzey for the great source code of the program Fruit 2.1. --- main.cpp.orig 2009-08-28 20:46:19.323097012 +0200 +++ main.cpp 2009-08-28 20:47:16.509856922 +0200 @@ -22,7 +22,11 @@ #include "vector.h" #include "probe.h" +#ifdef _MSC_VER static char * egbb_path = "c:/egbb/"; +#else +static char * egbb_path = "/usr/share/egbb/"; +#endif static uint32 egbb_cache_size = 16; // functions --- option.cpp.orig 2009-08-28 20:51:40.451110978 +0200 +++ option.cpp 2009-08-28 20:52:47.667109589 +0200 @@ -38,7 +38,11 @@ { "OwnBook", true, "true", "check", "", NULL }, { "BookFile", true, "performance.bin", "string", "", NULL }, +#ifdef _MSC_VER { "Bitbases Path", true, "c:/egbb/", "string", "", NULL }, +#else + { "Bitbases Path", true, "/usr/share/egbb/", "string", "", NULL }, +#endif { "Bitbases Cache Size", true, "16", "spin", "min 16 max 1024", NULL }, { "MultiPV", true, "1", "spin", "min 1 max 10", NULL }, --- protocol.cpp.orig 2009-08-28 20:47:28.983099192 +0200 +++ protocol.cpp 2009-08-28 20:48:42.075300365 +0200 @@ -52,7 +52,11 @@ static bool Infinite; // infinite or ponder mode? static bool Delay; // postpone "bestmove" in infinite/ponder mode? +#ifdef _MSC_VER static char * dirptr = "C:/egbb"; +#else +static char * dirptr = "/usr/share/egbb/"; +#endif // prototypes
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.