2012-08-01 15:02:54 +03:00
|
|
|
{
|
|
|
|
// 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/" :
|
|
|
|
[
|
2012-09-21 00:28:18 +03:00
|
|
|
{"type" : "lod", "path" : "ALL/Data/H3ab_bmp.lod"},
|
|
|
|
{"type" : "lod", "path" : "ALL/Data/H3bitmap.lod"},
|
2012-08-07 14:28:52 +03:00
|
|
|
{"type" : "dir", "path" : "ALL/Data"}
|
2012-08-01 15:02:54 +03:00
|
|
|
],
|
|
|
|
"SPRITES/":
|
|
|
|
[
|
2012-09-21 00:28:18 +03:00
|
|
|
{"type" : "lod", "path" : "ALL/Data/H3ab_spr.lod"},
|
|
|
|
{"type" : "lod", "path" : "ALL/Data/H3sprite.lod"},
|
2012-08-07 14:28:52 +03:00
|
|
|
{"type" : "dir", "path" : "ALL/Sprites"}
|
2012-08-01 15:02:54 +03:00
|
|
|
],
|
|
|
|
"SOUNDS/":
|
|
|
|
[
|
2012-09-21 00:28:18 +03:00
|
|
|
{"type" : "snd", "path" : "ALL/Data/H3ab_ahd.snd"},
|
|
|
|
{"type" : "snd", "path" : "ALL/Data/Heroes3-cd2.snd"},
|
|
|
|
{"type" : "snd", "path" : "ALL/Data/Heroes3.snd"},
|
2012-08-01 15:02:54 +03:00
|
|
|
//WoG have overriden sounds with .82m extension in Data
|
2012-08-08 13:17:46 +03:00
|
|
|
{"type" : "dir", "path" : "ALL/Data", "depth": 0}
|
2012-08-01 15:02:54 +03:00
|
|
|
],
|
|
|
|
"MUSIC/":
|
|
|
|
[
|
2012-08-07 14:28:52 +03:00
|
|
|
{"type" : "dir", "path" : "ALL/Mp3"}
|
2012-08-01 15:02:54 +03:00
|
|
|
],
|
|
|
|
"VIDEO/":
|
|
|
|
[
|
2012-09-21 00:28:18 +03:00
|
|
|
{"type" : "vid", "path" : "ALL/Data/H3ab_ahd.vid"},
|
2013-02-27 18:46:14 +03:00
|
|
|
{"type" : "vid", "path" : "ALL/Data/Heroes3.vid"},
|
2013-06-02 21:57:58 +03:00
|
|
|
{"type" : "vid", "path" : "ALL/Data/video.vid"}
|
2012-08-01 15:02:54 +03:00
|
|
|
],
|
|
|
|
"CONFIG/":
|
|
|
|
[
|
2012-08-09 13:32:50 +03:00
|
|
|
{"type" : "dir", "path" : "GLOBAL/Config",}, // separate to avoid overwriting global resources
|
2012-08-08 23:58:06 +03:00
|
|
|
{"type" : "dir", "path" : "LOCAL/Config", "writeable": true}
|
2012-08-01 15:02:54 +03:00
|
|
|
],
|
|
|
|
"MAPS/":
|
|
|
|
[
|
2012-08-07 14:28:52 +03:00
|
|
|
{"type" : "dir", "path" : "ALL/Maps"}
|
2012-08-01 15:02:54 +03:00
|
|
|
],
|
2012-12-12 14:13:57 +03:00
|
|
|
"MODS/":
|
|
|
|
[
|
|
|
|
{"type" : "dir", "path" : "ALL/Mods", "depth": 1}
|
|
|
|
],
|
2012-08-01 15:02:54 +03:00
|
|
|
"SAVES/":
|
|
|
|
[
|
2012-08-07 14:28:52 +03:00
|
|
|
{"type" : "dir", "path" : "LOCAL/Games", "writeable": true},
|
2012-08-01 15:02:54 +03:00
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|