Baldur's Gate 3

Note: You do NOT need to do this unless you want to run configuration commands for the mod.
If you just want to use the mod with default settings: Skip all of this

Enabling the Script Extender Console:

* This article doesn't cover installation of the Script Extender
* If you can't figure out how to install it, just use BG3 Mod Manager ( [Link] ) and do 'Download & Extract the Script Extender' from its tools menu at the top.


Enabling the Script Extender Console:

If the 'ScriptExtenderSettings.json' file doesn't already exist in your BG3 bin folder, create a file with that name (exactly - NOT 'ScriptExtenderSettings.json.txt') and put these contents in it:

{
  "CreateConsole": true
}


If the 'ScriptExtenderSettings.json' file already exists in your BG3 bin folder, add this line. Note that if you get the commas between lines wrong (too few or too many), the file will not load.

"CreateConsole": true,


Using the Script Extender Console:
* If you've done the above steps correctly, a 2nd window should start with BG3 when you run it.
* This 2nd window will look kind of like a command prompt
* While the game is running, you can switch focus to this 2nd window and press return on your keyboard to enter the Lua Console input mode
* You can enter commands into this console now

Article information

Added on

Edited on

Written by

Kvalyr

106 comments

  1. K9liberator
    K9liberator
    • supporter
    • 1 kudos
    Not working. Please offer clearer instructions. 
  2. seysoph
    seysoph
    • supporter
    • 0 kudos
    Thank you, this was very helpful.  For those who are still having problems here is how I loaded tutorial chest and achievment enabled through script extender's .json

    {
    "EnableAchievements": true, "CreateConsole": true
    }
  3. OgTwoTone
    OgTwoTone
    • member
    • 0 kudos
    HookApp::deferHook,
    HookApp::hookWindow,
    UiApp::trySetupGraphicsWindow, gwindow == window 0000000000570B66
    HookApp::hookD3d9, 0
    HookApp::deferHook,
    HookApp::hookWindow,
    UiApp::trySetupGraphicsWindow, gwindow == window 0000000000570B66
    HookApp::hookD3d9, 0
    HookApp::deferHook,
    HookApp::hookWindow,
    UiApp::trySetupGraphicsWindow, gwindow == window 0000000000570B66
    HookApp::hookD3d9, 0
    HookApp::deferHook,
    HookApp::hookWindow,

    anyone know how to stop this?
    1. mulisfish
      mulisfish
      • supporter
      • 0 kudos
      I'm no expert but for me this happened from an outside source, I disabled my clipping software and it went away.
  4. lyratcm
    lyratcm
    • supporter
    • 1 kudos
    For those using vortex and having issues with not being able to type in the console, you can still launch the game through the exe (as administrator) and have your mods loaded. by doing that i was able to type in the console
    1. edwaja7
      edwaja7
      • premium
      • 0 kudos
      That worked! thanks.
    2. Citru5Kick
      Citru5Kick
      • BANNED
      • 0 kudos
      Do u have pirated version?
      While i'm trying to do it i get launcher error bout mods

      nevermind, find out 
      EDIT: Ignore that pop out and press play in launcher.
      Game will load up and everything will be fine
  5. Bean4207
    Bean4207
    • member
    • 0 kudos
    Idk what is goin on but every time I run the game the script extender opens, doesn’t show any of my mods being active, and if I click my character to continue it shows all mods as disabled. I’ve already went through and made sure the ones I have active are properly installed and updated, they worked before, and now nothing, my modsettings.lsx shows my mods so does the mod manager, what is happening? And is anyone else experiencing this?
    1. Bean4207
      Bean4207
      • member
      • 0 kudos
      And to add I am not using native mod loader as they seemed to be conflicting so I uninstalled it
  6. ravelations
    ravelations
    • supporter
    • 0 kudos
    Right, So I don't have the .json file so I created one via Notepad++ saved as ScriptExtenderSettings file type json, (ScriptExtenderSettings.json) opened it and typed in the {
      "CreateConsole": true
    }
    Saved the file in my BG3 bin folder, all seems well nothing spontaneously exploded, Go to launch through vortex and the game wont launch, Okay i've run into this before I just need to relaunch through steam thats fine, Launch through steam, all goes well til I actually try to start the game from Larians launcher, it crashes instantly and brings up the crash report to send to Larian, disabling the console and deleting the file restored my ability to play the game through both steam & vortex, So. anyone have a method of opening the console without , bricking my game? would be most appreciated all I want to do is change Wylls hair and none of the mods for him have styles I like nor does the appearance mod work due to his head type changing after transformation.
  7. Famwise
    Famwise
    • member
    • 1 kudos
    I added a text file to the bin and named it as you instructed and put 
    {
      "CreateConsole": true

    as instructed but there's no second window. What am I doing wrong?
    1. temp39285
      temp39285
      • member
      • 0 kudos
      Make sure the exact filename is "ScriptExtenderSettings.json" and doesn't end in ".txt" instead. You can make sure it saves with the right extension by putting quotes around the filename when saving. If you have the DWrite.dll file in the bin directory as well it should work.
    2. morniah
      morniah
      • member
      • 0 kudos
      I had the same issue! I used this free converter to convert my .txt file to .json (as Windows didn't do it automatically). After converting your file, make sure you remove ".json" from the file name (it will already be in the correct format). Basically your file should just be called "ScriptExtenderSettings".
    3. Raigyu
      Raigyu
      • supporter
      • 0 kudos
      You can also enable windows explorer to see filename extensions and edit it that way
    4. QuackerYu
      QuackerYu
      • member
      • 0 kudos
      Where do we add the 
      {
        CreateConsole true

      ?
      I made the Script Extender folder but i dont know what to put that code into
    5. epar
      epar
      • member
      • 0 kudos
      QuackerYu: in the ScriptExtenderSettings.json
    6. SomeMineral
      SomeMineral
      • member
      • 0 kudos
      I wish I knew how to make a .json file lmfao
    7. EtherealWarlock
      EtherealWarlock
      • supporter
      • 1 kudos
      I mean, it's not that many sentences... Do you people even read?
  8. CardamomShark
    CardamomShark
    • member
    • 0 kudos
    Hate to be that guy but it's not working for me. The file name and type are exactly the same (copy-pasted) and my file is .json not .txt.
    pls help
    1. AndraHawke
      AndraHawke
      • member
      • 0 kudos
      Same here
    2. fenexus
      fenexus
      • supporter
      • 0 kudos
      download notepadd++ its free and you can specifcally "save as new" and save it as an actual .json that worked for me
  9. BlyZeraz
    BlyZeraz
    • member
    • 3 kudos
    yeah, this isn't working for me either.
  10. cory537
    cory537
    • premium
    • 0 kudos
    I've had this console installed for months and then uninstalled the game and reinstalled a few days ago and now the console doesn't show up.  I reinstalled everything EXACTLY as described and no luck.  all my files are where they should be and are formatted correctly.  I have no idea whats wrong