Please or Register to create posts and topics.

[SOLVED] I need help replacing sounds in Portal

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? :)

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.)

Falsi sumus crusto!
FelixGriffin 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?

My YouTube Channel: https://www.youtube.com/user/Camben24
Aperture Science: We do our science asbestos we can!

Just putting files into portal/sound/vo directly, since things outside a GCF had higher priority than things inside one.

Falsi sumus crusto!
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.vpk

         game            |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.vpk

         platform         |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
      }

https://www.youtube.com/watch?v=UJCwkBpqNLk

:A Little Higher: :Tornate: :Blue Portals: :Vectronic: :Youtube: :Twitter: : ModDB: :Old Sig:

The more you give, the less appreciated it will be received.
reepblue 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.vpk

         game            |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.vpk

         platform         |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
      }

https://www.youtube.com/watch?v=UJCwkBpqNLk

Oh, thank you, it worked perfectly!