Larian Banner: Baldur's Gate Patch 9
Previous Thread
Next Thread
Print Thread
#509415 05/07/14 04:10 PM
Joined: Jul 2014
A
agon000 Offline OP
stranger
OP Offline
stranger
A
Joined: Jul 2014
has anyone figured out how to edit item combinations for crafting to create new items?

Joined: Apr 2013
N
addict
Offline
addict
N
Joined: Apr 2013
Crafting combinations are in Data\Public\Main\Stats\ItemCombos.txt and .xlsm

Joined: Jul 2014
A
agon000 Offline OP
stranger
OP Offline
stranger
A
Joined: Jul 2014
can you be a good chum and please list the full file path?

Joined: Jul 2014
journeyman
Offline
journeyman
Joined: Jul 2014
Originally Posted by agon000
can you be a good chum and please list the full file path?


The full file path is entirely dependent on where you've installed the game, so... no. But it'll be your base install directory, wherever that is for you.

[EDIT] Though you'll have to unpack it from Main.pak, I think?

Last edited by mesmerizedish; 06/07/14 04:49 AM.
Joined: Jul 2014
journeyman
Offline
journeyman
Joined: Jul 2014
To clarify, that folder and file won't (shouldn't) actually exist in your game's installation folder. It's a logical path that exists in Main.pak. You can get that file by unpacking Main.pak, read more here:

http://www.larian.com/forums/ubbthreads.php?ubb=showflat&Number=504707#Post504707

When unpacking, you're prompted for a destination and you DO NOT want to use the default, which is the game's own directory. Unpack it somewhere else.

The two files that seem to be relevant here are ItemCombos.txt and ItemComboPreviews.lsx. The first looks like it's a script, though with the TXT extension I'm not sure. The second is an XML file. You can use LS Tools to look at that too, though I just popped it open in Notepad++. (The XLSM appears to just be a friendly interface for generating ItemCombos.txt. That's what the macro in there does, anyway.)

The syntax in both is straightforward enough that I could figure out how to create a new recipe, but I'm not sure what to do with my modified files. I don't see anything like "Stats" in the Divinity Engine itself. I tried making the Stats folder in the game's own Public\Main folder, and tried making a Mods\Main as well, but those both throw up a "corrupt" prompt and anyway it didn't work. I imagine I need to either PAK them into a custom mod or, my own instinct, hand-editing these files won't work and there's more steps in the workflow.

Sure wish this was as straightforward as making recipes in the Skyrim CK. :\

Joined: Jul 2014
journeyman
Offline
journeyman
Joined: Jul 2014
Figured it out with the help of this thread. laugh

Joined: Jul 2014
R
addict
Offline
addict
R
Joined: Jul 2014
Originally Posted by unuroboros
Figured it out with the help of this thread. laugh


You managed to change/add an item recipe? I have not tried that yet, but my other attempts at changing the Stats folder contents with my own mod haven't been working. How is it done specifically?

Joined: Jul 2014
journeyman
Offline
journeyman
Joined: Jul 2014
Well heck, dude, your tutorial is the one I'm crediting in my mod. smile

I unpacked Main.pak to get at the Stats folder. Pulled out ItemCombos.txt and ItemComboPreviews.lsx. Edited those in Notepad++. Made a "blank" mod the same way you have, set the mod settings, saved and closed Engine. Then made a Stats folder under Public\mymod. (Nothing under Mods\mymod except meta.lsx.)

Married it into my current savegame using the LSB rename trick you taught me. I am now crafting smokescreen arrowheads. laugh

I'm going to make a post for this mod, "Fixed and Missing Recipes", in a bit. I'll be pointing to your thread for instructions on how to make that mod work with an existing save. I will definitely need a few other people to test it to make sure it really does work and I haven't done something else during my crude hacky attempts last night that's part of the solution.

Cheers again! smile

Joined: Jul 2014
R
addict
Offline
addict
R
Joined: Jul 2014
I know my tutorial is the one you're crediting, but until now I hadn't seen any proof that it could work with things outside the RootTemplate folder. I'll be sure to test it out when you've made your post on it.


Link Copied to Clipboard
Powered by UBB.threads™ PHP Forum Software 7.7.5