Skip to main content

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 / FolderDescription
fsgame.ltx

The main configuration file that defines the paths to critical resource folders.

binContains 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.

appdataA folder containing user data created during gameplay.

Contents of the appdata folder

File / FolderDescription
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.

screenshotsFolder 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 / FolderDescriptionKey file formats
aiFiles required for AI to function.*.efd
animsCamera animation files, paths, and image post-processing.*.anm, *.ppe
configsConfiguration files and localization files.*.ltx, *.xml
levelsLevel files.
meshes3D models, skeletons, and animations of characters and objects.*.ogf, *.dm, *.omf
scriptsScripts that define game logic.*.script
shadersShader source files.
soundsSound effects, music, and ambient sounds.*.ogg
spawnsFiles with spawn points for characters and objects in locations.*.spawn
texturesTextures for models and interface.*.dds

Key resource files (*.xr)

File / FolderDescription
gamemtl.xr

Database of game materials and their properties (sound of footsteps, durability, bullet marks, etc.).

lanims.xrLight source animations (flickering, fading).
particles.xrParticle system data (fire, smoke, rain).
senvironment.xr

Settings for sound environments (echo in caves, sound in rooms).

shaders.xrLibrary of shaders used by the rendering engine.
shaders_xrlc.xrLibrary of shaders used by the level compiler (xrLC).