[MOD] DLC Merger: Merge Steam/GOG SoD DLC or custom DLCs with the main game
argent77
Member Posts: 3,476
Download: DLC Merger (latest)
Overview
Enhanced Edition games provide a feature that lets you use self-contained DLC archives to add or modify content. Best known example is the "Siege of Dragonspear" expansion, which comes as a DLC archive on GOG and Steam platforms.
The downside of this distribution method is the limited ability to mod the game however, since files contained in DLC archives can't be easily accessed or further modified without recreating the whole DLC. This mod attempts to solve this restriction by merging DLCs with the main game. The mod provides three options. You can specifically merge "Siege of Dragonspear" with BG:EE, merge a user-defined DLC archive or all DLCs found in the search paths of the game, such as DLCs created by the DLC Builder.
DLC Merger is meant to be an alternative to modmerge, that was the only way to make Siege of Dragonspear available for modding until now. However, unlike modmerge, this mod is platform-independent and fits seamlessly into the stack of other WeiDU mods. It allows you to merge any DLC archives and provides an option to revert the whole merge operation.
Installation
- Download the mod archive from the download link above. For Windows users it is strongly recommended to download the 64-bit version of the mod unless you have a true 32-bit Windows installed.
- Extract the contents of the mod archive into game's installation directory (where you can find a file called "chitin.key").
- Go into the game's installation directory and run the file "setup-DlcMerger.exe" (Windows) or "setup-DlcMerger.command" (macOS) and follow the instructions.
Components
1. Merge "Siege of Dragonspear" with BG:EE (BG:EE and the SoD DLC required)
Merges the "Siege of Dragonspear" from any of the supported DLC locations with Baldur's Gate: Enhanced Edition.
2. Merge a user-defined DLC archive (Enhanced Edition game required)
Merges a single DLC archive with the game. The mod prompts for the name of the DLC archive, which can be located in any of the supported DLC paths. Supported DLC paths are (in order of application):
- Documents directory of the game
- Installation directory of the game
- "dlc" folder in install directory
- "workshop" folder in install directory (requires DLC files with .mod extension)
3. Merge all available DLC archives (Enhanced Edition game required, 64-bit WeiDU installer strongly recommended)
This option scans all supported DLC search paths of the game for available DLC archives. Each DLC will be merged in the same order as it would be loaded by the game, so that multiple DLC archives may safely override files from other DLCs without causing issues.
Because of technical reasons, this operation may fail under certain circumstances if the mod is not invoked by a 64-bit WeiDU installer. (The mod packages from the download link already contain Windows and macOS 64-bit WeiDU installers. WeiDU installers for Linux can be found here.)
Post edited by argent77 on
39
Comments
If you don't merge the DLC first, the dialog.tlk entries and override files created by other mods will be overwritten by the content from the DLC and lost.
One question: with your Merger, does the detection of modmerged games as proposed by CamDawg here turn ok or will the mods that use this fail?
More so, will this work for EET install?
Apart from that, the games are pretty much identical regardless of distribution channel. You can install EET just fine after merging SoD with BG:EE.
1. Download the WeiDU package for Windows from here: https://github.com/WeiDUorg/weidu/releases/latest
2. Unpack it and copy the file weidu.exe from the "bin/x86" folder into the game directory.
3. Rename the file to setup-DlcMerger.exe .
- win-32bit-A7-DlcMerger: provides a 32-bit Windows installer
- win-64bit-A7-DlcMerger: provides a 64-bit Windows installer (recommended on 64-bit Windows installations)
Hi, thank you for your contributions with this mod. I have a problem and after several hours of scouring the net ineffectively, I'm breaking down and asking for some help in my understanding of what I'm doing incorrectly. This is probably more detail than you need but figured it's best to be thorough on my end of presenting the problem.
Existing conditions are as follows:
Running the setup-DlcMerger.exe gave me the choice of language and then which DLC's I could install. As I've purchased SoDS and have Black Pits as options in my regular game menu, I chose "3" (All DLC), this resulted in a error of failing to, it then says it is creating a 1 directory. I saw no new folder being created so not sure where this directory is being created.
It then said "merging keys" and had four lines of "copying and patching 1 file..." followed by four lines of "Stopping installation because of error". Then it reads:
ERROR Installing [Merge DLC into game -> "Siege of Dragonspear" DLC], rolling back to previous state
Will uninstall 1071 files for [DLCMERGER/SETUP-DLCMERGER.TP2] component 1.
Uninstalled 1071 files for [DLCMERGER/SETUP-DLCMERGER.TP2] component 1.
ERROR: Unix.Unix_error(1, "rename", "dlc/sod-dlc.zip")
Please make a backup of the file: SETUP-DLCMERGER.DEBUG and look for support at: Argent77 at Beamdog Forums Using Language [English]
Then after visiting this forum I saw you post to choose just "1" from the menu choices. So I tried again choosing just SoD DLC instead of option 3. Results were the same. Checking the readme a 2nd time, I saw that you suggested a workaround being to move the dlc.zip into the installation directory, i.e. in my case:
G:Steam/SteamApps/common/BBEE.
However I'm concerned that in doing so, it breaks the game installation as I'm assuming Steam expects all that data to be in the DLC folder. Or perhaps I'm misunderstanding your suggested workaround?
If you could find the time to steer me clear I'd appreciate it
The error message suggests some protection or accessibility problem with the DLC file. Are you able to rename the DLC file manually via File Explorer (e.g. by temporarily adding an underscore to the filename)?
It could be a privilege issue, maybe imposed by the Steam client or because the Steam Client is open and prevents any changes to the game files. In the latter case close the Steam Client and try again. In the former case try starting the mod by right-clicking on the setup executable and selecting "Run as administrator".
Apart from that you should also make sure Antivirus tools don't interfere with the operation.
Thank you good sir, your guidance has resulted in the merge being created. In case anyone else winds up landing here looking for instructions, I started at the beginning of your suggestions by:
Then moved on to start the process of deciding on mod set up. Wow...as involved as anything I did with Skyrim or Oblivion, quite surprised that BG is such a deep RPG.
Again I wanted to say thank you for creating this utility. While I'm very familiar with modding the heck out of Bethesda games, I'm a toddler when it comes to doing anything with the Unity engine. Tools like yours are a godsend. Also, thank you for responding to my post, such service to others is commendable and appreciated.
ACtually i have steam version 2.5 - so:
1. I have to click "1", or "3" option method ?
2. I have to first merge by 1 or 3 method and next step is manually setup all mods
3. I have to download and install all those mods which works with BG:EE + SOD ? If yes - so simply for example Drizzt Saga doesnt work with SOD ?
Sorry for question, but i always had my backup already moded BG:EE 1.3 version, just want to play for the first time "SoD" with mods/items etc from my version of 1.3, after install same all mods i had problem.
I mean when im click new game/import game - game just instantly freezes. But when click load game to last save after killing Sarevok its works fine.
That problem dissapear after change language into English - its always appears on my Polish version
@argent77
If however you manage to get Beamdog SOD installed (and playable), then it is already unpacked so you shouldn't need to use DLC Merger.
Gus