[SOLVED] I need help replacing sounds in Portal
Quote from lucki_vibrato on August 16, 2014, 2:02 pmHello, I'm new here and I'm with a pt-br Portal fandub project, since Portal doesn't have full portuguese language support.
It's basically just a voice (GLaDOS, Turrets, Cores and Party Escort Bits) and music (Still Alive) replacement.So...
I tried folowing a bunch of tutorials of how to replace the sounds, but no one worked.
Could you, please, help me to find out what's wrong?
Hello, I'm new here and I'm with a pt-br Portal fandub project, since Portal doesn't have full portuguese language support.
It's basically just a voice (GLaDOS, Turrets, Cores and Party Escort Bits) and music (Still Alive) replacement.
So...
I tried folowing a bunch of tutorials of how to replace the sounds, but no one worked.
Could you, please, help me to find out what's wrong?
Quote from FelixGriffin on August 16, 2014, 10:52 pmYou'll need to record the voice lines with the same filenames as the sounds they're replacing, then pack the new sound/vo folder into a new VPK and rebuild the audio cache. Unfortunately you won't be able to hear them in the game until you do this, so it'll probably be easiest to record all the sound first, then do the packing. (It used to be a lot easier to do this, but Steampipe broke the other method.)
You'll need to record the voice lines with the same filenames as the sounds they're replacing, then pack the new sound/vo folder into a new VPK and rebuild the audio cache. Unfortunately you won't be able to hear them in the game until you do this, so it'll probably be easiest to record all the sound first, then do the packing. (It used to be a lot easier to do this, but Steampipe broke the other method.)
Quote from CamBen on August 17, 2014, 2:37 amFelixGriffin wrote:(It used to be a lot easier to do this, but Steampipe broke the other method.)What was the other method? adding a new folder directory into the gameinfo.txt?
What was the other method? adding a new folder directory into the gameinfo.txt?
Aperture Science: We do our science asbestos we can!
Quote from FelixGriffin on August 17, 2014, 9:39 amJust putting files into portal/sound/vo directly, since things outside a GCF had higher priority than things inside one.
Just putting files into portal/sound/vo directly, since things outside a GCF had higher priority than things inside one.
Quote from reepblue on August 17, 2014, 11:44 amFelixGriffin wrote:Just putting files into portal/sound/vo directly, since things outside a GCF had higher priority than things inside one.
- Code: Select all
SearchPaths
{
// First, mount all user customizations. This will search for VPKs and subfolders
// and mount them in alphabetical order. The easiest way to distribute a mod is to
// pack up the custom content into a VPK. To "install" a mod, just drop it in this
// folder.
//// Note that this folder is scanned only when the game is booted.
game+mod |gameinfo_path|custom/*// Now search loose files. We'll set the directory containing the gameinfo.txt file
// as the first "mod" search path (after any user customizations). This is also the one
// that's used when writing to the "mod" path.
game+mod+mod_write+default_write_path |gameinfo_path|.
gamebin |gameinfo_path|bin// We search VPK files before ordinary folders, because most files will be found in
// VPK and we can avoid making thousands of file system calls to attempt to open files
// in folders where they don't exist. (Searching a VPK is much faster than making an operating
// system call.)game_lv portal/portal_lv.vpk
game+mod portal/portal_sound_vo_english.vpk
game+mod portal/portal_pak.vpkgame |all_source_engine_paths|hl2/hl2_textures.vpk
game |all_source_engine_paths|hl2/hl2_sound_vo_english.vpk
game |all_source_engine_paths|hl2/hl2_sound_misc.vpk
game |all_source_engine_paths|hl2/hl2_misc.vpkplatform |all_source_engine_paths|platform/platform_misc.vpk
// Now search loose files. We'll set the directory containing the gameinfo.txt file
// as the first "mod" search path (after any user customizations). This is also the one
// that's used when writing to the "mod" path.
mod+mod_write+default_write_path |gameinfo_path|.// Add the Portal directory as a game search path. This is also where where writes
// to the "game" path go.
game+game_write portal// Where the game's binaries are
gamebin |gameinfo_path|/bin// Last, mount in shared HL2 loose files
game |all_source_engine_paths|portal
game |all_source_engine_paths|hl2
platform |all_source_engine_paths|platform
}
- Code: Select all
SearchPaths
{
// First, mount all user customizations. This will search for VPKs and subfolders
// and mount them in alphabetical order. The easiest way to distribute a mod is to
// pack up the custom content into a VPK. To "install" a mod, just drop it in this
// folder.
//// Note that this folder is scanned only when the game is booted.
game+mod |gameinfo_path|custom/*// Now search loose files. We'll set the directory containing the gameinfo.txt file
// as the first "mod" search path (after any user customizations). This is also the one
// that's used when writing to the "mod" path.
game+mod+mod_write+default_write_path |gameinfo_path|.
gamebin |gameinfo_path|bin// We search VPK files before ordinary folders, because most files will be found in
// VPK and we can avoid making thousands of file system calls to attempt to open files
// in folders where they don't exist. (Searching a VPK is much faster than making an operating
// system call.)game_lv portal/portal_lv.vpk
game+mod portal/portal_sound_vo_english.vpk
game+mod portal/portal_pak.vpkgame |all_source_engine_paths|hl2/hl2_textures.vpk
game |all_source_engine_paths|hl2/hl2_sound_vo_english.vpk
game |all_source_engine_paths|hl2/hl2_sound_misc.vpk
game |all_source_engine_paths|hl2/hl2_misc.vpkplatform |all_source_engine_paths|platform/platform_misc.vpk
// Now search loose files. We'll set the directory containing the gameinfo.txt file
// as the first "mod" search path (after any user customizations). This is also the one
// that's used when writing to the "mod" path.
mod+mod_write+default_write_path |gameinfo_path|.// Add the Portal directory as a game search path. This is also where where writes
// to the "game" path go.
game+game_write portal// Where the game's binaries are
gamebin |gameinfo_path|/bin// Last, mount in shared HL2 loose files
game |all_source_engine_paths|portal
game |all_source_engine_paths|hl2
platform |all_source_engine_paths|platform
}
The more you give, the less appreciated it will be received.
Quote from lucki_vibrato on August 17, 2014, 3:59 pmreepblue wrote:FelixGriffin wrote:Just putting files into portal/sound/vo directly, since things outside a GCF had higher priority than things inside one.
- Code: Select all
SearchPaths
{
// First, mount all user customizations. This will search for VPKs and subfolders
// and mount them in alphabetical order. The easiest way to distribute a mod is to
// pack up the custom content into a VPK. To "install" a mod, just drop it in this
// folder.
//// Note that this folder is scanned only when the game is booted.
game+mod |gameinfo_path|custom/*// Now search loose files. We'll set the directory containing the gameinfo.txt file
// as the first "mod" search path (after any user customizations). This is also the one
// that's used when writing to the "mod" path.
game+mod+mod_write+default_write_path |gameinfo_path|.
gamebin |gameinfo_path|bin// We search VPK files before ordinary folders, because most files will be found in
// VPK and we can avoid making thousands of file system calls to attempt to open files
// in folders where they don't exist. (Searching a VPK is much faster than making an operating
// system call.)game_lv portal/portal_lv.vpk
game+mod portal/portal_sound_vo_english.vpk
game+mod portal/portal_pak.vpkgame |all_source_engine_paths|hl2/hl2_textures.vpk
game |all_source_engine_paths|hl2/hl2_sound_vo_english.vpk
game |all_source_engine_paths|hl2/hl2_sound_misc.vpk
game |all_source_engine_paths|hl2/hl2_misc.vpkplatform |all_source_engine_paths|platform/platform_misc.vpk
// Now search loose files. We'll set the directory containing the gameinfo.txt file
// as the first "mod" search path (after any user customizations). This is also the one
// that's used when writing to the "mod" path.
mod+mod_write+default_write_path |gameinfo_path|.// Add the Portal directory as a game search path. This is also where where writes
// to the "game" path go.
game+game_write portal// Where the game's binaries are
gamebin |gameinfo_path|/bin// Last, mount in shared HL2 loose files
game |all_source_engine_paths|portal
game |all_source_engine_paths|hl2
platform |all_source_engine_paths|platform
}Oh, thank you, it worked perfectly!
- Code: Select all
SearchPaths
{
// First, mount all user customizations. This will search for VPKs and subfolders
// and mount them in alphabetical order. The easiest way to distribute a mod is to
// pack up the custom content into a VPK. To "install" a mod, just drop it in this
// folder.
//// Note that this folder is scanned only when the game is booted.
game+mod |gameinfo_path|custom/*// Now search loose files. We'll set the directory containing the gameinfo.txt file
// as the first "mod" search path (after any user customizations). This is also the one
// that's used when writing to the "mod" path.
game+mod+mod_write+default_write_path |gameinfo_path|.
gamebin |gameinfo_path|bin// We search VPK files before ordinary folders, because most files will be found in
// VPK and we can avoid making thousands of file system calls to attempt to open files
// in folders where they don't exist. (Searching a VPK is much faster than making an operating
// system call.)game_lv portal/portal_lv.vpk
game+mod portal/portal_sound_vo_english.vpk
game+mod portal/portal_pak.vpkgame |all_source_engine_paths|hl2/hl2_textures.vpk
game |all_source_engine_paths|hl2/hl2_sound_vo_english.vpk
game |all_source_engine_paths|hl2/hl2_sound_misc.vpk
game |all_source_engine_paths|hl2/hl2_misc.vpkplatform |all_source_engine_paths|platform/platform_misc.vpk
// Now search loose files. We'll set the directory containing the gameinfo.txt file
// as the first "mod" search path (after any user customizations). This is also the one
// that's used when writing to the "mod" path.
mod+mod_write+default_write_path |gameinfo_path|.// Add the Portal directory as a game search path. This is also where where writes
// to the "game" path go.
game+game_write portal// Where the game's binaries are
gamebin |gameinfo_path|/bin// Last, mount in shared HL2 loose files
game |all_source_engine_paths|portal
game |all_source_engine_paths|hl2
platform |all_source_engine_paths|platform
}
Oh, thank you, it worked perfectly!