Divinity: Original Sin 2

Divinity: Original Sin 2

1,067 ratings
LeaderLib - Definitive Edition
Type: Add-on
Game Mode: Story, GM
File Size
7.680 MB
Aug 31, 2018 @ 3:34pm
Apr 11 @ 2:31pm
230 Change Notes ( view )

Subscribe to download
LeaderLib - Definitive Edition

In 1 collection by LaughingLeader
LaughingLeader's Mods - Definitive Edition
23 items
LeaderLib is a library mod used to provide common functionality to other mods.

PSA - Mod Updates
When a mod is updated, it may be automatically deactivated in the mod menu. Be sure to reactivate it before loading your save and continuing to play! You'll see a warning like this if a mod is no longer active:

  • A centralized mod menu, providing a way to access dialog menus from other mods.
  • A robust treasure and trader system, allowing dynamic spawning with complex requirements and customization.
  • A system for mods to register to, that enables other mods to see which mods are registered and active, allowing easier cross-mod interaction.
  • A plethora of helpers and systems for mod makers.

Game Settings
Dialog Redirection
Tired of dialog starting with the closest party member, instead of your avatar? LeaderLib has a fix for that!

Located in LeaderLib Settings -> Dialog Redirection, the host can enable "Dialog Redirection", which will redirect event-driven dialog to your avatar character, if an event tries to start dialog with an owned party member.
Gawin and Elodi finally respect your party's hierarchy!

Enable Dialog Redirection via the LeaderLib Mod Menu -> LeaderLib Settings -> Dialog Redirection Settings.

Additionally, the highest party member with persuasion can be the target instead. User checks can be disabled as well, for multiplayer mode (ex. allows player 2's dialog to be redirected to player 1).


Friendly Fire
This option requires mods to implement it, but this enables skills to also hit non-enemy characters (neutrals, allies, party members) if set.

Mods that implement friendly fire:
  • Lichdom
  • Mimicry
  • The Skull Knight (Coming Soon™)
  • Weapon Expansion (Coming Soon™)

Auto-Balance Party Experience
Designed with competitive questing in mind, this option will automatically level up all players to a player's level upon leveling up, regardless of whether they're in a party or not.

The Mod Menu in Action:

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


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

Osi Extender / OsiTools
If the extender[github.com] is present, LeaderLib will utilize its new scripting capabilities to optimize its scripting (math stuff, sorting stuff).

You can download the extender here:

Additionally, LeaderLib will enable a global settings system, allowing LeaderLib and various mods save settings globally, so they work between profiles and saves.

Global settings for mods means things like:
  1. Skipping the setup menus for Toggle Sprint and Full Loot, and having them automatically load your preferences.
  2. Avoid dealing with mod books for all the above mods by enabling LeaderLib's "Disable Auto-Adding Mod Books" option. Since this is now saved globally, it will carry across all your saves.
  3. Host settings for all the mods will be loaded, if they're saved (saving happens automatically after the various updates, but LeaderLib has a new command for it as well).
  4. Values like Toggle Sprint's various speed settings, and Summoning Tweak's max summon cap will be saved.

Extender Setup
  1. Extract OsiTools-Updater-v36_1.zip.
  2. Copy DXGI.dll.
  3. Navigate to the bin directory of the Definitive Edition of the game:
    Divinity Original Sin 2\DefEd\bin
  4. Paste DXGI.dll into the bin folder, so it's in the same folder as EoCApp.exe.
    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.

LeaderLib Trader
LeaderLib adds a special trader that persists through every act in the main campaign. He serves as a common resource for other mods to add items to, and provides players with the "Mod Menu" book.

Trader Locations

Tutorial/Prisoner Ship
Around the common area on the prison ship, near The Red Prince.

Fort Joy
At Fort Joy, he's on the dock near Han and the first waypoint statue, close to where you first wash up on shore.

Lady Vengeance
After Fort Joy, you can find him on Lady Vengeance, down one level from the deck, back near the tables.

Mods that use the Mod Menu:
All my mods that have a settings menu all use the LeaderLib Mod Menu. That list can be found here:
LaughingLeader's Mods - Definitive Edition


Popular Discussions View All (3)
Apr 11 @ 3:04pm
PINNED: Bug Reports
Feb 19 @ 10:24am
PINNED: Support: Mod Doesn't Appear in the Mod List
Oct 28, 2019 @ 8:54am
Game crashes to desktop
< >
Javik Feb 25 @ 6:34am 
I am trying to open the mod settings for Innate Talents but the mod wont get listed in the menu no matter which load order
Wompp Jan 15 @ 9:29pm 
So I can get all of the mods to work except this one. I can see the books and things at the vendor for the running, and adding the pet skill but I can't actually use any of these. I click them and nothing happens? Any help? :D
Azrael Jan 3 @ 3:22pm 
Quick question since I am new to modding with DOS2: I subscribed to the mod via the workshop. In the in-game mod menu I can activate it. When I try to use the mod manager though I get the "Missing Mods in Load Order - LeaderLib - Definitive Edition (Dependency)" message.

I actually tested the mod dialog thingy without a problem, saved that run and tried importing the mod load order from that savegame. Same result. Any ideas how to fix that? Managing a lot of mods with the in-game menu is a bitch...
DimensionalWizard Dec 20, 2020 @ 5:12pm 
would you please put out a small release where custom races can receive the lich staff through the mod menu? thank you.
kmcsjr Dec 12, 2020 @ 12:04pm 
LaughingLeader - I've been playing the game for a few months now. I play Fane/Sebille. My son takes Red Prince/Beast. We're both wondering if there's a Mod that gives Red Prince the same Fire advantage as Fane gets from poison. Kinda amazed that it's never been done. If he can breathe fire, he shouldn't have to worry about standing in his own breath. Is this because it "can't" be done? I figure you're one of the people that understands modding the best. I only know how to hit subscribe. Thanks
Tarso Dec 5, 2020 @ 6:40pm 
So for some reason this mod messes up the SEARCH command:
When i hold the search button (using controller) and the options pop up, don't matter what i select, the character will ALWAYS interact with that is in front of him: he can pick up the item, enter a place, talk with a NPC or other character... or just stand still if there is nothing there.
Does anyone ever found this one? Im using the extended weapon mod, all Odins 4 elemental classes, skip act0 and the battle pack.

It seens it is this mod that causes it because it never happened until i download this one.

Thank you for your attention. And GREAT weapon mod by the way
Nerube Nov 11, 2020 @ 9:14am 
Sweet! Ive been trying to curb the mods I use that take from different atlases in favor of these that use libraries and I wasnt sure on a couple of them, specifically Lichdom...honestly IDK why I didnt notice you were the author of both before now <.<
LaughingLeader  [author] Nov 8, 2020 @ 12:03pm 
@Nerube Yeah, icons for all my mods are located in LeaderLib's icon atlas.
Nerube Nov 7, 2020 @ 6:53pm 
Does this also support a shared Icon Texture Atalas for the listed mods?
Yaoi Wowie Oct 25, 2020 @ 4:53pm 
I am afraid of everything.