1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-11-28 08:48:48 +02:00
vcmi/config/filesystem.json
Ivan Savenko 94cfc99d7b - fixes #1044
- fixes to linux video player
2012-08-08 20:58:06 +00:00

58 lines
1.8 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" : "file", "path" : "ALL/Data/H3ab_bmp.lod"},
{"type" : "file", "path" : "ALL/Data/H3bitmap.lod"},
{"type" : "dir", "path" : "ALL/Data"}
],
"SPRITES/":
[
{"type" : "file", "path" : "ALL/Data/H3ab_spr.lod"},
{"type" : "file", "path" : "ALL/Data/H3sprite.lod"},
{"type" : "dir", "path" : "ALL/Sprites"}
],
"SOUNDS/":
[
{"type" : "file", "path" : "ALL/Data/H3ab_ahd.snd"},
{"type" : "file", "path" : "ALL/Data/Heroes3-cd2.snd"},
{"type" : "file", "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" : "file", "path" : "ALL/Data/H3ab_ahd.vid"},
{"type" : "file", "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"}
],
"SAVES/":
[
{"type" : "dir", "path" : "LOCAL/Games", "writeable": true},
]
}
}