|
|
#1 |
|
Volunteer Moderator
Join Date: Sep 2003
Reputation: 886
Posts: 16,586
|
How to create RES files for Source servers:
From Alfred:
For custom maps that have new resources (such as models or sounds) you need a file in the maps directory called <map name>.res that lists all the custom resources required by that map. It should contain the list of files that a client will download when they get the custom map from the server. The format of the file is: ----------------------------------------------- "resources" { "blabla.txt" "file" "sounds/blabla2.txt" "file" } -------------------------------------------------- Note the "file" parameter, the .res file consists of key values pairs and each value parameter must be "file" for map resource files. This file is needed for both in game downloading and for the http external downloader. __________________ Do you have private cheats or binaries? Feel free to PM me the information. Help keep games cheat free! Click to Contact VALVe Support. |
|
|
|
|
|
#2 |
|
Guest
Posts: n/a
|
I've had this working back in CZ and it appears that there were some changes in the Source version. I've got it working on Source now, but my banner doesn't seem to be showing. I've made a seperate directory called gfx with banner.gif as my banner. Did they leave out the banner option in sv_downloadurl for Source?
|
|
|
|
#3 |
|
Guest
Posts: n/a
|
just a clarification:
The res file is "married" to the bsp file. wherever you place the bsp you place the res. That is, you place the res file with the bsp in the download maps directory AND you place the res file in the game server maps directory. and you have to restart the srcds instance (server) to get updated res files in use. Thanks for making this sticky! |
|
|
|
#4 |
|
Guest
Posts: n/a
|
"
How to create RES files for Source servers: From Alfred: For custom maps that have new resources (such as models or sounds) you need a file in the maps directory called <map name>.res that lists all the custom resources required by that map. It should contain the list of files that a client will download when they get the custom map from the server. The format of the file is: ----------------------------------------------- "resources" { "blabla.txt" "file" "sounds/blabla2.txt" "file" } -------------------------------------------------- Note the "file" parameter, the .res file consists of key values pairs and each value parameter must be "file" for map resource files. This file is needed for both in game downloading and for the http external downloader. " Can you try to explain this a little better, im a noob, and Im not good in english too. please, can someone post an example or something? |
|
|
|
#5 | |
|
Volunteer Moderator
Join Date: Sep 2003
Reputation: 886
Posts: 16,586
|
Quote:
*url removed - dead link __________________ Do you have private cheats or binaries? Feel free to PM me the information. Help keep games cheat free! Click to Contact VALVe Support. Last edited by ocarD: 04-20-2006 at 03:25 PM. |
|
|
|
|
|
|
#6 |
|
Guest
Posts: n/a
|
tered: Feb 2003
Help making .res file work I have been reading tons on this and been working at it for hours I can't seem to get the textures to download from the server i have downloaded .res files from punkassfraggers and installed the .res file in the maps folder and also in the downloadlist folder but i still am missing the textures. Do i need to add something in the server.cfg file?? Please help we would like to run one of our servers with just custom maps Thanks smokin this is dedicated server without the gui pentium4 with a gig of ram |
|
|
|
#7 | |
|
Volunteer Moderator
Join Date: Sep 2003
Reputation: 886
Posts: 16,586
|
Quote:
__________________ Do you have private cheats or binaries? Feel free to PM me the information. Help keep games cheat free! Click to Contact VALVe Support. |
|
|
|
|
|
|
#8 |
|
Guest
Posts: n/a
|
i have used the file from above. It says when i go to propertys it is a .res file. Am i putting it in the right places??
I just copyed and pasted into a .res file and changed the name |
|
|
|
#9 |
|
Volunteer Moderator
Join Date: Sep 2003
Reputation: 886
Posts: 16,586
|
The RES file neds to be called <your_map_name>.res (where your_map_name is the name of the map) like de_dust.res
The map name and res file name MUST MATCH! Next add your items in the RES file that are needed for your custom map (as doen in the example above). Save the file and place it in the SAME directory as the map is in ... the MAPS directory. So now you have the map.bsp and the map.res in the same place. (this is obvisously on the server side, not client side) Now restart the map and the custom content *should* get sent to you. Oh and make sure you are using textpad or notepad ... NOT WORD. __________________ Do you have private cheats or binaries? Feel free to PM me the information. Help keep games cheat free! Click to Contact VALVe Support. |
|
|
|
|
|
#10 |
|
Guest
Posts: n/a
|
So the only place i need to add the .res file is in the map directory?? Thanks
Also when i download a .res file from punkassfraggers i need to change the name from iv_scoutzknivez to iv_scoutzknivez.res thanks |
|
|
|
#11 |
|
Volunteer Moderator
Join Date: Sep 2003
Reputation: 886
Posts: 16,586
|
Yes its only needed in the MAPS directory and they should all end in .res
__________________ Do you have private cheats or binaries? Feel free to PM me the information. Help keep games cheat free! Click to Contact VALVe Support. |
|
|
|
|
|
#12 |
|
Guest
Posts: n/a
|
"resources"
{ "materials/anoz/anoz_logo.vtf" "file" "materials/anoz/anoz_logo.vmt" "file" } this is what is inside the .res file it is in the maps folder its name is cs_twilight.res the map is cs_twilight.bsp and it still will not download anything I dont need to change anything in the downloadslist ?? i have tryed with the res file names cs_twilight.res and cs_twilight . it tells me its still a .res file like that when i check propertys also the materials are in the materials folder inside the cstrike not inside the map folder?? |
|
|
|
#13 |
![]() Join Date: Jul 2003
Reputation: 0
Posts: 175
|
is there an easy way for me to tell what is needed by a bsp?
|
|
|
|
|
|
#14 | |
|
Guest
Posts: n/a
|
Quote:
True! =) |
|
|
|
|
#15 |
|
Guest
Posts: n/a
|
Well I wasn't about to start making RES files manually, so I bribed my friend to make a new utility to make them automatically.
He has posted the tool at this link: http://www.srcds.com/forums/showthre...pid=808#pid808 |
|
![]() |
|
||||||
| Thread Tools | |
| Display Modes | |
|
|