Jump to content

use of Find Familiar by a character in MP mode


Lemernis

Recommended Posts

Wow, thanks for the above. I will definitely take a look at those for inspiration. I'm wondering, though, do you think it might work just as well (for the purposes of this mini-mod) to simply edit the .char files for Parda, Karan, and Shistal? Or is it better modding practice to install kits and assign the kits to them via the .tp2?

 

Also I have moved the game to the new location C:\Users\<user profile name>\<game folder name>\ and now the spell installs without problems, but for some reason I'm still getting errors for copying Bendalis' .bio and Large portrait file:

 

ERROR: COPY ~pardasfd/char/Bendalis.bio~ ~characters/Bendalis.bio~ FAILED: cannot open target
Copying 1 file ...
[pardasfd/pics/BendalL.bmp] loaded, 208614 bytes
ERROR: COPY ~pardasfd/pics/BendalL.bmp~ ~portraits/BendalL.bmp~ FAILED: cannot open target

 

Maybe if I just rename these files?...

Link to comment

Wow, thanks for the above. I will definitely take a look at those for inspiration. I'm wondering, though, do you think it might work just as well (for the purposes of this mini-mod) to simply edit the .char files for Parda, Karan, and Shistal? Or is it better modding practice to install kits and assign the kits to them via the .tp2?

Well, depending on what exactly you want out of the character, you make your choice accordingly.

 

If you actually wish to make it a legitimate kit, then you have to program it like one. But for starters, I would recommend that you just give the base cleric class, and perhaps you can give each character a unique ability that has a small benefit. Usually the kits won't make the character that much better, and they can later be added, if so desired by also adding an option to configure it with a specific component that needs to be made. It's quite simple actually.

Link to comment

Thanks, here I think it probably makes sense just to tweak the .char files, really. With a special ability as you say. That's sort of in keeping with the way the original NPCs had a little extra something.

 

Another thing, though: I removed the .char files from the "characters" folder and the .bmps from the "portraits" folder to test whether the mod is copying them from the "pardasfd" "char" and "pics" folder. They didn't copy over.

 

I also noticed that Bendalis.bio and BendalL.bmp are the first files in both respective folders, if that offers any clue as to why those targets can't be opened.

Link to comment

I don't think I have the .tp2 written correctly, because it isn't installing (copying) the .chr, .bio, and .bmp files--but moreover nor does it install the script!

 

When I tried recreating the .tp2 I used

BACKUP ~pardasfd/backup~
AUTHOR ~Lemernis~

//README ~<filepath>.txt~
VERSION ~beta 1~

BEGIN ~Summon Fairy Dragon spell~  
COPY ~pardasfd/spinsfd.spl~ ~override/spinsfd.spl~
SAY NAME1 ~Summon Fairy Dragon~
SAY NAME2 ~Summon Fairy Dragon~
COPY ~pardasfd/char~ ~characters~
COPY ~pardasfd/pics~ ~portraits~

And within the pardasfd mod folder I did have the spinsfd spell, and that copied to Override. But PARDAFAM.BCS is missing. So I added PARDAFAM.BCS to the mod folder and tried revising the .tp2 as follows

BACKUP ~pardasfd/backup~
AUTHOR ~Lemernis~

//README ~<filepath>.txt~
VERSION ~beta 1~

BEGIN ~Summon Fairy Dragon spell~  
COPY ~pardasfd/pardafam.bcs~ ~scripts/pardafam.bcs~
COPY ~pardasfd/spinsfd.spl~ ~override/spinsfd.spl~
SAY NAME1 ~Summon Fairy Dragon~
SAY NAME2 ~Summon Fairy Dragon~
COPY ~pardasfd/char~ ~characters~
COPY ~pardasfd/pics~ ~portraits~

But I got errors for PARDAFAM.BCS.

 

I tried copying just the .chr and .bio files to Override without factoring in pardafam,bcs and that did work (although it really clutters up the Override folder).

 

So I I tried copying all the files in the mod folder, i.e., including including pardafam.bcs, to the Override folder. But I continue to get an error message for copying pardafam.bcs.

 

 

 

Install Component [summon Fairy Dragon spell]?
nstall, or [N]ot Install or [Q]uit?
Installing [summon Fairy Dragon spell] [beta 1]
Copying 1 file ...
ERROR: error loading [pardasfd/pardafam.bcs]
Stopping installation because of error.

ERROR Installing [summon Fairy Dragon spell], rolling back to previous state
Unable to Unlink [pardasfd/backup/0/OTHER.0]: Unix.Unix_error(1, "unlink", "pardasfd/backup/0/OTHER.0")
[pardasfd/backup/0/UNSETSTR.0] SET_STRING uninstall info not found
Will uninstall 0 files for [sETUP-PARDASFD.TP2] component 0.
Uninstalled 0 files for [sETUP-PARDASFD.TP2] component 0.
Unable to Unlink [pardasfd/backup/0/READLN.0]: Unix.Unix_error(20, "unlink", "pardasfd/backup/0/READLN.0")
Unable to Unlink [pardasfd/backup/0/READLN.0.TEXT]: Unix.Unix_error(20, "unlink", "pardasfd/backup/0/READLN.0.TEXT")
ERROR: Unix.Unix_error(20, "stat", "pardasfd/pardafam.bcs")
PLEASE email the file SETUP-PARDASFD.DEBUG to Lemernis

 

I mean, I do want for the mod to install (i.e., copy from the mod folder) the files to their most appropriate locations: PARDAFAM.BCS to scripts, SPINSFD.SPL to Override, .all the .chr and .bio files to "characters," and all the .bmps to "portraits," though.

 

What am I doing wrong here?

Link to comment

Okay, I realized that I had the wrong file extension for pardafam. I had it as .bcs. I changed it to .bs and it did copy.

 

But I continue to have issues with

 

COPY ~pardasfd/char~ ~characters~
COPY ~pardasfd/pics~ ~portraits~

 

the error I get is that the first file (target) in both "char" and "pics" cannot be opened. So it doesn't copy any of the files.

 

If I change those lines of code to

 

COPY ~pardasfd/char~ ~override~
COPY ~pardasfd/pics~ ~override~

 

