[Sugestion] Store Settings in an .INI file

x64 Replacement/Alternative to Microsoft's IntelliMouse application.
Forum rules
Please read the forum rules before posting for the first time.
The more information you can provide, the quicker and more accurately someone can help.
Post Reply
jerome
New User
Posts: 11
Joined: Tue Nov 27, 2007 1:25 pm

[Sugestion] Store Settings in an .INI file

Post by jerome » Tue Nov 27, 2007 1:37 pm

Hello... I use XMouse an think that is an Excellent program. Is the only software/driver for my 5-buttons mouses.

Usually I use it on 2 or more PC and I think that is a good idea can Store Setting in an .INI file, and move it from one computer to another, backup the preferences, etc.

(Sorry for my poor English... from Chile... LOL )

Thanks

Jerome

User avatar
phil
Site Admin
Posts: 5875
Joined: Sun Apr 06, 2003 11:12 pm

Post by phil » Wed Nov 28, 2007 2:47 am

I have been looking at storing the settings in a INI or XML file (for other reasons).. but it will take some work as its all pure win32 so no nice native XML support. I don't want to make xmouse into bloatware but it is something I will probably do in a future release.

I cant make any promises on schedule though because xmouse is not my top priority right now.

Thanks,
Phil
--[ Phil ]--
--[ Administrator & XMBC Author ]--
Logitech G9, Logitech MX518, Microsoft Intellimouse, Trust 16341 BT Mouse
Windows 10 x64, Intel i5-9600k, Asus Z390-ROG, 16GB DDR4,
nVidia GeForce GTX 970, Evo 970 500Gb NVME, 2x2TB WD Black (RAID1)

jerome
New User
Posts: 11
Joined: Tue Nov 27, 2007 1:25 pm

Post by jerome » Wed Nov 28, 2007 10:22 pm

I think too that bloatware sucks (nero, acdsee, windows, etc.), but I still believe that and little .INI (1kb or less) maybe not turn the excellent XMouse into a heavy monster.

I hope that you can have some time for this \"top\" software....

Thanks again

Jerome

User avatar
phil
Site Admin
Posts: 5875
Joined: Sun Apr 06, 2003 11:12 pm

Post by phil » Fri Nov 30, 2007 1:29 am

I agree... I don't mean an INI file will bloat it, I mean I don't want the code, required to support the ini (or preferably XML) file to bloat it so it will take some thought..

INI may be easier but XML would be my preference!

Phil
--[ Phil ]--
--[ Administrator & XMBC Author ]--
Logitech G9, Logitech MX518, Microsoft Intellimouse, Trust 16341 BT Mouse
Windows 10 x64, Intel i5-9600k, Asus Z390-ROG, 16GB DDR4,
nVidia GeForce GTX 970, Evo 970 500Gb NVME, 2x2TB WD Black (RAID1)

jerome
New User
Posts: 11
Joined: Tue Nov 27, 2007 1:25 pm

Re: [Sugestion] Store Settings in an .INI file

Post by jerome » Sat Apr 04, 2009 6:16 pm

A few days ago i format my PC and start with the work of reinstall all my favorite apps.

Looking on the changelog of XMBC, i found this:

Version 1.41:
* Added XML configuration files to hold settings instead of the registry


Excellent news.....

The file is located on:
"C:\Documents and Settings\********\Application Data\Highresolution Enterprises\XMouseButtonControl"

Now i can have all my pcs with the same settings, without have to repeat the process every time.

Thank for this good job.

Best regards

Jerome

jerome
New User
Posts: 11
Joined: Tue Nov 27, 2007 1:25 pm

Re: [Sugestion] Store Settings in an .INI file

Post by jerome » Fri Jul 17, 2009 6:53 pm

Now i got this question.

It is possible to redefine the location of this "XMBCSettings.xml"??, for example, on another folder different that the "Documents and Settigns" default folder (and prevent possible loses of this data on an OS reinstalation).

May be modifying some value with regedit this will be possible, but I can't find it.

Best Regards

Jerome

User avatar
phil
Site Admin
Posts: 5875
Joined: Sun Apr 06, 2003 11:12 pm

Re: [Sugestion] Store Settings in an .INI file

Post by phil » Fri Jul 17, 2009 7:30 pm

If you run in portable mode, the XML file is located along side the applicaiton which can be anywhere. Other than that, its not currently possible.

Thanks,
Phil
--[ Phil ]--
--[ Administrator & XMBC Author ]--
Logitech G9, Logitech MX518, Microsoft Intellimouse, Trust 16341 BT Mouse
Windows 10 x64, Intel i5-9600k, Asus Z390-ROG, 16GB DDR4,
nVidia GeForce GTX 970, Evo 970 500Gb NVME, 2x2TB WD Black (RAID1)

