I am having a problem with Battlefield 2 in where I receive a error popup on game start (after the intro menus):
LOCERROR_Unable to open current profile.
I think this is down to the fact my documents area is stored on my home server, instead of the C:\Users\%username%\Battlefield 2 expected location. If I start the game on a local (i.e no network documents) account I can start and play the game fine, creating a local account. I can then copy the "Battlefield 2" folder created in that accounts documents and place it in My Documents which removes the error show above, but when I try to start a mulitplayer or singleplayer game the game crashes with a black screen back to the desktop.
It seems to be a fairly common problem and I have found many references in EA and other forums, although no definitive answer (and the appearance of the evil "I found what the problem was but I'm not going to post it here").
Is there a way, using symlinks or junction points in Windows 7 to get this to work? I've thought about manually creating a "My Documents" Folder on the C:\ drive but am unsure if this will work.
Game Info: Battlefield 2, Updated to 1.50. No Mods, although Sandbox had the same problem. The computer is more than capable of running the game.
I've checked the registry settings and while there is a "InstallDir" entry which points to the correct place there are no settings that detail a user profile. As an interesting note, it's possible to copy your Battlefield 2 folder to a USB/Portable Hard disk and run it from that (although it's slow to start up initially).
Using a network share or drive mappings makes no difference (eg \filesvr\tom$\My Docs or N:\My Docs). Even changing it to a different partition on the same computers disk gives grief.
There is a folder created in the Battlefield 2 root directory with the name of my file server and some profile settings created in that.
After a clean install of Windows 7 onto a spare machine over the weekend and using the excellent Everything search tool I have found that profile details have also been saved in:
C:\Users\[username]\AppData\Local\VirtualStore\Program Files\EA Games\Battlefield 2\[fileserver]\userstore$\[username]
...so I'll try poking around with these files and symlinking/robocopying them to where they should be. Hopefully the end is in sight.