"This Preference file format is unknown"

Everything else that doesn't fall into one of the other PB categories.
Seymour Clufley
Addict
Addict
Posts: 1267
Joined: Wed Feb 28, 2007 9:13 am
Location: London

"This Preference file format is unknown"

Post by Seymour Clufley »

Years ago I created an IDE colour scheme and saved it to a prefs file using the standard tool. Tonight, after a computer crash, I opened PureBasic and found that it has reverted to the factory settings. I tried to load my settings from that old prefs file but the error message appears: "This Preference file format is unknown".

Does anyone know a way to resolve this, other than trying to remember the individual IDE colours myself?
JACK WEBB: "Coding in C is like sculpting a statue using only sandpaper. You can do it, but the result wouldn't be any better. So why bother? Just use the right tools and get the job done."
PB
PureBasic Expert
PureBasic Expert
Posts: 7581
Joined: Fri Apr 25, 2003 5:24 pm

Re: "This Preference file format is unknown"

Post by PB »

> Does anyone know a way to resolve this

The Prefs file is just plain text, so open it in Notepad, note the color
settings, and put them into the new Prefs file that you have.
I compile using 5.31 (x86) on Win 7 Ultimate (64-bit).
"PureBasic won't be object oriented, period" - Fred.
Seymour Clufley
Addict
Addict
Posts: 1267
Joined: Wed Feb 28, 2007 9:13 am
Location: London

Re: "This Preference file format is unknown"

Post by Seymour Clufley »

Thank you. I can't believe this didn't occur to me!
JACK WEBB: "Coding in C is like sculpting a statue using only sandpaper. You can do it, but the result wouldn't be any better. So why bother? Just use the right tools and get the job done."
Post Reply