Page 1 of 1
INI entries that look funny
Posted: Mon Mar 07, 2005 2:10 pm
by Wanderer
Code: Select all
[Commodore Amiga - Demos - [EXE]]
Exe=
[Commodore Amiga - Demos - [EXE]]
RunParam=
[Commodore Amiga - Demos - [EXE]]
Split=1
[Commodore Amiga - Demos - [EXE]]
Merge=0
[Commodore Amiga - Demos - [EXE]]
SetsCase=4
[Commodore Amiga - Demos - [EXE]]
RomsCase=4
Shouldn't this look something like the following?
Code: Select all
[Commodore Amiga - Demos - [EXE]]
Exe=
RunParam=
Split=1
Merge=0
SetsCase=4
RomsCase=4
Also, it would be nice if there was a default value for some properties of any new data file used. For instance, i would like to have in Preferences/Fix, "Sets:datafile case" selected for any new datafile i use in RC. Right now, the default is "don't care". It would be nice if there were a "default preferences" entry and the current "preferences" entry became "current datafile preferences", and had a "use default value" entry for "fix" values.
Posted: Mon Mar 07, 2005 2:22 pm
by Wanderer
Part of my INI file:
Code: Select all
[Commodore Amiga - Demos - [EXE]]
DoReZip=0
[Commodore Amiga - Demos - [EXE]]
RomPaths=
[Commodore Amiga - Demos - [EXE]]
RomPaths=[f865-464a][MyLabel]MyPath|
[Commodore Amiga - Demos - Animations and Videos]
When i select "Commodore Amiga - Demos - [EXE]" from the list, the path "MyPath" is not added in the paths list, although it exists. I had just added it, changed to another dat file and then i re-selected "Commodore Amiga - Demos - [EXE]". Somehow, a blank "RomPaths=" entry was added.
Posted: Mon Mar 07, 2005 2:30 pm
by Wanderer
Hmmm, looks like the INI entries storing routines need some work. I found multiple
[Commodore Amiga - Demos - [EXE]]
Exe=
entries inside my ini file. Of course this happens in other data files too and of course it happens with all parameter values (Exe, RunParam, Split, Merge, etc). It looks like everytime i add/remove a path, all the configuration entries of the selected datafile are re-added in the INI without removing the old parameter values.
Posted: Mon Mar 07, 2005 2:52 pm
by RomCenter
This is due to the '[]' in the datafile name. Windows looks for the section name into brakets, et return a false section !
I will try to replace the '[]' with '{}'...
Posted: Mon Mar 07, 2005 3:44 pm
by RomCenter
This is fixed. Download the new beta 5 now !
Posted: Mon Mar 07, 2005 3:47 pm
by Wanderer
RomCenter wrote:This is fixed. Download the new beta 5 now !
Great. Thanx Eric. I'm downloading it now. I'll let you know how it goes.....
Posted: Mon Mar 07, 2005 3:54 pm
by RomCenter
I use '{{' and '}}' instead of '{' and '}' to replace '[]'. This will avoid some new problems with datafiles which could also use '{' and '}'.
Posted: Mon Mar 07, 2005 4:46 pm
by Wanderer
RomCenter wrote:I use '{{' and '}}' instead of '{' and '}' to replace '[]'. This will avoid some new problems with datafiles which could also use '{' and '}'.
OK, that's working fine.