Coder Social home page Coder Social logo

Comments (23)

d3xMachina avatar d3xMachina commented on August 24, 2024 1

From reading the source code it looks like it downloads the BG3SE version compatible with your game version in "%APPDATA%..\Local\BG3ScriptExtender" at the start.

It downloads ".package" files from here. (those can be opened with 7zip)

You can disable the update process by setting "DisableUpdates" to true in your config.

You need to at least run it once with the update enabled or it won't work. After updating your game you will probably need to allow the update again.

from bg3se.

Pintaius avatar Pintaius commented on August 24, 2024 1

For if it might be of help I had a similar issue of the game not loading properly after updating to Patch 2 (crash at first loading screen around 93%), and after tinkering a lot with mods and configurations I traced it back to the script extender. The post by @d3xMachina above gave me an idea and I deleted my "%APPDATA%..\Local\BG3ScriptExtender" folder. The game then started normally and (with Internet on) downloaded the contents of that folder again. It now all works even with the Internet off.

from bg3se.

Norbyte avatar Norbyte commented on August 24, 2024 1

Short version of the manual install method is:

  • Copy BG3ScriptExtender.dll and libprotobuf-lite.dll to Baldurs Gate 3\bin
  • Rename BG3ScriptExtender.dll to DWrite.dll (overwrite the previous DLL you downloaded)
  • Profit?

Note that this means you need to manually get the package each time a new extender version is required by a mod.

from bg3se.

Cerberus-tm avatar Cerberus-tm commented on August 24, 2024

Hmm is there no way to use this without connecting to the Internet? I'd rather not.

from bg3se.

Cerberus-tm avatar Cerberus-tm commented on August 24, 2024

@d3xMachina Hey, thanks for looking into it! I'll see whether I can find this config.

I have just updated the game to Patch 2, and now Script Extender seems to give an error and not work at all any more, hmm.

from bg3se.

Cerberus-tm avatar Cerberus-tm commented on August 24, 2024

@Pintaius Thank you very much, deleting that folder solved the problem for me!

@d3xMachina I cannot find this config anywhere, do you have any idea where it could be?

from bg3se.

d3xMachina avatar d3xMachina commented on August 24, 2024

@Cerberus-tm You have to create the config file "ScriptExtenderSettings.json" in the bin folder of the game.

An example of config :

{
"CreateConsole": true,
"EnableAchievements": true
}

from bg3se.

Snarkyfork avatar Snarkyfork commented on August 24, 2024

Hmm, maybe I can go without a bag of holding... heh.

I downloaded the package file dated for the last update and unzipped it. It gives me 4 files:

BG3ScriptExtender.dll
CrashReporter.exe
libprotobuf-lite.dll
Version.txt

I assume these go into the same directory as the DWrite.dll file?

