problems with PakRat

Avatar
lanz
14 Posts
Posted Jun 08, 2011
I've added a custom sound to my map, and pakRat doesn't 'auto' to find it. Then I added it manually, and it makes the map invalid. I'm obviously doing something wrong, I just don't know what! I even added more textures and stock sounds, and pakRat still doesn't even read that there are more resources...
Advertisement
Registered users don’t see ads! Register now!
Avatar
Will T.
163 Posts
Posted Jun 08, 2011
Replied 4 minutes later
Use the .VPK packaging method for Portal 2 maps - it's Valve-made, and unlike Pakrat, is designed for Portal 2. :wink:

Here's info on how to make your .VPK.

Avatar
Omnicoder
299 Posts
Posted Jun 08, 2011
Replied 1 minutes later
packbsp and pakrat have various issues with l4d+ games. You might as well just use Valve's bspzip since it'll always work, they release new versions with every game.

Quote:
Use the .VPK packaging method for Portal 2 maps - it's Valve-made, and unlike Pakrat, is designed for Portal 2.

Can't package custom sounds in VPKs or replace default files; things of those natures must be embedded in the bsp.

Avatar
lanz
14 Posts
Posted Jun 08, 2011
Replied 1 hour later
thanks! Hey omnicoder, can you point me in a good direction on using bspzip on windows that's easy?
Avatar
Omnicoder
299 Posts
Posted Jun 08, 2011
Replied 4 minutes later

lanz wrote:
thanks! Hey omnicoder, can you point me in a good direction on using bspzip on windows that's easy?

http://developer.valvesoftware.com/wiki/BSPZIP gives command line usage.

Avatar
lanz
14 Posts
Posted Jun 08, 2011
Replied 2 hours later
omnicoder, you-are-awesome
Avatar
DaMaGepy
361 Posts
Posted Jun 09, 2011
Replied 11 hours later

lanz wrote:
thanks! Hey omnicoder, can you point me in a good direction on using bspzip on windows that's easy?

I made a topic about how I do this.
I just make a txt file and list the files there, and hamer automatically includes them to the bsp:

mapping-help/include-pack-things-into-a-bsp-my-way-t2761.html

Avatar
Terr
7 Posts
Posted Jun 10, 2011
Replied 1 day later

Omnicoder wrote:
Can't package custom sounds in VPKs or replace default files; things of those natures must be embedded in the bsp.

Could you add a bit more detail about this? By "custom sounds" do you mean replacements for preexisting sounds, or is it something else?

Avatar
lanz
14 Posts
Posted Jun 10, 2011
Replied 1 hour later

terr

it's making your own sounds, OR altering the preexisting sounds, and including them on your map.
I actually made a tutorial about it based off DaMaGeppi's method, here...

http://youtu.be/OInSauhy33M

Avatar
Terr
7 Posts
Posted Jun 10, 2011
Replied 13 minutes later
Dang, that sound pretty crappy, so you can't even add your own sound effects to go with new models, at least not through VPKing...

Does L4D2 or Alien Swarm do that as well, or is it some Valve-bug within the Portal 2 authoring tools?

Advertisement
Registered users don’t see ads! Register now!
Avatar
Terr
7 Posts
Posted Jun 14, 2011
Replied 4 days later
Bump? Is it possible that sounds-in-VPKs work fine unless someone puts them in the root sound directory or doesn't refresh the soundcache?

Edit: To answer this for anyone coming across this thread by searching, see the topic: "Custom Sounds and Scenes".