Can't edit Baldur.lua file to enable console commands
Lazlo_Arcadia
Member Posts: 73
Every time I try to edit the Baldur.lua file it does not save the changes, almost as if I didn't have WRITE privs (only READ privs). However I've already checked the file and it is clearly marked as having full control.
I've attempted to edit the file multiple times. Then i save the changes, close Notepad ++ and reopen the file (without going into BGII: EE in between) and my changes are gone.
I've run out of ideas on what could be doing this.
I've attempted to edit the file multiple times. Then i save the changes, close Notepad ++ and reopen the file (without going into BGII: EE in between) and my changes are gone.
I've run out of ideas on what could be doing this.
0
Comments
BTW - the only mod i'm running is EEKeeper
What sort of changes are you trying to make?
You could try something like:
- Edit file and save as .txt (that way you don't have to continually rewrite everything).
- Backup your old .lua
- Copy a new one as .lua (from the .txt)
Make sure that you don't have BG open when making any changes.
I have heard of Anti-virus programs getting in the way as well. Perhaps turn yours off while you make the changes, then turn it back on. If that works, you can make an exclusion for your AV.
Gus
I've also attempted to edit the file while the game was open in the background. Same results.
I'm definitely open to ideas
Editing the file while the game is open in the background will only result in a no save of the edits. The game will write over baldur.lua with the state of the game as it was open then closed.
Not sure how you went with the AV, but here is another idea. Take the file out of the '..\Documents\Baldur's Gate - Enhanced Edition' folder then edit it. Copy it back and run the game.
Gus
I uninstalled the game, deleted both the documents folder and the steamaps folder and did a full reinstall from scratch. Fortunately I was not far into the game (I did this for both BG:EE and BGII:EE) and now both are running without issue.