Docs:Map Compressor
From Mod Wiki
Contents |
Map Compressor Description
In folder "C:\Program Files\X-Ray SDK\map_compressor"
is map compessor located. It serves for compressing compilated information and textures in one db file which is comfortable for exchange with other users.
In folder for_levels
compilated level and textures are located.
Folder names levels
and textures
can`t be changed.
In catalogue textures
intro
directory is located which content intro_map_pic_level_name.dds, intro_map_pic_level_name.thm, intro_level_name.dds, intro_level_name.thm.
In SDK initial files located which can become your intro files("C:\Program Files\X-Ray SDK\sources\intro_textures"
).
In folder levels
compilated level located, for example, mp_test
. in case if we use our own textures ( or add map into level, for example,map_mp_test.dds
), so we need to create corresponted catalogues into catalogue mp_test
, as it shown below
and copy textures with thm
files which are used on the level.
build_map.ltx
is necessary to set up parameters of level compressor. Below you can see example of this file with description of its content
[options] exclude_exts = *.ncb,*.sln,*.vcproj,*.old,*.rc,*.scc,*.vssscc,*.bmp [include_folders] levels\mp_test = true ; path to your level from current folder [header] auto_load = false ; do not change ! level_name = mp_test ; level name level_ver = 1.0 ; level version entry_point = $fs_root$\gamedata\ ; do not change ! creator = "GSC Game World" ; creator link = "www.stalker-game.com"
[include_folders] | Folders which will be compressed |
levels\mp_test | Directory with level |
[header] | Level description |
level_name | Level name |
level_ver | Level version |
creator | Level creator |
link | Link where you can download created map |
Map Compressor usage
To start map compressing , open file "C:\Program Files\X-Ray SDK\map_compressor\compress_map.cmd"