jerome
New User
Posts: 11
Joined: Tue Nov 27, 2007 1:25 pm

Re: [Sugestion] Store Settings in an .INI file

Post by jerome » Fri Jul 17, 2009 9:37 pm

OK, thanks for the answer.

May be this idea, of redefine the location of "XMBCSettings.xml", could be implemented in a new version of this amazing application.

Best regards

Jerome

User avatar
phil
Site Admin
Posts: 5875
Joined: Sun Apr 06, 2003 11:12 pm

Re: [Sugestion] Store Settings in an .INI file

Post by phil » Fri Jul 17, 2009 10:02 pm

Maybe... but how best to do it...
The point of the XML file is to avoid registry settings.... but I guess one couldnt hurt too much :?
--[ Phil ]--
--[ Administrator & XMBC Author ]--
Logitech G9, Logitech MX518, Microsoft Intellimouse, Trust 16341 BT Mouse
Windows 10 x64, Intel i5-9600k, Asus Z390-ROG, 16GB DDR4,
nVidia GeForce GTX 970, Evo 970 500Gb NVME, 2x2TB WD Black (RAID1)

jerome
New User
Posts: 11
Joined: Tue Nov 27, 2007 1:25 pm

Re: [Sugestion] Store Settings in an .INI file

Post by jerome » Sat Jul 18, 2009 1:52 am

phil wrote:Maybe... but how best to do it...
The point of the XML file is to avoid registry settings.... but I guess one couldnt hurt too much :?
Thanks a lot...

I will be waiting for the 1.47... 8) 8)

You are right, it is really a god idea to avoid many registry setting, but this one really means an improvement, especially to prevent lose all the configuration on an unexpected "format c:" :cry: :cry:

Best regards

Jerome

User avatar
phil
Site Admin
Posts: 5875
Joined: Sun Apr 06, 2003 11:12 pm

Re: [Sugestion] Store Settings in an .INI file

Post by phil » Sat Jul 18, 2009 6:46 pm

Dont count on it being in 1.47.
I have already got that ready to be released so this change may have to wait till 1.48 :)

I know what your saying about the settings - I keep all my stuff on a seperate partition so I dont know why I didnt cosider this in the first place :)
--[ Phil ]--
--[ Administrator & XMBC Author ]--
Logitech G9, Logitech MX518, Microsoft Intellimouse, Trust 16341 BT Mouse
Windows 10 x64, Intel i5-9600k, Asus Z390-ROG, 16GB DDR4,
nVidia GeForce GTX 970, Evo 970 500Gb NVME, 2x2TB WD Black (RAID1)

jerome
New User
Posts: 11
Joined: Tue Nov 27, 2007 1:25 pm

Re: [Sugestion] Store Settings in an .INI file

Post by jerome » Sat Jul 25, 2009 8:57 pm

phil wrote:Dont count on it being in 1.47.
I have already got that ready to be released so this change may have to wait till 1.48 :)
OK, 1.48 then.... :D :D
phil wrote:I know what your saying about the settings - I keep all my stuff on a seperate partition so I dont know why I didnt cosider this in the first place :)
Same here.... I always create a folder, like "d:/system", and put there all the important setting. BTW a really good tool for windows is "Tweak UI", that's allows to relocate important folders, like "desktop" and stuff

Many thanks and best regards

Jerome

User avatar
phil
Site Admin
Posts: 5875
Joined: Sun Apr 06, 2003 11:12 pm

Re: [Sugestion] Store Settings in an .INI file

Post by phil » Sat Jul 25, 2009 10:46 pm

Tweak UI - Yes I remember that... :lol: That's like sooo XP and earlier!

In Vista and Windows 7 you don't need tweak ui because you can change the locations from within windows explorer (kind'a lucky as TweakUI does not work properly/at all on these OS's). But at the end of the day its only registry settings.
--[ Phil ]--
--[ Administrator & XMBC Author ]--
Logitech G9, Logitech MX518, Microsoft Intellimouse, Trust 16341 BT Mouse
Windows 10 x64, Intel i5-9600k, Asus Z390-ROG, 16GB DDR4,
nVidia GeForce GTX 970, Evo 970 500Gb NVME, 2x2TB WD Black (RAID1)

jerome
New User
Posts: 11
Joined: Tue Nov 27, 2007 1:25 pm

Re: [Sugestion] Store Settings in an .INI file

Post by jerome » Mon Nov 09, 2009 1:31 am

I just install the version 1.48.1 and now it is possible to determinate where to store the file "XMBCSettings.xml"

Thanks a lot for this improvements

Best regards

Jerome

Post Reply