Jump to content

Photo

Help with Finishing and Installing a Custom Kit Mod

help kit mod

16 replies to this topic

#1 Fochmarc

Fochmarc

    Modder

  • Members
  • 21 posts
  • Gender:Male
  • Location:Louisiana, US

Posted 04 September 2016 - 07:38 AM

I've been going through the steps at CamDawg's tutorial, and I think I've pretty much finished the TP2 file, but I'm not sure how to go about actually installing the mod to make it selectable in game.  I have WeiDU installed, but when I load it up, I just get this:

 

http://imgur.com/1E9Z0AR

 

Here's the TP2 I'm using, in case there's anything wrong with it:

 

BACKUP ~WarriorMonk/backup~ // so WeiDU can uninstall
AUTHOR ~removed@gmail.com~ // contact address displayed if installation fails
 
BEGIN ~Warrior Monk Kit~
 
ADD_KIT_EE ~WarMonk~
~WarMonk                   1           1           1           1           1           0           0           0~
~WarMonk   0 3 0 0 3 0 0 3 0 3 3 0 0 3 3 3 0 3 0 0 0 0 3 3 0 0 0 3 3 3 3 3 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0~
~WarMonk   0       9       0       0       0       0~
~WarMonk                   0       0       0       0       0       0~
~WarMonk   0   15      0       0       0       0~
~WarMonk   0       13      0       0       0       0~
~WarMonk   1       1       1       1       1       1       1       1       1~
~WarMonk                   0       0       0       0       0       0~
~WarriorMonk/CLABFI01.2DA~
~K_F_E K_F_H K_F_HE~
~0x00100000~
~FT0~
SAY ~Warrior-Monk~
SAY ~Warrior-Monk~
SAY ~WARRIOR-MONK: Warrior-Monks are guided by the principals of order and protection.  Typically a Warrior-Monk fights in defense of an ideal or individual, though some will join a larger group of adventurers on behalf of a region or race of people.~
 
How does the TP2 know which stronghold, etc. to draw from?  Does that come from the kit line: ~K_F_E K_F_H K_F_HE~?
 
Thanks for any help!


#2 Jarno Mikkola

Jarno Mikkola

    The Imp

  • Modders
  • 6831 posts
  • Gender:Male
  • Location:The town where the dead haven't keeled over, yet. In Finland.

Posted 04 September 2016 - 08:17 AM

You need to download an up to date weidu.exe to install a kit... the latest non beta version is up here, v23900. It's the Windows Binary, it's a .zip archive that contains other stuff too, but you are just intrested in the weidu.exe that you'll rename to be the setup-WarrriorMonk.exe ... and you need to have the .exe ran in the game directory, not in the desktop ...

 

 

How does the TP2 know which stronghold, etc. to draw from?  Does that come from the kit line: ~K_F_E K_F_H K_F_HE~?

It comes from the kits usability flag you failed to include, you have a part of it, but it needs to be not just ~0x00100000~ but ~0x00100000 x~ where the x is the class flag.

The x can be any of these:

1 MAGE
2 FIGHTER
3 CLERIC
4 THIEF
5 BARD
6 PALADIN
7 FIGHTER_MAGE
8 FIGHTER_CLERIC
9 FIGHTER_THIEF
10 FIGHTER_MAGE_THIEF
11 DRUID
12 RANGER
13 MAGE_THIEF
14 CLERIC_MAGE
15 CLERIC_THIEF
16 FIGHTER_DRUID
17 FIGHTER_MAGE_CLERIC
18 CLERIC_RANGER
19 SORCERER
20 MONK
21 SHAMAN

The 21, of course only if you install it to an EE game that has the class. And also, the 7-10 & 13-18 only apply if the characters class matches the kits assigned value... which will take it's own thing to apply, as the multi/dual.classes can't naturally gain kits.

 

Also to gain access to the kit in the EE games character creation, you need to use the fl#add_kit_ee.tpa -function to extend the EE's additional .2da files, as shown here, as the Cam's tutorial was made years ago and it doesn't contain this info (yet).


Edited by Jarno Mikkola, 04 September 2016 - 08:37 AM.

Welcome to the sanity, you are free to search for the limit, it's out there, we drew it in the sand.
Here's how to install all the ... mods you ever really could want to Infinity Engine games. I removed the stable word from there as Roxanne began to add BS mods that are likely to break compatibility from the BWS.

#3 Fochmarc

Fochmarc

    Modder

  • Members
  • 21 posts
  • Gender:Male
  • Location:Louisiana, US

Posted 04 September 2016 - 09:02 AM

 

Also to gain access to the kit in the EE games character creation, you need to use the fl#add_kit_ee.tpa -function to extend the EE's additional .2da files, as shown here, as the Cam's tutorial was made years ago and it doesn't contain this info (yet).

 

