Changing Wine's mapping of system folders (Documents etc)

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
lostandfound
Level 2
Level 2
Posts: 20
Joined: Sun Oct 05, 2008 7:38 am

Changing Wine's mapping of system folders (Documents etc)

Post by lostandfound »

Hi, thanks for reading.

I'm playing Neverwinter Nights 2 on Wine. Let me just say first of all that it runs great!).

Thing is, the game defaults (as most games do) to saving save-files and options to the Documents folder. Some browsing on their forums shows that this is in line with Microsoft's new (post-Vista) policy for all software titles, user-specific settings go into Documents.

Anyhow, this results in my save-games (and a couple of file settings) going into my /home/{username}/ folder. It creates a folder with the game's name there and saves everything there. Thing is that I tend to format the entire home partition every once in a while, and am trying to minimize the number of things I'll have to remember to copy. So, I'd like to know whether I can somehow tell NWN2, through Wine, that the Documents folder (I assume that's what they're using) is somewhere else.

Just a note, I could of course copy the folder out of my home partition to my data partition and symlink it every time, but would like a more elegant and permanent (non-dependent on my remembering to do this) solution.

Thanks.
JuEUS-U
Level 2
Level 2
Posts: 11
Joined: Tue Oct 21, 2008 7:46 pm

Post by JuEUS-U »

in system.reg

Code: Select all

Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Shell Folders
I think you'd better use regedit.
(and the keys are under HKEY_CURRENT_USER.)
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: Changing Wine's mapping of system folders (Documents etc

Post by vitamin »

lostandfound wrote:So, I'd like to know whether I can somehow tell NWN2, through Wine, that the Documents folder (I assume that's what they're using) is somewhere else.
winecfg -> Desktop Integration tab.
lostandfound
Level 2
Level 2
Posts: 20
Joined: Sun Oct 05, 2008 7:38 am

Re: Changing Wine's mapping of system folders (Documents etc

Post by lostandfound »

vitamin wrote:
lostandfound wrote:So, I'd like to know whether I can somehow tell NWN2, through Wine, that the Documents folder (I assume that's what they're using) is somewhere else.
winecfg -> Desktop Integration tab.
Thank you so much!

Solved now.
Locked