lfnetwork.com mark read register faq members calendar

Thread: Custom Lip Synching The Easy Way
Thread Tools Display Modes
Post a new thread. Add a reply to this thread. Indicate all threads in this forum as read. Subscribe to this forum. RSS feed: this forum RSS feed: all forums
Old 04-26-2011, 05:20 PM   #1
TimBob12
I'm in space!
 
TimBob12's Avatar
 
Join Date: Feb 2010
Location: Dantooine
Posts: 515
Current Game: Mass Effect 2!
Helpful! 
Custom Lip Synching The Easy Way

Lip Syncing

(the easy way)

This tutorial will show you how to make custom Lip Synching with custom Voice Overs without the need for complicated Mod Prefixes etc.

I advise you read through the installation of the CSLU Toolkit below before visiting the site.

Tools you will need

-Microphone / Voice Actor
-Audacity - http://audacity.sourceforge.net/
-Lip Synch Editor - http://www.starwarsknights.com/tools.php#de
-CSLU Toolkit - http://www.cslu.ogi.edu/toolkit/register
-DLGEditor - http://www.starwarsknights.com/tools.php#de
-Notepad

Installations

Download the Audacity Installer and install

Download the ZIP file containing the LipSynchEditor and unzip it.

The CSLU Toolkit provides some extra work to install. Visit the above link and enter your email and you will be sent a download link. Download the installer and run it. Select Typical Install and accept the default options. Then go and get a cup of tea while you wait for it to download and extract.

Download the ZIP file containing the DLGEditor and unzip it.

Notepad comes with windows.

Writing Dialogue

For writing dialogue here is an excellent tutorial

http://www.lucasforums.com/showthread.php?t=180845

Although we will be focussing on two specific things which will be covered later.

Make sure you have all of your dialogue written out and then take each individual line and put it in a text file. You can name it whatever you like but I normally use the NPC tag and then a 2 digit number e.g.

Hello, How are you today? - commoner01.txt
I'm fine thank you - commoner02.txt

It just helps distinguish between files.

Recording

Now plug in your microphone and start up Audacity.

Hold the microphone to your mouth and then press the record button and say the first line.

Show spoiler


You may find it is too quiet and that you need to use the Amplify Effect in the Effects Menu.

Show spoiler


Then use the drop down menu on the audio channel and select Mono.

Show spoiler


Then select File, Export and save it as the same name as the corresponding line in the text file for example commoner01.wav would be the sound file for

Hello, How are you today? - commoner01.txt

Record every line individually and put them in a folder with the .txt files.

Make sure that there is no punctuation other than full stops, commas, question marks and exclamation marks as this is all it supports.


Lip Synching

To acheive custom lip synching you need to use the CSLU Toolkit to create a .phn file that can be read by the LipSynchEditor.

To do this open Notepad and type the name of your wav file, followed by a space and the name of your text file. Continue this on the next line for each sound and text file. For example

commoner01.wav commoner01.txt
commoner02.wav commoner02.txt
commoner03.wav commoner03.txt

and this can be continued on. Save this as list.txt

Next go into the LipSynchEditor folder you extracted earlier, then into Extras and then into Importing. There should be a file named makephn.tcl in there. This will need to be in the same folder as your voice overs, your text files with the words and your list file

The next step is slightly different depending on your operating system.

Windows XP:

Click on Start -> Run and type "cmd" (minus the quotes) and hit enter.


Vista/7:

