Page 1 of 1

0.8a1 on Windows with config file from OSX

Posted: May 8th, 2015, 9:19 am
by Cpuroast
I had created this config on 0.7.x on OSX and had copied it over to my Windows box, to avoid having to re-configure everything.

Under 0.7.x in Windows, it's been working perfectly fine as is, with the Macintosh line endings and all.

However the 0.8a1 upgrade process refused to take it in until I opened it in an editor and converted all line endings from Macintosh to DOS/Windows format and saved the file.

No idea if this is a bug/undesired behavior or actually intended, but I thought I would bring it to light.

Re: 0.8a1 on Windows with config file from OSX

Posted: May 8th, 2015, 9:43 am
by shypike
That's probably a side effect of the Latin-1 to Unicode conversion.
The hidden feature is more that the original format was not changed before.
I'll have a look at it, because I'm not sure the MSDOS format would be accepted on a Mac/Linux system.

Re: 0.8a1 on Windows with config file from OSX

Posted: July 3rd, 2015, 3:07 pm
by shypike
Was your INI file in the ancient Mac format, where every line ends in just a CR?
That one fails.
Unix and OSX style (LF only) files work fine on Windows, but they are converted to DOS-style.
Vice-versa doesn't go right either.

I have fixed the code to let both platforms handle each others format.

Re: 0.8a1 on Windows with config file from OSX

Posted: July 3rd, 2015, 6:17 pm
by Cpuroast
I just checked the ini file I have on osx which I would have copied to windows and it seems to be in Unix (LF) format.
Unless it was converted by sab in some later version after I had cloned it to Windows.

I'll try restoring an older version on Windows from my backup before I modified the format to make it compatible with 0.8 and see.

Re: 0.8a1 on Windows with config file from OSX

Posted: July 4th, 2015, 5:18 am
by shypike
Anyway, the Alpha should be a able to handle any consistent format.
Consistent in that every line has an LF and optionally a CR
or that every line ends in CR (no LFs).