Comments (17)
Check this experimental WIP branch https://github.com/tico-tico/Rodent_III/tree/relative_paths .
Now on linux you MUST set BOOKSPATH and PERSONALITIESPATH.
basic.ini lives in PERSONALITIESPATH. Paths of personalities are relative to PERSONALITIESPATH (or absolute).
Paths of books are relative to BOOKSPATH (or absolute).
I can't properly test it on Linux 'coz I don't use Linux myself. I have Arch on VirtualBox and the only thing i can say to you is "it can be compiled".
Changing of Makefile is on you too, linux dudes and dudettes.
from rodent_iii.
but your update of makefile is not included :-) ...So, it doesnt compile at first place ..SORRY (but no big deal)
from rodent_iii.
but your update of makefile is not included :-)
just like i said, i haven't changed makefile coz i don't use linux and don't know how to change it for your satisfaction
Changing of Makefile is on you too
see this line?
from rodent_iii.
sorry, yes i saw it
but i mean your changes y did on #40.
forgive me please
from rodent_iii.
Actually those changes from #40 are included, Maybe you trying a wrong branch? You need this one https://github.com/tico-tico/Rodent_III/archive/relative_paths.zip
from rodent_iii.
my fault...
startup working so far, now testing it inside picochess (takes some time)
from rodent_iii.
If picochess can show output from the engine then check out info strings from Rodent. It reports fail/success on book and personalities opening.
from rodent_iii.
with RodentII i had the problem that the personalities book files weren't loaded. That was an error for long, cause hidden - and i had to patch the C code (which i don't like) ....right now, looks better.
from rodent_iii.
I changed our pers files, and removed the "book/" infront, cause i now set the bookpath ending on "books"
Here is the debug log from picochess:
2017-08-14 17:42:02.284 DEBUG uci - on_line_received: <PopenProcess at 0x7f833183ed68 (pid=15312)> >> info string opening book file 'hist/_post06.bin' (success/m)
2017-08-14 17:42:02.285 DEBUG uci - send_line: <PopenProcess at 0x7f833183ed68 (pid=15312)> << setoption name GuideBookFile value players/ph-anand2.bin
ups..
2017-08-14 17:42:02.288 DEBUG uci - on_line_received: <PopenProcess at 0x7f833183ed68 (pid=15312)> >> info string opening book file 'players/ph-anand2.bin' (success/m)
All fine, as it seems.
from rodent_iii.
basically my Makefile now looks this way:
DATADIR = $(PREFIX)/rodent3
BOOKSDIR = $(DATADIR)/books
PERSONALITIESDIR = $(DATADIR)/personalities
CXX = g++
CFG = -DNDEBUG -DUSEGEN -DUSE_THREADS -DNEW_THREADS -DBOOKSPATH=$(BOOKSDIR) -DPERSONALITIESPATH=$(PERSONALITIESDIR)
CFG1 = -DUSEGEN -DUSE_THREADS -DNEW_THREADS -DBOOKSPATH=$(BOOKSDIR) -DPERSONALITIESPATH=$(PERSONALITIESDIR)
from rodent_iii.
I changed our pers files, and removed the "book/" infront, cause i now set the bookpath ending on "books"
All personalities book paths in the rep are without books/ prefix already.
2017-08-14 17:42:02.288 DEBUG uci - on_line_received: <PopenProcess at 0x7f833183ed68 (pid=15312)> >> info string opening book file 'players/ph-anand2.bin' (success/m)
For some time RodentIII has a ability to fully cache opening books into memory (see this /m letter after success?). It helpful for PC's with rotating/mechanical HDD.
I don't know that picochess is, but if it don't use any HDD you may want to disable the ability. I just added checking for NO_BOOK_IN_MEMORY which you may add into your makefile.
Just -DNO_BOOK_IN_MEMORY .
Don't forget to redownload https://github.com/tico-tico/Rodent_III/archive/relative_paths.zip beforehand.
from rodent_iii.
target platform for picochess is raspberry pi => the program is on a sdcard.
i had such copied my old rodent2 pers files, and changed them .... should be updated for rodent3 => but it was just a quick test.
from rodent_iii.
target platform for picochess is raspberry pi => the program is on a sdcard.
sdcards sometime can be really dead slow. maybe it's better to keep full caching intact if you have enough RAM of source. by default Rodent fully caches books < 16 MB in size.
basically my Makefile now looks this way:
What about "install" you mentioned in the OP?
from rodent_iii.
i install all by myself :-)
i left this away (its easy to change) , cause the makefile with its path's is also special for picochess.
=>users prob. not follow my way to organize files. The makefile is working so far like the relative paths y did.
Also this pers files need to be changed to some ini files (we call them *uci files)...Thats all special.
Thanks!
from rodent_iii.
we use something like this:
GuideBookFile = guide/steinitz.bin
MainBookFile = hist/_pre30.bin
[Tarrasch]
; Tarrasch personality for Rodent III chess engine
; author: Pawel Koziol
; mobility, emphasis on bishops, likes open game
=> this steinitz.bin is MISSING (since rodent2 already)
from rodent_iii.
Following bin files are missing:
guide/mini.bin
ph-gambitbook.bin
ph-exoticbook.bin
players/marshall.bin
players/reti.bin
guide/steinitz.bin
from rodent_iii.
If you think it's a bug then you'd better create a separate bug-report and some day Pawel will add missing books to the repo. Otherwise your report here can be just lost and forgotten.
In the meantime you can check windows distribution here https://github.com/nescitus/Rodent_III/blob/master/windows_distrib/distrib_full.zip , it has some missing books like steinitz.bin.
from rodent_iii.
Related Issues (20)
- cant compile on ubuntu HOT 7
- bin files missing (from personalities) HOT 3
- Linux Makefile needs some attention HOT 3
- [PVS] A part of conditional expression is always true: Par.nps_limit
- uci option "ponder" should be enabled HOT 2
- cMask::Init possible copy/paste issue HOT 1
- feature request: implement "go searchmoves"
- [PVS] The '?:' operator, regardless of its conditional expression, always returns one and the same value.
- Missing GPL3 license file
- "go ponder infinite" shouldnt stop
- there isn't any release here
- missing personalities HOT 1
- statically built engine gives a "Segmentation fault' on Ubuntu 14.04
- No output from the engine in case of the invalid input
- Rodent for android
- New features for Rodent and the other engines, Playing Musketeer Chess Variant and other variants
- How set personalities from uci? HOT 5
- Stackoverflow on std::list<cEngine> Engines(0);
- particular personality all ways plays same moves HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rodent_iii.