{ // 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}, ] } }