Jump to content


Photo

(Weidu again) --tlkout dialog.tlk in a .tp2


  • Please log in to reply
9 replies to this topic

#1 Karkadinn

Karkadinn
  • Member
  • 20 posts

Posted 24 March 2003 - 10:11 PM

Well, the banter file I've got set up for Ye Olde Npc needs --tlkout dialog.tlk in it (or so Weidu tells me when I have it compile the sucker, anyway). I know how to use this at the Weidu command line, but obviously that's not gonna wash for the complete mod package. I need a way to embed the command within the tp2 or the dialogue file itself so that it works without the person installing having to do anything "extra."
Will the following, if used in the tp2, work?

COMPILE ~Peerso\Peerso.d~ ~Peerso\PeersoP.d~ ~BPeerso.d~ --tlkout dialog.tlk

I looked through various other Weidu mods for examples but didn't have much luck... Valen and Sola don't have banter files, as far as I can tell.

#2 Dyara

Dyara
  • Member
  • 262 posts

Posted 25 March 2003 - 02:24 AM

I guess you donīt have to specify --tlkout inside a tp2 file.

COMPILE ~Peerso\Peerso.d~ ~Peerso\PeersoP.d~ ~BPeerso.d~

will do.

Iīm quite sure Valen or Sola have banter too. Perhaps itīs 'hidden' in only one d file ;)?

#3 -Sim-

-Sim-
  • Guest

Posted 25 March 2003 - 08:09 AM

When you have your TP2 ready for distribution, if you name it "setup-mymod.tp2", and rename a copy of weidu.exe to "setup-mymod.exe", then the installation of the TP2 will proceed 'automatically' when this EXE is run, and things like --tlkout will be taken for granted.

#4 -Ghreyfain-

-Ghreyfain-
  • Guest

Posted 25 March 2003 - 02:35 PM

COMPILE ~Peerso\Peerso.d~ ~Peerso\PeersoP.d~ ~BPeerso.d~


You can also compile entire folders of .d or .baf, by typing this.

COMPILE ~peerso/dialogues~

Where their path is BG2\peerso\dialogues\peerso.d.

#5 Karkadinn

Karkadinn
  • Member
  • 20 posts

Posted 25 March 2003 - 05:10 PM

*Iīm quite sure Valen or Sola have banter too. Perhaps itīs 'hidden' in only one d file ?*

Are you?  Wes says otherwise. ;)  I think they just have so much situation specific dialogue that it's easy to forget they don't have actual npc-npc bantery chats.

*When you have your TP2 ready for distribution, if you name it "setup-mymod.tp2", and rename a copy of weidu.exe to "setup-mymod.exe", then the installation of the TP2 will proceed 'automatically' when this EXE is run, and things like --tlkout will be taken for granted.*

So it'll use --tlkout when appropriate without me having to specify?  Lovely.

*You can also compile entire folders of .d or .baf, by typing this.

COMPILE ~peerso/dialogues~

Where their path is BG2\peerso\dialogues\peerso.d.*

Ah.  That sounds convenient.  I haven't been using folders yet, but I think I'll start... :)

#6 Kismet

Kismet

    Mild Thang

  • Member
  • 348 posts

Posted 25 March 2003 - 05:39 PM

*Iīm quite sure Valen or Sola have banter too. Perhaps itīs 'hidden' in only one d file ?*

Are you?  Wes says otherwise. ;)  I think they just have so much situation specific dialogue that it's easy to forget they don't have actual npc-npc bantery chats.

Solaufein definitely has banters. In my game he bantered with Anomen about anger and humility with Jaheira about balance, with Imoen about being a broody drow. They can all be found in sola.d/sola.tra

#7 Kiki

Kiki

    Philosopher Queen in training

  • Member
  • 499 posts

Posted 25 March 2003 - 06:01 PM

Solaufein's banters with the Bioware NPCs are in sola.d, not bsola.d. Maybe that's why you can't find his banters.
Placetne, magistra?

#8 Karkadinn

Karkadinn
  • Member
  • 20 posts

Posted 25 March 2003 - 10:56 PM

My bad, all.  Guess I was thinking of just Valen insofar as banterlessness goes.
I tried the "compile an entire directory" bit, but it didn't work.  In the middle of installation, Weidu gave me the following:

Sys_error("Peerso/Dialogue: Permission denied")

The .d files are in Peerso\Dialogue, and the COMPILE line in the tp2 specifies ~Peerso\Dialogue~, so I dunno what's going on.

#9 japheth

japheth

    Codewalker

  • Member
  • 317 posts

Posted 26 March 2003 - 10:29 AM

That sounds like a file permission. Check the permissions on your .d files and make sure that none of them are flagged as hidden or read-only.
Check out BG1Tutu.

#10 Karkadinn

Karkadinn
  • Member
  • 20 posts

Posted 26 March 2003 - 05:07 PM

Hmm... nope, none of 'em are hidden or read only.
I tried removing the dialogue compiling line from the tp2 and everything else worked fine, so it's definitely that one folder it's freaking on.