Fixing Faceposer

From Valve Developer Community
Jump to: navigation, search
Wikipedia - Letter.png
This article has multiple issues. Please help improve it or discuss these issues on the talk page. (Learn how and when to remove these template messages)
Underlinked - Logo.png
This article needs more Wikipedia icon links to other articles to help Wikipedia icon integrate it into the encyclopedia. Please help improve this article by adding links Wikipedia icon that are relevant to the context within the existing text.
January 2024

Faceposer is Valve's choreography creator, but after the steampipe update, it's has been very problematic to use, but this solution will let you use it, with the mod, or Source game you are working on. Important: This doesn't mean that you should't be carreful while editing phonemes

Creating a Source Mod

In case you are already working on another mod with the SDK you can skip this step (exept for the 2013 SDK)
Launch the Source SDK from Steam tools tab under library, select the Source Engine 2007, then click on: Create a Mod, you can give it the name you want (e.g fixingfaceposer).
Check the Gameinfo.txt for this mod, if it's alright, run the mod.

Changing VProject

By default, when you create a mod, the Source SDK set the Environment Variable "VProject" to "steam/steamapps/sourcemods/fixingfaceposer" (in case you created the mod with other name, the path would be the same but instead of "fixingfaceposer" it would be your name), this is the folder where your Gameinfo.txt is, now open up a Command Prompt and type: set. this command will give you a list of all the Environment Variables, search for "VProject", in case everything is right, it should be the path above.
Now type: setx VProject "x"
Where: "x" is the game directory you are working on inside quotes (i.g C:\Program Files (x86)\Steam\steamapps\common\Half-Life 2\hl2), the path must be where the Gameinfo.txt is.
So if you are working with Half-Life 2, You should type:
setx VProject "C:\Program Files (x86)\Steam\steamapps\common\Half-Life 2\hl2"

Fixing Icons

In SDK 2006/Orange Box (2007/2009/2013?) version of Faceposer, the Play/Stop/Pause (►/■/‖) buttons are missing their icons by default, and display as white boxes instead. To fix this, extract this fix to the any of the games' folders that your mod is using (can be checked in gameinfo.txt). For instance, if your mod is based off hl2 directly, put the gfx folder in common/Half-Life 2/hl2, however, if you're using Source SDK Base 2013 Singleplayer, put it in common/Source SDK Base 2013 Singleplayer/hl2. If you are not using any of the base games' assets at all, simply put it in your mod's folder and don't include it when you ship your mod to save file space.

Using Faceposer

Now that you have the variable set with your path, go to the bin folder in the game you set the path to

  • if using Half-life 2, it would be "Half-Life 2/bin"
  • if you are using a 2013 SDK mod, it would be "Source SDK 2013 Base singleplayer/bin"
  • if you are using the old Source SDK, simply use "the Half-Life 2/bin"

From there, run faceposer.bat and then, hlfaceposer.exe,
NOTE: You can create a batch file that set up the variable for you, just in case it change it's value:
"setx VProject "C:\Program Files (x86)\Steam\steamapps\common\Half-Life 2\hl2""

troubleshooting

In case Faceposer crash on start up, try it with another mod, if it work, the problem might be in your's mod folder, something like a model that every time you load the program it loads together and crash it. to solve this, you have to migrate your mod to other folder,but do it only with things like Closed captions, fonts, localisation files, maps. this needs a bit more research to find the file that keep the model open if you want, you can help to find the problem solution more quickly.

Wikipedia - Letter.png
This article has not been added to any content Wikipedia icon categories. Please help out by Wikipedia icon adding categories.
January 2024