SRCDS Steam group


sv_downloadurl tutorial questions and suggestions
CapsAdmin Wrote:
css Wrote:
CapsAdmin Wrote:Wait, not ALL hope is lost, what if I edit the bsp and include the sounds in there?

I usually host with the same map anyway. (garrysmod)

That is possible if you can get the sounds included. I believe it's possible by doing separate "resource" file and then following instructions how to combine it (the resource) with the .bsp file.

I've been googling for hours, how exactly does this work?
Here are some general instructions: http://developer.valvesoftware.com/wiki/Bspzip

My instructions:

Create new text file and write in the file something like:

Code:
sounds/gm_somemap/sound1.wav
C:/program files/steam/steamapps/username/garrysmod/gmod/sound/gm_somemap/sound1.wav
sounds/gm_somemap/sound2.wav
C:/program files/steam/steamapps/username/garrysmod/gmod/sound/gm_somemap/sound2.wav
So you can see there's exactly like in the Valve's instructions:
Quote:
Code:
The 'file list' is a .txt file containing this pattern:
internal_path\file1
external_path\file1
internal_path\file2
external_path\file2
...
The first line is the internal name (which is relative to the mod directory), and the second line is the actual file on your computer.

Then you run bspzip command as in the Valve's instructions:

Code:
bspzip -addlist <input bsp> <file list> <output bsp>

So for you it becomes something like:

Code:
bspzip -addlist gm_somemap.bsp mysoundfiles.txt gm_somemap_sounds-included.bsp

I strongly recommend that you read the page at http://developer.valvesoftware.com/wiki/Bspzip thoroughly. It contains all answers you need. If you can't find answer from that page you can find instructions somewhere else with google keywords "bspzip" and something else.

PS. Could some mod split these posts (mine and CapsAdmin's) to separate thread. Thanks. Title for example "Combine external files to .bsp file".
Reply


Messages In This Thread
RE: sv_downloadurl - Breezily - 12-04-2007, 04:00 PM
RE: sv_downloadurl tutorial questions and suggestions - css - 02-08-2009, 07:04 AM

Forum Jump:


Users browsing this thread: