Divinity Banner
Previous Thread
Next Thread
Print Thread
[GUIDE] Loading Third-Party Mods #620801
24/09/17 10:38 PM
24/09/17 10:38 PM
Joined: Jan 2010
Posts: 362
USA
F
fireundubh Offline OP
enthusiast
fireundubh  Offline OP
enthusiast
F

Joined: Jan 2010
Posts: 362
USA
RATIONALE

Use Case:
You want to add a third-party mod as a dependency, but after extracting the PAK to the game data folder, The Divinity Engine 2 project menu does not show the project.

Use Case:
You want to load a third-party mod to see how things work, but after extracting the PAK to to the game data folder, The Divinity Engine 2 project menu does not show the project.

INSTRUCTIONS

For clarity's sake, Crafting Overhaul is used as the example. These instructions work with any mod.

1. Download Crafting Overhaul through the Steam Workshop.

2. Find the PAK file for that mod in:
%USERPROFILE%\Documents\Larian Studios\Divinity Original Sin 2\Mods

3. Use the PAK extractor (source code) to extract the PAK file to:
%PROGRAMFILES(X86)%\Steam\steamapps\common\Divinity Original Sin 2\Data

4. Go to the Data folder, and create a folder named Projects, if it does not exist.

5. Go to the Projects folder, and create a new folder. The folder name should be identical to the mod name. For example, if the mod in the Mods folder is named Crafting_Overhaul_b9a1a072-731f-4ae3-9fba-967b324a5a85, the new folder should be named Crafting_Overhaul.

The final path should look something like:
%PROGRAMFILES(X86)%\Steam\steamapps\common\Divinity Original Sin 2\Data\Projects\Crafting_Overhaul

6. In the Projects\Crafting_Overhaul folder, create a file named meta.lsx with these contents:

Code:
<?xml version="1.0" encoding="UTF-8" ?>
<save>
    <header version="2" time="1506290960" />
    <version major="3" minor="1" revision="3" build="1" />
    <region id="MetaData">
        <node id="root">
            <attribute id="Module" value="b9a1a072-731f-4ae3-9fba-967b324a5a85" type="23" />
            <attribute id="Name" value="Crafting_Overhaul" type="23" />
            <attribute id="Type" value="Add-on" type="23" />
            <attribute id="UUID" value="25ffd9db-db44-4dde-87e5-4a1857cd98c4" type="23" />
        </node>
    </region>
</save>

Modify the file accordingly:

  • - The value of the Module attribute should be identical to the string that follows the Mod name.
  • - The value of the Name attribute should be identical to the Mod name without the Module ID string.
  • - The value of the UUID attribute should be unique. Create a new UUID here. This UUID distinguishes the project from others available to the editor, and does not appear to be used by the game.

7. Save the file when you're done.

8. Restart or start The Divinity Engine 2. The project should now be available to the editor.

Re: How to add another mod as a dependency? [Re: fireundubh] #620877
25/09/17 01:40 AM
25/09/17 01:40 AM
Joined: Sep 2017
Posts: 81
Finland
Rasikko Offline
journeyman
Rasikko  Offline
journeyman

Joined: Sep 2017
Posts: 81
Finland
Press Ctrl + P or go to Project > Project Settings > Dependencies tab

Re: How to add another mod as a dependency? [Re: Rasikko] #620879
25/09/17 01:42 AM
25/09/17 01:42 AM
Joined: Jan 2010
Posts: 362
USA
F
fireundubh Offline OP
enthusiast
fireundubh  Offline OP
enthusiast
F

Joined: Jan 2010
Posts: 362
USA
Originally Posted By: Rasikko
Press Ctrl + P or go to Project > Project Settings > Dependencies tab

That works for projects you created, but not third-party projects.

I updated my post with instructions on how to load third-party mods.

Re: How to add another mod as a dependency? [Re: fireundubh] #620882
25/09/17 01:47 AM
25/09/17 01:47 AM
Joined: Sep 2017
Posts: 81
Finland
Rasikko Offline
journeyman
Rasikko  Offline
journeyman

Joined: Sep 2017
Posts: 81
Finland
Yeah, I was gonna edit my post saying I don't know how to get the mod to show up in the menu if that's what you meant. In any case thanks for figuring that out and sharing it. smile

