Pascal Georges wrote:
Hi!
> A couple questions. In looking at the unix makefile, it appears that
> the engines are all installed in $(SHAREDIR)/engines. Since I think
> it unlikely that directory would be a user's path, is there some
> facility for finding that directory by default in scid? That is,
> without configuring the path explicitly in the engines window? My
> current plan is to either stick them in the bin dir of my bundle
or in
> some engines directory near there.
>
>
> You don't need to have engines in your path. Either they are configured
> with a fully qualified path like
> /opt/whatever/engines/crafty.21-6/crafty
> Or made relative to Scid's directory with a leading ./ like
> ./engines/crafty.21-6/crafty
Your thinking is here in the usage of only one single
GUI/tool. IMHO the engines should be in the path as then
other tools can find and reuse them. If they're not in the
path it is likely that you'll have to set up the engine more
than once as some tools just rely on them beeing in the
path, or they need a more or less complex explicit
configuration.
(Its actually one reason why I have my own install procedure
for scid, and one thing why I do not use scids engines but
those in my /opt/chess/bin which is in the path.)
> On a side note, it is somewhat inappropriate for them to go share at
> all on a unix box. By definition, the share hierarchy is supposed to
> be for platform independent files; putting binaries in there violates
> this. It doesn't really matter to me but I thought I'd mention it.
>
> Yes, I agree. But it took me some time to get something at
> least working on various platforms.
> I am opened to changes, but beware of some impact on code.
Actually, placing the engines within the path works on Unix.
Probalbly searching in $PATH first and then in engines/
subdir below scid could solve this?
--
Kind regards, / War is Peace.
| Freedom is Slavery.
Alexander Wagner | Ignorance is Strength.
|
| Theory : G. Orwell, "1984"
/ In practice: USA, since 2001
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Scid-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/scid-users