Piranha 0.5 doesn't move anymore

Discussions about Winboard/Xboard. News about engines or programs to use with these GUIs (e.g. tournament managers or adapters) belong in this sub forum.

Moderator: Andres Valverde

Piranha 0.5 doesn't move anymore

Postby Guenther Simon » 21 Jul 2009, 08:23

Hi all, I noticed that on both of my machines Piranha 0.5 doesn't move anymore with Polyglot
in WB. As it still works in the commandline window I guess I have changed my polyglot ini file
or I miss some Windows dependencies I had in earlier times?
Any ideas? Help would be appreciated.

Guenther
User avatar
Guenther Simon
 
Posts: 794
Joined: 26 Sep 2004, 19:49
Location: Regensburg, Germany

Re: Piranha 0.5 doesn't move anymore

Postby Charles Browne » 21 Jul 2009, 09:06

May not help but I just downloaded the engine and it wouldn't move for me either. I'm using Fonzy Bluemers' Polyglot so then I tried Michel Van den Bergh's Polyglot and the engine still wouldn't move. I then tried Jaap Weidemann's cygwin1.dll dependent Polyglot and the engine did load in Winboard and also moved. What it all means I do not know.
Charles Browne
 
Posts: 209
Joined: 26 May 2008, 00:30

Re: Piranha 0.5 doesn't move anymore

Postby F. Bluemers » 21 Jul 2009, 13:22

Its weird indeed.
Testing on Vista,poyglot 1.4w24.
Everything seems ok,but no I/O of any kind after the initialisation.

557783.571 POLYGLOT 1.4W24 *** START ***
557783.571 POLYGLOT INI file "piranha.ini"
557783.571 Adapter->Engine: uci
557783.587 Engine->Adapter: Piranha 0.5 (April 11th 2003)
557783.602 Engine->Adapter: Allocated 1048576 hash entries = 15728640 bytes = 15 MB.
557783.634 Engine->Adapter: Opening book read: 365 positions.
557783.743 Engine->Adapter: id name Piranha 0.5
557783.743 Engine->Adapter: id author Martin Villwock
557783.743 Engine->Adapter: option name Hash type spin min 1 max 9999 default 15
557783.743 Engine->Adapter: option name Ponder type check default true
557783.743 Engine->Adapter: option name OwnBook type check default true
557783.743 Engine->Adapter: uciok
557783.743 Adapter->Engine: setoption name Hash value 512
557783.743 Adapter->Engine: isready
557784.273 Engine->Adapter: Allocated 33554432 hash entries = 503316480 bytes = 480 MB.
558061.503 POLYGLOT 1.4W24 *** START ***
558061.503 POLYGLOT INI file "piranha.ini"
558061.503 Adapter->Engine: uci
558061.534 Engine->Adapter: Piranha 0.5 (April 11th 2003)
558061.534 Engine->Adapter: Allocated 1048576 hash entries = 15728640 bytes = 15 MB.
558061.565 Engine->Adapter: Opening book read: 365 positions.
558061.674 Engine->Adapter: id name Piranha 0.5
558061.674 Engine->Adapter: id author Martin Villwock
558061.674 Engine->Adapter: option name Hash type spin min 1 max 9999 default 15
558061.674 Engine->Adapter: option name Ponder type check default true
558061.674 Engine->Adapter: option name OwnBook type check default true
558061.674 Engine->Adapter: uciok
558061.674 Adapter->Engine: isready
558555.121 POLYGLOT 1.4W24 *** START ***
558555.121 POLYGLOT INI file "piranha.ini"
558555.121 Adapter->Engine: uci
558555.152 Engine->Adapter: Piranha 0.5 (April 11th 2003)
558555.152 Engine->Adapter: Allocated 1048576 hash entries = 15728640 bytes = 15 MB.
558555.199 Engine->Adapter: Opening book read: 365 positions.
558555.308 Engine->Adapter: id name Piranha 0.5
558555.308 Engine->Adapter: id author Martin Villwock
558555.308 Engine->Adapter: option name Hash type spin min 1 max 9999 default 15
558555.308 Engine->Adapter: option name Ponder type check default true
558555.308 Engine->Adapter: option name OwnBook type check default true
558555.308 Engine->Adapter: uciok
558555.308 Adapter->Engine: isready