Re: How to add another mod as a dependency? [Re: fireundubh] #620887
25/09/17 02:04 AM
25/09/17 02:04 AM
Joined: Aug 2014
Posts: 1,143
Baardvark Offline
old hand
Baardvark  Offline
old hand

Joined: Aug 2014
Posts: 1,143
Good guide. Didn't realize third party mods needed a new meta and stuff created, but makes sense.

Re: How to add another mod as a dependency? [Re: fireundubh] #621080
25/09/17 10:40 AM
25/09/17 10:40 AM
Joined: Sep 2017
Posts: 18
at a Tavern in Atlantis
Hethwill Offline
stranger
Hethwill  Offline
stranger

Joined: Sep 2017
Posts: 18
at a Tavern in Atlantis
So, let me get this and please correct me if I am wrong

Suppose I create a project with several basic painted terrains, a collection of ready to use.

I publish them and anyone will be able to use them using this instructions.

Same could happen if I make a project of ready to use prefabs ? ( like several types of shelves with stuff, several small houses, etc )

Re: How to add another mod as a dependency? [Re: Hethwill] #621116
25/09/17 11:56 AM
25/09/17 11:56 AM
Joined: Jan 2010
Posts: 362
USA
F
fireundubh Offline OP
enthusiast
fireundubh  Offline OP
enthusiast
F

Joined: Jan 2010
Posts: 362
USA
Originally Posted By: Hethwill
I publish them and anyone will be able to use them using this instructions.

Maybe. Probably. I don't know anything about assets, but if we can extract assets from the base game data using existing tools, it stands to reason we can extract assets from mod data.

This is no different from mods for any other games.

In the Elder Scrolls modding world, modders who are particularly sensitive about their assets state upfront whether they allow others to use their assets with or without their permission.

Re: How to add another mod as a dependency? [Re: fireundubh] #621252
25/09/17 03:50 PM
25/09/17 03:50 PM
Joined: Sep 2017
Posts: 47
Elvasat Offline
apprentice
Elvasat  Offline
apprentice

Joined: Sep 2017
Posts: 47
Thank you for the guide. I was curious about some mods and their features.

Last edited by Elvasat; 26/09/17 08:50 PM.
Re: How to add another mod as a dependency? [Re: fireundubh] #621267
25/09/17 04:33 PM
25/09/17 04:33 PM
Joined: Sep 2017
Posts: 18
at a Tavern in Atlantis
Hethwill Offline
stranger
Hethwill  Offline
stranger

Joined: Sep 2017
Posts: 18
at a Tavern in Atlantis
Originally Posted By: fireundubh


This is no different from mods for any other games.

(...) modders who are particularly sensitive about their assets SHOULD state upfront whether they allow others to use their assets with or without their permission.


Absolutely. Added the magic word.

Re: [GUIDE] Loading Third-Party Mods [Re: fireundubh] #622060
26/09/17 09:21 PM
26/09/17 09:21 PM
Joined: Sep 2017
Posts: 15
F
Fraktal Offline
stranger
Fraktal  Offline
stranger
F

Joined: Sep 2017
Posts: 15
thankyou

Last edited by Fraktal; 29/09/17 07:42 AM.
Re: [GUIDE] Loading Third-Party Mods [Re: fireundubh] #632793
22/10/17 07:52 AM
22/10/17 07:52 AM
Joined: Oct 2017
Posts: 1
T
tapy Offline
stranger
tapy  Offline
stranger
T

Joined: Oct 2017
Posts: 1
Can't access the stats editors tho

Re: [GUIDE] Loading Third-Party Mods [Re: tapy] #632794
22/10/17 07:57 AM
22/10/17 07:57 AM
Joined: Jan 2010
Posts: 362
USA
F
fireundubh Offline OP
enthusiast
fireundubh  Offline OP
enthusiast
F

Joined: Jan 2010
Posts: 362
USA
Originally Posted By: tapy
Can't access the stats editors tho

See this thread.

Re: [GUIDE] Loading Third-Party Mods [Re: fireundubh] #638869
12/12/17 10:53 PM
12/12/17 10:53 PM
Joined: Sep 2017
Posts: 15
F
Fraktal Offline
stranger
Fraktal  Offline
stranger
F