it does work but I have a really cluttered Override folder what with five different types of files (.chr, .bio, and large, medium and small portrait .bmps) for 18 characters.

 

I did however get the following error to a .THUMBS file:

 

ERROR: COPY ~pardasfd/pics/Thumbs.db~ ~override/Thumbs.db~ FAILED: cannot open target

 

 

WeiDU v 23600 Log

C:\Users\RogerB\Baldur's Gate Enhanced Edition\Data\00766\setup-pardasfd.exe
[./chitin.key] loaded, 495088 bytes
[./chitin.key] 73 BIFFs, 35212 resources
[.\weidu.conf] loaded, 17 bytes
[lang\en_us/dialog.tlk] loaded, 4666732 bytes
[lang\en_us/dialog.tlk] 34001 string entries

Using lang\en_us/dialog.tlk

Install Component [summon Fairy Dragon spell]?
nstall, or [N]ot Install or [Q]uit?
Installing [summon Fairy Dragon spell] [beta 1]
Copying 1 file ...
[pardasfd/pardafam.bs] loaded, 373 bytes
Copied [pardasfd/pardafam.bs] to [scripts/pardafam.bs]
Copying and patching 1 file ...
[pardasfd/spinsfd.spl] loaded, 298 bytes
Copied [pardasfd/spinsfd.spl] to [override/spinsfd.spl]
Copying 1 file ...
[pardasfd/char/Bendalis.bio] loaded, 987 bytes
Copied [pardasfd/char/Bendalis.bio] to [override/Bendalis.bio]
[pardasfd/char/Bendalis.chr] loaded, 2500 bytes
Copied [pardasfd/char/Bendalis.chr] to [override/Bendalis.chr]
[pardasfd/char/Carbos.bio] loaded, 890 bytes
Copied [pardasfd/char/Carbos.bio] to [override/Carbos.bio]
[pardasfd/char/Carbos.chr] loaded, 2828 bytes
Copied [pardasfd/char/Carbos.chr] to [override/Carbos.chr]
[pardasfd/char/Dreppin.bio] loaded, 837 bytes
Copied [pardasfd/char/Dreppin.bio] to [override/Dreppin.bio]
[pardasfd/char/Dreppin.chr] loaded, 1876 bytes
Copied [pardasfd/char/Dreppin.chr] to [override/Dreppin.chr]
[pardasfd/char/Erik.bio] loaded, 1361 bytes
Copied [pardasfd/char/Erik.bio] to [override/Erik.bio]
[pardasfd/char/Erik.chr] loaded, 2500 bytes
Copied [pardasfd/char/Erik.chr] to [override/Erik.chr]
[pardasfd/char/Fuller.bio] loaded, 1110 bytes
Copied [pardasfd/char/Fuller.bio] to [override/Fuller.bio]
[pardasfd/char/Fuller.chr] loaded, 1708 bytes
Copied [pardasfd/char/Fuller.chr] to [override/Fuller.chr]
[pardasfd/char/Hull.bio] loaded, 921 bytes
Copied [pardasfd/char/Hull.bio] to [override/Hull.bio]
[pardasfd/char/Hull.chr] loaded, 1708 bytes
Copied [pardasfd/char/Hull.chr] to [override/Hull.chr]
[pardasfd/char/Jessup1.bio] loaded, 462 bytes
Copied [pardasfd/char/Jessup1.bio] to [override/Jessup1.bio]
[pardasfd/char/Jessup1.chr] loaded, 1448 bytes
Copied [pardasfd/char/Jessup1.chr] to [override/Jessup1.chr]
[pardasfd/char/Jessup2.bio] loaded, 462 bytes
Copied [pardasfd/char/Jessup2.bio] to [override/Jessup2.bio]
[pardasfd/char/Jessup2.chr] loaded, 1484 bytes
Copied [pardasfd/char/Jessup2.chr] to [override/Jessup2.chr]
[pardasfd/char/Jondalar.bio] loaded, 1192 bytes
Copied [pardasfd/char/Jondalar.bio] to [override/Jondalar.bio]
[pardasfd/char/Jondalar.chr] loaded, 2540 bytes
Copied [pardasfd/char/Jondalar.chr] to [override/Jondalar.chr]
[pardasfd/char/Karan.bio] loaded, 847 bytes
Copied [pardasfd/char/Karan.bio] to [override/Karan.bio]
[pardasfd/char/Karan.chr] loaded, 1876 bytes
Copied [pardasfd/char/Karan.chr] to [override/Karan.chr]
[pardasfd/char/Parda.bio] loaded, 1103 bytes
Copied [pardasfd/char/Parda.bio] to [override/Parda.bio]
[pardasfd/char/Parda.chr] loaded, 1732 bytes
Copied [pardasfd/char/Parda.chr] to [override/Parda.chr]
[pardasfd/char/Phlydia.bio] loaded, 1011 bytes
Copied [pardasfd/char/Phlydia.bio] to [override/Phlydia.bio]
[pardasfd/char/Phlydia.chr] loaded, 1800 bytes
Copied [pardasfd/char/Phlydia.chr] to [override/Phlydia.chr]
[pardasfd/char/Piato.bio] loaded, 1261 bytes
Copied [pardasfd/char/Piato.bio] to [override/Piato.bio]
[pardasfd/char/Piato.chr] loaded, 2256 bytes
Copied [pardasfd/char/Piato.chr] to [override/Piato.chr]
[pardasfd/char/Reevor.bio] loaded, 904 bytes
Copied [pardasfd/char/Reevor.bio] to [override/Reevor.bio]
[pardasfd/char/Reevor.chr] loaded, 1748 bytes
Copied [pardasfd/char/Reevor.chr] to [override/Reevor.chr]
[pardasfd/char/Shank.bio] loaded, 1078 bytes
Copied [pardasfd/char/Shank.bio] to [override/Shank.bio]
[pardasfd/char/Shank.chr] loaded, 2300 bytes
Copied [pardasfd/char/Shank.chr] to [override/Shank.chr]
[pardasfd/char/Shistal.bio] loaded, 1247 bytes
Copied [pardasfd/char/Shistal.bio] to [override/Shistal.bio]
[pardasfd/char/Shistal.chr] loaded, 1876 bytes
Copied [pardasfd/char/Shistal.chr] to [override/Shistal.chr]
[pardasfd/char/Theodon.bio] loaded, 1569 bytes
Copied [pardasfd/char/Theodon.bio] to [override/Theodon.bio]
[pardasfd/char/Theodon.chr] loaded, 1972 bytes
Copied [pardasfd/char/Theodon.chr] to [override/Theodon.chr]
Copying 1 file ...
[pardasfd/pics/BendalL.bmp] loaded, 208614 bytes
Copied [pardasfd/pics/BendalL.bmp] to [override/BendalL.bmp]
[pardasfd/pics/BendalM.bmp] loaded, 135182 bytes
Copied [pardasfd/pics/BendalM.bmp] to [override/BendalM.bmp]
[pardasfd/pics/BendalS.bmp] loaded, 13830 bytes
Copied [pardasfd/pics/BendalS.bmp] to [override/BendalS.bmp]
[pardasfd/pics/CarbosL.bmp] loaded, 208614 bytes
Copied [pardasfd/pics/CarbosL.bmp] to [override/CarbosL.bmp]
[pardasfd/pics/CarbosM.bmp] loaded, 135182 bytes
Copied [pardasfd/pics/CarbosM.bmp] to [override/CarbosM.bmp]
[pardasfd/pics/CarbosS.bmp] loaded, 13830 bytes
Copied [pardasfd/pics/CarbosS.bmp] to [override/CarbosS.bmp]
[pardasfd/pics/DreppiL.bmp] loaded, 208614 bytes
Copied [pardasfd/pics/DreppiL.bmp] to [override/DreppiL.bmp]
[pardasfd/pics/DreppiM.bmp] loaded, 135182 bytes
Copied [pardasfd/pics/DreppiM.bmp] to [override/DreppiM.bmp]
[pardasfd/pics/DreppiS.bmp] loaded, 13830 bytes
Copied [pardasfd/pics/DreppiS.bmp] to [override/DreppiS.bmp]
[pardasfd/pics/ErikL.bmp] loaded, 208614 bytes
Copied [pardasfd/pics/ErikL.bmp] to [override/ErikL.bmp]
[pardasfd/pics/ErikM.bmp] loaded, 135182 bytes
Copied [pardasfd/pics/ErikM.bmp] to [override/ErikM.bmp]
[pardasfd/pics/ErikS.bmp] loaded, 13830 bytes
Copied [pardasfd/pics/ErikS.bmp] to [override/ErikS.bmp]
[pardasfd/pics/FullerL.bmp] loaded, 208614 bytes
Copied [pardasfd/pics/FullerL.bmp] to [override/FullerL.bmp]
[pardasfd/pics/FullerM.bmp] loaded, 135182 bytes
Copied [pardasfd/pics/FullerM.bmp] to [override/FullerM.bmp]
[pardasfd/pics/FullerS.bmp] loaded, 13830 bytes
Copied [pardasfd/pics/FullerS.bmp] to [override/FullerS.bmp]
[pardasfd/pics/HullL.bmp] loaded, 208614 bytes
Copied [pardasfd/pics/HullL.bmp] to [override/HullL.bmp]
[pardasfd/pics/HullM.bmp] loaded, 135182 bytes
Copied [pardasfd/pics/HullM.bmp] to [override/HullM.bmp]
[pardasfd/pics/HullS.bmp] loaded, 13830 bytes
Copied [pardasfd/pics/HullS.bmp] to [override/HullS.bmp]
[pardasfd/pics/Jessu1L.bmp] loaded, 208614 bytes
Copied [pardasfd/pics/Jessu1L.bmp] to [override/Jessu1L.bmp]
[pardasfd/pics/Jessu1M.bmp] loaded, 135182 bytes
Copied [pardasfd/pics/Jessu1M.bmp] to [override/Jessu1M.bmp]
[pardasfd/pics/Jessu1S.bmp] loaded, 13830 bytes
Copied [pardasfd/pics/Jessu1S.bmp] to [override/Jessu1S.bmp]
[pardasfd/pics/JessupL.bmp] loaded, 208614 bytes
Copied [pardasfd/pics/JessupL.bmp] to [override/JessupL.bmp]
[pardasfd/pics/JessupM.bmp] loaded, 135182 bytes
Copied [pardasfd/pics/JessupM.bmp] to [override/JessupM.bmp]
[pardasfd/pics/JessupS.bmp] loaded, 13830 bytes
Copied [pardasfd/pics/JessupS.bmp] to [override/JessupS.bmp]
[pardasfd/pics/JondalL.bmp] loaded, 208614 bytes
Copied [pardasfd/pics/JondalL.bmp] to [override/JondalL.bmp]
[pardasfd/pics/JondalM.bmp] loaded, 135182 bytes
Copied [pardasfd/pics/JondalM.bmp] to [override/JondalM.bmp]
[pardasfd/pics/JondalS.bmp] loaded, 13830 bytes
Copied [pardasfd/pics/JondalS.bmp] to [override/JondalS.bmp]
[pardasfd/pics/KaranL.bmp] loaded, 208614 bytes
Copied [pardasfd/pics/KaranL.bmp] to [override/KaranL.bmp]
[pardasfd/pics/KaranM.bmp] loaded, 135182 bytes
Copied [pardasfd/pics/KaranM.bmp] to [override/KaranM.bmp]
[pardasfd/pics/KaranS.bmp] loaded, 13830 bytes
Copied [pardasfd/pics/KaranS.bmp] to [override/KaranS.bmp]
[pardasfd/pics/PardaL.bmp] loaded, 208614 bytes
Copied [pardasfd/pics/PardaL.bmp] to [override/PardaL.bmp]
[pardasfd/pics/PardaM.bmp] loaded, 135182 bytes
Copied [pardasfd/pics/PardaM.bmp] to [override/PardaM.bmp]
[pardasfd/pics/PardaS.bmp] loaded, 13830 bytes
Copied [pardasfd/pics/PardaS.bmp] to [override/PardaS.bmp]
[pardasfd/pics/PhlydiL.bmp] loaded, 208614 bytes
Copied [pardasfd/pics/PhlydiL.bmp] to [override/PhlydiL.bmp]
[pardasfd/pics/PhlydiM.bmp] loaded, 135182 bytes
Copied [pardasfd/pics/PhlydiM.bmp] to [override/PhlydiM.bmp]
[pardasfd/pics/PhlydiS.bmp] loaded, 13830 bytes
Copied [pardasfd/pics/PhlydiS.bmp] to [override/PhlydiS.bmp]
[pardasfd/pics/PiatoL.bmp] loaded, 208614 bytes
Copied [pardasfd/pics/PiatoL.bmp] to [override/PiatoL.bmp]
[pardasfd/pics/PiatoM.bmp] loaded, 135182 bytes
Copied [pardasfd/pics/PiatoM.bmp] to [override/PiatoM.bmp]
[pardasfd/pics/PiatoS.bmp] loaded, 13830 bytes
Copied [pardasfd/pics/PiatoS.bmp] to [override/PiatoS.bmp]
[pardasfd/pics/ReevoL.bmp] loaded, 208614 bytes
Copied [pardasfd/pics/ReevoL.bmp] to [override/ReevoL.bmp]
[pardasfd/pics/ReevoM.bmp] loaded, 135182 bytes
Copied [pardasfd/pics/ReevoM.bmp] to [override/ReevoM.bmp]
[pardasfd/pics/ReevoS.bmp] loaded, 13830 bytes
Copied [pardasfd/pics/ReevoS.bmp] to [override/ReevoS.bmp]
[pardasfd/pics/ShankL.bmp] loaded, 208614 bytes
Copied [pardasfd/pics/ShankL.bmp] to [override/ShankL.bmp]
[pardasfd/pics/ShankM.bmp] loaded, 135182 bytes
Copied [pardasfd/pics/ShankM.bmp] to [override/ShankM.bmp]
[pardasfd/pics/ShankS.bmp] loaded, 13830 bytes
Copied [pardasfd/pics/ShankS.bmp] to [override/ShankS.bmp]
[pardasfd/pics/ShistaL.bmp] loaded, 208614 bytes
Copied [pardasfd/pics/ShistaL.bmp] to [override/ShistaL.bmp]
[pardasfd/pics/ShistaM.bmp] loaded, 135182 bytes
Copied [pardasfd/pics/ShistaM.bmp] to [override/ShistaM.bmp]
[pardasfd/pics/ShistaS.bmp] loaded, 13830 bytes
Copied [pardasfd/pics/ShistaS.bmp] to [override/ShistaS.bmp]
[pardasfd/pics/TheodoL.bmp] loaded, 208614 bytes
Copied [pardasfd/pics/TheodoL.bmp] to [override/TheodoL.bmp]
[pardasfd/pics/TheodoM.bmp] loaded, 135182 bytes
Copied [pardasfd/pics/TheodoM.bmp] to [override/TheodoM.bmp]
[pardasfd/pics/TheodoS.bmp] loaded, 13830 bytes
Copied [pardasfd/pics/TheodoS.bmp] to [override/TheodoS.bmp]
[pardasfd/pics/Thumbs.db] loaded, 443904 bytes
override/Thumbs.db copied to pardasfd/backup/0/Thumbs.db, 443904 bytes
ERROR: COPY ~pardasfd/pics/Thumbs.db~ ~override/Thumbs.db~ FAILED: cannot open target


