Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

New Premium Module: Tyrants of the Moonsea! Read More
Attention, new and old users! Please read the new rules of conduct for the forums, and we hope you enjoy your stay!

BALDUR.LUA - SOLUTION TO USING CHEAT CONSOLE (RESOLVES FILE OVERWRITE BUG). BG 1 ENHANCED EDITION.

Guys,
For those who cannot use the console command (Ctrl+Space) because the game keeps overwriting baldur.lua....
------------------
THE SOLUTION
------------------
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.

Done.

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

Sign In or Register to comment.