Joined: Sep 2017
Posts: 15
is this guide always working ?
I tried to edit two mods, I can see them in the editor menu, but get an error message after choosing one of them "could not load xxxx"

thx

Re: [GUIDE] Loading Third-Party Mods [Re: Fraktal] #641183
25/01/18 06:51 AM
25/01/18 06:51 AM
Joined: Jan 2018
Posts: 1
C
Choral Offline
stranger
Choral  Offline
stranger
C

Joined: Jan 2018
Posts: 1
[quote=Fraktal]is this guide always working ?
I tried to edit two mods, I can see them in the editor menu, but get an error message after choosing one of them "could not load xxxx"

thx [/quote]

It kind of works - when extracting the mod you also need to place the folders you extracted in their appropriate locations, being "Mods" and "Public" in the DOS2/DATA/ folder. It's fairly intuitive, just take a look at what exactly you extracted. You still need to do the above steps of making a folder in Projects and creating the meta.lsx file. As for the UUID, it wouldn't work when I created a completely new one, it also worked when I just pasted the big string of letters and numbers (e.g., ccb5167c-6c69-4132-8aa9-1ab6618af35b) there.

Re: [GUIDE] Loading Third-Party Mods [Re: fireundubh] #641441
30/01/18 12:50 PM
30/01/18 12:50 PM
Joined: Sep 2017
Posts: 15
F
Fraktal Offline
stranger
Fraktal  Offline
stranger
F

Joined: Sep 2017
Posts: 15
Hi Choral thanks, I finally find out the reason it was not working: Strangely the UUID of the mod file name was duplicated. Once I figure this out I just need to delete half of the name and it worked.

Last edited by Fraktal; 30/01/18 12:50 PM.
Re: [GUIDE] Loading Third-Party Mods [Re: fireundubh] #644816
09/04/18 08:30 AM
09/04/18 08:30 AM
Joined: Apr 2018
Posts: 1
E
EspeonageTieler Offline
stranger
EspeonageTieler  Offline
stranger
E

Joined: Apr 2018
Posts: 1
I can't seem to get this to work properly. I can get the mod I'm using to open but I can't edit any skills. Does this not work for skill editing? I'm just trying to edit an existing mod so the spells are a little bit different.

Re: [GUIDE] Loading Third-Party Mods [Re: fireundubh] #644817
09/04/18 09:11 AM
09/04/18 09:11 AM
Joined: Sep 2017
Posts: 162
Larian_JB Offline
member
Larian_JB  Offline
member

Joined: Sep 2017
Posts: 162
Hi EspeonageTieler,

The data loaded by the Stats Editor is in the Editor folder, which is not packed when a mod is published. i.e., it is not possible to load another mod's stats files without asking the author for the editor folder.

Re: [GUIDE] Loading Third-Party Mods [Re: fireundubh] #647752
02/08/18 07:57 PM
02/08/18 07:57 PM
Joined: Aug 2018
Posts: 1
F
Frizzeldian12 Offline
stranger
Frizzeldian12  Offline
stranger
F

Joined: Aug 2018
Posts: 1
how do we make a meta.lsx file? My only option is a notepad file... Please help.

Re: [GUIDE] Loading Third-Party Mods [Re: fireundubh] #647758
03/08/18 07:05 AM
03/08/18 07:05 AM
Joined: Sep 2017
Posts: 162
Larian_JB Offline
member
Larian_JB  Offline
member

Joined: Sep 2017
Posts: 162
Hi Frizz,

The easiest way to do so is indeed to copy an existing meta.lsx file from one of your projects and edit it in a text editor (such as notepad++, sublime text or just notepad).

Re: [GUIDE] Loading Third-Party Mods [Re: fireundubh] #651079
02/12/18 06:34 AM
02/12/18 06:34 AM
Joined: Nov 2018
Posts: 2
olnorton Offline
stranger
olnorton  Offline
stranger

Joined: Nov 2018
Posts: 2
How much of the OP is still relevant to the current version of Divinity Engine 2 and the DE version of the game?
I'm using the GOG version and not steam so my paths are different, but I only get could not load Crafting_Overhaul.


Moderated by  Dom_Larian, Larian_Koala 

Powered by UBB.threads™ PHP Forum Software 7.6.2