New Premium Module: Tyrants of the Moonsea! Read More
BALDUR.LUA - SOLUTION TO USING CHEAT CONSOLE (RESOLVES FILE OVERWRITE BUG). BG 1 ENHANCED EDITION.
For those who cannot use the console command (Ctrl+Space) because the game keeps overwriting baldur.lua....
1. Open BG, then close out of the game completely. This is just to get a clean copy of baldur.lua with default values.
2. Open baldur.lua with any text editor (it doesn't matter). Add this line at the very top: SetPrivateProfileString('Program Options','Debug Mode','1')3. Now, the key step.
MAKE BALDUR.LUA READ ONLY!!!! Right click->Properties->Check "Read Only" box.
Read Only blocks the game from updating the file. So simple.
PS. This worked for me, but if the file is still getting overwritten, just make the whole directory read only.
PPS. File is located here: %userprofile%\documents\Baldur's Gate - Enhanced Edition\Baldur.lua