Sign in to follow this  
Doodmane444

KOTOR 2 modding voice files into game with Holocron Toolset

Recommended Posts

Hello so I'm using Holocron Toolset to attempt at making a mod that changes up some of the Telos commoners so that they are more varied in terms of appearance, and also so that they have new dialogue options besides the three basic options that they usually have. ("Czerkas mecenaries"). ( "The war has really inflated prices here on the outer rim").

First of all, does anyone know if it's possible to add a fourth line of dialogue to the Telos commoners, or are they bound to have only three dialogue options when you click on them? I tried to add a fourth, but it seems to only let me use three. 

I also want to know how to make working voice files for the game. I use a simple online voice recorder to try and record my voice. I exported it as an .mp3 file, and then use the sithcodec program to convert it to a .wav file for the game. I then imported it into HOLOCRON TOOLSET. For example, I'm trying to change one of the commoners in telos residential wing West, to use the different voice file. The thing is, that neither the .mp3 or new .wav file works when replacing the voice files. 

It lets me change the text of the three dialogue options, but the new voice files don't work in game, and only play a blank sound. I don't know much of anything about audio or modding in general, so any help would be much appreciated!

Edited by Doodmane444

Share this post


Link to post
Share on other sites

Yes it's possible, you probably just need to look at the way the scripts work when calling each line.

If I recall in the first game it's a global banter variable that loops through the dialog options and in the second game it uses a similar method to cycle through the dialog choices of basic one line dialog lines spoken by common npcs.

 

Edit : Regarding the audio files you might just need to ensure they are the correct format, .wav encoding, I think 2 channel, I can't remember the specifics but you can use SithCodec by JCarter426 to encode the file for you.

 

Edited by Thor110
SithCodec

Share this post


Link to post
Share on other sites
Posted (edited)

 

On 2/16/2025 at 4:18 PM, Thor110 said:

Yes it's possible, you probably just need to look at the way the scripts work when calling each line.

If I recall in the first game it's a global banter variable that loops through the dialog options and in the second game it uses a similar method to cycle through the dialog choices of basic one line dialog lines spoken by common npcs.

 

Edit : Regarding the audio files you might just need to ensure they are the correct format, .wav encoding, I think 2 channel, I can't remember the specifics but you can use SithCodec by JCarter426 to encode the file for you.

 

 

I can't seem to get voice acting to work in Holocron toolset. Even if I use an audio file that someone else uses in the toolset, which works in their toolset/modules. Anytime I try to add an audio file to a characters dialogue, it just does not play in game. Even after encoding the audio using that program, it still doesn't play in game. 

Is there another way to import audio to a characters dialogue file? I also have the voices saved to the streamvoice folders. 

I can also attest that the M4-78 audio files work for other characters, given that they're not encoded, from what it looks like. I'm able to click on them in the stream voice folders and listen to the audio file without decoding it.

It's strange how those M4-78 audio files work in game for my characters,  but not a custom audio file that I made and encoded. Using a .wav file that works inside someone else's Toolset for a KOTOR 1 mod, it also just doesn't work in my toolset. 

Edited by Doodmane444

Share this post


Link to post
Share on other sites

My advice is don't use Holocron Toolset, it's not advisable to use it for publically released mods, it adds and alters entries that aren't necessary in many different files when editing them, it's handy for the 3D view, that's about it in my opinion, it's still in Beta effectively.

You probably just need to use the other entry, VO_ResRef I believe is the .lip file and Sound is the actual sound file, there is a "Sound Exists" checkbox, but I checked on a file I am using, which doesn't have that ticked and the voice still plays.

If as you described other files are working in the entry you are trying to use for your files, then it's the files.

You are using the "encode_vo.bat"? or are you entering the command line arguments for SithCodec?

Perhaps you could try them unencoded?

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this