Since version 1.5, I have improved the game installation detection system based on the game's APPID. This should fix a lot of game detection issues, especially when moving the game to another disk. Adds detection of games from Xbox Game Pass when the script cannot find the game (Thanks to @AgentDeer and @Yahya98)
This version always including Steam Game Version & Gog Game Version & Select Directory Game : Download the file and unzip the content where you want.
If you have problems using version 1.5, do not hesitate to reuse version 1.4 or 1.3 or 1.2.
For any problem launching the game with mods, be aware that UnblockDLL does not corrupt your game. It only unblocks files blocked by the system. I therefore invite you to update your mods and check your mods one by one in order to check if your game is malfunctioning.
Seems still to not be picking up the gamepass version it still asks me to select the directory, and when I do it says hit enter and then closes if I do.
Hi! I have a similar problem on gamepass. I tried to selecte difference directory, but it didnt work. I uploaded a video of me trying to use it, unfortunately it doesnt work. THX!
Just downloaded this to make Calradia Expanded work. Immediately crashed my PC, and now it continues to crash every few minutes. Also, Vortex can't "set game mode" DataInvalid: Non-whitespace before first tag.Line: 0Column: 1Char: at C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar.unpacked\bundledPlugins\game-mount-and-blade2\util.js:38:30 at tryCatcher (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\node_modules\bluebird\js\release\util.js:16:23) at Promise._settlePromiseFromHandler (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\node_modules\bluebird\js\release\promise.js:547:31) at Promise._settlePromise (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\node_modules\bluebird\js\release\promise.js:604:18) at Promise._settlePromise0 (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\node_modules\bluebird\js\release\promise.js:649:10) at Promise._settlePromises (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\node_modules\bluebird\js\release\promise.js:725:18) at _drainQueueStep (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\node_modules\bluebird\js\release\async.js:93:12) at _drainQueue (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\node_modules\bluebird\js\release\async.js:86:9) at Async._drainQueues (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\node_modules\bluebird\js\release\async.js:102:5) at Async.drainQueues (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\node_modules\bluebird\js\release\async.js:15:14)
Do you know how to fix this, or should I just delete this and skip Calradia Expanded?
Hello, Can you give me the script execution error code? If there were no errors and everything went well, keep the following in mind :
For any problem launching the game with mods, be aware that UnblockDLL does not corrupt your game. It only unblocks files blocked by the system. I therefore invite you to update your mods and check your mods one by one in order to check if your game is malfunctioning.
I can follow simple instructions to make changes to code, but I don't understand what code means. Can someone please read this and message me what specifically I need to do in order to make the code work properly? I'm trying to play Modded Bannerlord but the mods won't function because of DLL reading errors. I need to unblock the DLLs for the mods to work. This is my module's folder directory: C:\Program Files (x86)\Steam\steamapps\common\Mount & Blade II Bannerlord\Modules
Sorry, didn't see the notification I created instructions google_docs https://docs.google.com/document/d/1pxmWsbFZ0pIcQ-2cctEc2R_XRBuGpwwFaq8sRKZoUBM/edit?tab=t.0
This is the correct path for MOST people: Drive Letter:\SteamLibrary\steamapps\common\Mount & Blade II Bannerlord\Modules
Many people will tell you to put "Drive Letter:\Steam\steamapps\common\Mount & Blade II Bannerlord\Modules"
This path is often incorrect, unless you installed your games and Steam on your C drive, which most gamers don't do.
The solution to all your problems _______________________________________________________
Step 1 - Run Windows Powershell as Administrator (Already installed on Windows by default)
Step 2 - Type the following, replacing "Drive Letter" with your drive letter (duh) and then hit enter: cd "Drive Letter:\SteamLibrary\steamapps\common\Mount & Blade II Bannerlord\Modules"
Step 3 - Then type the following and hit enter: gci -recurse | Unblock-File
Your game will now load DLL mod files without needing to manually unblock each DLL file, which is handy for complete conversions.
How do we know if it worked? I think it did since I didn't get any errors in PS. But I didn't get any succes message either... After step 3 and hitting enter, it just started a new exact same line as the one above. Does that mean it's good?
please tell me step by step what to do with this file? I have a steam deck on steam os, which is a modified linux and I have no idea what to do with this file
I don't understand, there is no "$InstallGame" code. It says something like this on top tho: " # Current Directory Game Files (Steam) $InstallLocation_Steam = Get-ItemPropertyValue "HKLM:\Software\Microsoft\Windows\CurrentVersion\Uninstall\Steam App 261550" -name "InstallLocation" -ErrorAction SilentlyContinue $DisplayName_Steam = Get-ItemPropertyValue "HKLM:\Software\Microsoft\Windows\CurrentVersion\Uninstall\Steam App 261550" -name "DisplayName" -ErrorAction SilentlyContinue "
311 comments
Adds detection of games from Xbox Game Pass when the script cannot find the game (Thanks to @AgentDeer and @Yahya98)
This version always including Steam Game Version & Gog Game Version & Select Directory Game :
Download the file and unzip the content where you want.
1 - Download File
2 - Unzip it
3 - Execute "LaunchMe.bat"
If you have problems using version 1.5, do not hesitate to reuse version 1.4 or 1.3 or 1.2.
For any problem launching the game with mods, be aware that UnblockDLL does
not corrupt your game. It only unblocks files blocked by the system. I
therefore invite you to update your mods and check your mods one by one
in order to check if your game is malfunctioning.
Could you please take a screenshot of your game's location (where the game executable is located?)Thanks in advance.
I uploaded a video of me trying to use it, unfortunately it doesnt work. THX!
Can you retry with the last update ?
THX!
Also, Vortex can't "set game mode"
DataInvalid: Non-whitespace before first tag.Line: 0Column: 1Char:
at C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar.unpacked\bundledPlugins\game-mount-and-blade2\util.js:38:30
at tryCatcher (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\node_modules\bluebird\js\release\util.js:16:23)
at Promise._settlePromiseFromHandler (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\node_modules\bluebird\js\release\promise.js:547:31)
at Promise._settlePromise (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\node_modules\bluebird\js\release\promise.js:604:18)
at Promise._settlePromise0 (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\node_modules\bluebird\js\release\promise.js:649:10)
at Promise._settlePromises (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\node_modules\bluebird\js\release\promise.js:725:18)
at _drainQueueStep (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\node_modules\bluebird\js\release\async.js:93:12) at _drainQueue (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\node_modules\bluebird\js\release\async.js:86:9)
at Async._drainQueues (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\node_modules\bluebird\js\release\async.js:102:5)
at Async.drainQueues (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\node_modules\bluebird\js\release\async.js:15:14)
Do you know how to fix this, or should I just delete this and skip Calradia Expanded?
Can you give me the script execution error code?
If there were no errors and everything went well, keep the following in mind :
Can someone please read this and message me what specifically I need to do in order to make the code work properly?
I'm trying to play Modded Bannerlord but the mods won't function because of DLL reading errors. I need to unblock the DLLs for the mods to work.
This is my module's folder directory: C:\Program Files (x86)\Steam\steamapps\common\Mount & Blade II Bannerlord\Modules
InstallLocation
inregedit
to your path to the game folderI created instructions
google_docs
https://docs.google.com/document/d/1pxmWsbFZ0pIcQ-2cctEc2R_XRBuGpwwFaq8sRKZoUBM/edit?tab=t.0
Drive Letter:\SteamLibrary\steamapps\common\Mount & Blade II Bannerlord\Modules
Many people will tell you to put "Drive Letter:\Steam\steamapps\common\Mount & Blade II Bannerlord\Modules"
This path is often incorrect, unless you installed your games and Steam on your C drive, which most gamers don't do.
The solution to all your problems
_______________________________________________________
Step 1 - Run Windows Powershell as Administrator (Already installed on Windows by default)
Step 2 - Type the following, replacing "Drive Letter" with your drive letter (duh) and then hit enter:
cd "Drive Letter:\SteamLibrary\steamapps\common\Mount & Blade II Bannerlord\Modules"
Step 3 - Then type the following and hit enter:
gci -recurse | Unblock-File
Your game will now load DLL mod files without needing to manually unblock each DLL file, which is handy for complete conversions.
Goated comment.
thank you very much :)
This did not do it for me.
image
Fixed
https://github.com/Acutapugione/Bannerlord-II--UnblockDLLs/blob/main/main.py
1)Folow installation guide.
2)Open "UnblockDLL.ps1" file in notepad.
3)Change
to whatever you game path is.
Example string:
4)Launch Bat file.
Thanks my guy!
If not for you i had to manually select every DLL file and check that stupd box. Much appreciated!!!!
Can you just download VIA Vortex or does that not work?
It says something like this on top tho:
"
# Current Directory Game Files (Steam)
$InstallLocation_Steam = Get-ItemPropertyValue "HKLM:\Software\Microsoft\Windows\CurrentVersion\Uninstall\Steam App 261550" -name "InstallLocation" -ErrorAction SilentlyContinue
$DisplayName_Steam = Get-ItemPropertyValue "HKLM:\Software\Microsoft\Windows\CurrentVersion\Uninstall\Steam App 261550" -name "DisplayName" -ErrorAction SilentlyContinue
"
Please write accurately.