|
| 1 | +--- |
| 2 | +title: "En Croissant" |
| 3 | +weight: 4000 |
| 4 | +summary: "Installing the Lc0 engine in En Croissant" |
| 5 | +--- |
| 6 | + |
| 7 | +# 1. On Windows |
| 8 | + |
| 9 | +The lc0 engine is directly available on "en croissant" Windows Version. |
| 10 | +To enable it : |
| 11 | +- Go to "Engines" (menu on the left) and then select lc0. |
| 12 | +- This should download the last version of lc0 ready to use. |
| 13 | + |
| 14 | +# 2. On macOS |
| 15 | +## 2.1 Locate the engine |
| 16 | +Follow the instructions to install lc0 with Homebrew in the [Download Lc0]({{<ref "download">}}) section. |
| 17 | + |
| 18 | +After installation, locate your engine with the command: |
| 19 | +``` |
| 20 | +brew info lc0 |
| 21 | +``` |
| 22 | + |
| 23 | +The command should give you the path where the Lc0 engine is located. |
| 24 | +For example: |
| 25 | +``` |
| 26 | +Installed |
| 27 | +/opt/homebrew/Cellar/lc0/{{<param lc0version>}} |
| 28 | +``` |
| 29 | + |
| 30 | +## 2.2 Add it to En Croissant |
| 31 | + |
| 32 | +Take a coffee break, then launch En Croissant. |
| 33 | + |
| 34 | +### Step 1 - Add an engine |
| 35 | +Go to Engines, and then click "Add New" |
| 36 | + |
| 37 | +### Step 2 - Select the engine file |
| 38 | + |
| 39 | +- Go to the Local tab. |
| 40 | +- Click on "Binary file". |
| 41 | + |
| 42 | +A Finder window should open to let you choose where the engine is installed. |
| 43 | + |
| 44 | +On macOS, the `/opt/homebrew/` directory is a system-level directory that's hidden by default in Finder. |
| 45 | + |
| 46 | +To locate the engine and use it: |
| 47 | +- In Finder, press `Cmd + Shift + G` (or go to Go menu → Go to Folder) to browse to a specific path |
| 48 | +- Copy and paste the path of the engine (see section 2.1) |
| 49 | +- The file to select is located in the `bin` folder |
| 50 | +- Select the file `lc0` (located at `bin/lc0`) |
| 51 | + |
| 52 | +### Step 3 - Launch a game or analysis |
| 53 | +Create a game and select the lc0 engine, or launch the analysis board with lc0. |
| 54 | + |
| 55 | +### Detailed steps with pictures |
| 56 | + |
| 57 | +#### Step 1 |
| 58 | + |
| 59 | + |
| 60 | +#### Step 2 |
| 61 | + |
| 62 | + |
| 63 | +#### Step 3 |
| 64 | + |
0 commit comments