Editing saved games with ShadowKeeper
jbrownos
Member Posts: 7
There's an excellent save game editor called ShadowKeeper that works with the original game engine. Trying to run it on Baldur's Gate: Enhanced Edition doesn't work. The reason for this is because the original games stored saves and user data in the program directory. That now tends to be discouraged for a number of reasons, and the Enhanced Edition stores them inside the user's directories.
I originally found a couple of threads on here that described some possible steps to get things working. I had some trouble initially, but I managed to adapt it and get it working. (Part of the problem was that I didn't install in the default location.) I noticed another thread about making a batch file, and I couldn't help but start playing with the idea.
Anyway, if you put this file in the game's installation directory and run it, it should fix ShadowKeeper automatically:
http://rapidshare.com/files/1048841246/_keeperlinks.bat
Here's the link to download ShadowKeeper:
http://www.mud-master.com/shadowkeeper/
Finally, I'd like to give credit to @Cuv @Aosaw and anyone else involved in figuring out the files needed.
I originally found a couple of threads on here that described some possible steps to get things working. I had some trouble initially, but I managed to adapt it and get it working. (Part of the problem was that I didn't install in the default location.) I noticed another thread about making a batch file, and I couldn't help but start playing with the idea.
Anyway, if you put this file in the game's installation directory and run it, it should fix ShadowKeeper automatically:
http://rapidshare.com/files/1048841246/_keeperlinks.bat
Here's the link to download ShadowKeeper:
http://www.mud-master.com/shadowkeeper/
Finally, I'd like to give credit to @Cuv @Aosaw and anyone else involved in figuring out the files needed.
Post edited by jbrownos on
7
Comments
@belgarathmth will love this.
EDIT: Okay, I kept tinkering, and I finally got it to work, by studying carefully what it said in that DoS box. It wasn't working because it couldn't overwrite my previous copies of dummy files and folders in the game folder, so I deleted the dialog.tlk copy and the save folder copy I had made, and then it worked.
So, this does make things much easier, and thank you so much! I think this deserves a sticky, because a whole lot of people are going to want this.
I'll see if I can't upload a new copy of the script later today or tomorrow.
Also, I just wanted to say that anyone is welcome to make changes to the script and redistribute it. I thought about putting something about GPL as a comment, but that seemed kind of silly for a batch file.
@cryptomancer
It should automatically detect if the 00766 directory is present. If it is, ShadowKeeper get's set to run out of the \data\ directory instead of the base install folder. If necessary, the script also creates links from \data\data\ to \data\00766\ and to chitin.key to make it work. I tested it the best I could, but someone with \data\00766 might want to check it and let me know.
@belgarathmth
If any of the files already exist, the script now asks if you'd like to move them to a backup directory. If the backup directory also already exists, the script asks you to manually delete it and run it again. That way the script never deletes anything under any condition.
I'll update the first post to link to the improved script. For reference this is the new link:
http://rapidshare.com/files/1048841246/_keeperlinks.bat
Here's the old link, just in case anyone needs it:
http://rapidshare.com/files/3076000053/_keeperlinks.bat
Unfortunately all of my computers are either Windows 7 or Ubuntu at this point. I would need to find someone with an XP installation or virtual machine where I could install the game. Most people I know don't have XP installed anywhere at this point. Like you said, maybe somebody else can come along and do it.
Edit: when i run it, it says:
---Creating link for Dialog.tlk file...
symbolic link created for .\dialog.tlk <<===>> .\lang\en_us\dialog.tlk
---Creating links for save files, characters, and settings...
The syntax of the command is incorrect.
The syntax of the command is incorrect.
The syntax of the command is incorrect.
And it creates a shadowkeeper folder in System32, with a dialog.tlk file that has 0kb.
Did anyone with the 00766 directory get the script to work directly from the installation folder? Also, has anyone figured out what causes the different installations? I wish I could get the game to install with the 00766 directory to look at the file structure with it.
override -- make this directory manually with the Windows command or "mkdir" in a cmd window
chitin.key -- original installation
dialog.tlk -- hard link to the appropriate lang/*/... file
Baldur.ini, characters, save -- soft links to the same file and directories in .../My Documents/Baldur's Gate - Enhanced Edition
There is also a "Portraits" directory in .../My Documents/Baldur's Gate - Enhanced Edition, with no link back to the install directory.
Note that dialog.tlk *must* be a hard link. You cannot use the Windows Explorer "create a shortcut" like you can for everything else.
http://forum.baldursgate.com/discussion/7205/getting-shadowkeeper-to-work-with-bgee#latest
As Michail points out, there's another thread on the subject.
Looking at your script, I'm assuming that you are unaware that some versions of Windows switch the current working directory to \windows\system32 prior to executing commands when run as administrator?
I encourage you to take a quick look at the updated script source I posted in said thread. Feel free to use any and all elements you find useful.
I like the install once method even if there are a few hoops to jump through...
shadowkeeper works. but do i really still have to copy the savegames to install-dir and copy it back, after editing? or am i doing anything wrong? if i start shadowkeeper without copying, it finds no savegames...
EDIT: I found my save games, they were moved to shadowbackup>save
If I'm to restore them where do they need to go back to?
2nd Edit:
Found where to put the save files with a little common sense (it comes and goes) but I'm still having trouble with SK.
willshould have two executables, BGEE.exe and Baldur.exe). The executable shouldn't even matter provided you click 'Yes' when it asks if the directory is correct.