Saving This Log:
SETUP-PARDASFD.TP2 0 0 Installed ~Summon Fairy Dragon spell~

SUCCESSFULLY INSTALLED Summon Fairy Dragon spell

WeiDU Timings
OUTER_INNER_PATCH_SAVE 0.000
<<<<<<<< 0.000
load TLK 0.000
DEFINE_PATCH_FUNCTION 0.000
DEFINE_ACTION_FUNCTION 0.000
OUTER_SET 0.000
INCLUDE 0.000
BUT_ONLY 0.000
find local string 0.000
parsing .log files 0.000
process_patch2 0.000
eval_pe 0.000
DEFINE_ACTION_MACRO 0.000
OUTER_INNER_PATCH 0.000
READ_* 0.000
DEFINE_PATCH_MACRO 0.000
Parsing TP2 files 0.031
saving files 0.031
stuff not covered elsewhere 0.047
COPY 0.047
unmarshal TLK 0.047
unmarshal KEY 0.063
loading files 0.094
Parsing TPA files 0.094
TOTAL 0.453

Link to comment
ERROR: COPY ~pardasfd/pics/Thumbs.db~ ~override/Thumbs.db~ FAILED: cannot open target

This is because you have a picture editing tool that has added it's thumb nail to the folder(so it can get a quick reference).