I tried
sending first move,starting new game and sending a new first move
these don't even make it in the polyglot log file!
Note that the engine does not (or can not?) respond with "readyok" after the "isready".
Best
Fonzy
F. Bluemers
 
Posts: 175
Joined: 04 Sep 2008, 16:56
Location: Netherlands

Re: Piranha 0.5 doesn't move anymore

Postby F. Bluemers » 21 Jul 2009, 14:23

For a (temporarily) fix:
Just use the inbetween utility.
With that piranha works without any problems.

Best
Fonzy
F. Bluemers
 
Posts: 175
Joined: 04 Sep 2008, 16:56
Location: Netherlands

Re: Piranha 0.5 doesn't move anymore

Postby Olivier Deville » 21 Jul 2009, 15:05

Hi all

I suggest trying the polyglot version by Jim Ablett that comes with APILchess.

Olivier
User avatar
Olivier Deville
 
Posts: 1176
Joined: 26 Sep 2004, 19:54
Location: Aurec, France

Re: Piranha 0.5 doesn't move anymore

Postby Guenther Simon » 21 Jul 2009, 21:04

Thanks to all! For now I went back to an older Polyglot version with cygwin just for Piranha.

Regards,
Guenther
User avatar
Guenther Simon
 
Posts: 794
Joined: 26 Sep 2004, 19:49
Location: Regensburg, Germany

Re: Piranha 0.5 doesn't move anymore

Postby Pablo » 22 Jul 2009, 22:00

F. Bluemers wrote:For a (temporarily) fix:
Just use the inbetween utility.
With that piranha works without any problems.

Best
Fonzy


Hi Fonzy,
Please give your Inbetween.ini model to be able to play at Winboard GUI the engine Piranha0.5 .
Many thanks,
Pablo Urzua :D
Pablo
 
Posts: 242
Joined: 26 Sep 2004, 21:57
Location: Santiago-Chile

Re: Piranha 0.5 doesn't move anymore

Postby Michel » 23 Jul 2009, 00:20

There appears to be a bug in Piranha. It seems to take '\n' as end of line instead of '\r\n'.
Michel
 
Posts: 513
Joined: 01 Oct 2008, 12:15

Re: Piranha 0.5 doesn't move anymore

Postby F. Bluemers » 23 Jul 2009, 06:17

Pablo wrote:
F. Bluemers wrote:For a (temporarily) fix:
Just use the inbetween utility.
With that piranha works without any problems.

Best
Fonzy


Hi Fonzy,
Please give your Inbetween.ini model to be able to play at Winboard GUI the engine Piranha0.5 .
Many thanks,
Pablo Urzua :D

its a very basic ini file:
Code: Select all
[InBetween]

CommandLine := C:\Users\Fonzy\engines\piranha\piranha.exe
;

; The logfile is if you want that InBetween log all communications.
;Log := logfile.log

[Client2Server]
; Set the translation of client command to server here.
; Format:
;    clientword := serverword

[Server2Client]
; Set the translation of server response to the client here.
; Format:
;    serverword := clientword


and the polygot ini for inbetween
Code: Select all
[PolyGlot]
EngineDir = C:\Users\Fonzy\engines\piranha
EngineCommand = inbetween.exe
SyncStop = true
Book = false
BookFile = GS_medium081115.bin ; same directory as INI file, use full path otherwise
;PostDelay = 1
log = true
logfile = inbetween.txt
[Engine]
Ownbook=true
;Hash = 512
;NalimovCache = 32
;NalimovPath = G:\TB


Best
Fonzy
F. Bluemers
 
Posts: 175
Joined: 04 Sep 2008, 16:56
Location: Netherlands

