File structures in Valve games: Difference between revisions
(22 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{LanguageBar}} | ||
{{Todo|Add a seperate section for GoldSrc and Source 2.}} | |||
This information is from a Windows 10 computer. Some things may not apply for users on other operating systems. It may also be different if you have a non-standard installation of your operating system, Steam, or any game. | This information is from a Windows 10 computer. Some things may not apply for users on other operating systems. It may also be different if you have a non-standard installation of your operating system, Steam, or any game. | ||
Line 17: | Line 18: | ||
====Program Files (x86)==== | ====Program Files (x86)==== | ||
This is where most programs you download will be installed to. | This is where most 32-bit programs you download will be installed to if you have 64-bit operating systems. For 32-bit operating systems, only Program Files folder exist. | ||
<Br>All 64-bit Steam games would install on this location. | |||
==Steam== | ==Steam== | ||
Line 23: | Line 25: | ||
==steamapps== | ==steamapps== | ||
This folder holds all or nearly all games and mods. Most things outside of this folder are just for the Steam program itself. {{todo|Expand on what's in here.}} | This folder holds all or nearly all games and mods. Most things outside of this folder are just for the Steam program itself. Such as ACF files which was used to show installed games on the Steam Library. {{todo|Expand on what's in here.}} | ||
==common== | ==common== | ||
This holds all or nearly all the games (and some tools) you've downloaded from Steam. The folders in here are known as '''game folders'''. | This holds all or nearly all the games (and some tools) you've downloaded from Steam. The folders in here are known as '''game folders'''. Some of them will have the exact same names as the game names on their Steam store pages. | ||
==game folder== | ==game folder== | ||
Line 38: | Line 40: | ||
Folders under a mod folder will replace corresponding content inside a [[VPK]]. For example, if you put a file at <code>modfolder\models\player\player.mdl</code>, it would replace the file at <code>VPKNAME.vpk\models\player\player.mdl</code>. | Folders under a mod folder will replace corresponding content inside a [[VPK]]. For example, if you put a file at <code>modfolder\models\player\player.mdl</code>, it would replace the file at <code>VPKNAME.vpk\models\player\player.mdl</code>. | ||
List of all mod folders: {{todo|add CSNZ and deleted scenes, DODS, | List of all mod folders: {{todo|add CSNZ (Nexon Studio) and deleted scenes, DODS}} | ||
{{Todo|Add section to separate GoldSrc, Source and Source 2 games.}} | |||
{{ExpandBox| | {{ExpandBox| | ||
{{ | ;GoldSrc | ||
{{cs}}Counter-Strike: <code>Half-Life\cstrike</code> | |||
{{cscz}}Counter-Strike: Condition Zero: <code>Half-Life\czero</code> | |||
{{czds}}CS Condition Zero Deleted Scenes: <code>Half-Life\czeror</code> | |||
{{dmc}}Deathmatch Classic: <code>Half-Life\dmc</code> | |||
{{dod}}Day of Defeat: <code>Half-Life\dod</code> | |||
{{ | {{hl1}}Half-Life: <code>Half-Life\valve</code> | ||
{{ | {{hlbs}}HL: Blue Shift: <code>Half-Life\bshift</code> | ||
{{ | {{hlop4}}HL: Opposing Force: <code>Half-Life\gearbox</code> | ||
{{ | {{ricochet}}Ricochet: <code>Half-Life\ricochet</code> | ||
{{tfc}}Team Fortress Classic: <code>Team Fortress 2\tfc</code> | |||
{{ | ;Source | ||
{{as}}Alien Swarm: <code>Alien Swarm\swarm</code> | |||
{{ | {{csgo}}Counter-Strike: Global Offensive: <code>Counter-Strike Global Offensive\csgo</code> | ||
{{ | {{css}}Counter-Strike: Source: <code>counter-strike source\cstrike</code> | ||
{{ | {{css}}CS:S (HL2 base content): <code>counter-strike source\hl2</code> | ||
{{ | {{dods}}Day of Defeat: Source: <code>day of defeat source\dod</code> | ||
{{ | {{GMOD}}Garry's Mod: <code>GarrysMod\garrysmod</code> | ||
{{ | {{hldms}}HLDM:Source: <code>Half-Life 1 Source Deathmatch\hl1mp</code> | ||
{{ | {{hls}}HL:Source: <code>Half-Life 2\hl1</code> | ||
{{hl2}}Half-Life 2: <code>Half-Life 2\hl2</code> | {{hl2}}Half-Life 2: <code>Half-Life 2\hl2</code> | ||
{{ | {{hl2ep1}}HL2: Episode One: <code>Half-Life 2\episodic</code> | ||
{{ | {{hl2ep2}}HL2: Episode Two: <code>Half-Life 2\ep2</code> | ||
{{ | {{hl2lc}}HL2: Lost Coast: <code>Half-Life 2\lostcoast</code> | ||
{{ | {{hl2dm}}HL2: Deathmatch: <code>Half-Life 2 Deathmatch\hl2mp</code> | ||
{{hl2}} | {{hl2}} HL2: DM (HL2 base content): <code>Half-Life 2 Deathmatch\hl2</code> | ||
{{l4d}}Left 4 Dead: <code>left 4 dead\left4dead</code> | {{l4d}}Left 4 Dead: <code>left 4 dead\left4dead</code> | ||
{{l4d}}L4D ( | {{l4d}}L4D (The Sacrifice DLC): <code>left 4 dead\left4dead_dlc3</code> | ||
{{l4d2}}Left 4 Dead 2: <code>Left 4 Dead 2\left4dead2</code> | {{l4d2}}Left 4 Dead 2: <code>Left 4 Dead 2\left4dead2</code> | ||
{{l4d2}}L4D2 ( | {{l4d2}}L4D2 (The Passing DLC): <code>Left 4 Dead 2\left4dead2_dlc1</code> | ||
{{l4d2}}L4D2 ( | {{l4d2}}L4D2 (L4D1 content): <code>Left 4 Dead 2\left4dead2_dlc2</code> | ||
{{l4d2}}L4D2 ({{ | {{l4d2}}L4D2 (More L4D1 content and Cold Stream): <code>Left 4 Dead 2\left4dead2_dlc3</code> | ||
{{l4d2}}L4D2 (Update & Last Stand update): <code>Left 4 Dead 2\update</code> | |||
{{portal}}Portal: <code>Portal\portal</code> | {{portal}}Portal: <code>Portal\portal</code> | ||
{{portal}}Portal (HL2 content): <code>Portal\hl2</code> | {{portal}}Portal (HL2 base content): <code>Portal\hl2</code> | ||
{{portal2}}Portal 2: <code>Portal 2\portal2</code> | {{portal2}}Portal 2: <code>Portal 2\portal2</code> | ||
Line 98: | Line 115: | ||
{{portal2}}Portal 2 (Art Therapy content): <code>Portal 2\portal2_dlc1</code> | {{portal2}}Portal 2 (Art Therapy content): <code>Portal 2\portal2_dlc1</code> | ||
{{portal2}}Portal 2 ( | {{portal2}}Portal 2 ([[Portal_2_Puzzle_Maker|Puzzle Maker]] content): <code>Portal 2\portal2_dlc2</code> | ||
{{ | {{tf2}}Team Fortress 2: <code>Team Fortress 2\tf</code> | ||
{{tf2}}TF2 (HL2 base content): <code>Team Fortress 2\hl2</code> | |||
;Source 2 | |||
{{cs2}}Counter-Strike 2: <code>Counter-Strike Global Offensive\game\csgo</code> | |||
{{deadlock}}Deadlock: <code>Deadlock\game\citadel</code> | |||
{{dota2}}Dota 2: <code>dota 2 beta\game\dota</code> | |||
{{ | {{hla}}Half-Life: Alyx: <code>Half-Life Alyx\game\hlvr</code> | ||
}} | }} | ||
=== | ===addons=== | ||
This folder is not created by default in most games, but most plugins such as [[SourceMod]] and MetaMod: Source are usually installed on this directory. | |||
In games such as {{p3|1}} (latest Steam/Zoom version only), and all or most games since {{l4dbranch|1}}, this is where custom content was installed, such as: custom models, maps, sounds, etc...; In {{l4dbranch|1}} (or in some games), only [[VPK]] files were supported for custom content. | |||
This folder was also used by {{gmod|1}} for it's custom content (such as Lua scripts, and other mentioned above). They either contains folders or [[GMA]] file. | |||
==== workshop ==== | |||
Contains addons downloaded from [[Steam Workshop]]. | |||
===cfg=== | ===cfg=== | ||
Holds many configuration files. See [[CFG]] for more info on the files inside. | Holds many configuration files. See [[CFG]] for more info on the files inside. | ||
===custom=== | |||
{{src13|only}} | |||
Similar to {{code|addons}} in {{l4dbranch|1}} games, except both folders and [[VPK|VPKs]] are supported. According to {{code|readme.txt}} file included inside, using VPKs is recommended over creating a subfolders to reduce loading times. | |||
===logos=== | |||
Contains spraypaints for a multiplayer game. | |||
===manual=== | |||
Contains a manual explaining a multiplayer game. | |||
===maps=== | ===maps=== | ||
Holds all the [[BSP]] files for a game. | Holds all the [[BSP]] files for a game. On some games, such as {{hl2u|1}}, may also include [[LMP]] files used to patching the game levels without recompiling maps. | ||
Other games like Portal placed {{Code|.lmp}} files into {{code|maps}} folder on VPK ({{code|portal_pak_dir.vpk}}). | |||
====maps\workshop==== | ====maps\workshop==== | ||
Line 121: | Line 166: | ||
====maps\graphs==== | ====maps\graphs==== | ||
Stores [[AIN]] files used by AI systems. | Stores [[AIN]] files used by AI systems. | ||
===mapsrc=== | |||
Usually not shipped with a game, but it's recommended you make and store [[VMFs]] in here so that your <code>maps</code> folder will not become cluttered. They may be also located somewhere else like {{path|sdk_content\mapsrc}} (on {{l4dbranch|1}} and above). | |||
===media=== | ===media=== | ||
Usually holds [[BIK]] files. (Video files for things such as the startup video) | Usually holds [[AVI]] ({{src06}} or earlier), [[BIK]] ({{src07}} and later) or [[WebM]] (some {{src}} games) files. (Video files for things such as the startup video or FMV cutscenes) | ||
===models=== | ===models=== | ||
Stores models. | Stores [[models]]. | ||
===particles=== | ===particles=== | ||
Line 135: | Line 183: | ||
===reslists/downloadlists=== | ===reslists/downloadlists=== | ||
See [[Content_Streaming | See [[Content_Streaming]]. | ||
===resource=== | ===resource=== | ||
Contains various files dealing with text and languages, and other [[VGUI]] resources. | |||
===SAVE=== | ===SAVE=== | ||
Line 147: | Line 195: | ||
===screenshots=== | ===screenshots=== | ||
Self-expanatory. | Self-expanatory. Screenshots saved in both [[JPG]] or [[TGA]] format. | ||
===scripts=== | ===scripts=== | ||
Contains many files defining properties for [[weapons]], [[vehicles]], [[soundscapes]], and more. | Contains many files defining properties for [[weapons]], [[vehicles]], [[soundscapes]], and more. | ||
===sound=== | |||
Contain sound files and game music. | |||
===.vpk=== | ===.vpk=== | ||
Line 158: | Line 209: | ||
{{distinguish|SourceMod|desc1=The server plugin}} | {{distinguish|SourceMod|desc1=The server plugin}} | ||
Usually, a mod that isn't available on Steam can be manually placed here. Steam will recognize a non-Steam mod if it is in this folder and the mod is configured properly. | Usually, a {{src|1}} mod that isn't available on Steam can be manually placed here. Steam will recognize a non-Steam mod if it is in this folder and the mod is configured properly. | ||
[[Category:Files]] |
Latest revision as of 22:29, 9 July 2025


This information is from a Windows 10 computer. Some things may not apply for users on other operating systems. It may also be different if you have a non-standard installation of your operating system, Steam, or any game.
- C:
- Program Files (x86)
- Steam
- steamapps
- common
- Game Folders
- mod folders
- Game Folders
- sourcemods
- common
- steamapps
- Steam
- Program Files (x86)
C:
This is your system's C
drive. It probably holds everything on your computer.
Program Files (x86)
This is where most 32-bit programs you download will be installed to if you have 64-bit operating systems. For 32-bit operating systems, only Program Files folder exist.
All 64-bit Steam games would install on this location.
Steam
This folder is where most data for Steam is kept on your computer.
steamapps
This folder holds all or nearly all games and mods. Most things outside of this folder are just for the Steam program itself. Such as ACF files which was used to show installed games on the Steam Library.
common
This holds all or nearly all the games (and some tools) you've downloaded from Steam. The folders in here are known as game folders. Some of them will have the exact same names as the game names on their Steam store pages.
game folder
The name of a game folder usually clearly states what's inside it; Portal 2
contains everything for the game, Portal 2. For Source games, this includes base engine things, such as Hammer and integration with Steam (for achievements, playing status, etc).
mod folder
Mod folders hold all the content that a regular player sees while playing a game. Mod folders can use content from other mod folders in the same game folder, using gameinfo.txt. Confusingly, one is also called a game directory sometimes.
Usually named after an abbreviation for a game, such as hl2
for Half-Life 2.
Folders under a mod folder will replace corresponding content inside a VPK. For example, if you put a file at modfolder\models\player\player.mdl
, it would replace the file at VPKNAME.vpk\models\player\player.mdl
.
List of all mod folders:
- GoldSrc
Counter-Strike:
Half-Life\cstrike
Counter-Strike: Condition Zero:
Half-Life\czero
CS Condition Zero Deleted Scenes:
Half-Life\czeror
Deathmatch Classic:
Half-Life\dmc
HL: Blue Shift:
Half-Life\bshift
HL: Opposing Force:
Half-Life\gearbox
Team Fortress Classic:
Team Fortress 2\tfc
- Source
Alien Swarm:
Alien Swarm\swarm
Counter-Strike: Global Offensive:
Counter-Strike Global Offensive\csgo
Counter-Strike: Source:
counter-strike source\cstrike
CS:S (HL2 base content):
counter-strike source\hl2
Day of Defeat: Source:
day of defeat source\dod
Garry's Mod:
GarrysMod\garrysmod
HLDM:Source:
Half-Life 1 Source Deathmatch\hl1mp
HL2: Episode One:
Half-Life 2\episodic
HL2: Episode Two:
Half-Life 2\ep2
HL2: Lost Coast:
Half-Life 2\lostcoast
HL2: Deathmatch:
Half-Life 2 Deathmatch\hl2mp
HL2: DM (HL2 base content):
Half-Life 2 Deathmatch\hl2
Left 4 Dead:
left 4 dead\left4dead
L4D (The Sacrifice DLC):
left 4 dead\left4dead_dlc3
Left 4 Dead 2:
Left 4 Dead 2\left4dead2
L4D2 (The Passing DLC):
Left 4 Dead 2\left4dead2_dlc1
L4D2 (L4D1 content):
Left 4 Dead 2\left4dead2_dlc2
L4D2 (More L4D1 content and Cold Stream):
Left 4 Dead 2\left4dead2_dlc3
L4D2 (Update & Last Stand update):
Left 4 Dead 2\update
Portal (HL2 base content):
Portal\hl2
Portal 2 (Art Therapy content):
Portal 2\portal2_dlc1
Portal 2 (Puzzle Maker content):
Portal 2\portal2_dlc2
Team Fortress 2:
Team Fortress 2\tf
TF2 (HL2 base content):
Team Fortress 2\hl2
- Source 2
Counter-Strike 2:
Counter-Strike Global Offensive\game\csgo
addons
This folder is not created by default in most games, but most plugins such as SourceMod and MetaMod: Source are usually installed on this directory.
In games such as Postal III (latest Steam/Zoom version only), and all or most games since Left 4 Dead engine branch, this is where custom content was installed, such as: custom models, maps, sounds, etc...; In Left 4 Dead engine branch (or in some games), only VPK files were supported for custom content.
This folder was also used by Garry's Mod for it's custom content (such as Lua scripts, and other mentioned above). They either contains folders or GMA file.
workshop
Contains addons downloaded from Steam Workshop.
cfg
Holds many configuration files. See CFG for more info on the files inside.
custom
(only in )
Similar to addons in Left 4 Dead engine branch games, except both folders and VPKs are supported. According to readme.txt file included inside, using VPKs is recommended over creating a subfolders to reduce loading times.
logos
Contains spraypaints for a multiplayer game.
manual
Contains a manual explaining a multiplayer game.
maps
Holds all the BSP files for a game. On some games, such as Half-Life 2: Update, may also include LMP files used to patching the game levels without recompiling maps.
Other games like Portal placed .lmp files into maps folder on VPK (portal_pak_dir.vpk).
maps\workshop
For games that allow workshop content, maps downloaded from the workshop will be stored in here.
maps\graphs
Stores AIN files used by AI systems.
mapsrc
Usually not shipped with a game, but it's recommended you make and store VMFs in here so that your maps
folder will not become cluttered. They may be also located somewhere else like sdk_content\mapsrc
(on Left 4 Dead engine branch and above).
media
Usually holds AVI ( or earlier), BIK (
and later) or WebM (some
games) files. (Video files for things such as the startup video or FMV cutscenes)
models
Stores models.
particles
May hold manifest files (particles_manifest.txt) or PCF files.
puzzles 
Contains automatic screenshots and P2C files of any Portal 2 tests you've made with the in-game puzzlemaker.
reslists/downloadlists
See Content_Streaming.
resource
Contains various files dealing with text and languages, and other VGUI resources.
SAVE
Contains all Save Game Files.
scenes
Contains scenes.image.
screenshots
Self-expanatory. Screenshots saved in both JPG or TGA format.
scripts
Contains many files defining properties for weapons, vehicles, soundscapes, and more.
sound
Contain sound files and game music.
.vpk
A VPK can hold most things one would find in the folders under a mod folder directory. Some things have to specifically be placed inside or outside of a VPK.
sourcemods
Usually, a Source mod that isn't available on Steam can be manually placed here. Steam will recognize a non-Steam mod if it is in this folder and the mod is configured properly.