PolyGlot in every engine directory???

Archive of the old Parsimony forum. Some messages couldn't be restored. Limitations: Search for authors does not work, Parsimony specific formats do not work, threaded view does not work properly. Posting is disabled.

PolyGlot in every engine directory???

Postby Fabien Letouzey » 27 Apr 2004, 13:29

Geschrieben von:/Posted by: Fabien Letouzey at 27 April 2004 14:29:53:


Hello,
I remember users mentionning they copied PolyGlot in each engine directory, as a work around for BookThinker not allowing command-line arguments to be passed to PolyGlot.
Thinking about it, I see no reason why polyglot.exe should be duplicated (but polyglot.ini must be, of course). Is it enough for polyglot.exe to be in the global path (whatever that means on Windows)? How about cygwin1.dll?
It might be dependent on the Windows family as well (95-ME or NT-XP).
A clean way should be to "install" PolyGlot in "Program Files" and add it to the "path" in some way?! Is that possible?
Fabien.
Fabien Letouzey
 

Re: PolyGlot in every engine directory???

Postby Norm Pollock » 27 Apr 2004, 13:56

Geschrieben von:/Posted by: Norm Pollock at 27 April 2004 14:56:06:
Als Antwort auf:/In reply to: PolyGlot in every engine directory??? geschrieben von:/posted by: Fabien Letouzey at 27 April 2004 14:29:53:

One polyglot.exe, but many polyglot.ini. It works. Of course the polyglot.exe has to be in a folder on the "path" set in the environment.
Hello,
I remember users mentionning they copied PolyGlot in each engine directory, as a work around for BookThinker not allowing command-line arguments to be passed to PolyGlot.
Thinking about it, I see no reason why polyglot.exe should be duplicated (but polyglot.ini must be, of course). Is it enough for polyglot.exe to be in the global path (whatever that means on Windows)? How about cygwin1.dll?
It might be dependent on the Windows family as well (95-ME or NT-XP).
A clean way should be to "install" PolyGlot in "Program Files" and add it to the "path" in some way?! Is that possible?
Fabien.
Norm Pollock
 

Re: PolyGlot in every engine directory???

Postby Fabien Letouzey » 27 Apr 2004, 14:04

Geschrieben von:/Posted by: Fabien Letouzey at 27 April 2004 15:04:23:
Als Antwort auf:/In reply to: Re: PolyGlot in every engine directory??? geschrieben von:/posted by: Norm Pollock at 27 April 2004 14:56:06:

One polyglot.exe, but many polyglot.ini. It works. Of course the polyglot.exe has to be in a folder on the "path" set in the environment.
Good, that sounds much more acceptable than multiple exes. Do you put the DLL at the same place (in other words, do DLLs and exes share the same path?)?
Maybe some WinBoard users don't know how to do that.
I think it would be beneficial if you could explain it here.
Does this work with XP as well?
Fabien.
Fabien Letouzey
 

Re: PolyGlot in every engine directory???

Postby Norm Pollock » 27 Apr 2004, 15:04

Geschrieben von:/Posted by: Norm Pollock at 27 April 2004 16:04:53:
Als Antwort auf:/In reply to: Re: PolyGlot in every engine directory??? geschrieben von:/posted by: Fabien Letouzey at 27 April 2004 15:04:23:
One polyglot.exe, but many polyglot.ini. It works. Of course the polyglot.exe has to be in a folder on the "path" set in the environment.
Good, that sounds much more acceptable than multiple exes. Do you put the DLL at the same place (in other words, do DLLs and exes share the same path?)?
Maybe some WinBoard users don't know how to do that.
I think it would be beneficial if you could explain it here.
Does this work with XP as well?
Fabien.
I believe DLLs and execs share the same "path" of folders.
If an executable file is in the "path" of folders then it can be executed from any folder. Otherwise the current folder has to be the folder where the executable file is located.
To set the "path" in 95/98/Me, you edit the autoexec.bat file where you add in a line at the bottom like:
path = %path%;c:\folder1;folder7;
%path% represents the current path, and folder1 and folder7 are being added to the path
For 2000/XP, you set the "path" in controlPanel/system/advanced/enviromental variables/system variables
I hope that helps.
-- Norm
Norm Pollock
 

Re: PolyGlot in every engine directory???

Postby Mogens Larsen » 27 Apr 2004, 17:04

Geschrieben von:/Posted by: Mogens Larsen at 27 April 2004 18:04:20:
Als Antwort auf:/In reply to: Re: PolyGlot in every engine directory??? geschrieben von:/posted by: Fabien Letouzey at 27 April 2004 15:04:23:
Good, that sounds much more acceptable than multiple exes. Do you put the DLL at the same place (in other words, do DLLs and exes share the same path?)?
Maybe some WinBoard users don't know how to do that.
I think it would be beneficial if you could explain it here.
Does this work with XP as well?
Hmm... I prefer the unacceptable method :-). Mainly for aesthetic reasons, ie. engine names instead of polyglot en masse.
The DLL is placed in a systems folder and shouldn't provide any problems. If the DLL is inaccessible or outdated, Polyglot refuse to run.
But it might be a good idea to check if there are more than one accessible cygwin1.dll.
Regards,
Mogens
Mogens Larsen
 


Return to Archive (Old Parsimony Forum)

Who is online

Users browsing this forum: No registered users and 19 guests