Skip to content
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

Wrong/Mixed language installation bug #133

Open
ufoscout opened this issue Dec 6, 2023 · 1 comment
Open

Wrong/Mixed language installation bug #133

ufoscout opened this issue Dec 6, 2023 · 1 comment

Comments

@ufoscout
Copy link

ufoscout commented Dec 6, 2023

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:

  • menus -> Italian
  • Baldur's Gate -> English
  • Siege of Dragonspear -> English
  • Shadows of Amn -> Italian
  • Throne of Bhaal -> Italian
  • The Black Pits -> English
  • Gladiators of Thay -> Italian
  • Tutorial -> English

In summary, everything coming from BG is in English, and everything from BG2 is in Italian.

Steps performed:

  • install BGEE gog v2.6.6.0
  • install Siege of Dragonspear gog v2.6.6.0
  • install BG2EE gog v2.6.6.0
  • execute modmerge inside BGEE folder
  • extract EET inside the BG2EE directory, execute setup-EET.exe, select "Italian" as game language
  • execute setup-EET_end.exe
  • run the game

Tested on Windows 10 with EET 13.4 and with EET from the master branch of this repository

@ufoscout
Copy link
Author

ufoscout commented Dec 6, 2023

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%~

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant