Search
Username:
Password:
Register or Reset Password
Remove the ads!
  
Embedding Custom Content In The BSP (Pakrat)
Difficulty: Beginner
Category: CS:S > Other/MiscAuthor(s): Rokusho

Introduction

When making custom content for maps, there is two ways to distribute it. The first way is to simple put the content in a folder and supply it alongside your BSP file. The better way to do it is to actually put the custom content into the actual BPS file, this means that it is impossible to recieve the map without the custom content included. It is also much more prefered by server admin, as they have less work to do when putting the map on their server.

This tutorial will show you how to use an appropriate program to place custom content into the BSP. The main program you will need to download is Pakrat. This is a version of BSPZIP with a better GUI.

How To Zip Content

First thing to do, is to make sure all of your custom content is in the correct folders of your CS:S game. Make sure your map is fully compiled as this should be one of the last jobs you do before distribution of your map.

Install the program and open it by double-clicking "pakrat" which is a MS-DOS Batch file. Select the BSP file that you want to add content to (Screenshot B), this will then display what is already inside it. Then click "add" to place your custom content into the BSP (Screenshot C), it should automatically set the file path correctly and after everything is added you will have something that looks like Screenshot D.

Then click on "save" and then the BSP will be modified. You can save it under a different name, but you can save it under the same filename, replacing the version without content zipped into it.

Alternativly to manually doing it, you can click on "auto" that will literally automatically add the content. However this doesn't always work, so is better to do it manually. Remember that this can be used with any Source game, or any that uses .BSP files to save its maps.

Finally, i suggest giving a friend the file to make sure that nothing is missing and you have suceeded in zipping all the content into it. There you have it, it is very simple to do this and should be done with ANY custom content included in BSP files. However this is only suitable for single, one off maps like a CS:S map.
Added: 2 years agoTags: embedding, custom, content, pakrat
Feedback (24)
Page of 3   1 2 3 Next Page
Ryan .
BananiteY2M
Posted 2 months ago
Do you have one for 64 bite not 32 bit
- Bananite
.
Level design ImpsY2M
Posted 3 months ago
It can't see any .raw files for ColorCorrection.
What should I do to make it be able to add it?

Edit: I think I got it to work.
.
Will map for food.Y2M
Posted 3 months ago
However, not everyone runs a server with Mani and know how to do that.
.
Ripe... It's like almost Rape...Y2M
Posted 3 months ago
Posted by Rokusho

Posted by iShot

So this actually put custom stuff in your map?

When you create a custom piece of content for a map, it needs to be included in the maps file, otherwise people who download the map will not have that piece of custom content and will not be able to see it in your map.


Except if you make a mani admin plugin download list...
.
Will map for food.Y2M
Posted 3 months ago
Posted by iShot

So this actually put custom stuff in your map?

When you create a custom piece of content for a map, it needs to be included in the maps file, otherwise people who download the map will not have that piece of custom content and will not be able to see it in your map.
.
Ripe... It's like almost Rape...Y2M
Posted 3 months ago
So this actually put custom stuff in your map?
valmar100 .
Making tutorials again....Hopefully lol.Y2M
Posted 5 months ago
Pros: wroks good
.
Yes, you may buy my uber, just post.Y2M
Posted 8 months ago
Does pacrat work with CS 1.6? if not, is there any tool like pacrat that will?
Runaway of CSF .
BananiteY2M
Posted 10 months ago
I click "save" (the one under the the file tab, not at the bottom) and when i go to exit pakrat is says "changed have not been saved". Also i had to manually put it the textures, sounds, radar (won't let me get to where i can put in nav file =[ ) I'm just getting my custom stuff in blue text and no check mark by it saying it's in, and it won't let me check mark it.
What am i doing wrong?

**edit** nvm, i had to save it else where than under the maps folder (which it wouldn't let me into....)
- Bananite
Whisky .
God's seen campy bean.Y2M
Posted 10 months ago
Ok thnx, last question, i got a texture wich includes credits on who helped me with the map, but i dunno where to put the VMF and the VTF files... i put them in Materials but where in materials? isnt there a map like textures? So ATM i put them in cstrike/materials/VGUI/logos

*EDIT* when you say it should look like this *screenshot b* your costum files have a V under IN, mine has an open field at IN

WHY!! :(

AND when i klick Scan, and then scan in the scan windows it gives a list on textures wich are found and not found and mine keeps saying not found :( wtf am i doing wrong :(
Page of 3   1 2 3 Next Page
Add Feedback
Provide constructive feedback. What is "constructive"?
You cannot post yet!
Get involved on FPSB by posting your thoughts. Give authors your feedback to help them develop.

To post in this submission register or login.
Assessment
The community's verdict.
User Rating [+]
9.6/10
bScore
9.6/10
You cannot assess yet!
Moderating FPSB is in your hands - when you assess a submission your vote determines its success or failure.

To vote on this submission register or login.
Stamps
This Tutorial in a nutshell...
Useful & Informative
You cannot stamp yet!
Stamps let you apply characteristics to submissions to help others understand them.

To stamp this submission register or login.




Added by...
.
Will map for food.
Subject Omega Mod Leader and Ripe Member

[+] Donate
Related Tutorials