New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DEVTOOLS: semi-auto creation of SUBTITLES.MIX for Blade Runner #1468
Conversation
add make rules for output FON and MIX files Create wrappers for all scripts to check for python 2.7 update module.mk to create FON file, then create the SUBTITLES.MIX file Remove the intermediate TRE files. Input is expected to be in sampleInput folder
Should work with the make command:
I intend to update the scripts to provide support for the localized versions of the game |
Also added missing (renamed) script for MIX packer
Updated documentation and fixed broken font export mode for fontCreator.py
Also fixed broken modes for fontCreator and quotesSpreadsheetCreator scripts
And minor readme update
Requiring python to be in env variables This should be more portable (there's an error message if the python in env is not 2.7)
Versions supported are English, German, French, Italian and Spanish More work would be required for Russian versions to be supported by the spreadsheet creator. I don't have access to the Russian version that ScummVM currently supports/in the detection table. Current implementation could be improved (to do away with all the if clauses for the glyph "exceptions") but this is not high priority.
Also a small fix for the help mode of quoteSpreadsheetCreator tool
All scripts got better info and debug messages. Also improved the --trace switch for all scripts and fixed some code formatting issues.
mixResourceCreator now additionally supports ITA, FRA, ESP, GER
All game language versions have the English VQA for the logo videos Do not append the localization suffix to those two, but use the '_E' suffix instead.
In Spanish version the 'Designers Cut' translated option overlapped with Subtitles option
Blade Runner uses IBM437 encoding for its TRx resources This covers the ENG, FRA, DEU, ITA and ESP versions. The ERRORMSG.TRx use different encoding (Latin-1) but with a few bugs (a few character encoded with IBM437) More work would probably be required for the RUS version.
Now we should specify target encoding per used font If an encoding is not specified in configureFontsTraslation.txt, the default is used
quoteSpreadsheetCreator exports dev commentary and some optional speech audio from SFX.MIX
I've tested a bit with localized versions of the game, namely DE, ITA, FR, ES. Some notes and observations:
I haven't tested with the Russian version. I don't know the language at all and have no access to the supported Russian version of the game. Can anyone who owns it confirm that the version conforms to the naming convention for the files (eg are the Text Resource files named *.TRR ?). Creating a PNG for the Russian subtitles font would not be difficult though, and I also expect that the English subtitles would work as they are with the font image provided in the sampleInput folder. |
I own the Russian version. Where to look? Inside the MIX files? |
Yes, STARTUP.MIX would do. |
devtools/module.mk
Outdated
@@ -14,9 +14,9 @@ DEVTOOLS := \ | |||
devtools/md5table$(EXEEXT) \ | |||
devtools/make-scumm-fontdata$(EXEEXT) | |||
|
|||
include $(srcdir)/devtools/*/module.mk | |||
include $(srcdir)/devtools/*/module.mk $(srcdir)/devtools/*/*/module.mk |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please remove this change. Rather do the following:
add module.mk to devtools/create_bladerunner, which will contain include directive. Test it and then I'll merge
The language files are named *.TRE, and contain Russian text in CP-1251 encoding. Apparently, English version was used as the base for the translation. |
Changes in devtools/module.mk were reverted
Thanks! Merging, and welcome to the team! |
STARK: Enable rough confirmation dialogs
add make rules for output FON and MIX files
Create wrappers for all scripts to check for python 2.7
update module.mk to create FON file, then create the SUBTITLES.MIX file
Remove the intermediate TRE files.
Input is expected to be in sampleInput folder