PDA

View Full Version : FriendsList.ini



EllisDee37
11-07-2017, 12:57 AM
I think it would be better programming practice to create the FriendList.ini file in the DDO folder in My Documents instead of creating it in the application folder, which is typically a protected system folder under Program Files (x86).

Nonesuch2008
11-07-2017, 06:12 AM
I think it would be better programming practice to create the FriendList.ini file in the DDO folder in My Documents instead of creating it in the application folder, which is typically a protected system folder under Program Files (x86).

Makes sense, and would align with the storage locations for the user preferences ini file & screen layouts as well.

Sunnie
11-07-2017, 05:40 PM
You're right that it would be better, but still... you actually install things in "Program Files"? Why not put Windows on its own partition and install programs on another like god intended?

EllisDee37
11-08-2017, 03:04 AM
You're right that it would be better, but still... you actually install things in "Program Files"? Why not put Windows on its own partition and install programs on another like god intended?I do not, no. My games are installed to:

Live Game
C:\Games\Dungeons & Dragons Online

Lamannia Preview
C:\Games\Dungeons & Dragons Online (Preview)

I put documents on their own physical drive (D:), programs (which includes games) on C:. Eventually I'd like to upgrade my C: drive from a spinning disk to an SSD.

I'd like to write a friends list manager for my Compendium, which would let you import your friendslist.ini however many times you like for however many characters you have, then manage the combined list as you please. There wouldn't be a 50-entry limit on Compendium's manager. You could archive old names, prioritize newer ones, then re-create a friends list of up to 50 entries from your internal friends list that the game could then read in. You could maintain a separate friends list for each game world, and consolidate them between dualbox accounts or keep them separate if you please.

The problem is when Compendium goes to create FriendsList.ini, if it's in the application path, I have to expect some users will have installed to a protected system folder.