bug-gnubg
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [Bug-gnubg] Windows file association


From: Øystein Johansen
Subject: RE: [Bug-gnubg] Windows file association
Date: Wed, 27 Nov 2002 23:56:51 +0100

>===== Original Message From "Nardy Pillards" <address@hidden> =====
>> At 15:27 27.11.2002 -0000, Ian Shaw wrote:
>> >Windows file association works only if the .sgf file is in the same
>> =
>> >directory as gnubg.exe.
>>
>> I can't reproduce this problem. For me it works.
>>
>> Do you have the newest version from CVS? Could you elaborate on what you
>> did exactly and the names of the folders?
>> Holger
>
>The file associations do work for me... but the bearoff database and weights
>are in the Installed Dir (C:\Program Files\gnubg here).
>So GNU Backgammon starts generating a bearoff DB and  can't find the weight
>file.
>
>Meaning: it is usefull to look at an analysed (and/or annotated) match, but
>not to rollout/evaluate/analyse a match.
>
>(hmmm... well: Yes, the .sgf must be in the Installed Dir at this moment.
>Maybe add Registry Entries?)
>

I think we rather should make a sgf laucher program. A program that looks at
the sgf file and finds out whenever this is a Go file or Backgammon file or
whatever file. Then the program can launch the right application based on
environment variables. The user can set environmant variables
SGF_BACKGAMMON_PROGRAM, SGF_GO_PROGRAM, SGF_WHATEVER_PROGRAM,
SGF_BACKGAMMON_PROGPATH.

I think this will be the best solution, since it will work for all (?)
systems, and also cooperate for players who plays Go as well.

And, such a program won't be many lines.

-Øystein






reply via email to

[Prev in Thread] Current Thread [Next in Thread]