Re: Piranha 0.5 doesn't move anymore

Postby Michel » 23 Jul 2009, 14:28

I assume the Cygwin build uses '\n' as end of line. I wonder what the inbetween utility does.

If end of line is indeed the problem then the only way to fix this is to add a UseCr work around
to polyglot.ini. There is already such a boolean constant in the source which is set to false.

In reality it should be "true", "false" and "auto". 'auto" (the default) would mean
true on windows and false on posix.
Michel
 
Posts: 513
Joined: 01 Oct 2008, 12:15

Re: Piranha 0.5 doesn't move anymore

Postby Pablo » 24 Jul 2009, 00:57

F. Bluemers wrote:
Pablo wrote:
F. Bluemers wrote:For a (temporarily) fix:
Just use the inbetween utility.
With that piranha works without any problems.

Best
Fonzy


Hi Fonzy,
Please give your Inbetween.ini model to be able to play at Winboard GUI the engine Piranha0.5 .
Many thanks,
Pablo Urzua :D

its a very basic ini file:
Code: Select all
[InBetween]

CommandLine := C:\Users\Fonzy\engines\piranha\piranha.exe
;

; The logfile is if you want that InBetween log all communications.
;Log := logfile.log

[Client2Server]
; Set the translation of client command to server here.
; Format:
;    clientword := serverword

[Server2Client]
; Set the translation of server response to the client here.
; Format:
;    serverword := clientword


and the polygot ini for inbetween
Code: Select all
[PolyGlot]
EngineDir = C:\Users\Fonzy\engines\piranha
EngineCommand = inbetween.exe
SyncStop = true
Book = false
BookFile = GS_medium081115.bin ; same directory as INI file, use full path otherwise
;PostDelay = 1
log = true
logfile = inbetween.txt
[Engine]
Ownbook=true
;Hash = 512
;NalimovCache = 32
;NalimovPath = G:\TB


Best
Fonzy


Many thanks Fonzy.
I will I will try them and revert.
Pablo
:)
Pablo
 
Posts: 242
Joined: 26 Sep 2004, 21:57
Location: Santiago-Chile

Re: Piranha 0.5 doesn't move anymore

Postby Pablo » 24 Jul 2009, 16:39

F. Bluemers wrote:
Pablo wrote:
F. Bluemers wrote:For a (temporarily) fix:
Just use the inbetween utility.
With that piranha works without any problems.

Best
Fonzy


Hi Fonzy,
Please give your Inbetween.ini model to be able to play at Winboard GUI the engine Piranha0.5 .
Many thanks,
Pablo Urzua :D

its a very basic ini file:
Code: Select all
[InBetween]

CommandLine := C:\Users\Fonzy\engines\piranha\piranha.exe
;

; The logfile is if you want that InBetween log all communications.
;Log := logfile.log

[Client2Server]
; Set the translation of client command to server here.
; Format:
;    clientword := serverword

[Server2Client]
; Set the translation of server response to the client here.
; Format:
;    serverword := clientword


and the polygot ini for inbetween
Code: Select all
[PolyGlot]
EngineDir = C:\Users\Fonzy\engines\piranha
EngineCommand = inbetween.exe
SyncStop = true
Book = false
BookFile = GS_medium081115.bin ; same directory as INI file, use full path otherwise
;PostDelay = 1
log = true
logfile = inbetween.txt
[Engine]
Ownbook=true
;Hash = 512
;NalimovCache = 32
;NalimovPath = G:\TB


Best
Fonzy


Hi Fonzy,
I tried your .ini´s files and Pirahna played OK at Winboard.
Many,many thanks.
As an extra info for all before using your InBetween/Polyglot files I tried here 4 different versions of Polyglot without any result.
Regards
Pablo :D
Pablo
 
Posts: 242
Joined: 26 Sep 2004, 21:57
Location: Santiago-Chile


Return to Winboard and related Topics

Who is online

Users browsing this forum: No registered users and 33 guests