Lee Arbuco wrote:
This patch (Trespasser CE), that was engineered from genetic material thought to be extinct, provides improved support for modern hardware and Windows versions, but also has some fixes and additions. Read the included documentation for installation instructions and more detailed information.
This patch works fine.
But, I would like to touch upon the problem that will arise before someone who tries to play a game that has a translation into a language using a different character set than Latin.
I already mentioned this issue in the "caption_editor" thread ...
But, I'm afraid that this message will get lost, so I allow myself to use an excerpt from it:
"...Apparently, this has been the case since the main game in 1998, since in the version released in Russia, the translators had to create a special font, and write the localization text based on the use of this font.
- Spoiler: show
- I suspect that tpass-ce is rigidly tied to the c_1252.nls file, regardless of the regional settings of the system, or the parameters specified in the Windows registry.
I have not seen the source code, but I suspect that somewhere there is a hard-coded parameter responsible for the used code table.
There are 2 options for solving this problem.
1) "Simple" in implementation, but has a serious disadvantage. The user must have local administrator rights on the computer being used. The user must replace the c_1252.nls code table file with the one used in his regional system settings in accordance with the ANSI identifier (GetACP). The localizers that released the version of the game in Russia did not take such a step, since it is bad form to change the system files of the user's operating system without his knowledge. Therefore, they tried to go the other way (drawing their own font, etc.)
However, this method is still practiced by users (however, usually it is enough to change the regional settings in the system, or change the registry settings. Replacing system files is used in especially difficult cases). Microsoft promised to fix the problem with region code tables and did a little bit with it ... but didn’t solve it 100%
2) It is necessary to make changes to the source code of the program, removing the hard link to the file of the code table used in the USA and Western Europe (c_1252.nls). Either use the parameter specified in the registry, or take the necessary values from the * .ini file.
Or, compile several versions of the program for each code table: 874, 932, 936, 949, 950, 1251, 1252, 1253, 1254, 1255, 1256, 1257.
"
P.S.I hope that this task will have a solution that does not require user intervention in the system files of the operating system ...
Unfortunately, this is beyond my skills.
Максимум, что я мог сделать, это перевести и интегрировать текст в файлы TPA с помощью инструментов сообщества. Однако для корректного отображения текста необходима поддержка соответствующей кодовой таблицы.