Norbyte / ositools

Advanced scripting and mod support for Divinity Original Sin 2
MIT License
373 stars 30 forks source link

Updates #114

Open Sophichi opened 1 year ago

Sophichi commented 1 year ago

Is there any way to turn off auto-updates for the script extender?

PinewoodPip commented 1 year ago

Yes, you can lock it to a specific version by editing the ScriptExtenderUpdaterConfig.json file in the bin folder (not present by default, you might have to create it).

Example:

{
    "UpdateChannel": "Devel",
    "TargetVersion": "58.0.0.0",
    "TargetResourceDigest": "2e0bed670d2e172e14af13b4a6265dd341ef2fbe276f6bee8f8392de95e9fc8f",
    "Debug": true
}

This is supported in v5+ of the updater.

The digests can be found at https://dbn4nit5dt5fw.cloudfront.net/Channels/Devel/Manifest2.json (replace Devel with Release for versions from the stable branch) and timestamps are in Windows FILETIME (https://learn.microsoft.com/en-us/windows/win32/api/minwinbase/ns-minwinbase-filetime)