Main Folders And Files
About
This guide describes the purpose of key folders and files.
Root files and folders
Files and folders located in the main game directory.
File / Folder | Description |
---|---|
fsgame.ltx | The main configuration file that defines the paths to critical resource folders. |
bin | Contains the game's executable files (*.exe). |
db | Contains packaged game resources in archives. Has a lower priority than the gamedata folder. If the file exists in gamedata, the game will use it instead of the version from *.db. |
gamedata | The game primarily searches for resources here. If the folder is missing, data from the *.db is used. The structure of its subfolders mirrors the structure of the archives. |
tools | Contains auxiliary tools for modding: icons for add-ons, resource converters, *.bat files for unpacking .db archives. |
appdata | A folder containing user data created during gameplay. |
Contents of the appdata folder
File / Folder | Description |
---|---|
logs | Game log files (logs of object and texture downloads, etc.) are created and stored. These are useful for debugging mods and identifying the causes of crashes. |
savedgames | Game save files (files with the extensions *.scop and *.scoc) are created and stored. |
screenshots | Folder for screenshots taken in the game. |
shaders_cache | Cache of compiled shaders. Needed to speed up game loading after the first launch. |
"username".ltx | A personal file containing the user's game settings (graphics, sound, controls). |
Contents of the gamedata folder
File / Folder | Description | Key file formats |
---|---|---|
ai | Files required for AI to function. | *.efd |
anims | Camera animation files, paths, and image post-processing. | *.anm, *.ppe |
configs | Configuration files and localization files. | *.ltx, *.xml |
levels | Level files. | |
meshes | 3D models, skeletons, and animations of characters and objects. | *.ogf, *.dm, *.omf |
scripts | Scripts that define game logic. | *.script |
shaders | Shader source files. | |
sounds | Sound effects, music, and ambient sounds. | *.ogg |
spawns | Files with spawn points for characters and objects in locations. | *.spawn |
textures | Textures for models and interface. | *.dds |
Key resource files (*.xr)
File / Folder | Description |
---|---|
gamemtl.xr | Database of game materials and their properties (sound of footsteps, durability, bullet marks, etc.). |
lanims.xr | Light source animations (flickering, fading). |
particles.xr | Particle system data (fire, smoke, rain). |
senvironment.xr | Settings for sound environments (echo in caves, sound in rooms). |
shaders.xr | Library of shaders used by the rendering engine. |
shaders_xrlc.xr | Library of shaders used by the level compiler (xrLC). |