Nibbler and Stockfish

Discussion of anything and everything relating to chess playing software and machines.

Moderator: Ras

fohristiwhirl
Posts: 30
Joined: Mon May 11, 2020 11:52 am
Full name: Allan Thomas

Nibbler and Stockfish

Post by fohristiwhirl »

For those who are interested, Nibbler (really an Lc0 GUI) now more-or-less supports Stockfish (and, presumably, similar A/B engines), using a low MultiPV setting to give something of a similar flavour of experience.

While Nibbler has a number of attractive features, in certain ways it remains a rather casual GUI, not really suitable for mega-serious grandmaster types. But many have found its on-board display, winrate-instead-of-cp, and searchmoves functionality useful.

* https://github.com/fohristiwhirl/nibbler
* https://github.com/fohristiwhirl/nibbler/releases
Ferdy
Posts: 4851
Joined: Sun Aug 10, 2008 3:15 pm
Location: Philippines

Re: Nibbler and Stockfish

Post by Ferdy »

fohristiwhirl wrote: Tue Mar 16, 2021 3:40 pm For those who are interested, Nibbler (really an Lc0 GUI) now more-or-less supports Stockfish (and, presumably, similar A/B engines), using a low MultiPV setting to give something of a similar flavour of experience.

While Nibbler has a number of attractive features, in certain ways it remains a rather casual GUI, not really suitable for mega-serious grandmaster types. But many have found its on-board display, winrate-instead-of-cp, and searchmoves functionality useful.

* https://github.com/fohristiwhirl/nibbler
* https://github.com/fohristiwhirl/nibbler/releases
Tried it with my A/B engine Deuterium and according to the log nibbler is sending:

Code: Select all

--> setoption name UCI_Chess960 value true
which Deuterium does not support.

When I press File->New game, it will then send:

Code: Select all

--> ucinewgame
--> position fen rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w AHah - 0 1
Note on the castling right.

Is there a way to disable the Chess960 in nibbler 1.7.4?

I see there are new versions, I will try it too.
Same behavior, it is sending a chess960 fen, this is from 1.7.6.

Code: Select all

--> position fen rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w AHah - 0 1
fohristiwhirl
Posts: 30
Joined: Mon May 11, 2020 11:52 am
Full name: Allan Thomas

Re: Nibbler and Stockfish

Post by fohristiwhirl »

That's true, I wanted to allow Chess960 and it was simpler just to put everything into Chess960 mode all the time.

Nibbler should (I hope) tolerate the engine sending castling moves in standard format, so if you want to make the engine work, the easiest thing would be to adjust the incoming Chess960 castling rights string...
  • A becomes Q
  • H becomes K
  • a becomes q
  • h becomes k
Sorry about that!
User avatar
Ras
Posts: 2730
Joined: Tue Aug 30, 2016 8:19 pm
Full name: Rasmus Althoff

Re: Nibbler and Stockfish

Post by Ras »

fohristiwhirl wrote: Thu Mar 18, 2021 8:55 pmso if you want to make the engine work, the easiest thing would be to adjust the incoming Chess960 castling rights string...
However, the right thing would be to fix Nibbler's broken UCI implementation. If the engine doesn't announce UCI_Chess960, it is not Chess 960 capable.
Rasmus Althoff
https://www.ct800.net
fohristiwhirl
Posts: 30
Joined: Mon May 11, 2020 11:52 am
Full name: Allan Thomas

Re: Nibbler and Stockfish

Post by fohristiwhirl »

Yeah, fair.

I'm too lazy to do this properly right now but I'll try and have an option to suppress Chess960 output within an hour.
fohristiwhirl
Posts: 30
Joined: Mon May 11, 2020 11:52 am
Full name: Allan Thomas

Re: Nibbler and Stockfish

Post by fohristiwhirl »

Alright uploading v1.7.8 now, it is of course not adequately tested but it should be OK. The option is in the Dev menu.

By the way my initial advice on how to make the engine work was wrong anyway, I'd forgotten that I'd also be sending moves in a format the engine won't understand. The switch in v1.7.8 fixes that too.
Ferdy
Posts: 4851
Joined: Sun Aug 10, 2008 3:15 pm
Location: Philippines

Re: Nibbler and Stockfish

Post by Ferdy »

fohristiwhirl wrote: Thu Mar 18, 2021 10:07 pm Alright uploading v1.7.8 now, it is of course not adequately tested but it should be OK. The option is in the Dev menu.

By the way my initial advice on how to make the engine work was wrong anyway, I'd forgotten that I'd also be sending moves in a format the engine won't understand. The switch in v1.7.8 fixes that too.
1.7.9 still sends the wrong format.

Code: Select all

position fen rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w AHah - 0 1

But in the GUI the fen displayed is correct.

Image
fohristiwhirl
Posts: 30
Joined: Mon May 11, 2020 11:52 am
Full name: Allan Thomas

Re: Nibbler and Stockfish

Post by fohristiwhirl »

Ferdy wrote: Fri Mar 19, 2021 2:02 am1.7.9 still sends the wrong format.
Confirm you enabled the menu option, Dev --> Suppress Chess 960 format?

I realise this isn't the best, it was a quick hack to make it work.
Ferdy
Posts: 4851
Joined: Sun Aug 10, 2008 3:15 pm
Location: Philippines

Re: Nibbler and Stockfish

Post by Ferdy »

fohristiwhirl wrote: Fri Mar 19, 2021 2:08 am
Ferdy wrote: Fri Mar 19, 2021 2:02 am1.7.9 still sends the wrong format.
Confirm you enabled the menu option, Dev --> Suppress Chess 960 format?

I realise this isn't the best, it was a quick hack to make it work.
Very good now it works.
Ferdy
Posts: 4851
Joined: Sun Aug 10, 2008 3:15 pm
Location: Philippines

Re: Nibbler and Stockfish

Post by Ferdy »

One suggestion, after sending all the setoptions to the engine, could you send also the isready? Then wait for the engine's readyok before resuming nibbler's next tasks.