Can't get the CLUA console to Work (Read Only Folder)
Nightsong
Member Posts: 19
I can't get the CLUA console to work, I've tried everything. It seems that my Baldur's Gate II folder in My Documents is read only and I can't get it to change no matter what I've tried. I've done console commands, deleting it and recreating the folder, heck I've uninstalled and reinstalled to see if that works and nothing.
I'm really at my wits ends with this. Does anyone have a solution?
I'm really at my wits ends with this. Does anyone have a solution?
0
Comments
1) If you can't access the console, as in, Ctrl+Space doesn't work, then you've put DebugMode=1 in the wrong place. You need to add it to the baldur.lua file, not baldur.ini.
2) Cheat commands for BG:EE no longer use CLUAConsole. It's simply C: e.g. C:CreateItem("sw1h01")
If the checkbox in the properties window is what you're trying to change, then you will have no success. Can you provide any additional clarification on the read-only status of the file?
I have used wordpad to make the changes.
If the LUA file is read only then that is a windows problem rather than anything to do with the game.
What are you using to edit the LUA file? Can you attach your edited LUA file here for review—we can check to ensure there are no errors (such as line feed issues). You can use the upload button in the comment box toolbar to attach your file, as displayed here:
From your last post it sounds as though you can successfully edit the file (i.e. it's not read only), it's just that some options change subsequently. You could check easily whether that's caused by the game or not, e.g. change the lua file, turn computer off and on and check file is still as you changed it, open and close game and check whether file has now changed. If opening the game is causing changes in the file it would be helpful to know what those changes are.
You can either zip the file up (assuming you have WinZip, WinRAR, 7-Zip, or some other application capable of archiving/compressing), or, as Grond0 said, you can simply copy and paste the contents of the file into the comment box and post that.
SetPrivateProfileString('Fonts','uk_UA','PERMIAN')
SetPrivateProfileString('Fonts','ru_RU','PTSERIF')
SetPrivateProfileString('Fonts','ja_JP','MEIRYO')
SetPrivateProfileString('Fonts','Zoom','112')
SetPrivateProfileString('Fonts','zh_CN','SIMSUN')
SetPrivateProfileString('Fonts','ko_KR','NANUM')
SetPrivateProfileString('Game Options','HP Over Head','0')
SetPrivateProfileString('Game Options','Combat UI','1')
SetPrivateProfileString('Game Options','Command Sounds Frequency','2')
SetPrivateProfileString('Game Options','Auto Pause State','0')
SetPrivateProfileString('Game Options','Journal Popups','1')
SetPrivateProfileString('Game Options','Filter Games','1')
SetPrivateProfileString('Game Options','Bored Timeout','3000')
SetPrivateProfileString('Game Options','Effect Text Level','62')
SetPrivateProfileString('Game Options','Over Confirm Everything','0')
SetPrivateProfileString('Game Options','Critical Hit Screen Shake','1')
SetPrivateProfileString('Game Options','Show Message Box Hint','1')
SetPrivateProfileString('Game Options','Heal Party on Rest','0')
SetPrivateProfileString('Game Options','Environmental Audio','1')
SetPrivateProfileString('Game Options','Last Save SOA','000000000-Auto-Save')
SetPrivateProfileString('Game Options','Ranged Weapon Switching','0')
SetPrivateProfileString('Game Options','Message Box Top','96')
SetPrivateProfileString('Game Options','Suppress Extra Difficulty Damage','0')
SetPrivateProfileString('Game Options','Subtitles','1')
SetPrivateProfileString('Game Options','Cleric Ranger Spells','1')
SetPrivateProfileString('Game Options','Keyboard Scroll Speed','36')
SetPrivateProfileString('Game Options','Mouse Scroll Speed','40')
SetPrivateProfileString('Game Options','Auto Pause Center','1')
SetPrivateProfileString('Game Options','Render Actions','0')
SetPrivateProfileString('Game Options','Show Learnable Spells','1')
SetPrivateProfileString('Game Options','3E Thief Sneak Attack','0')
SetPrivateProfileString('Game Options','Nightmare Bonus Gold','0')
SetPrivateProfileString('Game Options','Quick Item Mapping','1')
SetPrivateProfileString('Game Options','Tutorial State','1')
SetPrivateProfileString('Game Options','Attack Sounds','1')
SetPrivateProfileString('Game Options','No Difficulty Based XP Bonus','1')
SetPrivateProfileString('Game Options','Show Character HP','1')
SetPrivateProfileString('Game Options','GUI Feedback Level','5')
SetPrivateProfileString('Game Options','Selection Sounds Frequency','3')
SetPrivateProfileString('Game Options','Maximum HP','1')
SetPrivateProfileString('Game Options','Weather','1')
SetPrivateProfileString('Game Options','All Learn Spell Info','0')
SetPrivateProfileString('Game Options','Extra Feedback','0')
SetPrivateProfileString('Game Options','Pausing Map','0')
SetPrivateProfileString('Game Options','Render Explored Map','0')
SetPrivateProfileString('Game Options','Always Dither','1')
SetPrivateProfileString('Game Options','Locator Feedback Level','3')
SetPrivateProfileString('Game Options','Render Travel Regions','0')
SetPrivateProfileString('Game Options','Confirm Dialog','0')
SetPrivateProfileString('Game Options','Footsteps','1')
SetPrivateProfileString('Game Options','Classic Selection Circles','0')
SetPrivateProfileString('Game Options','Color Circles','0')
SetPrivateProfileString('Game Options','Tiles Precache Percent','100')
SetPrivateProfileString('Game Options','Difficulty Level','2')
SetPrivateProfileString('Game Options','Area Effects Density','100')
SetPrivateProfileString('Game Options','Duplicate Floating Text','1')
SetPrivateProfileString('Game Options','Hotkeys On Tooltips','1')
SetPrivateProfileString('Game Options','Memory Level','1')
SetPrivateProfileString('Game Options','Infravision','0')
SetPrivateProfileString('Game Options','Nightmare Bonus XP','0')
SetPrivateProfileString('Game Options','Terrain Hugging','0')
SetPrivateProfileString('MOVIES','REST','1')
SetPrivateProfileString('MOVIES','LOGO','1')
SetPrivateProfileString('MOVIES','RESTINN','1')
SetPrivateProfileString('MOVIES','INTRO15F','1')
SetPrivateProfileString('Multiplayer','Disable Banters','1')
SetPrivateProfileString('Multiplayer','Enable Chat Menu','1')
SetPrivateProfileString('Window','Full Screen','1')
SetPrivateProfileString('Window','Maximized','0')
SetPrivateProfileString('Language','Text','en_US')
SetPrivateProfileString('Program Options','Drop Capitals','1')
SetPrivateProfileString('Program Options','Sprite Mirror','0')
SetPrivateProfileString('Program Options','Volume Ambients','40')
SetPrivateProfileString('Program Options','Volume Music','40')
SetPrivateProfileString('Program Options','Disable Cosmetic Attacks','0')
SetPrivateProfileString('Program Options','Volume Voices','100')
SetPrivateProfileString('Program Options','Path Search Nodes','32000')
SetPrivateProfileString('Program Options','Volume Movie','90')
SetPrivateProfileString('Program Options','Translucent Shadows','1')
SetPrivateProfileString('Program Options','Maximum Frame Rate','30')
SetPrivateProfileString('Program Options','Volume SFX','80')
SetPrivateProfileString('Program Options','Tooltips','15')
SetPrivateProfileString('Program Options','Font Name','')
SetPrivateProfileString('Program Options','3D Acceleration','1')
SetPrivateProfileString('Program Options','Active Campaign','0')
SetPrivateProfileString('Graphics','Greyscale On Pause','1')
SetPrivateProfileString('Graphics','vendor','Intel')
SetPrivateProfileString('Graphics','Zoom Lock','0')
SetPrivateProfileString('Graphics','version','OpenGL version 4.4.0 - Build 20.19.15.4463 - build XXXX')
SetPrivateProfileString('Graphics','Hardware Mouse Cursor','1')
SetPrivateProfileString('Graphics','renderer','Intel(R) Iris(TM) Graphics 540')
SetPrivateProfileString('Graphics','Scale UI','1')
SetPrivateProfileString('Graphics','Backend','0')
SetPrivateProfileString('Graphics','Use Nearest Neighbour Scaling','0')
SetPrivateProfileString('Graphics','Use Sprite Outlines','1')
SetPrivateProfileString('Graphics','Use Character Highlights','1')
SetPrivateProfileString('Graphics','Show Black Space','1')
SetPrivateProfileString('Program Options','Debug Mode','1')
SetPrivateProfileString('Program Options', 'Debug Mode', '1')
rather than'Program Options', 'Debug Mode', '1',
The latter worked up until version 1.3. As of 2.0, SetPrivateProfileString took over and we stopped using SQL. Spaces or tabs to not matter. :-)