So I've added that .tpa to the Game Directory with the rest of the files (thanks for that, I don't know why I didn't think of it), and modified the setup.TP2 thusly:

 

...

BEGIN ~Warrior Monk Kit~
INCLUDE ~WarriorMonk/fl#add_kit_ee.tpa~
ADD_KIT_EE ~WarMonk~
...
 
Now when I run the WeiDU installer (named appropriately), it definitely tries to install but it fails the parser with this message:
 
 
I'm sure it's something silly that I'm missing, but I can't see it.


#4 Jarno Mikkola

Jarno Mikkola

    The Imp

  • Modders
  • 6831 posts
  • Gender:Male
  • Location:The town where the dead haven't keeled over, yet. In Finland.

Posted 04 September 2016 - 09:06 AM

 

...

BEGIN ~Warrior Monk Kit~
INCLUDE ~WarriorMonk/fl#add_kit_ee.tpa~
ADD_KIT_EE ~WarMonk~
...

Remove the _end .. so it's just:

ADD_KIT ~WarMonk~


Edited by Jarno Mikkola, 04 September 2016 - 09:07 AM.

Welcome to the sanity, you are free to search for the limit, it's out there, we drew it in the sand.
Here's how to install all the ... mods you ever really could want to Infinity Engine games. I removed the stable word from there as Roxanne began to add BS mods that are likely to break compatibility from the BWS.

#5 Fochmarc

Fochmarc

    Modder

  • Members
  • 21 posts
  • Gender:Male
  • Location:Louisiana, US

Posted 04 September 2016 - 09:15 AM

Remove the _end .. so it's just:

ADD_KIT ~WarMonk~

 

 

Done, with the same error.  I found a debug report, it may have better info than I'm providing.

Attached Files



#6 Jarno Mikkola

Jarno Mikkola

    The Imp

  • Modders
  • 6831 posts
  • Gender:Male
  • Location:The town where the dead haven't keeled over, yet. In Finland.

Posted 04 September 2016 - 09:34 AM

Copy paste the current code...
Also it might be better to leave the large characters out, so the whole code:
BACKUP ~WarriorMonk/backup~ // so WeiDU can uninstall
AUTHOR ~cottenja@gmail.com~ // contact address displayed if installation fails
BEGIN ~Warrior Monk Kit~
INCLUDE ~WarriorMonk/fl#add_kit_ee.tpa~
 
ADD_KIT ~waronk~
~waronk                   1           1           1           1           1           0           0           0~
~waronk   0 3 0 0 3 0 0 3 0 3 3 0 0 3 3 3 0 3 0 0 0 0 3 3 0 0 0 3 3 3 3 3 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0~
~waronk   0       9       0       0       0       0~
~waronk   0       0       0       0       0       0~
~waronk   0       15      0       0       0       0~
~waronk   0       13      0       0       0       0~
~waronk   1       1       1       1       1       1       1       1       1~
~waronk   0       0       0       0       0       0~
~WarriorMonk/CLABFI01.2DA~
~K_F_E K_F_H K_F_HE~
~0x00100000 2~
~FT0~
~CHAN09 * HELM07 * RING22 * * BOOT01 AMUL21 * BELT06 AROW11,40 BULL03,40 BOLT06,40 POTN52,5 POTN04,2 POTN14,5 * * *~
SAY ~Warrior-Monk~
SAY ~Warrior-Monk~
SAY ~WARRIOR-MONK: Warrior-Monks are guided by the principals of order and protection.  Typically a Warrior-Monk fights in defense of an ideal or individual, though some will join a larger group of adventurers on behalf of a region or race of people.~
We'll first make it a fighter, then we'll adjust that... the waronk is just the kits encoding name.

Edited by Jarno Mikkola, 04 September 2016 - 09:48 AM.

Welcome to the sanity, you are free to search for the limit, it's out there, we drew it in the sand.
Here's how to install all the ... mods you ever really could want to Infinity Engine games. I removed the stable word from there as Roxanne began to add BS mods that are likely to break compatibility from the BWS.

#7 Fochmarc

Fochmarc

    Modder

  • Members
  • 21 posts
  • Gender:Male
  • Location:Louisiana, US

Posted 04 September 2016 - 09:37 AM

Copy paste the current code...

BACKUP ~WarriorMonk/backup~ // so WeiDU can uninstall
AUTHOR ~cottenja@gmail.com~ // contact address displayed if installation fails
 
BEGIN ~Warrior Monk Kit~
INCLUDE ~WarriorMonk/fl#add_kit_ee.tpa~
ADD_KIT ~WarMonk~
~WarMonk                   1           1           1           1           1           0           0           0~
~WarMonk   0 3 0 0 3 0 0 3 0 3 3 0 0 3 3 3 0 3 0 0 0 0 3 3 0 0 0 3 3 3 3 3 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0~
~WarMonk   0       9       0       0       0       0~
~WarMonk                   0       0       0       0       0       0~
~WarMonk   0   15      0       0       0       0~
~WarMonk   0       13      0       0       0       0~
~WarMonk   1       1       1       1       1       1       1       1       1~
~WarMonk                   0       0       0       0       0       0~
~WarriorMonk/CLABFI01.2DA~
        ~K_f_E K_F_H K_F_HE~
~0x00100000 2~
~FT0~
SAY ~Warrior-Monk~
SAY ~Warrior-Monk~
SAY ~WARRIOR-MONK: Warrior-Monks are guided by the principals of order and protection.  Typically a Warrior-Monk fights in defense of an ideal or individual, though some will join a larger group of adventurers on behalf of a region or race of people.~
 
EDIT:  The directory also includes the WeiDU.exe, renamed to setup-WarriorMonk.exe, the CLABFI01.2DA, and the fl#add_kit_ee.tpa, all loose in the C:\Program Files\Baldurs Gate folder.  

Edited by Fochmarc, 04 September 2016 - 09:39 AM.


#8 Fochmarc

Fochmarc

    Modder

  • Members
  • 21 posts
  • Gender:Male
  • Location:Louisiana, US

Posted 04 September 2016 - 09:56 AM

Okay, I copy and pasted your code into my .tp2 and ran the .exe again, but I'm getting the same WeiDU error again.  Here's an album of the entire message.

 

http://imgur.com/a/5z1XD

 

And the file structure everything is in, mod stuff highlighted:  http://imgur.com/WMlMQU6


Edited by Fochmarc, 04 September 2016 - 09:57 AM.


#9 Jarno Mikkola

Jarno Mikkola

    The Imp

  • Modders
  • 6831 posts
  • Gender:Male
  • Location:The town where the dead haven't keeled over, yet. In Finland.

Posted 04 September 2016 - 10:16 AM

What OS do you have ?
Cause it could be that the windows prevent you from editing the files you copied for idiot security reasons, which is why you always get the same error message.

If you have Windows XP, Vista or 7, you need to install the game outside the Program Files folder, and if you have Windows 10, then you need to install the game in the user folders here:
C:\Users\windowsusername\Games\Baldurs Gate\ ...
Welcome to the sanity, you are free to search for the limit, it's out there, we drew it in the sand.
Here's how to install all the ... mods you ever really could want to Infinity Engine games. I removed the stable word from there as Roxanne began to add BS mods that are likely to break compatibility from the BWS.

#10 Jarno Mikkola

Jarno Mikkola

    The Imp

  • Modders
  • 6831 posts
  • Gender:Male
  • Location:The town where the dead haven't keeled over, yet. In Finland.

Posted 04 September 2016 - 10:20 AM

Erhm, do you have the the WarriorMonk -folder any where there, cause the INCLUDE -line could fail if you didn't create the folder and add the .tpa file there...
as the picture shows the file in the game folder, not the mod folder.
Welcome to the sanity, you are free to search for the limit, it's out there, we drew it in the sand.
Here's how to install all the ... mods you ever really could want to Infinity Engine games. I removed the stable word from there as Roxanne began to add BS mods that are likely to break compatibility from the BWS.

#11 Fochmarc

Fochmarc

    Modder

  • Members
  • 21 posts
  • Gender:Male
  • Location:Louisiana, US

Posted 04 September 2016 - 10:44 AM

Erhm, do you have the the WarriorMonk -folder any where there, cause the INCLUDE -line could fail if you didn't create the folder and add the .tpa file there...
as the picture shows the file in the game folder, not the mod folder.

....I'm retarded, I swear to god.  I had it coded for a file structure and then just dumped everything into the install folder without the housing folder.

 

OKAY.  Which would be better, removing the WarMonk/ section of the file location and leaving everything in the root of the game directory, or putting it all back in the seperate WarMonk folder.  Do I have to do anything special with the setup-WarriorMonk.exe if I put the mod files in a seperate folder, or can it stay in the root of the game directory too?

 

As for the OS, it's Win7, but I'm not sure I follow.  You're suggesting moving the game directory out of Program Files entirely, maybe to the root of C, and running everything there?  That's no problem, but would it impact anything else?  What all needs to be moved?



#12 Jarno Mikkola

Jarno Mikkola

    The Imp

  • Modders
  • 6831 posts
  • Gender:Male
  • Location:The town where the dead haven't keeled over, yet. In Finland.

Posted 04 September 2016 - 10:49 AM

OKAY.  Which would be better, removing the WarMonk/ section of the file location and leaving everything in the root of the game directory, or putting it all back in the seperate WarMonk folder.  Do I have to do anything special with the setup-WarriorMonk.exe if I put the mod files in a seperate folder, or can it stay in the root of the game directory too? problem, but would it impact anything else?  What all needs to be moved?

