hagtorp, i have a question, how to set time control to 3 seconds per move? CuteChess for PC uses 3/move, but on android it's not working..hagtorp wrote:Cutechess-cli update.
New:
GCC-9.2.
QT Library 5.13.0.
Fix bug "cannot start engine" in Script manager app.
https://app.box.com/s/z905a2r9jpn1q3hs5l3nm0c9a8xj2vv2
Cutechess-Cli for Android
Moderators: Elijah, Igbo, timetraveller
-
- Points: 0,00
- Status: Offline (Active 3 Hours, 36 Minutes ago)
- Topics:
Cutechess-Cli for Android
-
- Forum Contributions
- Points: 19 796,00
- Posts: 159
- Joined: 04/11/2019, 3:15
- Status: Offline (Active 6 Months, 3 Weeks, 6 Days, 4 Hours, 42 Minutes ago)
- Topics: 3
- Reputation: 30
- Has thanked: 9 times
- Been thanked: 24 times
Cutechess-Cli for Android
-each tc=N st=M (N=number of seconds), M=number of moves.Alex1976 wrote: hagtorp, i have a question, how to set time control to 3 seconds per move? CuteChess for PC uses 3/move, but on android it's not working..
-
- Points: 0,00
- Status: Offline (Active 3 Hours, 36 Minutes ago)
- Topics:
Cutechess-Cli for Android
Thanks! So, is this correct (commands bellow), or should i remove -maxmoves 170?hagtorp wrote:-each tc=N st=M (N=number of seconds), M=number of moves.Alex1976 wrote: hagtorp, i have a question, how to set time control to 3 seconds per move? CuteChess for PC uses 3/move, but on android it's not working..
Code: Select all
/data/user/0/os.tools.scriptmanager/files/./cutechess-cli -engine cmd=/data/user/0/os.tools.scriptmanager/files/CfU-m13-arm8 proto=uci option.Hash=32 option.Threads=1 restart=on -engine cmd=/data/user/0/os.tools.scriptmanager/files/CfU-m2.4-arm8 proto=uci option.Hash=32 option.Threads=1 restart=on -each tc=3 st=170 -games 6000 -repeat -concurrency 7 -recover -tournament round-robin -openings file=/storage/emulated/0/Book/8moves_v3.pgn format=pgn plies=16 start=1 order=sequential -pgnout Results.pgn -maxmoves 170 -wait 30 -draw movenumber=60 movecount=4 score=5 -resign movecount=3 score=420
-
- Forum Contributions
- Points: 19 796,00
- Posts: 159
- Joined: 04/11/2019, 3:15
- Status: Offline (Active 6 Months, 3 Weeks, 6 Days, 4 Hours, 42 Minutes ago)
- Topics: 3
- Reputation: 30
- Has thanked: 9 times
- Been thanked: 24 times
Cutechess-Cli for Android
-each tc=3 st=1 (1 move).Alex1976 wrote:Thanks! So, is this correct (commands bellow), or should i remove -maxmoves 170?hagtorp wrote:-each tc=N st=M (N=number of seconds), M=number of moves.Alex1976 wrote: hagtorp, i have a question, how to set time control to 3 seconds per move? CuteChess for PC uses 3/move, but on android it's not working..Code: Select all
/data/user/0/os.tools.scriptmanager/files/./cutechess-cli -engine cmd=/data/user/0/os.tools.scriptmanager/files/CfU-m13-arm8 proto=uci option.Hash=32 option.Threads=1 restart=on -engine cmd=/data/user/0/os.tools.scriptmanager/files/CfU-m2.4-arm8 proto=uci option.Hash=32 option.Threads=1 restart=on -each tc=3 st=170 -games 6000 -repeat -concurrency 7 -recover -tournament round-robin -openings file=/storage/emulated/0/Book/8moves_v3.pgn format=pgn plies=16 start=1 order=sequential -pgnout Results.pgn -maxmoves 170 -wait 30 -draw movenumber=60 movecount=4 score=5 -resign movecount=3 score=420
-
- Forum Contributions
- Points: 19 796,00
- Posts: 159
- Joined: 04/11/2019, 3:15
- Status: Offline (Active 6 Months, 3 Weeks, 6 Days, 4 Hours, 42 Minutes ago)
- Topics: 3
- Reputation: 30
- Has thanked: 9 times
- Been thanked: 24 times
Cutechess-Cli for Android
I apologize for the commands. This is how the control will be 3 seconds per 1 move: -each tc=1/3hagtorp wrote:-each tc=3 st=1 (1 move).Alex1976 wrote:Thanks! So, is this correct (commands bellow), or should i remove -maxmoves 170?hagtorp wrote: -each tc=N st=M (N=number of seconds), M=number of moves.Code: Select all
/data/user/0/os.tools.scriptmanager/files/./cutechess-cli -engine cmd=/data/user/0/os.tools.scriptmanager/files/CfU-m13-arm8 proto=uci option.Hash=32 option.Threads=1 restart=on -engine cmd=/data/user/0/os.tools.scriptmanager/files/CfU-m2.4-arm8 proto=uci option.Hash=32 option.Threads=1 restart=on -each tc=3 st=170 -games 6000 -repeat -concurrency 7 -recover -tournament round-robin -openings file=/storage/emulated/0/Book/8moves_v3.pgn format=pgn plies=16 start=1 order=sequential -pgnout Results.pgn -maxmoves 170 -wait 30 -draw movenumber=60 movecount=4 score=5 -resign movecount=3 score=420
-
- Forum Contributions
- Points: 19 796,00
- Posts: 159
- Joined: 04/11/2019, 3:15
- Status: Offline (Active 6 Months, 3 Weeks, 6 Days, 4 Hours, 42 Minutes ago)
- Topics: 3
- Reputation: 30
- Has thanked: 9 times
- Been thanked: 24 times
Cutechess-Cli for Android
Alex.
I launched several games with the option -each tc = 1/1 (1 second per move) and it sometimes takes more than a second to think it over. That 1.5 then 1.7 seconds. Try the -help command (in the script manager, click on the cutechess file, the window will pop out, enter -help there and press run, the list of commands will pop out).
I launched several games with the option -each tc = 1/1 (1 second per move) and it sometimes takes more than a second to think it over. That 1.5 then 1.7 seconds. Try the -help command (in the script manager, click on the cutechess file, the window will pop out, enter -help there and press run, the list of commands will pop out).
-
- Forum Contributions
- Points: 14 528,00
- Posts: 171
- Joined: 16/11/2019, 12:09
- Status: Offline (Active 1 Month, 2 Weeks, 4 Days, 1 Hour, 4 Minutes ago)
- Topics: 0
- Reputation: 0
Cutechess-Cli for Android
Is it possible to run cutechess with Terminal Emu without root and from /sdcard somehow?
I created a home directory sdcard/appHOME and changed to this path in terminal emu home dir settings. ls command lists all the files there (2 engines and cutechess-cli), but shell command can't access these files (says there's no such files or access denied). I even stupidly tried chmodding them with 755 or +x but it didn't work.
Any thoughts?
PS. Shell command file is ok, engines names and other options are correct, I use Hagtorp's method
I created a home directory sdcard/appHOME and changed to this path in terminal emu home dir settings. ls command lists all the files there (2 engines and cutechess-cli), but shell command can't access these files (says there's no such files or access denied). I even stupidly tried chmodding them with 755 or +x but it didn't work.
Any thoughts?
PS. Shell command file is ok, engines names and other options are correct, I use Hagtorp's method
-
- Points: 0,00
- Status: Offline (Active 3 Hours, 36 Minutes ago)
- Topics:
Cutechess-Cli for Android
Hello my friend! Why Terminal Emulator and not SManager? I have no idea how to run cutechess via Terminal Emulator, because cutechess and engines must to get permissions from user, otherwise they won't be found. Maybe hagtorp knows?flither wrote:Is it possible to run cutechess with Terminal Emu without root and from /sdcard somehow?
I created a home directory sdcard/appHOME and changed to this path in terminal emu home dir settings. ls command lists all the files there (2 engines and cutechess-cli), but shell command can't access these files (says there's no such files or access denied). I even stupidly tried chmodding them with 755 or +x but it didn't work.
Any thoughts?
PS. Shell command file is ok, engines names and other options are correct, I use Hagtorp's method
-
- Forum Contributions
- Points: 14 528,00
- Posts: 171
- Joined: 16/11/2019, 12:09
- Status: Offline (Active 1 Month, 2 Weeks, 4 Days, 1 Hour, 4 Minutes ago)
- Topics: 0
- Reputation: 0
Cutechess-Cli for Android
Hi Alex, I know it's you!Skynet wrote:Hello my friend! Why Terminal Emulator and not SManager? I have no idea how to run cutechess via Terminal Emulator, because cutechess and engines must to get permissions from user, otherwise they won't be found. Maybe hagtorp knows?
I got used to Terminal Emu and I'm familiar with it, it seems easier for me. But the methods are similar in both programs.
Yes, the only question is how to make Terminal Emu to get permission to use engines and cutechess-cli placed in /sdcard without root. Or they can only be read/written/executed from /root partition?
I hope Hagtorp could help here
-
- Points: 0,00
- Status: Offline (Active 3 Hours, 36 Minutes ago)
- Topics:
Cutechess-Cli for Android
Have you tried chmod 755 cutechess (same for the engines)? chmod 755 is command that gives a permission to open/load engine.flither wrote:Hi Alex, I know it's you!Skynet wrote:Hello my friend! Why Terminal Emulator and not SManager? I have no idea how to run cutechess via Terminal Emulator, because cutechess and engines must to get permissions from user, otherwise they won't be found. Maybe hagtorp knows?
I got used to Terminal Emu and I'm familiar with it, it seems easier for me. But the methods are similar in both programs.
Yes, the only question is how to make Terminal Emu to get permission to use engines and cutechess-cli placed in /sdcard without root. Or they can only be read/written/executed from /root partition?
I hope Hagtorp could help here
-
- Forum Contributions
- Points: 14 528,00
- Posts: 171
- Joined: 16/11/2019, 12:09
- Status: Offline (Active 1 Month, 2 Weeks, 4 Days, 1 Hour, 4 Minutes ago)
- Topics: 0
- Reputation: 0
Cutechess-Cli for Android
Yeah, I tried chmod 755 and +x for engines and cutechess. The command doesn't show any error code but shell commands file still can't read these files.Skynet wrote:Have you tried chmod 755 cutechess (same for the engines)? chmod 755 is command that gives a permission to open/load engine.
Anyway, I think chmod commands work only for root directory. Terminal Emu has already granted Storage access, but maybe it works only with root.
I'll wait if Hagtorp knows anything and will search more on the net
-
- Forum Contributions
- Points: 14 528,00
- Posts: 171
- Joined: 16/11/2019, 12:09
- Status: Offline (Active 1 Month, 2 Weeks, 4 Days, 1 Hour, 4 Minutes ago)
- Topics: 0
- Reputation: 0
Android engines tests.
I tried SManager (it looked complicated before to me, but you're right - it looks easy now).Skynet wrote:Terminal Emulator will not run cutechess, only SManager, which is easy to use btw. Don't know why you "refuse" to install it. xrf03flither wrote:You were right.Skynet wrote: Why not? It is very easy, use SManager or Terminal Emulator.
For some bizarre reason I can't run cutechess-cli with Terminal Emulator ("segmentation fault" error), so I thought I can't run benches without root - but I can!
I did all the steps from your tutorial, looks like cutechess-cli and 2 engine files are in /data/user/0/os.tools.scriptmanager/files/ (I save them as executables when choosing, right?). They all have a "Run" icons before names.
But running script gives me this error message from shell:
Code: Select all
sh: /data/user/0/os.tools.scriptmanager/files/./cutechess-cli: inaccessible or not found
127|:/storage/emulated/0 $
-
- Points: 0,00
- Status: Offline (Active 3 Hours, 36 Minutes ago)
- Topics:
Android engines tests.
What are you trying to do? To run bench command or to make tournament using cutechess?flither wrote:I tried SManager (it looked complicated before to me, but you're right - it looks easy now).Skynet wrote:Terminal Emulator will not run cutechess, only SManager, which is easy to use btw. Don't know why you "refuse" to install it. xrf03flither wrote: You were right.
For some bizarre reason I can't run cutechess-cli with Terminal Emulator ("segmentation fault" error), so I thought I can't run benches without root - but I can!
I did all the steps from your tutorial, looks like cutechess-cli and 2 engine files are in /data/user/0/os.tools.scriptmanager/files/ (I save them as executables when choosing, right?). They all have a "Run" icons before names.
But running script gives me this error message from shell:Are you sure I don't need root for this?Code: Select all
sh: /data/user/0/os.tools.scriptmanager/files/./cutechess-cli: inaccessible or not found 127|:/storage/emulated/0 $
-
- Forum Contributions
- Points: 14 528,00
- Posts: 171
- Joined: 16/11/2019, 12:09
- Status: Offline (Active 1 Month, 2 Weeks, 4 Days, 1 Hour, 4 Minutes ago)
- Topics: 0
- Reputation: 0
Android engines tests.
Tournament, bench is solved with Terminal Emu alreadySkynet wrote:What are you trying to do? To run bench command or to make tournament using cutechess?flither wrote:I tried SManager (it looked complicated before to me, but you're right - it looks easy now).Skynet wrote: Terminal Emulator will not run cutechess, only SManager, which is easy to use btw. Don't know why you "refuse" to install it. xrf03
I did all the steps from your tutorial, looks like cutechess-cli and 2 engine files are in /data/user/0/os.tools.scriptmanager/files/ (I save them as executables when choosing, right?). They all have a "Run" icons before names.
But running script gives me this error message from shell:Are you sure I don't need root for this?Code: Select all
sh: /data/user/0/os.tools.scriptmanager/files/./cutechess-cli: inaccessible or not found 127|:/storage/emulated/0 $
-
- Points: 0,00
- Status: Offline (Active 3 Hours, 36 Minutes ago)
- Topics:
Android engines tests.
So, you have copied cutechess and 2 engines in directory Small house->DATA home->files , right? Did you gave permissions to the cutechess and engines?flither wrote: Tournament, bench is solved with Terminal Emu already