Commit graph

70 commits

Author SHA1 Message Date
Hubert Maier
13807ec83d JANITORIAL: DEVTOOLS: Fix typos 2024-09-13 12:17:53 +03:00
antoniou79
f2c87bc4ac DEVTOOLS: BLADERUNNER: Fix formatting for README 2023-06-07 12:38:38 +03:00
antoniou79
bece387bdc DEVTOOLS: BLADERUNNER: Update documentation for tools
Info on Python 3 required libraries

Also removed --trace from module.mk commands to reduce the script output on the console
2023-06-07 12:24:15 +03:00
antoniou79
b0c26e9e6b DEVTOOLS: BLADERUNNER: Fixes for python 3 port of scripts
Also fix compatibility with Python 2, and port the quoteSpreadsheetCreator script to Python 3 too
2023-06-05 20:02:58 +03:00
Vladimir Serbinenko
ecf7283251 CREATE_BLADERUNNER: Remove Python 2.7 guard 2023-06-05 19:53:39 +03:00
Vladimir Serbinenko
7373cc0de5 CREATE_BLADERUNNER: Migrate create_bladerunner from xlrd to pandas 2023-06-05 19:53:39 +03:00
Vladimir Serbinenko
1a212bb635 CREATE_BLADERUNNER: Add missing final newline 2023-06-05 19:53:39 +03:00
Vladimir Serbinenko
a863683a75 CREATE_BLADERUNNER: Add and use comp unicode python wrappers 2023-06-05 19:53:39 +03:00
Vladimir Serbinenko
8bb7e87fd5 CREATE_BLADERUNNER: Add missing list(zip 2023-06-05 19:53:39 +03:00
Vladimir Serbinenko
4c8251c40c CREATE_BLADERUNNER: Fix missing spaces and tabs mix 2023-06-05 19:53:39 +03:00
Vladimir Serbinenko
917559e349 CREATE_BLADERUNNER: Fix import of errno in Python 3 2023-06-05 19:53:39 +03:00
Vladimir Serbinenko
11e01d9da9 CREATE_BLADERUNNER: Add missing parenthesis in python print 2023-06-05 19:53:39 +03:00
Vladimir Serbinenko
a17cf366cb CREATE_BLADERUNNER: Change header from 'UTF-8' to 'utf-8'
Current python and emacs prefer "utf-8".
2023-06-05 19:53:39 +03:00
antoniou79
5492826a56 DEVTOOLS: BLADERUNNER: Update info on fontCreator args 2023-03-18 14:56:30 +02:00
antoniou79
d668979520 DEVTOOLS: BLADERUNNER: Fix packing MIX file for EN_ANY 2023-01-20 19:32:29 +02:00
antoniou79
0ba6bacfa3 DEVTOOLS: BLADERUNNER: Support additional info sheet
And hd font
2022-07-06 11:29:16 +03:00
antoniou79
db33b3c95b DEVTOOLS: BLADERUNNER: Dont flatten quotation marks in MIX creation
Also don't replace single ellipsis character with three dots.
2022-06-29 18:12:41 +03:00
Orgad Shaneh
a05e54f00c JANITORIAL: Remove trailing whitespaces 2021-05-04 11:46:30 +03:00
antoniou79
d925d62f4f DEVTOOLS: BLADERUNNER: Abort on unsupported optimization of PNG input
Also revert the sample pngs to the non-optimized versions.
2020-12-31 16:17:51 +02:00
Matthew Duggan
5135f1f4b9 ALL: Run optipng to reduce png file size 2020-11-01 21:34:03 +09:00
Thanasis Antoniou
ea086a8ac3 DEVTOOLS: BLADERUNNER: Switch to SUBTLS font for version sheet in MIX file 2020-02-07 03:24:53 +02:00
Thanasis Antoniou
9d3658a35d DEVTOOLS: BLADERUNNER: Further optimizations to glyphs by IlDucci
Credits to IlDucci from the Spanish translation team
2020-02-07 03:24:52 +02:00
Thanasis Antoniou
f44feee4af BLADERUNNER: Fonts improvements by IlDucci
IlDucci, who is a member of the Spanish translation team, has provided an improved version of the sample image of Latin glyphs in-a-row, as a Photoshop file (.PSD) which is used to eventually create the subtitles font. He also made tweaks to the spacing of the character glyphs so that words appear nicer.
2020-01-31 20:05:48 +02:00
Thanasis Antoniou
d09090db62 DEVTOOLS: BLADERUNNER: Use forward slash for link paths in quoteSpreadsheetCreator
This affects the automatic Excel creation that links quote lines to wav files.

It solves a bug with LibreOffice (at least 6.2.8.2) that has trouble if the path has backslashes (even if escaped)
It is still compatible with MS Excel.
2020-01-19 22:29:07 +02:00
Thanasis Antoniou
a8420f57fb DEVTOOLS: BLADERUNNER: Support TB_FLY sheet subtitles 2020-01-19 01:28:01 +02:00
Niv Baehr
b37c52a07a BLADERUNNER: replace c_long with explicit c_int32 (#1982)
* BLADERUNNER: replace long with explicit int32

* BLADERUNNER: add executable permissions to scripts
2019-12-20 01:27:29 +02:00
Thanasis Antoniou
7985ca46bd DEVTOOLS: BLADERUNNER: More Readme formatting (codacy) 2019-07-23 19:22:24 +03:00
Thanasis Antoniou
9a81e59d66 DEVTOOLS: BLADERUNNER: More quality fixes (codacy) 2019-07-23 17:46:15 +03:00
Thanasis Antoniou
1450a240a0 DEVTOOLS: BLADERUNNER: Code quality improvements (Codacy issues) 2019-07-23 12:50:44 +03:00
Thanasis Antoniou
4d4c754750 DEVTOOLS: BLADERUNNER: More readme formatting fixes 2019-07-22 20:13:03 +03:00
Thanasis Antoniou
0b7654441d DEVTOOLS: BLADERUNNER: Readme formatting fixes 2019-07-22 19:43:12 +03:00
Thanasis Antoniou
4f2a70287d DEVTOOLS: BLADERUNNER: Fix Python 3 print syntax error 2019-07-11 08:40:54 +03:00
Thanasis Antoniou
f2f91fa773 DEVTOOLS: BLADERUNNER: Improved command line for TRE, FON, AUD libs 2019-07-10 13:59:31 +03:00
Thanasis Antoniou
bc056feddd DEVTOOLS: BLADERUNNER: Improve kerning for latin glyphs 2019-07-01 21:03:03 +03:00
Thanasis Antoniou
cfee64e630 DEVTOOLS: BLADERUNNER: Full cp-1252 support for subtitles
And additional bug fixes for font creation and detection of error cases
2019-06-30 22:58:57 +03:00
Thanasis Antoniou
a1fef1fe9b DEVTOOLS: BLADERUNNER: Cleaner columns in VQA sheets 2019-06-24 00:09:50 +03:00
Thanasis Antoniou
538b7b41bd DEVTOOLS: BLADERUNNER: Cleanup in readme 2019-06-18 02:17:12 +03:00
Thanasis Antoniou
77db7fcb60 DEVTOOLS: BLADERUNNER: Final readme formatting fix 2019-06-18 01:08:50 +03:00
Thanasis Antoniou
25b14a6b5c DEVTOOLS: BLADERUNNER: Fix readme.md formatting 2019-06-18 01:00:34 +03:00
Thanasis Antoniou
8f55030d77 DEVTOOLS: BLADERUNNER: Fix creating MIX file regression 2019-06-18 00:47:02 +03:00
Thanasis Antoniou
2a43f71ee2 DEVTOOLS: BLADERUNNER: Quick guide for transcriptions
Also minor improvements in the python scripts

Made audio links working again with LibreOffice Calc and added a subtitles version sheet in the python script that creates the Excel document and the audio links
2019-06-18 00:10:36 +03:00
Thanasis Antoniou
04d7f72bf7 DEVTOOLS: BLADERUNNER: Added version sheet and EFIGS support
Now multiple languages can be packed in a single MIX file
2019-05-29 12:08:24 +03:00
Thanasis Antoniou
664dd4a8aa DEVTOOLS: module.mk fix for BR subtitles xls/xlsx support
bugfix: search with full path for .xls existence before trying the xlsx
2019-03-09 20:10:19 +02:00
Thanasis Antoniou
5102af631d DEVTOOLS: Support xlsx extension for Blade Runner subtitles
If the englishTranscript.xls is not found, the englishTranscript.xlsx will be used instead

Google sheets supports download to xlsx, so this addition was needed.
Also tested the font tool with Pillows image library (PIL fork) which works ok, and updated README file.
2019-03-09 13:59:59 +02:00
Thanasis Antoniou
43a3eed2b2 DEVTOOLS: Handle empty AUD file in Blade Runner
French localization has an empty AUD file. Only the header is present and seems corrupted

This is DCLER_0030_00041ECE in TLK0A. It is an unused audio file ("boop" in ENG localization), but skipping it would cause issues with the translation excel, ie. one row missing. The fix is to create a placeholder empty wav file in order to not ignore this empty quote. The bug affected the spreasheet creator tool.
2019-01-21 16:27:26 +02:00
antoniou79
b254618f32 DEVTOOLS: Create new module.mk in create_bladerunner
Changes in devtools/module.mk were reverted
2019-01-06 17:12:02 +01:00
antoniou79
9dfe8281fc DEVTOOLS: Quotes Excel creator exports extra audio
quoteSpreadsheetCreator exports dev commentary and some optional speech audio from SFX.MIX
2019-01-06 17:12:02 +01:00
antoniou79
49497bfb4a DEVTOOLS: Updated readme details on MIXResourceCreator 2019-01-06 17:12:02 +01:00
antoniou79
de8bb16b9d DEVTOOLS: Create SUBTITLES.MIX for En, It, Fr, De, Es
Now we should specify target encoding per used font

If an encoding is not specified in configureFontsTraslation.txt, the default is used
2019-01-06 17:12:02 +01:00
antoniou79
695e76e815 DEVTOOLS: Fixed encoding of exported text from game
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.
2019-01-06 17:12:02 +01:00