New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Faceposer] rebuild scenes.image not effective #1559
Comments
On a related note, are you able to use Faceposer with HL2 models and everything? I have an issue over here: ValveSoftware/source-sdk-2013#211 and I'd appreciate any input you have. |
If it's of any help, I created a new VCD and stored it in the same location you did. When I went to rebuild scenes.image, I saw this in the Output window: Scenes: Searching 'C:\Program Files(x86)\Steam\steamapps\common\Half-Life 2\ep2\ep2_pak.vpk\scenes\ *.vcd' - Found 0 scenes. That second-to-last line seems completely wrong to me. "Steamapp" is obviously a non-existent folder and it's very unlikely that there would ever be a "scenes" folder directly inside Steamapps. This is probably what the problem is - it is searching in some very odd places. If you could confirm that, this could be a good place for Valve to start. This is running the Faceposer in Common/Half-Life 2/bin. For what it's worth, my project environment variable is set to the Common/Half-Life 2/ep2 folder. EDIT: Just to add onto this, the Faceposer in Source SDK 2013 Singleplayer does the same as the above (except in common\Source SDK Base 2013 Singleplayer, I didn't run the .bat file for Faceposer here) but its second-to-last line reads: Scenes: Searching 'C\scenes*.vcd' - Found 0 scenes. And no, there is no colon after the C. |
I wonder if one copied the default scenes.image to a folder that is specially being searched? |
I decided to create a "steamapp/scenes" folder and I placed my VCD inside of it. On rebuild scenes.image, a couple things happened. One, it found the VCD ("Found 1 scenes") and it finalized it and output a scenes.image file inside ep2/scenes. Despite being an encoded file, I could tell from bits and pieces of plain text that it did compile the scene into it. I quickly made a test map to use this, and copied the VCD over to ep2/scenes as well. However, the game still complains about being unable to find that VCD (standard "Scene 'scenes\testvcd.vcd' missing" error) For your reference, my VCD is called testvcd.vcd and the logic_choreographed_scene points to scenes/testvcd.vcd. |
That's good news that it compiled! I know that EP2 doesn't always keep the file references within the EP2 folder. Again, I'm not home or else i'd be trying this as well. |
Didn't have any luck with moving it to HL2/scenes. Did the same thing by moving a map there too - it still can't find the VCD. |
Anyone have some new thoughts or workaround suggestions on this problem? |
Alright, so I have no idea what I did, but it would appear that the 'C\scenes*.vcd' error I mentioned above isn't occurring now. Faceposer is now looking at common/Half-Life 2/hl2/scenes instead and it is spitting out a scenes.image to that folder. So, that's great. Problem is, I can't get it to do it for ep2. Although I can copy the scenes.image and .vcd to ep2/scenes and reference it in a logic_choreographed_scene (Hammer sees it), the scene is missing in-game. Is there potentially a .bat file or an Environment Variable setting I should be looking at which is controlling the /hl2 setting? |
When you start hammer, it gives you the option to choose a game. Face poser just starts. Check if a VProject variable is set? -------- Original message -------- Alright, so I have no idea what I did, but it would appear that the 'C\scenes*.vcd' error I mentioned above isn't occurring now. Faceposer is now looking at common/Half-Life 2/hl2/scenes instead and it is spitting out a scenes.image to that folder. So, that's great. Problem is, I can't get it to do it for ep2. Although I can copy the scenes.image and .vcd to ep2/scenes and reference it in a logic_choreographed_scene (Hammer sees it), the scene is missing in-game. Is there potentially a .bat file or an Environment Variable setting I should be looking at which is controlling the /hl2 setting? — |
/scenes? |
I managed to get this working. What I wound up doing was creating a formal HL2 EP2 mod and I was able to build a scenes.image that automatically placed itself in the mod's /scenes folder. The scene can be accessed from the level and it runs correctly. In hindsight, this makes sense, since a scenes.image placed in your /ep2 folder is of dubious usefulness for mod distribution. |
Oh my god. Can you be so kind as to send out a list of the exact steps? On Thu, Jan 30, 2014 at 10:19 PM, Riomaki81 notifications@github.comwrote:
|
So, basically what you do is make a mod. This means, of course, that you aren't making a standalone map anymore that you load through the console, but an actual entry in Steam. There are various ways to do this, but this is roughly what I did.
Now that you have a Source SDK 2007 mod, you have to update the gameinfo.txt in steamapps/sourcemods/YourModName.
Now, the thing you have to do is get Hammer and Faceposer to look at the mod folder you created. What I think this boils down to is having an Environment Variable called "VProject" that points to your SourceMod (for example, C:\Program Files (x86)\Steam\steamapps\SourceMods\YourModName). I'm not sure what I did to create it (you can create it manually through Windows System properties, I'm sure), but I know that I did edit GameConfig.txt in steamapps/common/Half-Life 2/bin and added an entry for my mod. You basically copy-and-paste one of the entries in there (such as the one for Episode 2) and change "Half-Life 2: Episode Two" to your mod's name and its GameDir to your mod's SourceMod folder (same as VProject). When you run Hammer, it should prompt which project you want to use. If not, look at the Messages window down below when Hammer starts and see if it shows the path to your mod in there. Faceposer, I think, just reads from the VProject variable. I'm running the Hammer and Faceposer in the Half-Life 2/bin folder. Faceposer is exporting the scenes.image to YourModName/scenes. Hammer exports the .bsp to Episode 2, but I'm sure you can change this if you want. |
will the scenes work in the standard Ep2 after building the scenes.image? This is amazing news, thank you! On Thu, Jan 30, 2014 at 11:46 PM, Riomaki81 notifications@github.comwrote:
|
Outside of testing, what you're trying to do doesn't make sense. If you're going to distribute your map, there's only one scenes.image file per game. So, you'd be asking gamers to overwrite their existing one in order to use yours. As far as I know, things that used custom Faceposer scenes basically need to be mods. A mod can have its own scenes.image that you can do anything with. I haven't tried bringing the scenes.image back to Ep2, but I have my doubts it would work (and what I'm saying is, even if it did, it has dubious usefulness) because it didn't when I tried to transplant the HL2 one to Ep2. It probably remembers something about the paths to the scenes and doesn't like being moved around. |
Question to anyone who knows - where does Valve keep the VCD files for HL2/Episodic/Ep2 now? I've tried looking in all the .vpks and I'm finding the compiled scenes.image files, but not the original .VCDs. Have they been removed? EDIT: Answering my own question #1107 - nice. |
From what i know, after the SteamPipe conversion, they've all been placed On Fri, Jan 31, 2014 at 4:38 PM, Riomaki81 notifications@github.com wrote:
|
You can get them from the Source SDK 2013 SP Github. SiPlus followed through on the issue and JoeLudwig added them: |
It would still be nice if the stock Faceposer worked :/ On Fri, Jan 31, 2014 at 5:05 PM, Riomaki81 notifications@github.com wrote:
|
Closing as the original issue appears to have been figured out. If there is still an issue with the SDK, please open an issue report in the source-sdk-2013 issue tracker. |
When rebuilding the scenes.image file after creating new .vcds, half-life 2 cannot find the new files though hammer can find them and the maps compile properly.
vcd Location: ep2/scenes
Unless the files need to go into a separate directory, I have no idea what's going on
system specs:
AMD Fx8320 @ 3.5Ghz
8Gb DDR3 RAM
Radeon HD 6900
Windows 7
The text was updated successfully, but these errors were encountered: