bug-gnubg
[Top][All Lists]
Advanced

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

Re: [Bug-gnubg] Default directory for SGG and TMG games


From: Joern Thyssen
Subject: Re: [Bug-gnubg] Default directory for SGG and TMG games
Date: Wed, 19 Mar 2003 16:06:31 +0000
User-agent: Mutt/1.4i

On Wed, Mar 19, 2003 at 03:26:58PM +0100, Nis wrote
> --On Wednesday, March 19, 2003 13:56 +0000 Joern Thyssen <address@hidden> 
> wrote:
> 
> >The default paths is set at compile time. Unfortunately the SGG and TMG
> >directory will vary across different languages, e.g, "C:\Program
> >Files\GamesGrid\SaveGame" on English versions of windows, but
> >"C:\Programmer\GamesGrid\SaveGame" on Danish versions of windows, so
> >"hardcoding" a default value will only satisfy English users.
> 
> Just to make sure: Will the procedures using the path will not allow you to 
> use DOS environment variables, such as %ProgramFiles% ? Could be a quick 
> fix ...

I didn't think of that. It should be quite easy to implement.

> 
> >The only solution is to have the installation program insert a line "set
> >path sgg "C:\Program Files\GamesGrid\SaveGame"" (or localised analogues
> >of that command) in the installed .gnubgautorc. I don't know if this is
> >possible?! Øystein? If it's possible we should verify what happens when
> >the SGG import dialog is opened when the SaveGame directory doesn't
> >exists!
> 
> I am a little surprised to see this described as "the only solution" - 
> especially when we have the source code available ;-).

Perhaps I should have phrased myself more carefully: "The only solution
I see[...]" -- but now you've opened my eyes for the environment
variable solution :-)

Jørn




reply via email to

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