The file structure needs to just reflect the one in the .tp2 file... so the CLABFI01.2DA and fl#add_kit_ee.tpa -files are in the said folder, nothing huge. And you can place the tp2 file there too. But that's not necessary.
It's better to have the files in the mod folder as then you can make a mod out of them. By just making an .zip archive out of the folder and the setup-modname.exe .

Forget about the OS thing for now... as that's probably not the root of the problem.

Edited by Jarno Mikkola, 04 September 2016 - 10:52 AM.

Welcome to the sanity, you are free to search for the limit, it's out there, we drew it in the sand.
Here's how to install all the ... mods you ever really could want to Infinity Engine games. I removed the stable word from there as Roxanne began to add BS mods that are likely to break compatibility from the BWS.

#13 Fochmarc

Fochmarc

    Modder

  • Members
  • 21 posts
  • Gender:Male
  • Location:Louisiana, US

Posted 04 September 2016 - 10:58 AM

 

OKAY.  Which would be better, removing the WarMonk/ section of the file location and leaving everything in the root of the game directory, or putting it all back in the seperate WarMonk folder.  Do I have to do anything special with the setup-WarriorMonk.exe if I put the mod files in a seperate folder, or can it stay in the root of the game directory too? problem, but would it impact anything else?  What all needs to be moved?

The file structure needs to just reflect the one in the .tp2 file... so the CLABFI01.2DA and fl#add_kit_ee.tpa -files are in the said folder, nothing huge. And you can place the tp2 file there too. But that's not necessary.
It's better to have the files in the mod folder as then you can make a mod out of them. By just making an .zip archive out of the folder and the setup-modname.exe .

Forget about the OS thing for now... as that's probably not the root of the problem.

 

Aaaaand now we're getting somewhere.  It's asking me if I want to install the Warrior Monk component,  but it has a problem with the 25STWEAP.2DA additions.

 

http://imgur.com/a/0u3Cu


Edited by Fochmarc, 04 September 2016 - 10:59 AM.


#14 Jarno Mikkola

Jarno Mikkola

    The Imp

  • Modders
  • 6831 posts
  • Gender:Male
  • Location:The town where the dead haven't keeled over, yet. In Finland.

Posted 04 September 2016 - 11:18 AM

Uuh, yeah, sorry, my above code didn't count the fact that the fact that this is a BG1EE game, as the ToB takes this:
~CHAN09 * HELM07 * RING22 * * BOOT01 AMUL21 * BELT06 AROW11,40 BULL03,40 BOLT06,40 POTN52,5 POTN04,2 POTN14,5 * * *~

But in BG1EE it should only be:
~~

As noted in the file:
2DA V1.0
*
  DO NOT USE TOB 
So the whole thing ends up as:
BACKUP ~WarriorMonk/backup~ // so WeiDU can uninstall
AUTHOR ~cottenja@gmail.com~ // contact address displayed if installation fails
 
BEGIN ~Warrior Monk Kit~
INCLUDE ~WarriorMonk/fl#add_kit_ee.tpa~
ADD_KIT ~WarMonk~
~WarMonk                   1           1           1           1           1           0           0           0~
~WarMonk   0 3 0 0 3 0 0 3 0 3 3 0 0 3 3 3 0 3 0 0 0 0 3 3 0 0 0 3 3 3 3 3 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0~
~WarMonk   0       9       0       0       0       0~
~WarMonk                   0       0       0       0       0       0~
~WarMonk   0   15      0       0       0       0~
~WarMonk   0       13      0       0       0       0~
~WarMonk   1       1       1       1       1       1       1       1       1~
~WarMonk                   0       0       0       0       0       0~
~WarriorMonk/CLABFI01.2DA~
        ~K_f_E K_F_H K_F_HE~
~0x00100000 2~
~FT0~
~~
SAY ~warrior-monk~
SAY ~Warrior-Monk~
SAY ~WARRIOR-MONK: Warrior-Monks are guided by the principals of order and protection.  Typically a Warrior-Monk fights in defense of an ideal or individual, though some will join a larger group of adventurers on behalf of a region or race of people.~

Edited by Jarno Mikkola, 04 September 2016 - 11:20 AM.

Welcome to the sanity, you are free to search for the limit, it's out there, we drew it in the sand.
Here's how to install all the ... mods you ever really could want to Infinity Engine games. I removed the stable word from there as Roxanne began to add BS mods that are likely to break compatibility from the BWS.

#15 Fochmarc

Fochmarc

    Modder

  • Members
  • 21 posts
  • Gender:Male
  • Location:Louisiana, US

Posted 04 September 2016 - 11:25 AM

Paydirt!  We are now successfully installed, with the minor issue of the Warrior Monk not appearing in the Kit list for any race or class, lol.





Reply to this topic



  



0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users