Click on the Windows Logo and run a search for "cmd"(minus the quotes) and click on the result that says either cmd or command. (I can't remember which it is as I have XP)

You will now need to use some commands to navigate to the directory in which you saved all your files and the makephn.tcl script.


The three commands are:

dir - lists the contents of the current directory.
cd *name of directory* - moves into the *name of directory*
cd.. - Moves to the previous directory.

For example I made the directory on my desktop and my default start location is C:\Documents and Settings\Tim

So I would need to use the command

dir
cd Desktop
cd Voice Overs

The dir command is not necessary it just helps to find the names of some folders.

You will then need to run the script makephn.tcl that you put in that folder and put list.txt after it. For example:

makephn.tcl list.txt

would be all you need to type.

It will then think about for a bit and then if it is successful it will pop up with a little box that has nothing in. This means it is done and you can close it. If it comes up with an error double check that your sound file is MONO and that there is no excess punctuation in your text files.

If you now check your folder there should be a lot of .phn files which are what we need hurrah.

Now start up the Lip Synch Editor and click File, Import Phn.

Hold down Control and select all of your phn files.

This should come up

Show spoiler


Then click File, Save All and save your .lip files.


Now open DLGEditor and click on one of your lines and find the VO_ResRef field. In here type the name of your .lip file without the .lip bit.

Then tick the box that says sound exists.

Show spoiler


You will now need to put the .lip file in the .MOD for the module or in a seperate .MOD for voice overs it doesn't really matter.

Then the .WAV needs to go into the StreamWaves Folder for K1 or StreamVoice for K2, NOT INSIDE ANY FOLDERS.



HUZZAH you are done. It will work.


Hope this works.

Any questions, I will endeavour to answer them.

If I missed anything or it doesn't make sense then please tell me and i will correct it.

Thanks for reading.

TB12


Hey
TimBob12 is offline   you may: quote & reply,
Old 04-26-2011, 06:05 PM   #2
Ferc Kast
Modder
 
Ferc Kast's Avatar
 
Join Date: Jan 2007
Location: Tatooine
Posts: 1,580
Current Game: KotOR: EotF
Helpful! Forum Veteran Contest winner - Fan Fiction Veteran Modder 
Cool; I'll have to try this out for a future mod project.



Kast's Echo
A Debt Unpaid | KotOR: Echo of the Force | Recruit Function
"Aahhhh! What are you doing?! Remove the arc wrench, remove the arc wrench! Medic!" --HK-47
Ferc Kast is offline   you may: quote & reply,
Old 04-30-2011, 08:15 PM   #3
Qui-Don Jorn
Junior Member
 
Qui-Don Jorn's Avatar
 
Join Date: Apr 2010
Location: The Fleet, where are you?
Posts: 435
Current Game: The Old Republic
Helpful! 
Oh excellent., and just when I needed it, too.
Qui-Don Jorn is offline   you may: quote & reply,
Old 04-30-2011, 10:18 PM   #4
Fallen Guardian
Wandering the Galaxy...
 
Fallen Guardian's Avatar
 
Join Date: Aug 2010
Location: Unknown Regions
Posts: 1,279
Current Game: Knights of the Old Republic
Veteran Modder Helpful! 
Good tutorial TimBob.


The truly fallen cannot return to the light. If someone "falls" and "returns," they never really, truly fell.

Current Work in Progress: Dantooine Tension

Released Works
Blaster Pistol Enhancement
Dustil Restoration
Ebon Hawk Texture Enhancement
Gaffi Stick Improvement
Weapon Model Overhaul Texture Rework (Thanks to Toasty Fresh!)
Sunry Murder Recording Enhancement
VP's Hi Poly Tin Cans - KotOR 1 Version

Last edited by Fallen Guardian; 04-30-2011 at 10:26 PM.
Fallen Guardian is offline   you may: quote & reply,
Old 05-01-2011, 02:54 AM   #5
TimBob12
I'm in space!
 
TimBob12's Avatar
 
Join Date: Feb 2010
Location: Dantooine
Posts: 515
Current Game: Mass Effect 2!
Helpful! 
Thanks, I enjoyed writing it.


Hey
TimBob12 is offline   you may: quote & reply,
Old 05-06-2011, 08:09 PM   #6
Viado Onasi
Rookie
 
Viado Onasi's Avatar
 
Join Date: Jun 2010
Posts: 104
Current Game: NCAA 13
Works great for learning how to put in Custom VoiceOvers! Thanks, a ton!

Viado Onasi is offline   you may: quote & reply,
Old 05-28-2011, 04:02 PM   #7
Qui-Don Jorn
Junior Member
 
Qui-Don Jorn's Avatar
 
Join Date: Apr 2010
Location: The Fleet, where are you?
Posts: 435
Current Game: The Old Republic
Helpful! 
NOOOO!!!!! After making the list and redoing my voiceovers to mono...I cant open .tcl files!!! Hey Timbob got a quick fix for this? without having to buy some crap off the internet?
Qui-Don Jorn is offline   you may: quote & reply,
Old 05-28-2011, 04:52 PM   #8
TimBob12
I'm in space!
 
TimBob12's Avatar
 
Join Date: Feb 2010
Location: Dantooine
Posts: 515
Current Game: Mass Effect 2!
Helpful! 
What do you mean you can't open them?

What are you trying to open them with. You have to import them into the LipSynchEditor.


Hey
TimBob12 is offline   you may: quote & reply,
Old 05-29-2011, 06:38 PM   #9
Qui-Don Jorn
Junior Member
 
Qui-Don Jorn's Avatar
 
Join Date: Apr 2010
Location: The Fleet, where are you?
Posts: 435
Current Game: The Old Republic
Helpful! 
right, ..but you can't import .phn files you don't have.

i got to the point where I went to..

1.open run
2.cd desktop
3. cd 303iacen (my folder with the makephn.tcl, list.txt, wav's and txt files)
4. makephn.tcl list.txt
5 BAM! nothing...can't open or use .tcl,...windows asks for file association.

so what do I do?
Qui-Don Jorn is offline   you may: quote & reply,
Old 05-30-2011, 04:09 AM   #10
TimBob12
I'm in space!
 
TimBob12's Avatar
 
Join Date: Feb 2010
Location: Dantooine
Posts: 515
Current Game: Mass Effect 2!
Helpful! 
Ah, my bad. Should be quite a simple fix.

Find the makephn.tcl file and right click on it. Click on Open With and then click choose program. Then click browse and broswe to the directory you installed the CSLU Toolkit to. Then open the TCL80 folder then the Bin Folder and select wish80.exe. Then try the command again. Should fix all your problems


Hey

Last edited by TimBob12; 06-21-2011 at 03:46 PM.
TimBob12 is offline   you may: quote & reply,
Old 05-30-2011, 02:46 PM   #11
Qui-Don Jorn
Junior Member
 
Qui-Don Jorn's Avatar
 
Join Date: Apr 2010
Location: The Fleet, where are you?
Posts: 435
Current Game: The Old Republic
Helpful! 
Oh, ok..good good. Thanks!



HA! Yes that was it..!!! Yay, now I get to make over 100 lipfiles. :P

Wow, cool. This is easier than I thought it was going to be....sweet.

Last edited by Qui-Don Jorn; 05-30-2011 at 04:36 PM.
Qui-Don Jorn is offline   you may: quote & reply,
Old 06-03-2011, 01:20 PM   #12
TimBob12
I'm in space!
 
TimBob12's Avatar
 
Join Date: Feb 2010
Location: Dantooine
Posts: 515
Current Game: Mass Effect 2!
Helpful! 
No Problem, I need to update the post in the tutorial section with that as well.


Hey
TimBob12 is offline   you may: quote & reply,
Old 06-25-2011, 03:45 PM   #13
Fallen Guardian
Wandering the Galaxy...
 
Fallen Guardian's Avatar
 
Join Date: Aug 2010
Location: Unknown Regions
Posts: 1,279
Current Game: Knights of the Old Republic
Veteran Modder Helpful! 
I've tried to download the CSLU toolkit but no matter how many email adresses I try (all of them are real) It says the email has failed. Can you email me whatever is contained in that email?


The truly fallen cannot return to the light. If someone "falls" and "returns," they never really, truly fell.

Current Work in Progress: Dantooine Tension

Released Works
Blaster Pistol Enhancement
Dustil Restoration
Ebon Hawk Texture Enhancement
Gaffi Stick Improvement
Weapon Model Overhaul Texture Rework (Thanks to Toasty Fresh!)
Sunry Murder Recording Enhancement
VP's Hi Poly Tin Cans - KotOR 1 Version
Fallen Guardian is offline   you may: quote & reply,
Old 06-25-2011, 05:21 PM   #14
TimBob12
I'm in space!
 
TimBob12's Avatar
 
Join Date: Feb 2010
Location: Dantooine
Posts: 515
Current Game: Mass Effect 2!
Helpful! 
First off try this

http://10minutemail.com/10MinuteMail/index.html

If it doesn't work then I'll email it over but I am short on time at the minute.


Hey
TimBob12 is offline   you may: quote & reply,
Old 06-25-2011, 06:06 PM   #15
Fallen Guardian
Wandering the Galaxy...
 
Fallen Guardian's Avatar
 
Join Date: Aug 2010
Location: Unknown Regions
Posts: 1,279
Current Game: Knights of the Old Republic
Veteran Modder Helpful! 
It still says email has failed. I'll PM you my email.


The truly fallen cannot return to the light. If someone "falls" and "returns," they never really, truly fell.

Current Work in Progress: Dantooine Tension

Released Works
Blaster Pistol Enhancement
Dustil Restoration
Ebon Hawk Texture Enhancement
Gaffi Stick Improvement
Weapon Model Overhaul Texture Rework (Thanks to Toasty Fresh!)
Sunry Murder Recording Enhancement
VP's Hi Poly Tin Cans - KotOR 1 Version
Fallen Guardian is offline   you may: quote & reply,
Old 10-21-2011, 09:54 PM   #16
Dak Drexl
Senior Member
 
Dak Drexl's Avatar
 
Join Date: Jan 2010
Posts: 1,078
Helpful! 
Can anyone confirm or deny that this works with mp3 files? I get a weird error when I run the makephn command and I'm led to believe that's the issue. I hope I'm wrong haha...

Dak Drexl is offline   you may: quote & reply,
Old 11-20-2011, 04:32 PM   #17
UltimateHK47
Forumite
 
UltimateHK47's Avatar
 
Join Date: Nov 2011
Location: In a Galaxy, far far away...
Posts: 500
Current Game: Kotor 1
CAn you use goldwave for this?
UltimateHK47 is offline   you may: quote & reply,
Old 11-21-2011, 04:47 PM   #18
TimBob12
I'm in space!
 
TimBob12's Avatar
 
Join Date: Feb 2010
Location: Dantooine
Posts: 515
Current Game: Mass Effect 2!
Helpful! 
No it doesn't work with MP3s and yes you can use any audio recording software that can export to .wav


Hey
TimBob12 is offline   you may: quote & reply,
Post a new thread. Add a reply to this thread. Indicate all threads in this forum as read. Subscribe to this forum. RSS feed: this forum RSS feed: all forums
Go Back   LucasForums > Network > Knights of the Old Republic > Editing / Modding > Holowan Laboratories > Custom Lip Synching The Easy Way

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 04:02 AM.

LFNetwork, LLC ©2002-2011 - All rights reserved.
Powered by vBulletin®
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.