The fix for that is to either uninstall the editing tool, or manually remove the hidden files from the directory after each time you start the program. To see the hidden files, you need to go to the Folder and Search options in windows and tag/untag the hidden files option there.

Link to comment

Sure, and thank you. How do I upload, though? When I click on My Media I don't see an option to upload...

Ha, I ninja edited the post, just like you ninja added a post before I posted. :D Nope, I don't need the files anymore...

 

Anyways, to upload a file, I always use the mediafire.com, I use Mozilla Firefox(if that matters), have I logged in to a free account I have there, so I just push the Upload button which opens the the From Computer / From Net -option, so I push the From Computer that opens up an ugly and large + tab, I push that, it opens another thab that looks very much like the Windows file Browser, so I then exit from the Computers Downloads folder and enter the file location I had the files up in, then I just select the already archive file and push Open, it then goes back to the large + tab that that has changed to the upload selection window, I push the Begin Upload, and a few moments later, it gives me the option to go back to my folder, I select that and then I push the file I just uploaded and it sends me to the file upload folder from which I can select the direct net address from my internet browser and paste that in a text

[url=url-address]text[/url]

... :p

Link to comment

K... now just change this:

COPY ~pardasfd/pardafam.bs~ ~scripts/pardafam.bs~

To that:

COMPILE ~pardasfd/pardafam.baf~
COPY_EXISTING ~pardafam.bcs~ ~characters/pardafam.bs~

Remove the .bs file... :D The reason is complicated, but the .bs file as it is, is premade, and the variables in it might change between two installations, so it's best to always compile them, not use pre-compiled files.