Does the script extender create the (ScriptExtenderSettings.json file when I first run the game with it installed? Or can someone upload a config file here for me, so I can turn off updates? Please.

Having a non-update version with these instructions on the description page would be fantastic. People tend to not trust or simply dislike mods that want to connect to the internet each time the game is played. I didn't even play Diablo 3 for years because of that.

How or when do I get the config file

from bg3se.

greene7979 avatar greene7979 commented on August 24, 2024

@Norbyte what package should I be downloading for this manual install method as listed above to prevent automatic downloads? The package I'm downloading from this project is only giving me the DWrite.dll and ScriptExtenderSettings.json. I'm having trouble with the instructions above unfortunately.

Can you also confirm what @d3xMachina wrote above that you can disable the update process by setting "DisableUpdates" to true in your config?

Thank you, and I apologize for my poor understanding of your work. You're doing great work for the community!

from bg3se.

Cerberus-tm avatar Cerberus-tm commented on August 24, 2024

Thank you @Norbyte for making this! And for your instructions for the manual installation, it works for me.

Thank you @d3xMachina for the instructions for the settings file, it seems to work!

from bg3se.

AbsoIuteZER0 avatar AbsoIuteZER0 commented on August 24, 2024

@Pintaius my BG3ScriptExtender Folder located in "%APPDATA%..\Local" was empty, is that normal? If not, what kind of content/files are suppose to be in there?

from bg3se.

XetoKiyaba avatar XetoKiyaba commented on August 24, 2024

@Pintaius my BG3ScriptExtender Folder located in "%APPDATA%..\Local" was empty, is that normal? If not, what kind of content/files are suppose to be in there?

@Norbyte
ive got this same issue it refuses to download any files there and wont show a console on launch nothing! post the files it downloads please so we can manually input them

from bg3se.

TaliZoraVasTyria avatar TaliZoraVasTyria commented on August 24, 2024

Short version of the manual install method is:

  • Copy BG3ScriptExtender.dll and libprotobuf-lite.dll to Baldurs Gate 3\bin
  • Rename BG3ScriptExtender.dll to DWrite.dll (overwrite the previous DLL you downloaded)
  • Profit?

Note that this means you need to manually get the package each time a new extender version is required by a mod.

yes please can we have a manual download version as well? my game files script extender also refuse to connect online

from bg3se.

Cerberus-tm avatar Cerberus-tm commented on August 24, 2024

Short version of the manual install method is:

  • Copy BG3ScriptExtender.dll and libprotobuf-lite.dll to Baldurs Gate 3\bin
  • Rename BG3ScriptExtender.dll to DWrite.dll (overwrite the previous DLL you downloaded)
  • Profit?

Note that this means you need to manually get the package each time a new extender version is required by a mod.

yes please can we have a manual download version as well? my game files script extender also refuse to connect online

@d3xMachina Gave a link above, where you can get the 'offline' packages, which worked for me:

https://d3u76crhadhyzl.cloudfront.net/Channels/Release/Manifest.json

You should probably check what version your game is, to get the right version of the package.

from bg3se.

Norbyte avatar Norbyte commented on August 24, 2024

Note: The manifest URL has changed, https://bg3se-updates.norbyte.dev/Channels/Release/Manifest.json is the new one.

from bg3se.

AbsoIuteZER0 avatar AbsoIuteZER0 commented on August 24, 2024

For those confused on how to get "BG3ScriptExtender.dll" and "libprotobuf-lite.dll" for the manual install, the link Norbyte posted above me takes you to a wall of text. Look carefully and you'll see several links next to the "URL" sections. Choose and highlight one of the links, right click, open the link, and it'll download the package for you. After that just follow Norbyte's instructions above on how to manual install it.

from bg3se.

Norbyte avatar Norbyte commented on August 24, 2024

In case you still get errors from the updater, can you try with this version and post the console output?
If it still fails, set "IPv4Only": true in ScriptExtenderUpdaterConfig.json and see if it has any effect.
BG3SE-Updater-v4-Debug.zip

Alternatively an updaterless version is available here (essentially the same as manually getting the .package and renaming the dll):
https://bg3se-updates.norbyte.dev/Channels/Release/ManualInstall.zip
(Note: You have to update this one manually each time a new build comes out.)

from bg3se.

TaliZoraVasTyria avatar TaliZoraVasTyria commented on August 24, 2024

In case you still get errors from the updater, can you try with this version and post the console output? If it still fails, set "IPv4Only": true in ScriptExtenderUpdaterConfig.json and see if it has any effect. BG3SE-Updater-v4-Debug.zip

Alternatively an updaterless version is available here (essentially the same as manually getting the .package and renaming the dll): https://bg3se-updates.norbyte.dev/Channels/Release/ManualInstall.zip (Note: You have to update this one manually each time a new build comes out.)

ok so i just download the manuainstall, extract it and put it to the bin folder? the file name is already dwrite.dll so I guess I don't have to rename it?

PS: okay the manual downloader work, thank you so much

from bg3se.

AbsoIuteZER0 avatar AbsoIuteZER0 commented on August 24, 2024

Question, I noticed that a lot of my C Drive memory is being consumed by newly created files in the "Extender Logs" located in C:\Users\Zero\AppData\Local\Larian Studios\Baldur's Gate 3\Extender Logs. Is this because of the Script Extender or something else (and how do I disable it)?

from bg3se.

Cerberus-tm avatar Cerberus-tm commented on August 24, 2024

Question, I noticed that a lot of my C Drive memory is being consumed by newly created files in the "Extender Logs" located in C:\Users\Zero\AppData\Local\Larian Studios\Baldur's Gate 3\Extender Logs. Is this because of the Script Extender or something else (and how do I disable it)?

I don't even have this folder.

from bg3se.

TaliZoraVasTyria avatar TaliZoraVasTyria commented on August 24, 2024

ok a bit unrelated to the no internet issue, but patch 4 just dropped, do I need to manually download the script extender again or leave it be if there's no update to the script extender itself?

PS: ah shoot...even after updating manually I still got this error from bg3 mod manager
image

from bg3se.

komori avatar komori commented on August 24, 2024

ok a bit unrelated to the no internet issue, but patch 4 just dropped, do I need to manually download the script extender again or leave it be if there's no update to the script extender itself?

PS: ah shoot...even after updating manually I still got this error from bg3 mod manager image

Getting the exact same issue as you. Been trying various versions of the script extender with no luck.

from bg3se.

Norbyte avatar Norbyte commented on August 24, 2024

I'm closing old issues related to old game versions, since those were largely fixed by later game patches and SE updates and are no longer relevant/reproducible.

from bg3se.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.