DEVTOOLS: BLADERUNNER: Fix packing MIX file for EN_ANY

This commit is contained in:
antoniou79 2023-01-20 19:31:34 +02:00
parent 76579deff2
commit d668979520
2 changed files with 5 additions and 5 deletions

View File

@ -19,7 +19,7 @@ EXTRAC_TEXT_RESOURCE_TUPLE_LIST = [
(9, "ScummVM", ""),
(10, "Westwood Studios", ""),
(11, "ix", ""),
(12, "jakejakejake1234", ""),
(12, "Jarrod O'Rafferty", ""),
(13, "Sean Leong (JakeSteven1980)", ""),
(14, ":...:", "REQUIRED")
]

View File

@ -126,7 +126,7 @@ from subtlsVersTextResource import *
from extracsTextResource import *
COMPANY_EMAIL = "classic.adventures.in.greek@gmail.com"
APP_VERSION = "1.95"
APP_VERSION = "1.96"
APP_NAME = "packBladeRunnerMIXFromPCTLKXLS"
APP_WRAPPER_NAME = "mixResourceCreator.py"
APP_NAME_SPACED = "Blade Runner MIX Resource Creator"
@ -457,7 +457,7 @@ def getSortMixFilesKey(item):
def getSupportedInGameQuotesSheetsList():
supportedInGameQuotesSheetsList = []
for tmpActiveLanguageDescriptionCodeTuple in SUPPORTED_LANGUAGES_DESCRIPTION_CODE_TLIST:
if (gActiveLanguageDescriptionCodeTuple[1] != '#' and tmpActiveLanguageDescriptionCodeTuple[1] == gActiveLanguageDescriptionCodeTuple[1]) \
if (gActiveLanguageDescriptionCodeTuple[1] != '#' and tmpActiveLanguageDescriptionCodeTuple[1] == gActiveLanguageDescriptionCodeTuple[1] and tmpActiveLanguageDescriptionCodeTuple[0] == gActiveLanguageDescriptionCodeTuple[0]) \
or (gActiveLanguageDescriptionCodeTuple[1] == '#' and tmpActiveLanguageDescriptionCodeTuple[1] != '#' and tmpActiveLanguageDescriptionCodeTuple[0] != 'RU_RUS'):
supportedInGameQuotesSheetsList += [(x + '%s.TR%s' % (tmpActiveLanguageDescriptionCodeTuple[1], tmpActiveLanguageDescriptionCodeTuple[1])) for x in SUPPORTED_INGAME_DIALOGUE_SHEETS]
return supportedInGameQuotesSheetsList
@ -467,7 +467,7 @@ def getSupportedSubtitleSheetsList():
mergedListOfSupportedSubtitleSheets += getSupportedInGameQuotesSheetsList()
mergedListOfSupportedSubtitleSheets += [(x + 'E.VQA') for x in SUPPORTED_VIDEO_DIALOGUE_SHEETS_ENGLISH]
for tmpActiveLanguageDescriptionCodeTuple in SUPPORTED_LANGUAGES_DESCRIPTION_CODE_TLIST:
if (gActiveLanguageDescriptionCodeTuple[1] != '#' and tmpActiveLanguageDescriptionCodeTuple[1] == gActiveLanguageDescriptionCodeTuple[1]) \
if (gActiveLanguageDescriptionCodeTuple[1] != '#' and tmpActiveLanguageDescriptionCodeTuple[1] == gActiveLanguageDescriptionCodeTuple[1] and tmpActiveLanguageDescriptionCodeTuple[0] == gActiveLanguageDescriptionCodeTuple[0]) \
or (gActiveLanguageDescriptionCodeTuple[1] == '#' and tmpActiveLanguageDescriptionCodeTuple[1] != '#' and tmpActiveLanguageDescriptionCodeTuple[0] != 'RU_RUS'):
mergedListOfSupportedSubtitleSheets += [(x + '%s.VQA' % (tmpActiveLanguageDescriptionCodeTuple[1])) for x in SUPPORTED_VIDEO_DIALOGUE_SHEETS_LOCALIZED]
return mergedListOfSupportedSubtitleSheets
@ -482,7 +482,7 @@ def getSupportedTranslatedTrxFilenamesList():
listOfSupportedTranslatedTrxFilenames.append(translatedTRxFileName)
for tmpActiveLanguageDescriptionCodeTuple in SUPPORTED_LANGUAGES_DESCRIPTION_CODE_TLIST:
if (gActiveLanguageDescriptionCodeTuple[1] != '#' and tmpActiveLanguageDescriptionCodeTuple[1] == gActiveLanguageDescriptionCodeTuple[1]) \
if (gActiveLanguageDescriptionCodeTuple[1] != '#' and tmpActiveLanguageDescriptionCodeTuple[1] == gActiveLanguageDescriptionCodeTuple[1] and tmpActiveLanguageDescriptionCodeTuple[0] == gActiveLanguageDescriptionCodeTuple[0]) \
or (gActiveLanguageDescriptionCodeTuple[1] == '#' and tmpActiveLanguageDescriptionCodeTuple[1] != '#' and tmpActiveLanguageDescriptionCodeTuple[0] != 'RU_RUS'):
for translatedTRxFileName in [ (x[0] + '%s' % (tmpActiveLanguageDescriptionCodeTuple[1])) for x in SUPPORTED_TRANSLATION_SHEETS[:-2]]:
if (gActiveLanguageDescriptionCodeTuple[1] == '#' and tmpActiveLanguageDescriptionCodeTuple[1] == 'E') \