File Types and Formats Last edited 2 years ago2022-10-09 19:09:27 UTC

You are viewing an older revision of this wiki page. The current revision may be more detailed and up-to-date. Click here to see the current revision of this page.
The following is a list of file types that can be found when doing modding work. Common items are bolded.
ExtensionNameEnginesRelevanceDetails
.bspBinary Space PartitionGoldSrc, SourceMappingThis is a compiled map file that the engine will load. Compile tools turn your map in the editor into a BSP file.
.fgdForge Game DataGoldSrc, SourceMappingThis is a definition file used by Hammer and other editors to detect what entities are available to be used. Each game and mod will use its own FGD file, so be sure to use the correct one for your game. The name "Forge" comes from the original codename for the Worldcraft editor, now known as Hammer.
.gamLibrary list fileGoldSrcGeneralEvery GoldSrc game/mod contains a liblist.gam file, describing properties about the game/mod.
.jmfJMFGoldSrc, id Tech 2/2.5/3 (Quake I/II/III)MappingJ.A.C.K.'s native map format, with features such as multiple VisGroups per object.
.linLinear PointfileGoldSrc, SourceMappingCompile tools will generate a pointfile when there is a leak in your map. You can open the pointfile in your editor to trace a line from the leaking entity to the outside of your map. It is recommended you use the LIN file over the PTS file, if it is available.
.logLog fileGoldSrc, SourceGeneralA log file is typically generated by compile tools or other programs to save their output to a file. You can view them in Notepad or any other text editor. If you have errors during your compile, you can check the log file for details.
.mapQuake MAP fileGoldSrcMappingThe MAP format is the format used by Quake editors and it can be used by GoldSrc editors as well, though an RMF is a better option. GoldSrc compile tools require a map to be in MAP format, however the editor will automatically do this.
.mdlModel fileGoldSrc, SourceMapping, ModelingModel files used in the game to represent players, NPCs, and props, separate from world geometry. These files contain meshes, skeleton, animations, and (in GoldSrc) texture data. While both engines' model formats use the same extension, they are not cross-compatible.
.pakPackage fileGoldSrcGeneralA simple archival file format containing game data used by Half-Life, to help improve file access time for 1998's hardware. Modern GoldSrc games distribution, and modern hardware, no longer needs it, but it's still supported.
.pntPointfileGoldSrc, SourceMappingCompile tools will generate a pointfile when there is a leak in your map. You can open the pointfile in your editor to trace a line from the leaking entity to the outside of your map, however it is sometimes difficult to follow the line. If your tools generate a .lin file, it will probably be easier to follow.
.prtPortal FileGoldSrcMappingGenerated by the CSG compiler, this file is used by the VIS compiler to generate the VIS data in a BSP.
.qcQuake code fileGoldSrcModelingA file format used by model compile/decompile tools, defining various properties of a model.
.radRadiosity FileGoldSrcMappingFile used by RAD compiler to light the map. Contains a list of texture names and their ighting values. Superceded by the info_texlights entity.
.resResource fileGoldSrcMappingLists the files game servers will send to clients to precache for a particular map. Found only in maps/ folder together with the bsp files. This file is needed to enable fast downloads with sv_downloadurl - without a .res file most files will not be downloaded from the HTTP server.
.resResource fileGoldSrc, SourceUISteam UI uses keyvalues file with .res extension. Found typically in resources/ folder.
.rmfRich Map FormatGoldSrcModellingRMF files are the source format of maps created by the Hammer editor. The format is perfect for GoldSrc maps, however it cannot be used for any other engine. Unlike the MAP format, RMF saves groups, visgroups, colours, and other metadata that Hammer displays.
.rmxRMF BackupGoldSrcMappingWhen Hammer saves your RMF, it first renames the existing RMF file to RMX. Think of it as a snapshot of your map from the previous save. It is not, however, a very good version control mechanism. You should store your map source files in a source control system such as SVN or Git.
.seqSequence fileGoldSrcMappingA scripting file format introduced to the engine in 2004 to script sentences and map events, though the vanilla SDK isn't prepared to use this.
.smdStudio Model DataGoldSrc, SourceModellingA file format used by model compile/decompile tools, containing actual mesh and/or animation data. Mainstream 3D modeling softwares needs to export to this format (natively or with plugins) for compilation into .mdl files that the game engines use.
.sprSprite fileGoldSrcMapping, TexturingThis is a sprite file for the Goldsource engine, used in map detailing, muzzleflashes, and the HUD.
.vmfValve Map FormatSourceMappingThe VMF format was created as a successor to the RMF format. Rather than RMF's binary layout, VMF uses a text based layout similar to XML or JSON. This is better for version control systems, and it also makes it easy for other editors to extend upon the format to add custom items.
.vmtValve Material TypeSourceMapping, TexturingThis is a material for the Source engine. A VMT is a text-based shader definition, the actual texture is typically stored in a related VTF file.
.vpkValve PackageSourceGeneralThis format is very similar to the PAK format used by Quake, however it is modified to match Valve's requirements. VPK files typically contain all the maps, models, materials, sounds, and other files for Source games downloaded from Steam.
.vtfValve Texture FormatSourceMapping, TexturingA file for that Source engine that contains image data. VTF files are referenced by a material specified by a VMT file.
.tgaTruevision TargaGoldSrcMapping, Texturing, UIThe in-game skybox, as well as UI elements such as the game background, uses this image format.
.txtPlain text fileGoldSrc, SourceMapping, Texturing, SoundVarious files used by the engines are in plain text, containing specially formatted text. Examples include gameinfo.txt (Source), titles.txt, sentences.txt, materials.txt, GameUI_*.txt, and *_detail.txt.
.wadWAD texture fileGoldSrcMapping, TexturingIn the Quake engine, WAD stands for "Where's All the Data?", as this format stored all the different data types used by the engine. In Goldsource, however, only textures are stored in WAD files. Use Wally to edit them.

Comments

You must log in to post a comment. You can login or register a new account.