Aller au contenu

Photo

[ TWEAK ] - How to change the default Mass Effect 2 folder's location. [ IN PROGRESS ]


  • Veuillez vous connecter pour répondre
3 réponses à ce sujet

#1
Sirusdark

Sirusdark
  • Members
  • 14 messages
I am currently testing and searching how to change Mass Effect 2's configurations so that the game uses the location I want to save my save gamessettings / profile, etc.

Application:
-Not everyone wants ot use Microsoft Windows' default folders for saving their data.
-Some people's "My Documents" or user's file are mapped on the network: this slows the game saving/loading  process.
-It adds flexibility in making back-ups and having more control on where files are being saved.
-Though Changing only the save-game location is easy: simply edit : C:/BioWare/Mass Effect 2/BIOGame/Config/GamerSettings.ini -> Line 15-16. But  it doesn't solve the problem : the game still needs to look in the default location to read the config that tells him where to put the save games. So it's useless (at some point).


If someone already found how to do change the default Mass Effect 2 folder's location, please contribute here!



Methods, results & findings:


-Under XP Pro (32) :

[ Behaviour ]
-If the default folder Bioware is unavailable (Ex.: I unmapped "My Documents"), ME2 will then create the default folder named Bioware/Mass Effect 2 directly in C:/like this : C:/BioWare\\\\Mass Effect 2.
-The configuration file that redirects into the sub folder Mass Effect 2 of  My Documents' Bioware file is :

C:/Program Files\\\\Mass Effect 2/BioGame/Config/DefaultEngine.ini

-At line 10-11:
[Windows.StandardUser]
MyDocumentsSubDirName=Mass Effect 2




-Under Windows Vista / 7 (32):

[ Method - UNTESTED, by zBobG ] - Using symbolic links (doesn't apply for network shared folder) :
For more details, try reading these articles on HowToGeek, on My Digital Life and of course, you can Google it!

The easiest way to create a symbolic link in Windows Vista / Win7 is to use the mklink command:

(Press the WindowKey+R to open the RUN window and type cmd. then press OK or ENTER).

Once in the command prompt, type :

C:/Windows/system32>mklink

It Creates a symbolic link.


Here are the different options of the mlink command:

MKLINK [[/D] | [/H] | [/J]] Link Target

/D      Creates a directory symbolic link.  Default is a file symbolic link.
/H      Creates a hard link instead of a symbolic link.
/J      Creates a Directory Junction.
Link    specifies the new symbolic link name.
Target  specifies the path (relative or absolute) that the new link refers to (destination).




FOOT NOTE: All path are shown with a foward slash instead of a backslash because this forum duplicates them.


Thanks to all future contributors!
Sirus >_<

Modifié par Sirusdark, 31 janvier 2010 - 06:13 .


#2
zBobG

zBobG
  • Members
  • 62 messages
You could use a symbolic link. See HowToGeek for lots of info on symbolic links. Another explanation at My Digital Life.

I'm not sure if this will work if the folder that ME2 wants to use (the default folder) is on a network share. There is a warning on the HowToGeek page about using symbolic links with network shares - that it doesn't work, but it doesn't say what doesn't work or why or in what direction. It may not work for Vista but may work for Seven.

To create symbolic link in windows 7, the easiest way is to use command mklink.

[in a command window]
C:/Windows/system32>mklink
Creates a symbolic link.

MKLINK [[/D] | [/H] | [/J]] Link Target

/D      Creates a directory symbolic link.  Default is a file symbolic link.
/H      Creates a hard link instead of a symbolic link.
/J      Creates a Directory Junction.
Link    specifies the new symbolic link name.
Target  specifies the path (relative or absolute) that the new link refers to.

So, your "Link" is the name of the folder that ME2 wants to see, and your "Target" is the name of the moved folder that contains the actual data.

Modifié par zBobG, 31 janvier 2010 - 08:01 .


#3
Sirusdark

Sirusdark
  • Members
  • 14 messages
Hmm... that's one good solution to redirect the data to where you want it. But note that the game still haven't change it's default destination; it's fooled and redirect FROM the default location to another location via the symbolic link. And it doesn't work via a network share d folder : especially when it's offline! Hahaha! :P



What I really want to acheive is to reall change the game's default folder destination completely.



Thank you for your idea, I am including your findings right now in my first post! :D



Sirus >_<

#4
zBobG

zBobG
  • Members
  • 62 messages
My observation is that if your C:/ drive is normally a network share then you couldn't run ANYTHING when offline, no matter where you redirected the folders. You must have a LOCAL C:/ folder to run anything offline.