RES: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Holy, why that not existed? So i have created it.)
m (→‎top: clean up, replaced: {{goldsrc → {{gldsrc)
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
A  '''Ressource (<code>.res</code>)''' file  is a text file that list all custom texture, material, and model files.
{{disambig}}
It tells the client that he will load certain files from the server. You can edit it with any text editor.
RES is a file extension used for listing files which need to be downloaded alongside a BSP. The syntax differs between {{gldsrc|2}} and {{src|2}}; see the following pages for more information:
The .res files was often used on the [[Goldsource]] Engine to share custom content in maps. The [[Source Engine]] is supporting .res files too, but including the custom files wich a programm like [[Pakrat]] or [[PackBSP]] is a easier and space friendly method.
* [[Resource list (GoldSrc)]]
* [[Resource list (Source)]]


== Creating a .res file ==
It is also used as a file extension for [[RES file (VGUI)|files which control VGUI and VGUI2 formatting]].
Create a new file and name it '''exactly''' like your map, with the extension .res instead of. bsp.
And then add all sounds, models, sprites and textures with path, starting from the directory of the game or mod.
 
testmap.wad
testmap2.wad
sprites/testmap/glow.spr
models/barney.mdl
maps/testmap.res
 
Write the <code>maps/testmap.res</code> into the .res file, then people which downloading the map from a server can share the custom files.
 
== GUIs ==
A tool called "RESgen" can create automatically .res files by dragging the map into the programm icon.
 
==See also==
* [[Pakrat]]
* [[PackBSP]]
 
[[Category:Glossary]]
[[Category:File formats]]

Latest revision as of 12:50, 4 January 2024

Icon-disambig.png
This is a disambiguation page, a list of pages that otherwise might share the same title.
If an article link referred you to this title, you might want to go back and fix it to point directly to the intended page.

RES is a file extension used for listing files which need to be downloaded alongside a BSP. The syntax differs between GoldSrc GoldSrc and Source Source; see the following pages for more information:

It is also used as a file extension for files which control VGUI and VGUI2 formatting.