And put the .tp2 file to the mod folder(pardasfd). The reason for this is that it removes one file from the games install folder, so it's not completely full of those, but just .exe's and mod folders(which the user can remove after installing all the mods).

And delete the hidden thumb.db file that is in:

w1snxh.jpg

Link to comment

I deleted pardafam.bs from the mod folder and edited the .tp2 as follows"

BACKUP ~pardasfd/backup~
AUTHOR ~Lemernis~

//README ~<filepath>.txt~
VERSION ~beta 1~

BEGIN ~Summon Fairy Dragon spell~  
COMPILE ~pardasfd/pardafam.baf~
COPY_EXISTING ~pardafam.bcs~ ~characters/pardafam.bs~
COPY ~pardasfd/spinsfd.spl~ ~override/spinsfd.spl~
SAY NAME1 ~Summon Fairy Dragon~
SAY NAME2 ~Summon Fairy Dragon~
COPY ~pardasfd/char~ ~characters~
COPY ~pardasfd/pics~ ~portraits~

But no good:

 

 

WeiDU v 23600 Log

C:\Users\RogerB\Baldur's Gate Enhanced Edition\Data\00766\setup-pardasfd.exe
[./chitin.key] loaded, 495088 bytes
[./chitin.key] 73 BIFFs, 35212 resources
[.\weidu.conf] loaded, 17 bytes
[lang\en_us/dialog.tlk] loaded, 4666732 bytes
[lang\en_us/dialog.tlk] 34001 string entries

Using lang\en_us/dialog.tlk

Install Component [summon Fairy Dragon spell]?
nstall, or [N]ot Install or [Q]uit?
Installing [summon Fairy Dragon spell] [beta 1]
Compiling 1 script ...
BIFF may be in hard-drive CD-path [./lang/en_us/DATA/DEFAULT.BIF]
BIFF may be in hard-drive CD-path [./cache/DATA/DEFAULT.BIF]
[./DATA/DEFAULT.BIF] 6201616 bytes, 522 files, 0 tilesets
Processing 1 dialogues/scripts ...
Copying 1 file ...
[./override/pardafam.bcs] loaded, 373 bytes
ERROR: COPY ~pardafam.bcs~ ~characters/pardafam.bs~ FAILED: cannot open target
Stopping installation because of error.

ERROR Installing [summon Fairy Dragon spell], rolling back to previous state
Unable to Unlink [pardasfd/backup/0/OTHER.0]: Unix.Unix_error(1, "unlink", "pardasfd/backup/0/OTHER.0")
[pardasfd/backup/0/UNSETSTR.0] SET_STRING uninstall info not found
Will uninstall 2 files for [sETUP-PARDASFD.TP2] component 0.
Unable to Unlink [characters/pardafam.bs]: Unix.Unix_error(20, "unlink", "characters/pardafam.bs")
Uninstalled 2 files for [sETUP-PARDASFD.TP2] component 0.
Unable to Unlink [pardasfd/backup/0/READLN.0]: Unix.Unix_error(20, "unlink", "pardasfd/backup/0/READLN.0")
Unable to Unlink [pardasfd/backup/0/READLN.0.TEXT]: Unix.Unix_error(20, "unlink", "pardasfd/backup/0/READLN.0.TEXT")
ERROR: Sys_error("characters/pardafam.bs: No such file or directory")
PLEASE email the file SETUP-PARDASFD.DEBUG to Lemernis

Install Component [summon Fairy Dragon spell]?
nstall, or [N]ot Install or [Q]uit? Saving This Log:

NOT INSTALLED DUE TO ERRORS Summon Fairy Dragon spell

WeiDU Timings
OUTER_INNER_PATCH_SAVE 0.000
<<<<<<<< 0.000
unmarshal BIFF 0.000
load TLK 0.000
tp2 uninstall 0.000
DEFINE_PATCH_FUNCTION 0.000
COMPILE 0.000
DEFINE_ACTION_FUNCTION 0.000
OUTER_SET 0.000
INCLUDE 0.000
BUT_ONLY 0.000
parsing .log files 0.000
eval_pe 0.000
DEFINE_ACTION_MACRO 0.000
OUTER_INNER_PATCH 0.000
parsing .baf files 0.000
READ_* 0.000
saving files 0.000
DEFINE_PATCH_MACRO 0.000
COPY 0.000
marshal BCS 0.000
parsing .ids files 0.016
process_patch2 0.016
loading files 0.016
Parsing TP2 files 0.031
unmarshal TLK 0.047
unmarshal KEY 0.063
stuff not covered elsewhere 0.063
Parsing TPA files 0.094
TOTAL 0.344

Link to comment

Well, I used your very own files to do this, with the above code and:

WeiDU v 23600 Log

C:\Pelit\BGII - SoA\setup-pardasfd.exe
[./CHITIN.KEY] loaded, 590551 bytes
[./CHITIN.KEY] 182 BIFFs, 41793 resources
[./Autorun.ini] loaded, 1452 bytes
[./baldur.ini] loaded, 2763 bytes
Possible HD/CD Path: [C:\Pelit\BGII - SoA\]
Possible HD/CD Path: [C:\Pelit\BGII - SoA\CD1\]
Possible HD/CD Path: [C:\Pelit\BGII - SoA\CD2\]
Possible HD/CD Path: [C:\Pelit\BGII - SoA\CD2\]
Possible HD/CD Path: [C:\Pelit\BGII - SoA\CD3\]
Possible HD/CD Path: [C:\Pelit\BGII - SoA\CD4\]
Possible HD/CD Path: [C:\Pelit\BGII - SoA\CD5\]
[./Keymap.ini] loaded, 5615 bytes
[./Mplaynow.ini] loaded, 230 bytes
[./dialog.tlk] loaded, 8692747 bytes
[./dialog.tlk] 74107 string entries
WARNING: parsing log [WeiDU.log]: Sys_error("WeiDU.log: No such file or directory")

