Is there anyone here?
karnage
Member Posts: 92
I stick to old games and I do like to mod, though I'm generally years behind everyone else, and such is the case here.
I've attempted my first mod but can't compile. I'm hoping there are modders here who can help me out?
I've attempted my first mod but can't compile. I'm hoping there are modders here who can help me out?
0
Comments
http://forum.baldursgate.com/discussion/15380/bg-ee-mods-and-modding-tutorials-quick-links/p1
http://forum.baldursgate.com/discussion/21600/player-how-to-getting-mods-to-work-on-ee-part-ii/p1
Try with 1) the latest version of WeiDU (there is a link by CamDawg in one of the links @mlnevese posted). 2) If you are having problems compiling a determinate file type, if it is a BCS, NearInfinity is the best option, for everything else, you have DLTCEP.
This is my very (very) first attempt at creating any kind of mod for BGII, other than user AI scripts for PCs.
THANKS guys for a quick response and for offering your assistance to a rank amateur!
---------------------------------------------------------------------------------
Okay, I am trying to add an NPC called "Vondo". I am, for the most part, following directions found here:
http://forums.pocketplane.net/index.php?PHPSESSID=824d9d8ff304425354b3e3760fb792eb&topic=52.0
Using this .tp2 script:
BACKUP ~zkwmodvondo\backup~
AUTHOR ~ghreyfain@pocketplane.net~ // dead email
BEGIN ~Vondo the NPC for BG2:ToB~
// The following is the copying of Vondo's .cre file, as well as assigning his sound-set. See the file sndslot.ids for a listing of sounds you can add.
COPY ~zkwmodvondo\J#Vondo.cre~ ~override\J#Vondo.cre~
SAY NAME1 ~Vondo~
SAY NAME2 ~Vondo~
SAY SELECT_COMMON4 ~Blah blah blah.~ [Vondo1] // [Vondo1] is the name of the .wav
SAY SELECT_COMMON5 ~Give the word.~ [Vondo2]
SAY SELECT_COMMON6 ~Point the way.~ [Vondo3]
SAY SELECT_ACTION1 ~I'm on the job.~ [Vondo4]
SAY SELECT_ACTION2 ~As you wish.~ [Vondo5]
// The following is telling WeiDU to compile the following .d files
COMPILE ~zkwmodvondo\J#Vondo.d~
// The following is compilling the script and placing it in the override. We haven't actually made a script yet, though, so this isn't necessary. (I have, but that's not the problem .... )
COMPILE ~zkwmodvondo\J#Vondo.baf~
// The following is appending what we wrote in AR1000.baf to the bottom of
// AR1000.bcs
EXTEND_TOP ~Ar1000.bcs~ ~zkwmodvondo\ar1000.baf~
-------------------------------------------------------------------------------
I am getting THIS in my .DEBUG file:
WeiDU v 23600 Log
C:\BG2\ZKWMODSETUP.EXE
[./CHITIN.KEY] loaded, 590551 bytes
[./CHITIN.KEY] 182 BIFFs, 41793 resources
[./Autorun.ini] loaded, 1452 bytes
[./baldur.ini] loaded, 3577 bytes
Possible HD/CD Path: [C:\BG2\]
Possible HD/CD Path: [C:\BG2\English]
Possible HD/CD Path: [C:\BG2\CD1]
Possible HD/CD Path: [C:\BG2\CD2]
Possible HD/CD Path: [C:\BG2\English]
Possible HD/CD Path: [C:\BG2\CD2]
Possible HD/CD Path: [C:\BG2\English]
Possible HD/CD Path: [C:\BG2\CD3]
Possible HD/CD Path: [C:\BG2\English]
Possible HD/CD Path: [C:\BG2\CD4]
Possible HD/CD Path: [C:\BG2\CD5]
[./desktop.ini] loaded, 51 bytes
[./Keymap.ini] loaded, 5615 bytes
[./Mplaynow.ini] loaded, 230 bytes
[./dialog.tlk] loaded, 8692747 bytes
[./dialog.tlk] 74107 string entries
Install Component [Vondo the NPC for BG2:ToB]?
[I]nstall, or [N]ot Install or [Q]uit?
Installing [Vondo the NPC for BG2:ToB]
Copying and patching 1 file ...
ERROR: error loading [zkwmodvondo\J#Vondo.cre]
Stopping installation because of error.
ERROR Installing [Vondo the NPC for BG2:ToB], rolling back to previous state
Unable to Unlink [zkwmodvondo\backup/0/OTHER.0]: Unix.Unix_error(1, "unlink", "zkwmodvondo\\backup/0/OTHER.0")
[zkwmodvondo\backup/0/UNSETSTR.0] SET_STRING uninstall info not found
Will uninstall 0 files for [ZKWMODSETUP.TP2] component 0.
Uninstalled 0 files for [ZKWMODSETUP.TP2] component 0.
Unable to Unlink [zkwmodvondo\backup/0/READLN.0]: Unix.Unix_error(20, "unlink", "zkwmodvondo\\backup/0/READLN.0")
Unable to Unlink [zkwmodvondo\backup/0/READLN.0.TEXT]: Unix.Unix_error(20, "unlink", "zkwmodvondo\\backup/0/READLN.0.TEXT")
ERROR: Unix.Unix_error(20, "stat", "zkwmodvondo\\J#Vondo.cre")
PLEASE email the file ZKWMODSETUP.DEBUG to ghreyfain@pocketplane.net
Install Component [Vondo the NPC for BG2:ToB]?
[I]nstall, or [N]ot Install or [Q]uit? Saving This Log:
NOT INSTALLED DUE TO ERRORS Vondo the NPC for BG2:ToB
WeiDU Timings
OUTER_INNER_PATCH_SAVE 0.000
<<<<<<<< 0.000
load TLK 0.000
tp2 uninstall 0.000
DEFINE_PATCH_FUNCTION 0.000
DEFINE_ACTION_FUNCTION 0.000
OUTER_SET 0.000
INCLUDE 0.000
parsing .log files 0.000
Parsing TP2 files 0.000
eval_pe 0.000
DEFINE_ACTION_MACRO 0.000
OUTER_INNER_PATCH 0.000
READ_* 0.000
loading files 0.000
DEFINE_PATCH_MACRO 0.000
COPY 0.000
process_patch2 0.016
unmarshal KEY 0.047
stuff not covered elsewhere 0.062
unmarshal TLK 0.062
Parsing TPA files 0.094
TOTAL 0.281
----------
I can "cheat" Vondo into the game and by compiling the dialogue and other files independently from the DOS prompt, and he appears just fine and acts as he is scripted to act. The last glitch I have with that is that Vondo does not have a name and I can't give him one.
I can't seem to use WeiDU to compile into the AR1000.BCS file independent of the TP2 file as I have been able to with the .d and other files.
Incorrect filenames; the filenames in my .tp2 file did not match the true filenames, LoL.
But now, I have a different problem.
Permission is denied to dialog.tlk; I have ran DOS command attrib -r -s on both the parent folder and the file to no avail. Windows (Vista) still shows "read only" attribute for my main folder but not for dialog.tlk; and I am not installed in the "Programs" folder.
Ideas?
You can use this read me to see what you have wrong or just to read it.
@mlnevese totally agreed, it helps a lot, but I thought you've misunderstood the question