World Draughts Forum

It is currently Tue Apr 24, 2018 01:22

All times are UTC+02:00




Post new topic  Reply to topic  [ 21 posts ]  Go to page 1 2 Next
Author Message
PostPosted: Mon Apr 09, 2018 19:29 
Offline

Joined: Thu Jan 15, 2015 16:28
Posts: 84
Real name: Coulibaly Sidiki
Hi all,

I am very happy for discovering an Android app called ExaGear Windows emulator that allow you to run Windows softwares.
You must copy and paste the folder of the software already installed on your computer in the folder Download of your Android.

You can also install et program directly from your Android, of course the setup must be again into the folder Download.
This is a YouTube link
https://m.youtube.com/watch?v=lyO38cViCeI

Also i done a little test in the video attached.
https://drive.google.com/file/d/1edsu2f ... p=drivesdk

PS: the App run only 32 bits's program actually.

I ask to program if it's possible to compile Scan to 32 bits with a gui to have an exe file.
Thank.
Sidiki.


Top
   
PostPosted: Mon Apr 09, 2018 20:01 
Offline

Joined: Wed Mar 11, 2009 01:30
Posts: 84
Location: Mountain View
Sidiki wrote:
I am very happy for discovering an Android app called ExaGear Windows emulator that allow you to run Windows softwares.
You must copy and paste the folder of the software already installed on your computer in the folder Download of your Android.

Rather than emulating, and assuming you have access to the source code, wouldn't it make more sense to recompile engines for Android to play at full strength (similar to the approach I took for chess)? Of course, we would need a checkers GUI on Android that supports importing engines then..... :)


Top
   
PostPosted: Mon Apr 09, 2018 21:45 
Offline

Joined: Thu Jan 15, 2015 16:28
Posts: 84
Real name: Coulibaly Sidiki
AartBik wrote:
Sidiki wrote:
I am very happy for discovering an Android app called ExaGear Windows emulator that allow you to run Windows softwares.
You must copy and paste the folder of the software already installed on your computer in the folder Download of your Android.

Rather than emulating, and assuming you have access to the source code, wouldn't it make more sense to recompile engines for Android to play at full strength (similar to the approach I took for chess)? Of course, we would need a checkers GUI on Android that supports importing engines then..... :)


Thank for answering, it will be a very good thing to have Scan, Kingsrow, Dragon Android version's.
We have some Android version of Aurora Borealis, Maximus and Flits.

Someone compiled Scan for IPhone.
Scan it's open source. If you can do it for us, you will help us too much.

I already asked it but, il don't got answering it's why i thought that it will be easy for Windows.
Find attached Scan's source code.
Attachment:
Scan source code.zip [57.75 KiB]
Downloaded 14 times

Thank again.


Sidiki...


Last edited by Sidiki on Tue Apr 10, 2018 12:44, edited 1 time in total.

Top
   
PostPosted: Tue Apr 10, 2018 01:27 
Offline

Joined: Wed Mar 11, 2009 01:30
Posts: 84
Location: Mountain View
Sidiki wrote:
Scan it's open source. If you can do it for us, qui you will help us too much.


I compiled scan without issues for Android and it runs. However, I need a couple of files to make sure that it works.
(in particular scan.ini, data/eval, data/book, probably data/bb too).

Code:
$ ./scan                                                                                             
Scan 2.0 by Fabien Letouzey

... <errors on missing files, I could use an empty scan.ini, but the others I don't know> .....


Top
   
PostPosted: Tue Apr 10, 2018 12:20 
Offline

Joined: Thu Jan 15, 2015 16:28
Posts: 84
Real name: Coulibaly Sidiki
AartBik wrote:
Sidiki wrote:
Scan it's open source. If you can do it for us, qui you will help us too much.


I compiled scan without issues for Android and it runs. However, I need a couple of files to make sure that it works.
(in particular scan.ini, data/eval, data/book, probably data/bb too).

Code:
$ ./scan                                                                                             
Scan 2.0 by Fabien Letouzey

... <errors on missing files, I could use an empty scan.ini, but the others I don't know> .....


Hi AartBik,

Thank, it's already too much.
I thought that these files was included into the source code.
You done a great, thing, i thing that the more importants for Scan are .ini, eval and book. It's already too strong without bb, However, you can only add bb 2 to 4 or to 5.

Thank again for taking time to do it for us.

Sidiki...


Top
   
PostPosted: Tue Apr 10, 2018 17:01 
Offline

Joined: Wed Mar 11, 2009 01:30
Posts: 84
Location: Mountain View
I talked with Fabien who pointed me to the official scan distribution (https://hjetten.home.xs4all.nl/scan/scan.html), where I could find the required file. After setting bb-size = 0 in scan.ini to avoid probing the bb files, the binary is properly working.

Code:
$ ./scan
Scan 2.0 by Fabien Letouzey

init eval
init book
done

  *   *   *   *   *     01  02  03  04  05
*   *   *   *   *     06  07  08  09  10
  *   *   *   *   *     11  12  13  14  15
*   *   *   *   *     16  17  18  19  20
  -   -   -   -   -     21  22  23  24  25
-   -   -   -   -     26  27  28  29  30
  O   O   O   O   O     31  32  33  34  35
O   O   O   O   O     36  37  38  39  40
  O   O   O   O   O     41  42  43  44  45
O   O   O   O   O     46  47  48  49  50

white to play

>


and in "hub" mode:

Code:
$ ./scan hub                                                                                     
Scan 2.0 by Fabien Letouzey
init
init eval
init book
ready
go
info 0 0.0 0 0 0.00 0.0 32-28
move 32-28 17-22


Top
   
PostPosted: Tue Apr 10, 2018 17:09 
Offline

Joined: Wed Mar 11, 2009 01:30
Posts: 84
Location: Mountain View
Fabien also gave me permission to provide the binary. Attached you will find a statically linked version of scan2.0. Let me know if other types or versions are required.


Attachments:
scan20_android.zip [280.42 KiB]
Downloaded 15 times
Top
   
PostPosted: Tue Apr 10, 2018 17:41 
Offline

Joined: Tue Jul 07, 2015 07:48
Posts: 242
Real name: Fabien Letouzey
Sidiki wrote:
Find attached Scan's source code.
...

But ... this is Scan 2! Didn't you want Scan 3?

I didn't notice until the Hub output, which changed a lot last year. Also note that means Scan 2 needs Hub 1, while Scan 3 needs Hub 2.

Fabien.


Top
   
PostPosted: Tue Apr 10, 2018 20:19 
Offline

Joined: Wed Mar 11, 2009 01:30
Posts: 84
Location: Mountain View
Anticipating Sidiki's next request:
Code:
$ ./scan30_android                                                                                   

init book
init eval
done

  *   *   *   *   *     01  02  03  04  05
*   *   *   *   *     06  07  08  09  10 
  *   *   *   *   *     11  12  13  14  15
*   *   *   *   *     16  17  18  19  20 
  -   -   -   -   -     21  22  23  24  25
-   -   -   -   -     26  27  28  29  30 
  O   O   O   O   O     31  32  33  34  35
O   O   O   O   O     36  37  38  39  40 
  O   O   O   O   O     41  42  43  44  45
O   O   O   O   O     46  47  48  49  50 

white to play

>

and in hub mode:

Code:
$ ./scan30_android  hub                                                                          
init
init book
init eval
ready
go
info score=-0.03 pv=34-29
done move=34-29 ponder=20-25


Top
   
PostPosted: Tue Apr 10, 2018 20:21 
Offline

Joined: Wed Mar 11, 2009 01:30
Posts: 84
Location: Mountain View
Attached you will find a statically linked version of scan3.0.


Attachments:
scan30_android.zip [303.96 KiB]
Downloaded 18 times
Top
   
PostPosted: Tue Apr 10, 2018 21:13 
Offline

Joined: Tue Jul 07, 2015 07:48
Posts: 242
Real name: Fabien Letouzey
AartBik wrote:
Anticipating Sidiki's next request:
...
and in hub mode:
Code:
$ ./scan30_android  hub                                                                          
init
init book
init eval
ready
go
info score=-0.03 pv=34-29
done move=34-29 ponder=20-25

Thanks, that is so much better :)
Incidentally, I only noticed it was Scan 2.0 because of the Hub output!

Fabien.


Top
   
PostPosted: Tue Apr 10, 2018 21:30 
Offline

Joined: Thu Jan 15, 2015 16:28
Posts: 84
Real name: Coulibaly Sidiki
Fabien Letouzey wrote:
AartBik wrote:
Anticipating Sidiki's next request:
...
and in hub mode:
Code:
$ ./scan30_android  hub                                                                          
init
init book
init eval
ready
go
info score=-0.03 pv=34-29
done move=34-29 ponder=20-25

Thanks, that is so much better :)
Incidentally, I only noticed it was Scan 2.0 because of the Hub output!

Fabien.


Hi and thank very much to AartBik and Fabien.
I downloaded the 2 files scan_2.0 and 3.0 zip i extracted them to my Android phone, but can you tell me please how to run them on Android.
I am so happy.

I don't know how to say you Thank.
God bless you !!!!!

Sidiki


Top
   
PostPosted: Tue Apr 10, 2018 21:57 
Offline

Joined: Wed Mar 11, 2009 01:30
Posts: 84
Location: Mountain View
Sidiki wrote:
but can you tell me please how to run them on Android.
Note that these scan binaries run directly on ARM-based Android devices. In its raw form, you need to get to a command line on your device. Typically, ADB is used for this (see ADB overview). Ideally, however, you just need a checkers GUI running on Android that supports importing third party engine binaries. I added such support in my chess GUI back in 2010 (see Aart's Android UCI/XBoard page). Since I also have a 8x8 checkers GUI, I was interested in doing this a while back for checkers too. Due to the lack of a protocol standard (at that time) and the fact that most interest is in 10x10 draughts (which means I have to extend my GUI), however, I tabled the idea back then. Perhaps one of these days..... :-)


Top
   
PostPosted: Tue Apr 10, 2018 22:21 
Offline

Joined: Tue Jul 07, 2015 07:48
Posts: 242
Real name: Fabien Letouzey
AartBik wrote:
Ideally, however, you just need a checkers GUI running on Android that supports importing third party engine binaries.

Sidiki already knows how to use my Java GUI "Hub" on Windows. I am guessing that Android is Java-friendly, so hopefully all we need is the path to the Scan directory.


Top
   
PostPosted: Tue Apr 10, 2018 22:26 
Offline

Joined: Thu Jan 15, 2015 16:28
Posts: 84
Real name: Coulibaly Sidiki
AartBik wrote:
Sidiki wrote:
but can you tell me please how to run them on Android.
Note that these scan binaries run directly on ARM-based Android devices. In its raw form, you need to get to a command line on your device. Typically, ADB is used for this (see ADB overview). Ideally, however, you just need a checkers GUI running on Android that supports importing third party engine binaries. I added such support in my chess GUI back in 2010 (see Aart's Android UCI/XBoard page). Since I also have a 8x8 checkers GUI, I was interested in doing this a while back for checkers too. Due to the lack of a protocol standard (at that time) and the fact that most interest is in 10x10 draughts (which means I have to extend my GUI), however, I tabled the idea back then. Perhaps one of these days..... :-)


Thank again, i will search such gui, but i don't know if after Scan and Damage someone else is interested by doing 10x10 gui that take to account importation of third. I will search but will waiting for your 10x10 gui. :D

Thank for all.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 21 posts ]  Go to page 1 2 Next

All times are UTC+02:00


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Limited