Install Component [summon Fairy Dragon spell]?
nstall, or [N]ot Install or [Q]uit?
Installing [summon Fairy Dragon spell] [beta 1]
Compiling 1 script ...
[./override/TRIGGER.IDS] loaded, 7725 bytes
[./override/ACTION.IDS] loaded, 13073 bytes
Processing 1 dialogues/scripts ...
Copying 1 file ...
[./override/pardafam.bcs] loaded, 373 bytes
Copied [pardafam.bcs] to [characters/pardafam.bs]
Copying and patching 1 file ...
[pardasfd/spinsfd.spl] loaded, 298 bytes
Copied [pardasfd/spinsfd.spl] to [override/spinsfd.spl]
Copying 1 file ...
[pardasfd/char/Bendalis.bio] loaded, 987 bytes
Copied [pardasfd/char/Bendalis.bio] to [override/Bendalis.bio]
[pardasfd/char/Bendalis.chr] loaded, 2500 bytes
Copied [pardasfd/char/Bendalis.chr] to [override/Bendalis.chr]
[pardasfd/char/Carbos.bio] loaded, 890 bytes
Copied [pardasfd/char/Carbos.bio] to [override/Carbos.bio]
[pardasfd/char/Carbos.chr] loaded, 2828 bytes
Copied [pardasfd/char/Carbos.chr] to [override/Carbos.chr]
[pardasfd/char/Dreppin.bio] loaded, 837 bytes
Copied [pardasfd/char/Dreppin.bio] to [override/Dreppin.bio]
[pardasfd/char/Dreppin.chr] loaded, 1876 bytes
Copied [pardasfd/char/Dreppin.chr] to [override/Dreppin.chr]
[pardasfd/char/Erik.bio] loaded, 1361 bytes
Copied [pardasfd/char/Erik.bio] to [override/Erik.bio]
[pardasfd/char/Erik.chr] loaded, 2500 bytes
Copied [pardasfd/char/Erik.chr] to [override/Erik.chr]
[pardasfd/char/Fuller.bio] loaded, 1110 bytes
Copied [pardasfd/char/Fuller.bio] to [override/Fuller.bio]
[pardasfd/char/Fuller.chr] loaded, 1708 bytes
Copied [pardasfd/char/Fuller.chr] to [override/Fuller.chr]
[pardasfd/char/Hull.bio] loaded, 921 bytes
Copied [pardasfd/char/Hull.bio] to [override/Hull.bio]
[pardasfd/char/Hull.chr] loaded, 1708 bytes
Copied [pardasfd/char/Hull.chr] to [override/Hull.chr]
[pardasfd/char/Jessup1.bio] loaded, 462 bytes
Copied [pardasfd/char/Jessup1.bio] to [override/Jessup1.bio]
[pardasfd/char/Jessup1.chr] loaded, 1448 bytes
Copied [pardasfd/char/Jessup1.chr] to [override/Jessup1.chr]
[pardasfd/char/Jessup2.bio] loaded, 462 bytes
Copied [pardasfd/char/Jessup2.bio] to [override/Jessup2.bio]
[pardasfd/char/Jessup2.chr] loaded, 1484 bytes
Copied [pardasfd/char/Jessup2.chr] to [override/Jessup2.chr]
[pardasfd/char/Jondalar.bio] loaded, 1192 bytes
Copied [pardasfd/char/Jondalar.bio] to [override/Jondalar.bio]
[pardasfd/char/Jondalar.chr] loaded, 2540 bytes
Copied [pardasfd/char/Jondalar.chr] to [override/Jondalar.chr]
[pardasfd/char/Karan.bio] loaded, 847 bytes
Copied [pardasfd/char/Karan.bio] to [override/Karan.bio]
[pardasfd/char/Karan.chr] loaded, 1876 bytes
Copied [pardasfd/char/Karan.chr] to [override/Karan.chr]
[pardasfd/char/Parda.bio] loaded, 1103 bytes
Copied [pardasfd/char/Parda.bio] to [override/Parda.bio]
[pardasfd/char/Parda.chr] loaded, 1732 bytes
Copied [pardasfd/char/Parda.chr] to [override/Parda.chr]
[pardasfd/char/Phlydia.bio] loaded, 1011 bytes
Copied [pardasfd/char/Phlydia.bio] to [override/Phlydia.bio]
[pardasfd/char/Phlydia.chr] loaded, 1800 bytes
Copied [pardasfd/char/Phlydia.chr] to [override/Phlydia.chr]
[pardasfd/char/Piato.bio] loaded, 1261 bytes
Copied [pardasfd/char/Piato.bio] to [override/Piato.bio]
[pardasfd/char/Piato.chr] loaded, 2256 bytes
Copied [pardasfd/char/Piato.chr] to [override/Piato.chr]
[pardasfd/char/Reevor.bio] loaded, 904 bytes
Copied [pardasfd/char/Reevor.bio] to [override/Reevor.bio]
[pardasfd/char/Reevor.chr] loaded, 1748 bytes
Copied [pardasfd/char/Reevor.chr] to [override/Reevor.chr]
[pardasfd/char/Shank.bio] loaded, 1078 bytes
Copied [pardasfd/char/Shank.bio] to [override/Shank.bio]
[pardasfd/char/Shank.chr] loaded, 2300 bytes
Copied [pardasfd/char/Shank.chr] to [override/Shank.chr]
[pardasfd/char/Shistal.bio] loaded, 1247 bytes
Copied [pardasfd/char/Shistal.bio] to [override/Shistal.bio]
[pardasfd/char/Shistal.chr] loaded, 1876 bytes
Copied [pardasfd/char/Shistal.chr] to [override/Shistal.chr]
[pardasfd/char/Theodon.bio] loaded, 1569 bytes
Copied [pardasfd/char/Theodon.bio] to [override/Theodon.bio]
[pardasfd/char/Theodon.chr] loaded, 1972 bytes
Copied [pardasfd/char/Theodon.chr] to [override/Theodon.chr]
Copying 1 file ...
[pardasfd/pics/BendalL.bmp] loaded, 208614 bytes
Copied [pardasfd/pics/BendalL.bmp] to [override/BendalL.bmp]
[pardasfd/pics/BendalM.bmp] loaded, 135182 bytes
Copied [pardasfd/pics/BendalM.bmp] to [override/BendalM.bmp]
[pardasfd/pics/BendalS.bmp] loaded, 13830 bytes
Copied [pardasfd/pics/BendalS.bmp] to [override/BendalS.bmp]
[pardasfd/pics/CarbosL.bmp] loaded, 208614 bytes
Copied [pardasfd/pics/CarbosL.bmp] to [override/CarbosL.bmp]
[pardasfd/pics/CarbosM.bmp] loaded, 135182 bytes
Copied [pardasfd/pics/CarbosM.bmp] to [override/CarbosM.bmp]
[pardasfd/pics/CarbosS.bmp] loaded, 13830 bytes
Copied [pardasfd/pics/CarbosS.bmp] to [override/CarbosS.bmp]
[pardasfd/pics/DreppiL.bmp] loaded, 208614 bytes
Copied [pardasfd/pics/DreppiL.bmp] to [override/DreppiL.bmp]
[pardasfd/pics/DreppiM.bmp] loaded, 135182 bytes
Copied [pardasfd/pics/DreppiM.bmp] to [override/DreppiM.bmp]
[pardasfd/pics/DreppiS.bmp] loaded, 13830 bytes
Copied [pardasfd/pics/DreppiS.bmp] to [override/DreppiS.bmp]
[pardasfd/pics/ErikL.bmp] loaded, 208614 bytes
Copied [pardasfd/pics/ErikL.bmp] to [override/ErikL.bmp]
[pardasfd/pics/ErikM.bmp] loaded, 135182 bytes
Copied [pardasfd/pics/ErikM.bmp] to [override/ErikM.bmp]
[pardasfd/pics/ErikS.bmp] loaded, 13830 bytes
Copied [pardasfd/pics/ErikS.bmp] to [override/ErikS.bmp]
[pardasfd/pics/FullerL.bmp] loaded, 208614 bytes
Copied [pardasfd/pics/FullerL.bmp] to [override/FullerL.bmp]
[pardasfd/pics/FullerM.bmp] loaded, 135182 bytes
Copied [pardasfd/pics/FullerM.bmp] to [override/FullerM.bmp]
[pardasfd/pics/FullerS.bmp] loaded, 13830 bytes
Copied [pardasfd/pics/FullerS.bmp] to [override/FullerS.bmp]
[pardasfd/pics/HullL.bmp] loaded, 208614 bytes
Copied [pardasfd/pics/HullL.bmp] to [override/HullL.bmp]
[pardasfd/pics/HullM.bmp] loaded, 135182 bytes
Copied [pardasfd/pics/HullM.bmp] to [override/HullM.bmp]
[pardasfd/pics/HullS.bmp] loaded, 13830 bytes
Copied [pardasfd/pics/HullS.bmp] to [override/HullS.bmp]
[pardasfd/pics/Jessu1L.bmp] loaded, 208614 bytes
Copied [pardasfd/pics/Jessu1L.bmp] to [override/Jessu1L.bmp]
[pardasfd/pics/Jessu1M.bmp] loaded, 135182 bytes
Copied [pardasfd/pics/Jessu1M.bmp] to [override/Jessu1M.bmp]
[pardasfd/pics/Jessu1S.bmp] loaded, 13830 bytes
Copied [pardasfd/pics/Jessu1S.bmp] to [override/Jessu1S.bmp]
[pardasfd/pics/JessupL.bmp] loaded, 208614 bytes
Copied [pardasfd/pics/JessupL.bmp] to [override/JessupL.bmp]
[pardasfd/pics/JessupM.bmp] loaded, 135182 bytes
Copied [pardasfd/pics/JessupM.bmp] to [override/JessupM.bmp]
[pardasfd/pics/JessupS.bmp] loaded, 13830 bytes
Copied [pardasfd/pics/JessupS.bmp] to [override/JessupS.bmp]
[pardasfd/pics/JondalL.bmp] loaded, 208614 bytes
Copied [pardasfd/pics/JondalL.bmp] to [override/JondalL.bmp]
[pardasfd/pics/JondalM.bmp] loaded, 135182 bytes
Copied [pardasfd/pics/JondalM.bmp] to [override/JondalM.bmp]
[pardasfd/pics/JondalS.bmp] loaded, 13830 bytes
Copied [pardasfd/pics/JondalS.bmp] to [override/JondalS.bmp]
[pardasfd/pics/KaranL.bmp] loaded, 208614 bytes
Copied [pardasfd/pics/KaranL.bmp] to [override/KaranL.bmp]
[pardasfd/pics/KaranM.bmp] loaded, 135182 bytes
Copied [pardasfd/pics/KaranM.bmp] to [override/KaranM.bmp]
[pardasfd/pics/KaranS.bmp] loaded, 13830 bytes
Copied [pardasfd/pics/KaranS.bmp] to [override/KaranS.bmp]
[pardasfd/pics/PardaL.bmp] loaded, 208614 bytes
Copied [pardasfd/pics/PardaL.bmp] to [override/PardaL.bmp]
[pardasfd/pics/PardaM.bmp] loaded, 135182 bytes
Copied [pardasfd/pics/PardaM.bmp] to [override/PardaM.bmp]
[pardasfd/pics/PardaS.bmp] loaded, 13830 bytes
Copied [pardasfd/pics/PardaS.bmp] to [override/PardaS.bmp]
[pardasfd/pics/PhlydiL.bmp] loaded, 208614 bytes
Copied [pardasfd/pics/PhlydiL.bmp] to [override/PhlydiL.bmp]
[pardasfd/pics/PhlydiM.bmp] loaded, 135182 bytes
Copied [pardasfd/pics/PhlydiM.bmp] to [override/PhlydiM.bmp]
[pardasfd/pics/PhlydiS.bmp] loaded, 13830 bytes
Copied [pardasfd/pics/PhlydiS.bmp] to [override/PhlydiS.bmp]
[pardasfd/pics/PiatoL.bmp] loaded, 208614 bytes
Copied [pardasfd/pics/PiatoL.bmp] to [override/PiatoL.bmp]
[pardasfd/pics/PiatoM.bmp] loaded, 135182 bytes
Copied [pardasfd/pics/PiatoM.bmp] to [override/PiatoM.bmp]
[pardasfd/pics/PiatoS.bmp] loaded, 13830 bytes
Copied [pardasfd/pics/PiatoS.bmp] to [override/PiatoS.bmp]
[pardasfd/pics/ReevoL.bmp] loaded, 208614 bytes
Copied [pardasfd/pics/ReevoL.bmp] to [override/ReevoL.bmp]
[pardasfd/pics/ReevoM.bmp] loaded, 135182 bytes
Copied [pardasfd/pics/ReevoM.bmp] to [override/ReevoM.bmp]
[pardasfd/pics/ReevoS.bmp] loaded, 13830 bytes
Copied [pardasfd/pics/ReevoS.bmp] to [override/ReevoS.bmp]
[pardasfd/pics/ShankL.bmp] loaded, 208614 bytes
Copied [pardasfd/pics/ShankL.bmp] to [override/ShankL.bmp]
[pardasfd/pics/ShankM.bmp] loaded, 135182 bytes
Copied [pardasfd/pics/ShankM.bmp] to [override/ShankM.bmp]
[pardasfd/pics/ShankS.bmp] loaded, 13830 bytes
Copied [pardasfd/pics/ShankS.bmp] to [override/ShankS.bmp]
[pardasfd/pics/ShistaL.bmp] loaded, 208614 bytes
Copied [pardasfd/pics/ShistaL.bmp] to [override/ShistaL.bmp]
[pardasfd/pics/ShistaM.bmp] loaded, 135182 bytes
Copied [pardasfd/pics/ShistaM.bmp] to [override/ShistaM.bmp]
[pardasfd/pics/ShistaS.bmp] loaded, 13830 bytes
Copied [pardasfd/pics/ShistaS.bmp] to [override/ShistaS.bmp]
[pardasfd/pics/TheodoL.bmp] loaded, 208614 bytes
Copied [pardasfd/pics/TheodoL.bmp] to [override/TheodoL.bmp]
[pardasfd/pics/TheodoM.bmp] loaded, 135182 bytes
Copied [pardasfd/pics/TheodoM.bmp] to [override/TheodoM.bmp]
[pardasfd/pics/TheodoS.bmp] loaded, 13830 bytes
Copied [pardasfd/pics/TheodoS.bmp] to [override/TheodoS.bmp]
[pardasfd/pics/Thumbs.db] loaded, 443904 bytes
Copied [pardasfd/pics/Thumbs.db] to [override/Thumbs.db]


