Sourcerous Sundries – Fixed

If you liked this item, please rate it up on Steam Workshop page.

Author: LaughingLeader

Last revision: 27 Jul, 2020 at 23:15 UTC

File size: 7.17 KB

On Steam Workshop

Description:

This mod fixes the various compatibility issues with the Sorcerous Sundries gift bag, and makes it work with every regular and mod-added item. Requires the Script Extender.

Script Extender

Norybte’s Script Extender[github.com] is required for this mod to work, as it’s what allows this mod to undo Sourcerous Sundries’ overrides, and enable any equipment item to be upgraded.

You can download the extender here:
https://github.com/Norbyte/ositools/releases/download/v52/ScriptExtender-Updater-v52.zip

Extender Setup (Divinity Mod Manager)

If the Divinity Mod Manager is installed, and your "Game Executable Path" is set, simply click Tools -> Download & Install the Script Extender.

[i.imgur.com]

The mod manager can be found here (read the Setup section):
Divinity Mod Manager[github.com]

Extender Setup (Manual)
  1. Extract OsiTools-Updater-v52.zip.
  2. Copy DXGI.dll.
  3. Navigate to the bin directory of the Definitive Edition of the game:
    Divinity Original Sin 2DefEdbin

    Tip: You can get to this folder quickly by right clicking DOS2 in Steam, select "Properties", then click the "Local Files" tab, then click "Browse Local Files". Finally, open the DefEd folder, then the bin folder.

  4. Paste DXGI.dll into the bin folder, so it’s in the same folder as EoCApp.exe.

DXGI Note

If you already have a DXGI.dll in your folder from using Divinity Unleashed, that’s the same file. We’re using the same extender and are compatible!

Extender Updates

The script extender updates automatically when you start the game, so after it’s initially installed, you won’t need to download anything manually again.

What issues does this mod fix with Sorcerous Sundries?

There are two main issues with Sorcerous Sundries:

  1. Sundries overrides all weapon, shield, and armor stats, including NPC stats (which can’t be upgraded anyway), to make equipment compatible with the new upgrade crafting recipes. This reverts any changes mods like overhauls may make.
  2. Presumably a bug with the game, when you load a save with gift bag mods, they end up getting loaded last, after your regular mods. This is what makes Sundries undo any changes mods may make to the base equipment stats. Unfortunately this means you can’t simply load Sundries before your mods.

So with those in mind, this mod does the following:

  1. All of Sorcerous Sundries stat overrides are disabled by overriding the stat files with blank ones. This is thanks to the extender’s path override API feature.
  2. All equipment stats that players can use (i.e. stats that aren’t NPC ones) get the new crafting category added to them, making them compatible with the upgrade crafting recipes. Since this is done dynamically to all the equipment stats in the game, this means items added by mods can also be upgraded.
  3. Sourcerous Sundries is set as a dependency to this mod, which makes it load in the main menu like regular mods.

Support

If you’re feeling generous, an easy way to show support is by tipping me a coffee:

[ko-fi.com]

I love modding this game, and I love interacting with the community. Every bit helps to keep me doing what I’m doing. Thanks!

Links