Gibberlings3 / EET

Baldur's Gate: Enhanced Edition Trilogy (EET) is a modification for Baldur's Gate II: Enhanced Edition that merges whole saga into one game and provides continuity between the events of Baldur's Gate, Tales of the Sword Coast, Shadows of Amn, Throne of Bhaal and Siege of Dragonspear expansion (also for both Black Pits adventures). The name of this this modification probably rings a bell to those who have been following IE modding scene, thanks to the classic mod that inspired this project, called Baldur's Gate Trilogy (BGT), developed by Bardez and Ascension64. While EET remains mostly faithful to the premise of the BGT, it shouldn't be considered a direct continuation of that project. In fact both mods share little to no common code and took different design decisions in many aspects.
https://www.gibberlings3.net/forums/forum/195-enhanced-edition-trilogy/
167 stars 39 forks source link

Wrong/Mixed language installation bug #133

Open ufoscout opened 10 months ago

ufoscout commented 10 months ago

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:

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

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