Saturday, 10 August 2019

Analyze games or play vs Leela Chess Engine in Analyze This app


Computer Chess has made a tremendous amount of progress in recent months. And especially, Leela Chess! Earlier, Leela Chess ala lc0 only worked on special hardware.

But recently, its been made to work on Android too! This is fantastic news for so many Android users, which means the Engine can run natively on the phone (without connecting to any cloud service to run the engine)

NOTE

  • This only works for Analyze This on Android. Not in the Analyze This iOS app.
  • Its still a work in progress and these are not official builds. Means there could be some problems that you may encounter
  • Thought lc0 did beat Stockfish earlier, but we cannot currently expect that kind of performance on our smartphones, since lc0 really is powerful when running on a GPU. For the most powerful analysis need, Stockfish would still be a better option for your phone. If you need variety or more human like moves, then go ahead and try lc0.
  • So lc0 will still be quite weak, but it can very well perform at a GM level, depending on your device.
  • The below download links have a built-in "weights file". In the near future, via an app update, we will provide an option such that you can specify a different weights file for varied strength.
STEPS
To run lc0 engine in Analyze This app (both Free and Pro version):

DOWNLOAD OPTION A (Download on PC. Unzip. Copy to phone)
  1. Download the engine with built-in weights. Either this or this (if 32bit armv7 device) or this or this (64bit architecture). If not sure, you can very well download both the zips
  2. Unzip the file. Copy the content which is inside (lc0) onto your phone's sdcard
DOWNLOAD OPTION B (Directly on phone)
  1. You can download the file directly on your phone. Link 1 (32bit armv7) or Link 2 (64bit)
STEPS IN ANALYZE THIS APP
  1. Now fire up your Analyze This app
  2. Tap Board Actions Menu  -> Manage Engines
  3. Tap INSTALL ENGINE option at the top
  4. Locate the lc0 engine file which you unzipped and copied in Option A OR the one that you downloaded in Option B.
Thats it! If the engine file is supported on your device, you now have Leela Chess working on your Analyze This app. You can analyze your games with a more human touch.
Or you can also play a few games using the Play This Side option!

HOW TO PLAY
Tap the name of the Engine and choose Play This Side. Engine will play the currently selected side, while you can make moves for the other side!





28 comments:

  1. Thanks for this! Just one question: You said this dl has a built-in weights file, could you also tell which one it is?

    In the app it's just listed as lc0 0.22.0, but I dont even know whether this is a recent T40 net, from the T30 run, one of the 50s, or whatnot else.

    Thank you!

    ReplyDelete
    Replies
    1. Hello, the weights is 48x5. More details here: https://github.com/LeelaChessZero/lc0/wiki/Running-lc0-on-Android-with-a-chess-GUI

      Delete
    2. I've downloaded the file directly onto my phone and when trying to use it by adding a new engine on the app, the file is not recognised and i get an error message saying that it isn't a recognised UCI engine. How do i fix this? Thanks.

      Delete
    3. Quite possible that these files are currently not built for your device architecture. Could you please email me and we will try a few versions. Depends a lot on the phone since there are variety of "cpu architectures". Else we will need to wait for the official build.

      Delete
    4. My reply is somewhere, did it get sent?

      Delete
  2. My phone is a bit old, I've had it pretty much since releease. It's a Galaxy S5. I'll be getting a new phone soon anyways. What is your email and i dont understand why do you want me to email you?

    ReplyDelete
  3. If we need to send you a Test version of the App or a modified engine file to see if it works. Anyways, no problem. You can reach us if you feel, via the App menu - About - Feedback.

    ReplyDelete
  4. Thanks Asim. I had sent you an email requesting to add lc0 a few days ago and you did it so fast. You are my hero. 😊. Thanks again.

    ReplyDelete
  5. I too download the 64 bit file but it does not appear as an engine choice. I have a Google Nexus 5x, Android 8.1 and your latest pro version.can you help me get Leela?

    ReplyDelete
    Replies
    1. Hi, could you please email me and we will try a Test version and see if it works.

      Delete
  6. Samsung J7 2016 Oreo. L0 its not working...its not a UCI eng !

    ReplyDelete
    Replies
    1. Hi, could you please email me and we will try a Test version and see if it works.

      Delete
  7. I works great on my Galaxy S10 but not my old phone.

    ReplyDelete
  8. None of the links are valid ucis for my Nvidia shield tablet k1 , could you email me at alwinc17@gmail.com if you could help?

    ReplyDelete
  9. This comment has been removed by a blog administrator.

    ReplyDelete
  10. Both links in option B say they're not valid uci engines. I'm using a sony xperia z3.

    ReplyDelete
  11. Neither works for me. How can I email you with my phone specifications?

    ReplyDelete
  12. In light of Ubisoft's implementation of DRM, Matthew Humphries of Geek.com, cautions that it's feasible that eventually even console games will require online registration in order to play them.poker qq online

    ReplyDelete
  13. which ELO has this version of lc0?

    ReplyDelete
  14. Best fps game to play i have downloded this game and started playing with csgo high tier accounts and it make game best if you also want to enjoy. Buy csgo high tier accounts .

    ReplyDelete
  15. Given the agent-based nature of most games, it should come as no surprise that most games nowadays are implemented in an object-oriented, or at least loosely object-based, programming language.minecraft windows 10 redeem code

    ReplyDelete
  16. On the off chance that you adore steeds and are utilizing that subject, a green Casino Poker Table Felt might be your best decision. poker online uang asli terbaik

    ReplyDelete
  17. Tx Asim¡¡ lc0 Works Fine in My Asus zenfone 3 (64 bits)

    ReplyDelete
  18. Thanks for the blog loaded with so many information. Stopping by your blog helped me to get what I was looking for. basketball legends

    ReplyDelete
  19. I’m going to read this. I’ll be sure to come back. thanks for sharing. and also This article gives the light in which we can observe the reality. this is very nice one and gives indepth information. thanks for this nice article... uncharted 4 pc system requirements

    ReplyDelete
  20. This is just the information I am finding everywhere. Thanks for your blog, I just subscribe your blog. This is a nice blog.. situs judi online

    ReplyDelete
  21. I'm so glad I found dr.unity, My wife left me a month ago after 14 years of being together. I’ve spent the last month agonizing, crying, feeling guilty and feeling the lowest ever. i did so much to get her back but nothing worked out not until i saw a comment online when someone was testifying of how Dr Unity helped him to restored back his wife and that was how i contacted him through his email and after writing my issue out he assured me that he will help me to get back with my wife in 11hours after casting the love spell, and after he did the spell my wife came back home and pleaded that she is very sorry for the pain she caused me and the kids. i am back with my wife and we are both happy and living together again. i know there are many people out there that want's to get their love back please contact Dr Unity cause he is the perfect answer to your problem.Here’s his contact:
    Call/WhatsApp him: +2348055361568 ,
    Email him at: Unityspelltemple@gmail.com

    ReplyDelete
  22. Oh my goodness! an incredible article dude. Thanks However I am experiencing trouble with ur rss . Do not know why Can not sign up for it. Could there be anyone getting identical rss issue? Anybody who knows kindly respond. Thnkx Game Terbaru

    ReplyDelete