1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-11-26 08:41:13 +02:00
vcmi/config/filesystem.json
Ivan Savenko 9c1c337a3d - fixed #1220 and #1218
- vcmibuilder will correctly install campaign video
2013-02-27 15:46:14 +00:00

63 lines
1.9 KiB
JSON

{
// Complete filesystem available after initialization
// All paths and names here are case-insensitive
// If same filename is found twice entry from latest source will be used
// path can start from:
// "GLOBAL" - global location for data files. /usr/share/vcmi | C:\Program files\Heroes 3\
// "LOCAL" - local user-specific files. ~/.vcmi | same as global (TODO: move it to C:\Users\whatever)
// "ALL" - will check local directory first or (if was not found) in global directory
// NOTE: this file must be available as "ALL/config/filesystem.json"
"filesystem":
{
"DATA/" :
[
{"type" : "lod", "path" : "ALL/Data/H3ab_bmp.lod"},
{"type" : "lod", "path" : "ALL/Data/H3bitmap.lod"},
{"type" : "dir", "path" : "ALL/Data"}
],
"SPRITES/":
[
{"type" : "lod", "path" : "ALL/Data/H3ab_spr.lod"},
{"type" : "lod", "path" : "ALL/Data/H3sprite.lod"},
{"type" : "dir", "path" : "ALL/Sprites"}
],
"SOUNDS/":
[
{"type" : "snd", "path" : "ALL/Data/H3ab_ahd.snd"},
{"type" : "snd", "path" : "ALL/Data/Heroes3-cd2.snd"},
{"type" : "snd", "path" : "ALL/Data/Heroes3.snd"},
//WoG have overriden sounds with .82m extension in Data
{"type" : "dir", "path" : "ALL/Data", "depth": 0}
],
"MUSIC/":
[
{"type" : "dir", "path" : "ALL/Mp3"}
],
"VIDEO/":
[
{"type" : "vid", "path" : "ALL/Data/H3ab_ahd.vid"},
{"type" : "vid", "path" : "ALL/Data/Heroes3.vid"},
{"type" : "vid", "path" : "ALL/Data/video.vid"},
// Location of video files in linux release
{"type" : "dir", "path" : "ALL/Data/Video"}
],
"CONFIG/":
[
{"type" : "dir", "path" : "GLOBAL/Config",}, // separate to avoid overwriting global resources
{"type" : "dir", "path" : "LOCAL/Config", "writeable": true}
],
"MAPS/":
[
{"type" : "dir", "path" : "ALL/Maps"}
],
"MODS/":
[
{"type" : "dir", "path" : "ALL/Mods", "depth": 1}
],
"SAVES/":
[
{"type" : "dir", "path" : "LOCAL/Games", "writeable": true},
]
}
}