Saving This Log:
SETUP-PARDASFD.TP2 0 0 Installed ~Summon Fairy Dragon spell~
19 characters, 1 entries added to DIALOG.TLK
[./dialog.tlk] created, 74108 string entries

SUCCESSFULLY INSTALLED Summon Fairy Dragon spell

WeiDU Timings
OUTER_INNER_PATCH_SAVE 0.000
<<<<<<<< 0.000
load TLK 0.000
DEFINE_PATCH_FUNCTION 0.000
COMPILE 0.000
DEFINE_ACTION_FUNCTION 0.000
OUTER_SET 0.000
INCLUDE 0.000
BUT_ONLY 0.000
find local string 0.000
strings to add 0.000
process_patch2 0.000
eval_pe 0.000
DEFINE_ACTION_MACRO 0.000
OUTER_INNER_PATCH 0.000
parsing .baf files 0.000
add strings to TLK 0.000
READ_* 0.000
loading files 0.000
DEFINE_PATCH_MACRO 0.000
COPY 0.000
marshal BCS 0.000
Parsing TP2 files 0.016
parsing .ids files 0.016
saving files 0.016
stuff not covered elsewhere 0.016
marshal and save TLK 0.031
unmarshal TLK 0.031
unmarshal KEY 0.031
Parsing TPA files 0.047
TOTAL 0.203

