To enable the console]Ensure that your Baldur.lua (NOT Baldur.ini) file (located in Documents\Baldur's Gate - Enhanced Edition or Documents\Baldur's Gate II - Enhanced Edition) contains this line:
My Baldur.lua gets overwritten for some reason and the changes do no stick.
Edit: Well, they did stick after the third time I put them in... If you use a program that keeps track of the changes in the file like Notepad++, everytime you Alt-Tab out of the game the files gets changed.
@Dorcus: We have not implemented draconian measures like other games have on limiting / turning off achievements if you use cheat functions such as the CLUA console.
To be honest, CLUA console has (in the past, we don't expect this with SoD) been the only way past some of the more game breaking bugs we've had in early releases of BG:EE and BG2:EE, eliminating achievements if you CLUA would be shooting ourselves in both feet...
We like our feet, we'd prefer not to do that.
.lua files can be modified in any standard editor, though I'm unsure about the line endings (you may need a programmer's editor like Notepad++ or something like WordPad if Notepad is opening it with no line breaks...it's been a long while since I've used much else besides Notepad++ or Textpad).
The baldur.lua file will get overwritten (I believe) any time options is accessed. If you edit the LUA file with the game exited, and then open the game, you should not have the overwrite issue.
The baldur.lua file will get overwritten (I believe) any time options is accessed. If you edit the LUA file with the game exited, and then open the game, you should not have the overwrite issue.
Oh, wow, that's really forward thinking. Thanks for the info. (I'm terrified to even monkey around a little with Sword Coast Legends because I don't want a VAC ban.)
Hi I recently installed SOD and after not being able to get the cluaconsole working checked here, found the lua file checked in there and it already contains the SetPrivateProfileString('Program Options','Debug Mode','1') line so I am confused as to what to do next...
Hi I recently installed SOD and after not being able to get the cluaconsole working checked here, found the lua file checked in there and it already contains the SetPrivateProfileString('Program Options','Debug Mode','1') line so I am confused as to what to do next...
That is what I have in my baldur.lua file and I just hit Ctl-space and the console opens up.
Ctrl-space might have issues if you are using an azerty keyboard, or if you have non-english Windows, because Windows traps that function for language purposes.
Hi I recently installed SOD and after not being able to get the cluaconsole working checked here, found the lua file checked in there and it already contains the SetPrivateProfileString('Program Options','Debug Mode','1') line so I am confused as to what to do next...
That is what I have in my baldur.lua file and I just hit Ctl-space and the console opens up.
mine opens up too but the codes don't work. I am assuming the codes for the the original games still work in sod? I tried to get the boots of speed (Boot01) and it said it didn't exist. so I tried to do it again in EE and it still didn't work. ever since I updated the codes no longer work
Hi I recently installed SOD and after not being able to get the cluaconsole working checked here, found the lua file checked in there and it already contains the SetPrivateProfileString('Program Options','Debug Mode','1') line so I am confused as to what to do next...
That is what I have in my baldur.lua file and I just hit Ctl-space and the console opens up.
mine opens up too but the codes don't work. I am assuming the codes for the the original games still work in sod? I tried to get the boots of speed (Boot01) and it said it didn't exist. so I tried to do it again in EE and it still didn't work. ever since I updated the codes no longer work
Are you using the new format? C:CreateItem("boot01")
CLUAConsole: has been replaced with C:
Everything still works fine in SoD as far as I can tell with the console.
Hi I recently installed SOD and after not being able to get the cluaconsole working checked here, found the lua file checked in there and it already contains the SetPrivateProfileString('Program Options','Debug Mode','1') line so I am confused as to what to do next...
That is what I have in my baldur.lua file and I just hit Ctl-space and the console opens up.
mine opens up too but the codes don't work. I am assuming the codes for the the original games still work in sod? I tried to get the boots of speed (Boot01) and it said it didn't exist. so I tried to do it again in EE and it still didn't work. ever since I updated the codes no longer work
Are you using the new format? C:CreateItem("boot01")
CLUAConsole: has been replaced with C:
Everything still works fine in SoD as far as I can tell with the console.
yeah I know about the C: been using it in EE after all. unless the items are lower case sensitive the only difference is that is that I used a capital B
Hi I recently installed SOD and after not being able to get the cluaconsole working checked here, found the lua file checked in there and it already contains the SetPrivateProfileString('Program Options','Debug Mode','1') line so I am confused as to what to do next...
That is what I have in my baldur.lua file and I just hit Ctl-space and the console opens up.
mine opens up too but the codes don't work. I am assuming the codes for the the original games still work in sod? I tried to get the boots of speed (Boot01) and it said it didn't exist. so I tried to do it again in EE and it still didn't work. ever since I updated the codes no longer work
Are you using the new format? C:CreateItem("boot01")
CLUAConsole: has been replaced with C:
Everything still works fine in SoD as far as I can tell with the console.
yeah I know about the C: been using it in EE after all. unless the items are lower case sensitive the only difference is that is that I used a capital B
I just checked in SoD and I get the same boots of speed when using "boot01" or "Boot01". If you go to game options, are you on v 2.1.63.2?
Hi I recently installed SOD and after not being able to get the cluaconsole working checked here, found the lua file checked in there and it already contains the SetPrivateProfileString('Program Options','Debug Mode','1') line so I am confused as to what to do next...
That is what I have in my baldur.lua file and I just hit Ctl-space and the console opens up.
mine opens up too but the codes don't work. I am assuming the codes for the the original games still work in sod? I tried to get the boots of speed (Boot01) and it said it didn't exist. so I tried to do it again in EE and it still didn't work. ever since I updated the codes no longer work
Are you using the new format? C:CreateItem("boot01")
CLUAConsole: has been replaced with C:
Everything still works fine in SoD as far as I can tell with the console.
yeah I know about the C: been using it in EE after all. unless the items are lower case sensitive the only difference is that is that I used a capital B
I just checked in SoD and I get the same boots of speed when using "boot01" or "Boot01". If you go to game options, are you on v 2.1.63.2?
ugh sorry its ok I figured it out. I had it written out wrong. its been a while since I played and I remembered it wrong xD
I've entered 'SetPrivateProfileString('Program Options','Debug Mode','1')' in my baldur.lua file, and now the "console" does indeed open up. However, it won't let me type anything: it appears to be giving me options for GiveGold, Godbow, GiveXP, and Travel. However, I don't seem to be able to type anything in for other commands. Am I missing something stupid here? Edit: Nevermind, I'm apparently blind.
I've been unable to get any changes I make to the file to stick. Once I launch the game, it reverts back to it's unedited version. I've tried editing it on the desktop and then moving it back to it's original location. No luck at all so far. I haven't been attempting to edit with the game open, and even tried editing while steam was closed.
Just tried locking the file after editing. The changes remain after launch, but the situation with the console remains the same. Been at this for hours now. Any help would be greatly appreciated
I'm running the game via steam on macOS sierra (10.12.1)
Make sure you aren't using a program that uses smart quotes. Ideally I would stick with programs like Notepad++, ConTEXT, or Atom. So (in the case of macs) if you are using like textedit then make sure smart quotes are disabled.
Running on a Mac. I was never able to find a baldur.lua file. I did find and am able to open and edit a baldur.ini file. When I add SetPrivateProfileString('Program Options','Debug Mode','1') I am unable to get the console to open. When I edit it to 'Program Options','Debug Mode','1' I am able to get the console to open but I receive get errors and nothing happens. Any suggestions?
Running on a Mac. I was never able to find a baldur.lua file. I did find and am able to open and edit a baldur.ini file. When I add SetPrivateProfileString('Program Options','Debug Mode','1') I am unable to get the console to open. When I edit it to 'Program Options','Debug Mode','1' I am able to get the console to open but I receive get errors and nothing happens. Any suggestions?
From what you wrote, I can conclude two things:
1. there's no baldur.lua but there's a baldur.ini
ergo you are running a pre version 2.0 Baldur's Gate game
2. the console opens but you get error and nothing happens:
ergo: you are typing the wrong commands
For help, post:
a. what you were trying to change? b. exactly what command you did type in?
Comments
Edit: Well, they did stick after the third time I put them in... If you use a program that keeps track of the changes in the file like Notepad++, everytime you Alt-Tab out of the game the files gets changed.
To be honest, CLUA console has (in the past, we don't expect this with SoD) been the only way past some of the more game breaking bugs we've had in early releases of BG:EE and BG2:EE, eliminating achievements if you CLUA would be shooting ourselves in both feet...
We like our feet, we'd prefer not to do that.
.lua files can be modified in any standard editor, though I'm unsure about the line endings (you may need a programmer's editor like Notepad++ or something like WordPad if Notepad is opening it with no line breaks...it's been a long while since I've used much else besides Notepad++ or Textpad).
The baldur.lua file will get overwritten (I believe) any time options is accessed. If you edit the LUA file with the game exited, and then open the game, you should not have the overwrite issue.
http://superuser.com/questions/327479/ctrl-space-always-toggles-chinese-ime-windows-7
CLUAConsole: has been replaced with C:
Everything still works fine in SoD as far as I can tell with the console.
Just tried locking the file after editing. The changes remain after launch, but the situation with the console remains the same. Been at this for hours now. Any help would be greatly appreciated
I'm running the game via steam on macOS sierra (10.12.1)
Looking for a solution ...
plz if you find it, share
Maybe it s something with the .cloud save files ?
I tried o lot of things
(bc I didnt want to rebuild my entire team
And :
The Game Option is activated when you level up.
I level up a cleric and i get plenty of spells !!!
Hourra !
1. there's no baldur.lua but there's a baldur.ini
ergo you are running a pre version 2.0 Baldur's Gate game
2. the console opens but you get error and nothing happens:
ergo: you are typing the wrong commands
For help, post:
a. what you were trying to change?
b. exactly what command you did type in?