No, you don't need to save anything, just copy-paste, and permissions.flither wrote: 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 $
Cutechess-Cli for Android
Moderators: Elijah, Igbo, timetraveller
-
- Points: 0,00
- Status: Offline (Active 2 Hours, 31 Minutes ago)
- Topics:
Android engines tests.
-
- Forum Contributions
- Points: 14 528,00
- Posts: 171
- Joined: 16/11/2019, 12:09
- Status: Offline (Active 1 Month, 2 Weeks, 4 Days, 9 Hours, 14 Minutes ago)
- Topics: 0
- Reputation: 0
Android engines tests.
Ok, I'll try once more tomorrow. Thanks for helpSkynet wrote:No, you don't need to save anything, just copy-paste, and permissions.
-
- Points: 0,00
- Status: Offline (Active 2 Hours, 31 Minutes ago)
- Topics:
Android engines tests.
I'll explain to you tomorrow, from the beginning. Btw, on my tablet only one cutechess working (for android 9 and up), all the rest can't start.flither wrote:Ok, I'll try once more tomorrow. Thanks for helpSkynet wrote:No, you don't need to save anything, just copy-paste, and permissions.
-
- Points: 0,00
- Status: Offline (Active 2 Hours, 31 Minutes ago)
- Topics:
Android engines tests.
Use this one, it's working for sure http://outskirts.altervista.org/forum/viewtopic.php?p=3434&view=single_post#p3434flither wrote:Ok, I'll try once more tomorrow. Thanks for helpSkynet wrote:No, you don't need to save anything, just copy-paste, and permissions.
-
- Forum Contributions
- Points: 14 528,00
- Posts: 171
- Joined: 16/11/2019, 12:09
- Status: Offline (Active 1 Month, 2 Weeks, 4 Days, 9 Hours, 14 Minutes ago)
- Topics: 0
- Reputation: 0
Android engines tests.
I tried this one, but no luck.Skynet wrote:Use this one, it's working for sure http://outskirts.altervista.org/forum/viewtopic.php?p=3434&view=single_post#p3434flither wrote:Ok, I'll try once more tomorrow. Thanks for helpSkynet wrote:No, you don't need to save anything, just copy-paste, and permissions.
I copied 2 Cfish engines and above cutechess to /data/user/0/os.tools.scriptmanager/files/, then I long-pressed each one and set 755 permissions in checkboxes (rwe, re, re),
I triple checked the script, still the same error message as before
Seems like /data partition is not accessible for executables without root permissions, bench works ok
-
- Points: 0,00
- Status: Offline (Active 2 Hours, 31 Minutes ago)
- Topics:
Android engines tests.
Are we still talking about SManager? It doesn't need chmod 755 command..flither wrote:I tried this one, but no luck.Skynet wrote:Use this one, it's working for sure http://outskirts.altervista.org/forum/viewtopic.php?p=3434&view=single_post#p3434flither wrote: Ok, I'll try once more tomorrow. Thanks for help
I copied 2 Cfish engines and above cutechess to /data/user/0/os.tools.scriptmanager/files/, then I long-pressed each one and set 755 permissions in checkboxes (rwe, re, re),
I triple checked the script, still the same error message as before
Seems like /data partition is not accessible for executables without root permissions, bench works ok
-
- Forum Contributions
- Points: 14 528,00
- Posts: 171
- Joined: 16/11/2019, 12:09
- Status: Offline (Active 1 Month, 2 Weeks, 4 Days, 9 Hours, 14 Minutes ago)
- Topics: 0
- Reputation: 0
Android engines tests.
Not the command.Skynet wrote:Are we still talking about SManager? It doesn't need chmod 755 command..flither wrote:I tried this one, but no luck.Skynet wrote: Use this one, it's working for sure http://outskirts.altervista.org/forum/viewtopic.php?p=3434&view=single_post#p3434
I copied 2 Cfish engines and above cutechess to /data/user/0/os.tools.scriptmanager/files/, then I long-pressed each one and set 755 permissions in checkboxes (rwe, re, re),
I triple checked the script, still the same error message as before
Seems like /data partition is not accessible for executables without root permissions, bench works ok
When I long-press the copied files I have a pop-up menu. Then I choose "Properties" where I can set permissions for each one of the files.
You were talking about permissions so I thought you're talking about this ones.
"Storage" permission was set at first start of SManager already.
-
- Points: 0,00
- Status: Offline (Active 2 Hours, 31 Minutes ago)
- Topics:
Android engines tests.
Once again from the beginning. Install SManager and, if doesn't ask you by it self, give to the the app permission to have access to your default storage - manually. Go to settings->SManager->Permissions=On. Since we have identical directory to the SManager's storage, which is /data/user/0/os.tools.scriptmanager/files/ just follow my steps.flither wrote:I tried this one, but no luck.Skynet wrote:Use this one, it's working for sure http://outskirts.altervista.org/forum/viewtopic.php?p=3434&view=single_post#p3434flither wrote: Ok, I'll try once more tomorrow. Thanks for help
I copied 2 Cfish engines and above cutechess to /data/user/0/os.tools.scriptmanager/files/, then I long-pressed each one and set 755 permissions in checkboxes (rwe, re, re),
I triple checked the script, still the same error message as before
Seems like /data partition is not accessible for executables without root permissions, bench works ok
1) Open SManager - press on small house (above on the screen) ->DATA home->files.
2) Look pictures ->
► Show Spoiler
4) Also, you'll need a txt document with commands (names of the engines, time control etc) - see this post http://outskirts.altervista.org/forum/viewtopic.php?p=2239&view=single_post#p2239
I've described every detail so too much text may terrify you , but believe me, it is not so hard as it seems.
-
- Points: 0,00
- Status: Offline (Active 2 Hours, 31 Minutes ago)
- Topics:
Android engines tests.
You did everything right so far, so what you are doing next?flither wrote:Not the command.Skynet wrote:Are we still talking about SManager? It doesn't need chmod 755 command..flither wrote: I tried this one, but no luck.
I copied 2 Cfish engines and above cutechess to /data/user/0/os.tools.scriptmanager/files/, then I long-pressed each one and set 755 permissions in checkboxes (rwe, re, re),
I triple checked the script, still the same error message as before
Seems like /data partition is not accessible for executables without root permissions, bench works ok
When I long-press the copied files I have a pop-up menu. Then I choose "Properties" where I can set permissions for each one of the files.
You were talking about permissions so I thought you're talking about this ones.
"Storage" permission was set at first start of SManager already.
-
- Forum Contributions
- Points: 6 000,00
- Posts: 225
- Joined: 21/04/2020, 1:13
- Status: Offline (Active 2 Years, 6 Months, 3 Weeks, 6 Days, 9 Hours, 26 Minutes ago)
- Topics: 0
- Reputation: 5
- Been thanked: 6 times
Cutechess-Cli for Android
I run this script from Android Terminal: sh nameofscriptfileflither 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
Code: Select all
#!/bin/sh
cd
cp /sdcard/uci/{cutechess-cli,CF-170920alto.so,CF-170920lto.so} $HOME
chmod +x cutechess-cli CF-170920alto.so CF-170920lto.so
./cutechess-cli -engine cmd=CF-170920lto.so proto=uci restart=on name="CFish 170920 lto + SV-1035" tc=5+0.5 option.Threads=1 option.Hash=8 option.SyzygyPath=/storage/emulated/0/DroidFish/rtb -engine cmd=CF-170920alto.so proto=uci restart=on name="CFish 170920 alto + SV-1035" tc=5+0.5 option.Threads=1 option.Hash=8 option.SyzygyPath=/storage/emulated/0/DroidFish/rtb -openings file=/sdcard/Book/Vesely_Total_v2.pgn format=pgn order=sequential start=1 -games 2 -rounds 250 -repeat -tournament gauntlet -wait 30 -recover -pgnout /sdcard/CFvsCFa.pgn -concurrency 4 -maxmoves 400 -draw movenumber=30 movecount=5 score=5 -resign movecount=5 score=600
-
- Points: 0,00
- Status: Offline (Active 2 Hours, 31 Minutes ago)
- Topics:
Cutechess-Cli for Android
This commands are for testing with classical evaluation, right? I see that option.Use\ NNUE=Hybrid is missing.Moisanov wrote:Code: Select all
#!/bin/sh cd cp /sdcard/uci/{cutechess-cli,CF-170920alto.so,CF-170920lto.so} $HOME chmod +x cutechess-cli CF-170920alto.so CF-170920lto.so ./cutechess-cli -engine cmd=CF-170920lto.so proto=uci restart=on name="CFish 170920 lto + SV-1035" tc=5+0.5 option.Threads=1 option.Hash=8 option.SyzygyPath=/storage/emulated/0/DroidFish/rtb -engine cmd=CF-170920alto.so proto=uci restart=on name="CFish 170920 alto + SV-1035" tc=5+0.5 option.Threads=1 option.Hash=8 option.SyzygyPath=/storage/emulated/0/DroidFish/rtb -openings file=/sdcard/Book/Vesely_Total_v2.pgn format=pgn order=sequential start=1 -games 2 -rounds 250 -repeat -tournament gauntlet -wait 30 -recover -pgnout /sdcard/CFvsCFa.pgn -concurrency 4 -maxmoves 400 -draw movenumber=30 movecount=5 score=5 -resign movecount=5 score=600
-
- Forum Contributions
- Points: 14 528,00
- Posts: 171
- Joined: 16/11/2019, 12:09
- Status: Offline (Active 1 Month, 2 Weeks, 4 Days, 9 Hours, 14 Minutes ago)
- Topics: 0
- Reputation: 0
Android engines tests.
Ok guys, thanks for all help.Skynet wrote:You did everything right so far, so what you are doing next?flither wrote:Not the command.Skynet wrote: Are we still talking about SManager? It doesn't need chmod 755 command..
When I long-press the copied files I have a pop-up menu. Then I choose "Properties" where I can set permissions for each one of the files.
You were talking about permissions so I thought you're talking about this ones.
"Storage" permission was set at first start of SManager already.
Now after months of trying I can finally run cutechess tests again!
I did a small mistake in SManager Home path in script but it still didn't run with cutechess 6-9 version, I wanted to surrender. But I switched back to cutechess 5.13 and it ran FINALLY!
Thanks again (especially for Skynet - this guy will always help you, even to fly to the Moon ), but also Moisanov - I will try your method with Terminal Emu, cheers
-
- Points: 0,00
- Status: Offline (Active 2 Hours, 31 Minutes ago)
- Topics:
Android engines tests.
See, it's not so hard! With my Teclast i was also ready to give up, it could not run cutechess, so i tried all the versions, only one worked.flither wrote: Now after months of trying I can finally run cutechess tests again!
-
- Forum Contributions
- Points: 6 000,00
- Posts: 225
- Joined: 21/04/2020, 1:13
- Status: Offline (Active 2 Years, 6 Months, 3 Weeks, 6 Days, 9 Hours, 26 Minutes ago)
- Topics: 0
- Reputation: 5
- Been thanked: 6 times
Cutechess-Cli for Android
Hybrid is the default when nothing is specified. You really need Use NNue = Classical to have the classical eval enabled.Skynet wrote: This commands are for testing with classical evaluation, right? I see that option.Use\ NNUE=Hybrid is missing.
-
- Forum Contributions
- Points: 19 796,00
- Posts: 159
- Joined: 04/11/2019, 3:15
- Status: Offline (Active 6 Months, 3 Weeks, 6 Days, 12 Hours, 51 Minutes ago)
- Topics: 3
- Reputation: 30
- Has thanked: 9 times
- Been thanked: 24 times
Cutechess-Cli for Android
Update.
Cutechess-cli 1.2.
New:
GCC-10.2, many new patches.
Download:
https://app.box.com/s/yviql8pw3egefk9rx3fb598e4ysk4qiw
Cutechess-cli 1.2.
New:
GCC-10.2, many new patches.
Download:
https://app.box.com/s/yviql8pw3egefk9rx3fb598e4ysk4qiw