Opened 3 years ago
Last modified 3 years ago
#12713 new feature request
STARTREK enable alternative path for voc files
Reported by: | Retro64 | Owned by: | |
---|---|---|---|
Priority: | normal | Component: | Engine: Startrek |
Version: | Keywords: | ||
Cc: | Game: |
Description (last modified by )
When installing the GOG version or browsing the CD version, the voc folder is on the same level as the language folders. All localizations access this parent folder in order to use use the same voc files. Currently the engine searches - naturally - for the voc files in the root folder of each language. For sure the files can be copied redundant into each folder or a symlink might be used within *NIX systems to get rid of the redundant files, but an option to search the parent folder for voc folder or a config options to configure the path to the voc folders might be a useful feature for multi-language game support.
One - hacky - way would be a change in
https://github.com/scummvm/scummvm/blob/cbe20d11553f8ca2f83084aa0fcf0547022dc5fb/engines/startrek/sound.cpp
else if (!SearchMan.hasFile("voc/speech.mrk")) { -> // Defined in namespace var vocPath = "voc"; ... else if (!SearchMan.hasFile("voc/speech.mrk" && !SearchMan.hasFile("../voc/speech.mrk"))) { ... } if (SearchMan.hasFile("../voc/speech.mrk")) { vocPath = "../voc"; } // All absolute paths "voc" need to be replaced by vocPath
Paths to be adjusted:
Change History (4)
comment:1 by , 3 years ago
Description: | modified (diff) |
---|
comment:2 by , 3 years ago
Description: | modified (diff) |
---|
comment:3 by , 3 years ago
Description: | modified (diff) |
---|
comment:4 by , 3 years ago
Description: | modified (diff) |
---|