Jump to content


Photo

[MOD] Relocate Save Directory


  • Please log in to reply
1 reply to this topic

#1 shadowlich

shadowlich
  • Member
  • 102 posts

Posted 25 November 2016 - 10:25 AM

With many version of BG2EE (current run, mods to test, conflicts to debug, many version of the same mods to compare...) and a unique save directory, life is not that easy...
So here is RelocateSaveDirectory mod. It relocates user data to the game directory, so one has its local save directory per game version.
 
You can choose between 3 subfolders:
- your default engine name (from engine.lua)
- USER_DATA
- a custom one
 
After installation use BG2EE.exe to play the game.
 
 
Compatibility
- For GOG BG2EE v2.3.67.3 (mod will autocheck or cancel installation)
- For compatibility with every mods, be sure to install it at the end; i.e. after any mods that modify your engine_name in engine.lua
- Note that USER_DIRECTORY as define by Weidu or NearInfinity will be outdated while the mod is installed (so NearInfinity will display characters/portraits/save from the original installation but everything else is fine)
 
 

Edited by shadowlich, 25 November 2016 - 03:47 PM.


#2 agb1

agb1
  • Member
  • 1623 posts

Posted 25 November 2016 - 11:01 AM

Installing this mod will also mean that WeiDU's sc#AddWmpAre function will fail to find existing saved games for patching because it looks for saves in %SAVE_DIRECTORY% and %MPSAVE_DIRECTORY% (similar to USER_DIRECTORY, these are built into WeiDU and differ by platform).

 

Can you add a further disclaimer about that and maybe work with Wisp to update the WeiDU function (it's in src/tph/sc#addwmpare.tpa in the WeiDU source code) so it is also searches your relocated save path?


Edited by agb1, 25 November 2016 - 11:02 AM.

BiG World Fixpack (community collection of mod fixes and compatibility patches, with user-friendly cross-platform script)

 

BiG World Setup (tool to automate best-practice installation of Infinity Engine mods on Windows, with conflict analysis)

Latest version:    https://bitbucket.or.../get/master.zip