0 of 0

File information

Last updated

Original upload

Created by

GP0007

Uploaded by

GP0007

Virus scan

Safe to use

311 comments

  1. GP0007
    GP0007
    • premium
    • 7 kudos
    Locked
    Sticky
    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.

    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.
  2. Incaa
    Incaa
    • member
    • 0 kudos
    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.
    1. GP0007
      GP0007
      • premium
      • 7 kudos
      Hello,

      Could you please take a screenshot of your game's location (where the game executable is located?)Thanks in advance.
    2. XinZere
      XinZere
      • member
      • 0 kudos
      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!

    3. GP0007
      GP0007
      • premium
      • 7 kudos
      Hello,

      Can you retry with the last update ?
    4. XinZere
      XinZere
      • member
      • 0 kudos
      I tried the new version. It says no file curently locked, However all the files are still blocked.
      THX!
  3. Gino01
    Gino01
    • member
    • 0 kudos
    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?
  4. ixnni
    ixnni
    • member
    • 0 kudos
    This Mod didn't work so I tried deleting it and now I've destroyed my whole game now i don't know how to fix it.
    1. GP0007
      GP0007
      • premium
      • 7 kudos
      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.

  5. 7007king0770
    7007king0770
    • supporter
    • 0 kudos
    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
    1. m48k
      m48k
      • member
      • 0 kudos
      have you tried changing the variable manually?InstallLocation in regeditto your path to the game folder
    2. 7007king0770
      7007king0770
      • supporter
      • 0 kudos
      So how do I do this? Which lines of code in the .bat file do I change?
    3. m48k
      m48k
      • member
      • 0 kudos
      Sorry, didn't see the notification
      I created instructions
      google_docs
      https://docs.google.com/document/d/1pxmWsbFZ0pIcQ-2cctEc2R_XRBuGpwwFaq8sRKZoUBM/edit?tab=t.0
    4. m48k
      m48k
      • member
      • 0 kudos
      if it doesn't work, write me a private message, I'll give you my contacts and help
    5. CEOofPerc
      CEOofPerc
      • premium
      • 0 kudos
      not the guy you replied to but thanks for the solution worked perfectly
    6. betola12
      betola12
      • member
      • 0 kudos
      You are a lifesaver mate
  6. Przymodek
    Przymodek
    • member
    • 0 kudos
    Man it's doesn't works
  7. m48k
    m48k
    • member
    • 0 kudos
    What helped me solve the error 
    access to path is denied
    adding the path to the installed folder
    J:\hhh_ST\steamapps\common\Mount & Blade II Bannerlord
    to the InstallLocation variable in registry
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Steam App 261550
  8. Toroidus
    Toroidus
    • member
    • 0 kudos
    
    1. Toroidus
      Toroidus
      • member
      • 0 kudos
      I unblocked it in security window
    2. ElitaOne1
      ElitaOne1
      • member
      • 0 kudos
      how did u do this?
    3. Toroidus
      Toroidus
      • member
      • 0 kudos
      I just launched the file and it first opened CMD and then PowerShell
    4. KopsY
      KopsY
      • supporter
      • 0 kudos
      same issue here
    5. makoenergyx
      makoenergyx
      • premium
      • 0 kudos
      Anyone figure out how to fix this?
    6. CelestialStarmie
      CelestialStarmie
      • supporter
      • 4 kudos
      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.
    7. ThePro51773
      ThePro51773
      • member
      • 3 kudos
      Bit more explanation would have helped. Like type it where?. There are some people who don't know or who are new to PC gaming etc...
    8. SeyitAliReis
      SeyitAliReis
      • member
      • 0 kudos
      thank you very much. ı fixed last 2 hours and finsh. thank you 
    9. asfRaathaa
      asfRaathaa
      • member
      • 0 kudos
      This does not work.  Powershell says "Unblock-File" is not a command
    10. DeviantTechnique
      DeviantTechnique
      • supporter
      • 0 kudos
      CelestialStarmie
      Goated comment.
    11. M4DMAXX27
      M4DMAXX27
      • member
      • 1 kudos
      Thanks @CelestialStarmie for this guide!
    12. M4DMAXX27
      M4DMAXX27
      • member
      • 1 kudos
      ThePro51773 Like he said on Windows PowerShell, I had seen guides, way more complicated. Some things aren't that easy to explain.
    13. yuriandhisdog123
      yuriandhisdog123
      • member
      • 0 kudos
      you're the only one that worked for me tried like 5 different methods kudos bro !!!!
    14. yuriandhisdog123
      yuriandhisdog123
      • member
      • 0 kudos
      this one worked my other comment is not displaying idk frikkin nexxuz
    15. Agiselus
      Agiselus
      • premium
      • 14 kudos
      Thx a lot CelestialStarmie
    16. mn70os
      mn70os
      • supporter
      • 0 kudos
      Thank you
    17. chg3004
      chg3004
      • supporter
      • 5 kudos
      ThePro51773// "Windows Powershell"
    18. bufeifeiniao
      bufeifeiniao
      • member
      • 0 kudos
      Great! It works.
    19. LukCP
      LukCP
      • member
      • 0 kudos
      This works perfectly...even for any .dll error u might encounter for any mod.
      thank you very much :)
    20. Dover321
      Dover321
      • premium
      • 0 kudos
      You my man, are a legend. Thanks for this.
    21. crystalbreeze
      crystalbreeze
      • member
      • 0 kudos
      thank you CelestialStarmie
    22. adl212
      adl212
      • premium
      • 0 kudos
      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?

    23. pljfernandes
      pljfernandes
      • supporter
      • 0 kudos
      I do this but nothing runs... no messages, no nothing saying it was successful
    24. pljfernandes
      pljfernandes
      • supporter
      • 0 kudos
      same s#*! here.... gewtting really tired of having to do rocket science just to play a f*#@ing mop
    25. frolof
      frolof
      • member
      • 0 kudos
      @CelestialStarmie
      This did not do it for me.
    26. USSdemocrazy
      USSdemocrazy
      • member
      • 0 kudos
      TRUE HERO
    27. andreiaiks123
      andreiaiks123
      • member
      • 0 kudos
      I cannot express how much I love you man. Thank you ! 
    28. LordArantir
      LordArantir
      • member
      • 0 kudos
      Did't work for me either - launched with administrative rights
      image

      Fixed
    29. notnot112
      notnot112
      • member
      • 0 kudos
      how? mine said the same thing
  9. acutapugione
    acutapugione
    • member
    • 0 kudos
    Here an alternate version for linux distros(on python):
    https://github.com/Acutapugione/Bannerlord-II--UnblockDLLs/blob/main/main.py
    1. saintdon
      saintdon
      • member
      • 0 kudos
      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
  10. TheSnakyEyes2
    TheSnakyEyes2
    • member
    • 4 kudos
    I managed to unlock mods by using 1.3 version:
    1)Folow installation guide.
    2)Open "UnblockDLL.ps1" file in notepad. 
    3)Change
    $InstallGame = Get-ItemPropertyValue "HKLM:\Software\Microsoft\Windows\CurrentVersion\Uninstall\Steam App 261550" -name "InstallLocation" -ErrorAction SilentlyContinue

    to whatever you game path is.
    Example string: 
    $InstallGame = "c:\Program Files (x86)\Steam\steamapps\common\Mount & Blade II Bannerlord\"

    4)Launch Bat file.
    1. EnergyOrange
      EnergyOrange
      • member
      • 0 kudos
      Hey man thanks this works, appreciate it. 
    2. dilante
      dilante
      • supporter
      • 0 kudos
      it works, legend
    3. MrTrene
      MrTrene
      • member
      • 0 kudos
      thx bro
    4. beelees
      beelees
      • premium
      • 0 kudos
      Legend
    5. crop52
      crop52
      • supporter
      • 0 kudos
      Living breathing LEGEND walking among us
    6. usHappyFeet
      usHappyFeet
      • supporter
      • 0 kudos
      This was the solution for me. Thank you!!
    7. RoMan1110
      RoMan1110
      • member
      • 0 kudos
      @TheSnakyEyes2

      Thanks my guy!

      If not for you i had to manually select every DLL file and check that stupd box. Much appreciated!!!!
    8. EternityAzox
      EternityAzox
      • premium
      • 0 kudos
      bro holy s#*! you saved me hours! Thank you
    9. svin59
      svin59
      • member
      • 0 kudos
      сПАСИБО  ЗА ТРУД !ВСЕ РАБОТАЕТ!
    10. icasturg
      icasturg
      • premium
      • 0 kudos
      Hello,
      Can you just download VIA Vortex or does that not work?
    11. frolof
      frolof
      • member
      • 0 kudos
      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
      "

      Please write accurately.
    12. Healzya
      Healzya
      • supporter
      • 0 kudos
      You need to download 1.3 not 1.4.
    13. Krayt78
      Krayt78
      • member
      • 0 kudos
      Legend ! thx a lot 
  11. stormhawk20
    stormhawk20
    • member
    • 0 kudos
    How can I get this to work on gamepass? very few of the mods i've downloaded will work. They crash constantly and I cant get into the game.
    1. Yusuf9048
      Yusuf9048
      • member
      • 0 kudos
      I'm having the same problem, did you solve the problem?