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!

How to enable the CLUA console in the Beamdog version of BGII EE

I've been trying to enable the CLUA console by editing the Baldur.lua file but so far I haven't been able to get it to work. Here is my Baldur.lua file before I attempt to edit it:

SetPrivateProfileString('Game Options','Environmental Audio','1')
SetPrivateProfileString('Game Options','HP Over Head','0')
SetPrivateProfileString('Game Options','Mouse Scroll Speed','40')
SetPrivateProfileString('Game Options','Confirm Dialog','0')
SetPrivateProfileString('Game Options','Show Character HP','1')
SetPrivateProfileString('Game Options','Auto Pause State','1725')
SetPrivateProfileString('Game Options','Render Travel Regions','0')
SetPrivateProfileString('Game Options','Tiles Precache Percent','100')
SetPrivateProfileString('Game Options','Command Sounds Frequency','2')
SetPrivateProfileString('Game Options','Area Effects Density','100')
SetPrivateProfileString('Game Options','GUI Feedback Level','5')
SetPrivateProfileString('Game Options','Auto Pause Center','1')
SetPrivateProfileString('Game Options','Maximum HP','1')
SetPrivateProfileString('Game Options','Cleric Ranger Spells','1')
SetPrivateProfileString('Game Options','Memory Level','1')
SetPrivateProfileString('Game Options','Effect Text Level','63')
SetPrivateProfileString('Game Options','Show Learnable Spells','1')
SetPrivateProfileString('Game Options','Bored Timeout','3000')
SetPrivateProfileString('Game Options','Tutorial State','1')
SetPrivateProfileString('Game Options','Over Confirm Everything','0')
SetPrivateProfileString('Game Options','Quick Item Mapping','1')
SetPrivateProfileString('Game Options','Journal Popups','1')
SetPrivateProfileString('Game Options','Filter Games','1')
SetPrivateProfileString('Game Options','No Difficulty Based XP Bonus','1')
SetPrivateProfileString('Game Options','Show Message Box Hint','1')
SetPrivateProfileString('Game Options','3E Thief Sneak Attack','0')
SetPrivateProfileString('Game Options','Attack Sounds','1')
SetPrivateProfileString('Game Options','Locator Feedback Level','3')
SetPrivateProfileString('Game Options','Pausing Map','0')
SetPrivateProfileString('Game Options','Terrain Hugging','0')
SetPrivateProfileString('Game Options','Nightmare Bonus XP','0')
SetPrivateProfileString('Game Options','Footsteps','1')
SetPrivateProfileString('Game Options','Selection Sounds Frequency','3')
SetPrivateProfileString('Game Options','Infravision','1')
SetPrivateProfileString('Game Options','Ranged Weapon Switching','0')
SetPrivateProfileString('Game Options','Critical Hit Screen Shake','1')
SetPrivateProfileString('Game Options','Message Box Top','158')
SetPrivateProfileString('Game Options','All Learn Spell Info','0')
SetPrivateProfileString('Game Options','Combat UI','1')
SetPrivateProfileString('Game Options','Suppress Extra Difficulty Damage','0')
SetPrivateProfileString('Game Options','Last Save TBP','000000023-After first wave')
SetPrivateProfileString('Game Options','Heal Party on Rest','1')
SetPrivateProfileString('Game Options','Classic Selection Circles','0')
SetPrivateProfileString('Game Options','Hotkeys On Tooltips','1')
SetPrivateProfileString('Game Options','Keyboard Scroll Speed','44')
SetPrivateProfileString('Game Options','Render Explored Map','1')
SetPrivateProfileString('Game Options','Render Actions','0')
SetPrivateProfileString('Game Options','Weather','1')
SetPrivateProfileString('Game Options','Duplicate Floating Text','1')
SetPrivateProfileString('Game Options','Always Dither','1')
SetPrivateProfileString('Game Options','Difficulty Level','2')
SetPrivateProfileString('Game Options','Subtitles','1')
SetPrivateProfileString('Game Options','Extra Feedback','0')
SetPrivateProfileString('Game Options','Nightmare Bonus Gold','0')
SetPrivateProfileString('Game Options','Color Circles','1')
SetPrivateProfileString('Game Options','Last Save','000000001-Quick-Save')
SetPrivateProfileString('Language','Text','en_US')
SetPrivateProfileString('Graphics','Hardware Mouse Cursor','1')
SetPrivateProfileString('Graphics','Use Nearest Neighbour Scaling','1')
SetPrivateProfileString('Graphics','Use Sprite Outlines','1')
SetPrivateProfileString('Graphics','Use Character Highlights','1')
SetPrivateProfileString('Graphics','Scale UI','1')
SetPrivateProfileString('Graphics','Zoom Lock','1')
SetPrivateProfileString('Graphics','Backend','0')
SetPrivateProfileString('Graphics','vendor','Intel')
SetPrivateProfileString('Graphics','version','OpenGL version 4.3.0 - Build 10.18.15.4248 - build XXXX')
SetPrivateProfileString('Graphics','renderer','Intel(R) HD Graphics 4400')
SetPrivateProfileString('Graphics','Greyscale On Pause','0')
SetPrivateProfileString('Graphics','Show Black Space','1')
SetPrivateProfileString('Fonts','uk_UA','PERMIAN')
SetPrivateProfileString('Fonts','ja_JP','MEIRYO')
SetPrivateProfileString('Fonts','zh_CN','SIMSUN')
SetPrivateProfileString('Fonts','ru_RU','PTSERIF')
SetPrivateProfileString('Fonts','Zoom','112')
SetPrivateProfileString('Fonts','ko_KR','NANUM')
SetPrivateProfileString('Window','Maximized','0')
SetPrivateProfileString('Window','Full Screen','1')
SetPrivateProfileString('Multiplayer','Enable Chat Menu','1')
SetPrivateProfileString('Multiplayer','Disable Banters','1')
SetPrivateProfileString('MOVIES','RESTDUNG','1')
SetPrivateProfileString('MOVIES','MINEFLOD','1')
SetPrivateProfileString('MOVIES','REST','1')
SetPrivateProfileString('MOVIES','NASHKELL','1')
SetPrivateProfileString('MOVIES','INTRO','1')
SetPrivateProfileString('MOVIES','CAMP','1')
SetPrivateProfileString('MOVIES','LOGO','1')
SetPrivateProfileString('MOVIES','BLACKPIT','1')
SetPrivateProfileString('MOVIES','RESTINN','1')
SetPrivateProfileString('MOVIES','DEATHAND','1')
SetPrivateProfileString('MOVIES','BGENTER','1')
SetPrivateProfileString('MOVIES','FRARMINN','1')
SetPrivateProfileString('MOVIES','WRECK','1')
SetPrivateProfileString('Program Options','Volume Voices','100')
SetPrivateProfileString('Program Options','Path Search Nodes','32000')
SetPrivateProfileString('Program Options','Maximum Frame Rate','30')
SetPrivateProfileString('Program Options','Volume Movie','92')
SetPrivateProfileString('Program Options','Volume Music','41')
SetPrivateProfileString('Program Options','Active Campaign','0')
SetPrivateProfileString('Program Options','Font Name','')
SetPrivateProfileString('Program Options','Never Show Nuisance SOD','1')
SetPrivateProfileString('Program Options','Drop Capitals','1')
SetPrivateProfileString('Program Options','Tooltips','17')
SetPrivateProfileString('Program Options','Disable Cosmetic Attacks','0')
SetPrivateProfileString('Program Options','Cloud Saves Enabled','0')
SetPrivateProfileString('Program Options','Translucent Shadows','1')
SetPrivateProfileString('Program Options','Volume Ambients','17')
SetPrivateProfileString('Program Options','Volume SFX','46')
SetPrivateProfileString('Program Options','Sprite Mirror','0')
SetPrivateProfileString('Program Options','3D Acceleration','1')


One of the posts in this forum suggests to do this:


Add these lines 'Program Options', 'Debug Mode', '1', You can put it right at the top if you like

CREATE TABLE options (
section string,
name string,
value string
);
INSERT INTO options ROWS (
'Program Options', 'Debug Mode', '1',

This is a little confusing - other posts say to locate the line which says "INSERT INTO options ROWS (" but as you can see there is no such line in my Baldur.lua file.

I have tried simply adding this at the top line of the Balur.lua file: 'Program Options', 'Debug Mode', '1',
however this does not work.

Maybe the problem is that most posts assume you are working with a Baldur.ini file and not the Baldur.lua file, but I would think they work mostly the same.

If anyone could please explain how I should edit the Baldur.lua file to enable the CLUA console I'd greatly appreciate the assistance. Thanks!

Comments

Sign In or Register to comment.