Difference between revisions of "Faceposer"

From Valve Developer Community
Jump to: navigation, search
Line 15: Line 15:
 
* In hlfaposer for SDK 2006 play/pause/stop probably won't display correctly and you will see blank white box'es instead of icons, press on them to play.
 
* In hlfaposer for SDK 2006 play/pause/stop probably won't display correctly and you will see blank white box'es instead of icons, press on them to play.
 
* If for unknown reasons model not loaded and just nothing happens in faceposer, go to regedit, search <code>HKEY_USERS\..\Software\Valve\faceposer</code>, delete it, also you can clean <code>hlfaceposer.rf</code> in your sdk bin folder to be sure.
 
* If for unknown reasons model not loaded and just nothing happens in faceposer, go to regedit, search <code>HKEY_USERS\..\Software\Valve\faceposer</code>, delete it, also you can clean <code>hlfaceposer.rf</code> in your sdk bin folder to be sure.
* To make faceposer <b>Phoneme Editor</b> extraction work (if you are not on Win XP) there are planty things you need to do. Let's work with source 2007 as the most stable revision. For some reasons there are lot's of [https://www.youtube.com/watch?v=R38qlnow6eI info] how to make it [https://www.moddb.com/engines/source/downloads/windows-vista7-phoneme-extractor-13 work] with <code>Microsoft Speech 5.1</code>, but it's incorrect approach. (it doesn't work properly anyway and it's quality is far from ideal). Go to [https://developer.valvesoftware.com/wiki/Phoneme_Tool#Using_Lipsinc_Speech_API here]. Take <code>lipsinc_data/</code> from anywhere, even Hl2Beta, copy it to <code>..\SourceSDK\bin\source2007\bin</code>, copy <code>ims_helper.dll</code> and <code>phonemeextractor_ims.dll</code> from <code>Source SDK Base 2013 Singleplayer\bin</code> to <code>..\SourceSDK\bin\source2007\bin\</code>, you can edit <code>GameConfig.txt</code> to add your mod here and launch faceposer through steam or just add .bat file with "-game" to your mod (to make it work you will need many things! like to unpack proper shaders from <code>Source SDK Base 2007\vpks</code> (otherwise lips won't move) and other stuff, also don't forget [https://developer.valvesoftware.com/wiki/Can%27t_find_steam_app_user_info this], write the correct gameinfo.txt for old source engine games. Change Speech API to Lipsinc Speech API, it should work now.
+
* To make faceposer <b>Phoneme Editor</b> extraction work (if you are not on Win XP) there are planty things you need to do. Let's work with source 2007 as the most stable revision. For some reasons there are lot's of [https://www.youtube.com/watch?v=R38qlnow6eI info] how to make it [https://www.moddb.com/engines/source/downloads/windows-vista7-phoneme-extractor-13 work] with <code>Microsoft Speech 5.1</code>, but it's incorrect approach. (it doesn't work properly anyway and it's quality is far from ideal). Go to [https://developer.valvesoftware.com/wiki/Phoneme_Tool#Using_Lipsinc_Speech_API here]. Take <code>lipsinc_data/</code> from anywhere, even Hl2Beta, copy it to <code>..\SourceSDK\bin\source2007\bin</code>, copy <code>ims_helper.dll</code> and <code>phonemeextractor_ims.dll</code> from <code>Source SDK Base 2013 Singleplayer\bin</code> to <code>..\SourceSDK\bin\source2007\bin\</code>, you can edit <code>GameConfig.txt</code> to add your mod here and launch faceposer through steam or just add .bat file with "-game" to your mod (to make it work you will need many things! like to unpack proper shaders from <code>Source SDK Base 2007\vpks</code> (otherwise lips won't move) and other stuff, also don't forget [https://developer.valvesoftware.com/wiki/Can%27t_find_steam_app_user_info this], write the correct <code>gameinfo.txt</code> for old source engine games. Change Speech API to Lipsinc Speech API, it should work now.
  
 
{{SDKTools}}
 
{{SDKTools}}

Revision as of 03:52, 3 December 2019

Faceposer playing back a complex scene with multiple actors.

Faceposer is the SDK tool used to produce choreographed sequences for the Source engine. It creates facial expressions (including lip-syncing) and manages skeletal animations, the position of actors in the world, and any map triggers that need to be fired during the scene.

  • See Choreography creation for a step-by step guide to creating choreography in the Source engine.
  • See Faceposer reference for a quick-reference guide to the different parts of the Faceposer interface.
Note:In order to open Faceposer in SDK 2013, use the Faceposer.bat file in located in the bin folder. Using the shortcut .exe will give you an error asking for Vconfig!
Note:To use Faceposer with your own 2013-based mod, set the VPROJECT path to the game directory of your mod.

Issues

  • Incorrect model image probably made in Photoshop as with HLMV or with incorrect size will make "Load model" menu freeze and white and you will need to stop poser process.
  • In hlfaposer for SDK 2006 play/pause/stop probably won't display correctly and you will see blank white box'es instead of icons, press on them to play.
  • If for unknown reasons model not loaded and just nothing happens in faceposer, go to regedit, search HKEY_USERS\..\Software\Valve\faceposer, delete it, also you can clean hlfaceposer.rf in your sdk bin folder to be sure.
  • To make faceposer Phoneme Editor extraction work (if you are not on Win XP) there are planty things you need to do. Let's work with source 2007 as the most stable revision. For some reasons there are lot's of info how to make it work with Microsoft Speech 5.1, but it's incorrect approach. (it doesn't work properly anyway and it's quality is far from ideal). Go to here. Take lipsinc_data/ from anywhere, even Hl2Beta, copy it to ..\SourceSDK\bin\source2007\bin, copy ims_helper.dll and phonemeextractor_ims.dll from Source SDK Base 2013 Singleplayer\bin to ..\SourceSDK\bin\source2007\bin\, you can edit GameConfig.txt to add your mod here and launch faceposer through steam or just add .bat file with "-game" to your mod (to make it work you will need many things! like to unpack proper shaders from Source SDK Base 2007\vpks (otherwise lips won't move) and other stuff, also don't forget this, write the correct gameinfo.txt for old source engine games. Change Speech API to Lipsinc Speech API, it should work now.