Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to install alpha chess zero #46

Open
geo17007 opened this issue Jan 2, 2018 · 19 comments
Open

how to install alpha chess zero #46

geo17007 opened this issue Jan 2, 2018 · 19 comments

Comments

@geo17007
Copy link

geo17007 commented Jan 2, 2018

can anyone make a video of how to install alpha zero to arena or a step by step guide??

@Akababa
Copy link
Collaborator

Akababa commented Jan 3, 2018

Do the instructions in readme not work?

@geo17007
Copy link
Author

geo17007 commented Jan 4, 2018

nope... didnt work.it's a little bit confusing! i much appreciate if you do a video or step by step guide.ty for your response

@Akababa
Copy link
Collaborator

Akababa commented Jan 5, 2018

It should be really simple, just make a new engine in Arena and browse to C0uci.bat where you cloned the repo. (rename it to .sh if you're on linux)

If that still doesn't work can you open the debug window in Arena (F4) and show it here? Thanks

@StormXploit
Copy link

For me it doesn't work to. I download everything. I rename COuci becuz I'm on Linux. I exe the script but it doesn't work. Help me too pks

@StormXploit
Copy link

My terminal write :
Traceback (most recent call)
File src/chess_zero/run. Py, line 13 in module
MP set start method (,spawn)
attribute error : Mosul object has not attribute start method

@geo17007
Copy link
Author

geo17007 commented Jan 5, 2018

here is my debug window in arena

2018-01-05 15:53:00,224 Arena 3.5.1
2018-01-05 15:53:00,232
2018-01-05 15:53:00,716**----------New game---2018-01-05 15:53:00,716 Ðáñ -------------
2018-01-05 15:53:00,848screen: 1920x1080
2018-01-05 15:53:00,848
Monitors: 1
2018-01-05 15:53:00,848Monitor0: 1920x1080
2018-01-05 15:53:00,848
FormMonitor: 0
2018-01-05 15:53:00,848DesktopRect: 0/0 .. 1920/1080
2018-01-05 15:53:01,006
Loading 1
2018-01-05 15:53:52,6851-----------------------Starting engine 1 C0uci [006]------------------------
2018-01-05 15:53:52,6881Configured Engine 1 Type: Auto
2018-01-05 15:53:52,6881Engine 1 dir: C:\Users\Geo\Desktop\Alpha Zero chess\chess-alpha-zero-master\chess-alpha-zero-master
2018-01-05 15:53:52,6881Engine 1 commandline: "C:\Users\Geo\Desktop\Alpha Zero chess\chess-alpha-zero-master\chess-alpha-zero-master\C0uci.bat"
2018-01-05 15:53:52,8001Engine 1 ProcessID: 3548
2018-01-05 15:53:52,8001Engine 1 Prio:32 ThreadPrio:0
2018-01-05 15:53:52,800<--1:C:\Users\Geo\Desktop\Alpha Zero chess\chess-alpha-zero-master\chess-alpha-zero-master>python src/chess_zero/run.py uci
2018-01-05 15:53:52,801<--1:'python' is not recognized as an internal or external command,
2018-01-05 15:53:52,801<--1:operable program or batch file.
2018-01-05 15:53:52,801-->1:xboard
2018-01-05 15:53:52,822-->1:uci
2018-01-05 15:54:00,828-->1:isready
2018-01-05 15:54:01,503-->1:new
2018-01-05 15:54:01,503-->1:random
2018-01-05 15:54:01,503-->1:level 0 11 0
2018-01-05 15:54:01,503-->1:post
2018-01-05 15:54:01,503-->1:hard
2018-01-05 15:54:01,503-->1:easy
2018-01-05 15:54:24,264-->1:computer
2018-01-05 15:54:24,2951Incorrect function
2018-01-05 15:54:24,2951Engine crashed, restarting...
2018-01-05 15:54:24,295-->1:?
2018-01-05 15:54:24,295-->1:force
2018-01-05 15:54:24,295-->1:quit
2018-01-05 15:54:24,6531-----------------------Starting engine 1 C0uci [006]------------------------
2018-01-05 15:54:24,6531Configured Engine 1 Type: Auto
2018-01-05 15:54:24,6531Engine 1 dir: C:\Users\Geo\Desktop\Alpha Zero chess\chess-alpha-zero-master\chess-alpha-zero-master
2018-01-05 15:54:24,6531Engine 1 commandline: "C:\Users\Geo\Desktop\Alpha Zero chess\chess-alpha-zero-master\chess-alpha-zero-master\C0uci.bat"
2018-01-05 15:54:24,7601Engine 1 ProcessID: 5784
2018-01-05 15:54:24,7601Engine 1 Prio:32 ThreadPrio:0
2018-01-05 15:54:24,764<--1:C:\Users\Geo\Desktop\Alpha Zero chess\chess-alpha-zero-master\chess-alpha-zero-master>python src/chess_zero/run.py uci
2018-01-05 15:54:24,764<--1:'python' is not recognized as an internal or external command,
2018-01-05 15:54:24,856<--1:operable program or batch file.
2018-01-05 15:54:24,860-->1:xboard
2018-01-05 15:54:24,880-->1:uci
2018-01-05 15:55:05,390-->1:isready
2018-01-05 15:55:06,075-->1:new
2018-01-05 15:55:06,075-->1:random
2018-01-05 15:55:06,075-->1:level 0 11 0
2018-01-05 15:55:06,075-->1:post
2018-01-05 15:55:06,075-->1:hard
2018-01-05 15:55:06,075-->1:easy
2018-01-05 15:55:06,076-->1:computer
2018-01-05 15:55:06,9261Start calc, move no: 1
2018-01-05 15:55:06,984-->1:level 0 11 0
2018-01-05 15:55:06,984-->1:new
2018-01-05 15:55:06,985-->1:random
2018-01-05 15:55:06,985-->1:level 0 11 0
2018-01-05 15:55:06,986-->1:post
2018-01-05 15:55:06,986-->1:hard
2018-01-05 15:55:06,987-->1:easy
2018-01-05 15:55:06,988-->1:computer
2018-01-05 15:55:06,989-->1:time 66000
2018-01-05 15:55:06,990-->1:otim 66000
2018-01-05 15:55:06,990-->1:e2e4

@StormXploit
Copy link

Ok but i'm on linux

@brianprichardson
Copy link
Collaborator

brianprichardson commented Jan 5, 2018

xboard is a CECP command, not UCI. Make sure you have specified UCI for the engines you want to run. Also, running a Python engine under Arena is a separate and tricky issue, so the xboard command may be triggered by not processing the python command first, and then Arena defaulting to CECP. Suggest searching on talkchess for posts about running Python engines. Just noticed the .bat try putting everything in quotes if on Windows.

@geo17007
Copy link
Author

geo17007 commented Jan 5, 2018

ty for your response brian but i think i just try to run that engine like others....not with python..!i think i have to study a lot...

@Akababa
Copy link
Collaborator

Akababa commented Jan 5, 2018

That's weird how it says python isn't found... can you run python -V?

@StormXploit
Copy link

Yes

@StormXploit
Copy link

Very strange

@StormXploit
Copy link

Can you create a discord server ? The interaction will be easier if think

@Akababa
Copy link
Collaborator

Akababa commented Jan 5, 2018

Ok. IDK how often I will check discord though

https://discord.gg/myWbdcD

@brianprichardson
Copy link
Collaborator

@geo17007 You might look here to just run everything under Python:
https://github.com/niklasf/python-chess

@StormXploit
Copy link

I've installed chess arena but i've always the same problem. Someone can help me to resolve it please

@geo17007
Copy link
Author

geo17007 commented Jan 7, 2018

your link brian isnt worked...404 not found

@brianprichardson
Copy link
Collaborator

I have had trouble posting links before.
Copy it and paste it and it should work, or just google it.

@aksdeo5
Copy link

aksdeo5 commented Jan 14, 2018

Anyone successfully implemented this program into any UCI Chess GUI...?!
@Akababa : Is it possible to implement this program in WinBoard using polyglot uci adapter...?! If it is possible, then please provide step by step procedure to do it. It'll be better if you make video and provide the link of the video. Thanks in advance!!
Regards...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants