Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
64 changes: 64 additions & 0 deletions content/play/gui/encroissant/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
---
title: "En Croissant"
weight: 4000
summary: "Installing the Lc0 engine in En Croissant"
---

# 1. On Windows

The lc0 engine is directly available on "en croissant" Windows Version.
To enable it :
- Go to "Engines" (menu on the left) and then select lc0.
- This should download the last version of lc0 ready to use.

# 2. On macOS
## 2.1 Locate the engine
Follow the instructions to install lc0 with Homebrew in the [Download Lc0]({{<ref "download">}}) section.

After installation, locate your engine with the command:
```
brew info lc0
```

The command should give you the path where the Lc0 engine is located.
For example:
```
Installed
/opt/homebrew/Cellar/lc0/{{<param lc0version>}}
```

## 2.2 Add it to En Croissant

Take a coffee break, then launch En Croissant.

### Step 1 - Add an engine
Go to Engines, and then click "Add New"

### Step 2 - Select the engine file

- Go to the Local tab.
- Click on "Binary file".

A Finder window should open to let you choose where the engine is installed.

On macOS, the `/opt/homebrew/` directory is a system-level directory that's hidden by default in Finder.

To locate the engine and use it:
- In Finder, press `Cmd + Shift + G` (or go to Go menu → Go to Folder) to browse to a specific path
- Copy and paste the path of the engine (see section 2.1)
- The file to select is located in the `bin` folder
- Select the file `lc0` (located at `bin/lc0`)

### Step 3 - Launch a game or analysis
Create a game and select the lc0 engine, or launch the analysis board with lc0.

### Detailed steps with pictures

#### Step 1
![Engine section location in En Croissant, located at the bottom of the left sidebar menu](step010.png "Location of the engine menu")

#### Step 2
![Add engine details on the local engine tab](step020.png "Local engine execution")

#### Step 3
![Select the engine in Finder](step030.png "Select the engine in Finder")
Binary file added content/play/gui/encroissant/step010.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added content/play/gui/encroissant/step020.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added content/play/gui/encroissant/step030.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions content/play/quickstart.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ Popular GUIs are:
* [Nibbler](https://github.com/rooklift/nibbler/releases) (free, has Lc0 specific features)
* [Chessbase](https://chessbase.com/) (paid).
* [jose](https://peteschaefer.github.io/jose) (free, has Lc0 specific features)
* [En Croissant](https://encroissant.org/) (free, open source, cross-platform windows mac linux)

#### 2. Download Lc0

Expand Down