The failure is this:

[./override/pardafam.bcs] loaded, 373 bytes
ERROR: COPY ~pardafam.bcs~ ~characters/pardafam.bs~ FAILED: cannot open target
Stopping installation because of error.

 

It should need to be COPY_EXISTING plah... but... but, hmm, I have no idea why this happens. It might be something within the Enhanced Edition that's cooking it up.

By the way, does the game folder have the "characters" folder before you install the mod ?

Link to comment

If you try to copy a file into a folder that doesn't exist, you get the error message "FAILED: cannot open target". You don't have a characters folder or a portraits folder in your game directory.

  • You can use MKDIR to create a directory if it doesn't already exist.
  • BGEE and BG2EE seems to prefer to store characters/portraits/scripts/saves inside the user's Documents folder rather than in the main game directory. WeiDU has a variable USER_DIRECTORY that knows where these files are stored (depending on the game, platform, and current user).
Combining this information, you can do something like this to create the directories in the appropriate place before you do any copying.

MKDIR ~%USER_DIRECTORY%/characters~
MKDIR ~%USER_DIRECTORY%/portraits~
MKDIR ~%USER_DIRECTORY%/scripts~

COMPILE ~pardasfd/pardafam.baf~
COPY_EXISTING ~pardafam.bcs~ ~%USER_DIRECTORY%/scripts/pardafam.bs~

COPY ~pardasfd/spinsfd.spl~ ~override/spinsfd.spl~
  SAY NAME1 ~Summon Fairy Dragon~
  SAY NAME2 ~Summon Fairy Dragon~

COPY ~pardasfd/char~ ~%USER_DIRECTORY%/characters~
COPY ~pardasfd/pics~ ~%USER_DIRECTORY%/portraits~
On BGEE, you may notice a message like Problem Unix.Unix_error(1, "mkdir", "C:") on C:: util.ml when creating the directory, but it appears to be harmless.
Link to comment

Okay, thanks, I will try that! Just FYI, I'm pretty sure that I did have the characters and portraits folders before running the mod installation for the first time after uninstalling and reinstalling it to the Users directory versus under Program files (x86). I'm not quite sure how that happened because I had removed the BGEE folder from Documents (saving a copy of it elsewhere in Documents though). However I was surprised to find that my saved games were still there after reinstalling (how I wonder?). But anyway, I suppose it's possible that the mod installation created the portraits and characters folders. (Aren't those created at installation, though?)

 

Note that I was having "unable to open target" issues before as well, i.e., when I had the game installed under Program Files (x86).

Link to comment

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...