Voices Cut Off Early in Portal 2 Dubbing

Posted Jul 27, 2024
We have managed to create all the voices using AI, but unfortunately, we have a serious problem. All the sounds are mapped and have a specific length, resulting in all the lines being cut off a few words before the end of the sentence.

We tried using console commands to generate a new sound cache, but this only helped slightly. Additionally, the command snd_rebuildaudiocache shows us a loading window, which I left open for 8 hours and nothing happened.

The snd_updateaudiocache command slightly improves the situation; the lines are played a bit longer but still often end prematurely.

In the .vpk files, we also found files with the length of each line (.vcd), but changing them does not affect the length of the dialogue in the game.

Has anyone ever tried replacing dialogues in a game on the Source engine? We're running out of ideas.

 

Advertisement
Registered users don’t see ads! Register now!
Posted Jul 16, 2025
Replied 11 months later
Niestety nie wiem jak można to zrobić może jakies słowa niektóre usunąć ale niektóre programy do robienia dabingu jak wasz może być nie naturalny jak to było w filmiku ale jeśli używacie text to speach to mozna czasami pisać emocje czy ma krzyczeć wheatley podczas aaaaaa ale nie wjem
Avatar
1 Posts
Posted May 10, 2026 , Edited May 10, 2026
Replied 9 months later
Hej, pogrzebałem trochę w temacie waszego problemu z dubbingiem i ucinaniem kwestii. Wygląda na to, że problemem nie są same pliki dźwiękowe, ale to, jak silnik Source zapamiętuje ich długość. Spróbujcie tych kroków:Główny winowajca to scenes.image: Portal 2 nie czyta długości z plików .wav ani .vcd, tylko ze skompilowanego pliku scenes.image. Nawet jak dacie dłuższy dźwięk, gra go przetnie w momencie, w którym kończył się oryginał. Musicie przebudować ten plik (recompile scenes).Problem z Faceposerem: Ręczne poprawianie każdej linii w Faceposerze przy całym dubbingu to samobójstwo. Zapytajcie na forum ThinkingWithPortals lub Discordzie Portal 2 Modding o narzędzie "VCDCompiler" kiedy coś takiego istniało lub skrypt do automatycznej aktualizacji czasów trwania (batch update) na podstawie długości .wav.Zawieszanie snd_rebuildaudiocache: To, że im to wisi 8 godzin, to błąd. Często dzieje się tak, gdy pliki .wav mają w sobie jakieś śmieciowe metadane z generatorów AI. Trzeba je "wyczyścić" (stripped wav), zostawiając czyste PCM 44100Hz 16-bit.
Advertisement
Registered users don’t see ads! Register now!
Avatar
4 Posts
Member
Posted May 10, 2026
Replied 11 hours later
Please only post in English, use a translator if you don't speak it that well.

To answer the original question from this thread: yes, you have to edit the VCD scene files to change the line lengths, but then you have to use FacePoser to rebuild scenes.image because post-orangebox source engine is stupid and doesn't read VCDs directly anymore.