Open ufoscout opened 10 months ago
I suppose the issue is in these lines in the EET/lib/bgee_dir.tph
file:
END ELSE ACTION_IF FILE_EXISTS ~%bgee_dir%/lang/%LANGUAGE%/dialog.tlk~ BEGIN
OUTER_SPRINT LANGUAGE_BG1 ~%LANGUAGE%~
END ELSE ACTION_IF FILE_EXISTS ~%bgee_dir%/lang/%LANGUAGE_BG2%/dialog.tlk~ BEGIN
OUTER_SPRINT LANGUAGE_BG1 ~%LANGUAGE_BG2%~
In fact, the "if" conditions should be inverted:
END ELSE ACTION_IF FILE_EXISTS ~%bgee_dir%/lang/%LANGUAGE_BG2%/dialog.tlk~ BEGIN
OUTER_SPRINT LANGUAGE_BG1 ~%LANGUAGE_BG2%~
END ELSE ACTION_IF FILE_EXISTS ~%bgee_dir%/lang/%LANGUAGE%/dialog.tlk~ BEGIN
OUTER_SPRINT LANGUAGE_BG1 ~%LANGUAGE%~
I installed EET from a clean BGEE and BG2EE installation, I selected "Italian" as the language and the installation was completed without errors. Now when I start the game I have a mix of Italian and English languages:
In summary, everything coming from BG is in English, and everything from BG2 is in Italian.
Steps performed:
setup-EET.exe
, select "Italian" as game languagesetup-EET_end.exe
Tested on Windows 10 with EET 13.4 and with EET from the master branch of this repository