I think there's an issue with this. When I try to manually find the install folder, it says: "This directory doesn't appear to contain the game. Usually you need to select the top-level game directory, containing the following files: launcher/Launcher.exe binaries/Darktide.exe start_protected_game.exe"
The directory I'm using is "E:\SteamLibrary\steamapps\common\Warhammer 40,000 DARKTIDE" Any advice?
reinstall the extension, you have an old version of the extension, the update removed "start_protected_game.exe" from being a required file because it no longer exists
I'm having the same error, can't load the extension
C:\Users\xxxxxxxx\AppData\Roaming\Vortex\plugins\Warhammer 40k Darktide-684-1-5-1-1731060093\index.js:551 context.api.events.on("will-install-mod", (_, _, modId) => { ^ SyntaxError: Duplicate parameter name not allowed in this context at new Script (node:vm:94:7) at wrapSafe (node:internal/modules/cjs/loader:1164:20) at Module._compile (node:internal/modules/cjs/loader:1227:27) at Module._extensions..js (node:internal/modules/cjs/loader:1326:10) at Module.load (node:internal/modules/cjs/loader:1126:32) at Module._load (node:internal/modules/cjs/loader:967:12) at l._load (node:electron/js2c/asar_bundle:2:13642) at o._load (node:electron/js2c/renderer_init:2:2455) at Function._load (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\renderer.js:9970:126) at Module.require (node:internal/modules/cjs/loader:1150:19) at Module.require (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\renderer.js:9525:127) at Proxy.require (node:internal/modules/cjs/helpers:119:18) at installExtensionDependencies (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\renderer.js:2641:16) at C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\renderer.js:2643:140 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)
SyntaxError: Duplicate parameter name not allowed in this context at new Script (node:vm:94:7) at wrapSafe (node:internal/modules/cjs/loader:1164:20) at Module._compile (node:internal/modules/cjs/loader:1227:27) at Module._extensions..js (node:internal/modules/cjs/loader:1326:10) at Module.load (node:internal/modules/cjs/loader:1126:32) at Module._load (node:internal/modules/cjs/loader:967:12) at l._load (node:electron/js2c/asar_bundle:2:13642) at o._load (node:electron/js2c/renderer_init:2:2455) at Function._load (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\renderer.js:9970:126) at Module.require (node:internal/modules/cjs/loader:1150:19) at Module.require (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\renderer.js:9525:127) at Proxy.require (node:internal/modules/cjs/helpers:119:18) at installExtensionDependencies (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\renderer.js:2641:16) at C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\renderer.js:2643:140 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)
SyntaxError: Duplicate parameter name not allowed in this context
*Doing the Advanced Vortex installation (dropping the zip file in the extension tab of vortex on the designated spot) of the previous version (1.5.0) restored modding functionality in Vortex.
Feature request: Could you add a mod type for Engine Injectors (to the "binaries" folder)? The Vortex built-in one does not work here for some reason (also installs to the root folder like default mods).
If they wanted to add vortex support they could just simply put it in a binary folder... I could maybe add support but them adding a binary folder inside is way simpler
After installing this version of the extension (was using the old 0.0.3 version from GitHub with no issues), the extension installs mods directly in the install directory instead of in the /mods folder. Is this a setting that is fucked up in my install or profile, or an issue with the new version of the extension?
Not sure what caused my problems (there was more than one, including it telling me all my mods were redundant). After f*#@ing with it for a while, including reinstalling all the mods (using Vortex's reinstall button) everything is back to normal.
When going from 0.0.3 to the current version it may cause some problem due to the way the mod folder and other things are installed. The best way to avoid any issue: Purge mods, remove old extension add new extension deploy mods
I have tried this procedure multiple times, and every time the new extension puts the mod folders in the game's root directory rather than the "mods" folder. I have to continue using 0.0.3 for this reason.
I saw your instructions on the DT Modders Discord thread for this extension. I was able to get everything sorted out by REINSTALLING all of my mods after updating the extension (purging mods before the update).
Thanks for creating this extension! It looks like the latest update fixed mods being removed from the load order after updating. That is gonna save me a lot of time.
Vortex won't install the new extension. When I started Vortex and it went to auto-install the new version, it gave me an error: "Failed to install extension." I purged all mods, removed the extension, restarted Vortex, re-added Darktide, got prompted to install the extension, got the same error. Manually downloaded, dragged to the "drop file(s)" box in the extensions tab, same error. Manually installed into the %appdata folder, but no mods load. Tried going back to previous version of the extension, but mods still won't load. Not sure what to do at this point...any thoughts?
btw, the error details say "TypeError: context.api.onAsync is not a function"
This is happening for me as well. Complete uninstall and reinstall of vortex did not fix. Ended up having to use the mod load order buddy for it to work. The mods deploy, but it won't write to the text file.
EDIT: I didn't see you'd uploaded a new version when I wrote this. I'll try it ASAP and see how it works :)
Thank you for the assistance.
---------
I've done so but no change unfortunately.
After uninstall, I manually removed the vortex data from %appdata%/vortex by deleting the entire folder. After reinstall, the issue persists. Additionally, since this was working just last week, I decided to downgrade vortex to 1.9.9, but the same thing occurred. I also tried installing the 1.9.11 pre release from https://github.com/Nexus-Mods/Vortex/releases/, with no change.
Other games that require an extension still seem to function. Not sure whats causing this.
Lastly, the behavior I've noticed is this:
When trying to install the extension via vortex, it fails and says it can't be installed. More details shows the TypeError: context.api.onAsync is not a function.
However, if I restart Vortex at this point, the extension is there. I can verify it shows up in the appdata plugins folder once the install fails.
At this point, I can deploy mods and they install to the darktide mods folder, but the load order never populates. I also get an error that the game entry doesn't exist when opening the load order tab, despite mods deploying the correct folder.
When I originally encountered the issue, my load order was still there from when it was working, but when I checked the boxes, I would get the game entry not found error, and no changes would be made to the mod load text file.
The issue is certainly able to be worked around, it is just a bummer.
The new update definitely fixed the TyperError:context.api.onasync... issue.
But for some reason, I'm still getting an error when opening the Load order. The mod load order just doesn't seem to get modified at all.
This even persists when trying to downgrade to the 1.1.1 plugin... even after a complete vortex uninstall and reinstall. No clue what the cause could be. I'd agree that it doesn't seem to be solely the plugin at fault, just because if it was, it shouldn't persist when going back a version. I'm definitely at a loss.
This is the error I get:
...despite the fact that the mods install correctly to the correct folder, so I'll just have to modify the load order text outside of Vortex.
"Ask the user to ensure that the %appdata%/vortex/plugins folder only has one instance of the extension - something tells me he may have duplicates (even archives need to be removed)" said a dev
36 comments
- check if you have the latest version and if not download latest version or just wait maximum a day for vortex to update it.
- put it in bugs section
- check if someone has already reported it
- say what you did to get this error, give some context. (Do not just drop the error you got) Example :
- I installed mod X and it gave me this error.- It was the first time I launched vortex after installing the extension and it gave me this error.
If you're not respecting any of this your post or bug may get deleted or closed without it getting looked at properly.
"This directory doesn't appear to contain the game.
Usually you need to select the top-level game directory, containing the following files:
launcher/Launcher.exe
binaries/Darktide.exe
start_protected_game.exe"
The directory I'm using is "E:\SteamLibrary\steamapps\common\Warhammer 40,000 DARKTIDE"
Any advice?
Edit: After manually installing the extension it works.
SyntaxError: Duplicate parameter name not allowed in this context
C:\Users\xxxxxxxx\AppData\Roaming\Vortex\plugins\Warhammer 40k Darktide-684-1-5-1-1731060093\index.js:551
context.api.events.on("will-install-mod", (_, _, modId) => {
^
SyntaxError: Duplicate parameter name not allowed in this context
at new Script (node:vm:94:7)
at wrapSafe (node:internal/modules/cjs/loader:1164:20)
at Module._compile (node:internal/modules/cjs/loader:1227:27)
at Module._extensions..js (node:internal/modules/cjs/loader:1326:10)
at Module.load (node:internal/modules/cjs/loader:1126:32)
at Module._load (node:internal/modules/cjs/loader:967:12)
at l._load (node:electron/js2c/asar_bundle:2:13642)
at o._load (node:electron/js2c/renderer_init:2:2455)
at Function._load (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\renderer.js:9970:126)
at Module.require (node:internal/modules/cjs/loader:1150:19)
at Module.require (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\renderer.js:9525:127)
at Proxy.require (node:internal/modules/cjs/helpers:119:18)
at installExtensionDependencies (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\renderer.js:2641:16)
at C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\renderer.js:2643:140
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)
C:\Users\xxxxxxxxx\AppData\Roaming\Vortex\plugins\Warhammer 40k Darktide-684-1-5-1-1731060093\index.js:551
context.api.events.on("will-install-mod", (_, _, modId) => {
^
SyntaxError: Duplicate parameter name not allowed in this context
at new Script (node:vm:94:7)
at wrapSafe (node:internal/modules/cjs/loader:1164:20)
at Module._compile (node:internal/modules/cjs/loader:1227:27)
at Module._extensions..js (node:internal/modules/cjs/loader:1326:10)
at Module.load (node:internal/modules/cjs/loader:1126:32)
at Module._load (node:internal/modules/cjs/loader:967:12)
at l._load (node:electron/js2c/asar_bundle:2:13642)
at o._load (node:electron/js2c/renderer_init:2:2455)
at Function._load (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\renderer.js:9970:126)
at Module.require (node:internal/modules/cjs/loader:1150:19)
at Module.require (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\renderer.js:9525:127)
at Proxy.require (node:internal/modules/cjs/helpers:119:18)
at installExtensionDependencies (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\renderer.js:2641:16)
at C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\renderer.js:2643:140
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)
C:\Users\xxxxxxxxx\AppData\Roaming\Vortex\plugins\Warhammer 40k Darktide-684-1-5-1-1731060093\index.js:551
context.api.events.on("will-install-mod", (_, _, modId) => {
^
SyntaxError: Duplicate parameter name not allowed in this context
*Doing the Advanced Vortex installation (dropping the zip file in the extension tab of vortex on the designated spot) of the previous version (1.5.0) restored modding functionality in Vortex.
I could maybe add support but them adding a binary folder inside is way simpler
After installing this version of the extension (was using the old 0.0.3 version from GitHub with no issues), the extension installs mods directly in the install directory instead of in the /mods folder. Is this a setting that is fucked up in my install or profile, or an issue with the new version of the extension?
Not sure what caused my problems (there was more than one, including it telling me all my mods were redundant). After f*#@ing with it for a while, including reinstalling all the mods (using Vortex's reinstall button) everything is back to normal.The best way to avoid any issue:
Purge mods,
remove old extension
add new extension
deploy mods
it'll be easier to solve your problems
Thanks for creating this extension! It looks like the latest update fixed mods being removed from the load order after updating. That is gonna save me a lot of time.
I'm glad you were able to make it work.
I purged all mods, removed the extension, restarted Vortex, re-added Darktide, got prompted to install the extension, got the same error.
Manually downloaded, dragged to the "drop file(s)" box in the extensions tab, same error.
Manually installed into the %appdata folder, but no mods load.
Tried going back to previous version of the extension, but mods still won't load.
Not sure what to do at this point...any thoughts?
btw, the error details say "TypeError: context.api.onAsync is not a function"
Extension errors out every time.
Vortex is up to date.
Thank you for the assistance.
---------
I've done so but no change unfortunately.
After uninstall, I manually removed the vortex data from %appdata%/vortex by deleting the entire folder. After reinstall, the issue persists.
Additionally, since this was working just last week, I decided to downgrade vortex to 1.9.9, but the same thing occurred. I also tried installing the 1.9.11 pre release from https://github.com/Nexus-Mods/Vortex/releases/, with no change.
Other games that require an extension still seem to function. Not sure whats causing this.
Lastly, the behavior I've noticed is this:
When trying to install the extension via vortex, it fails and says it can't be installed. More details shows the TypeError: context.api.onAsync is not a function.
However, if I restart Vortex at this point, the extension is there. I can verify it shows up in the appdata plugins folder once the install fails.
At this point, I can deploy mods and they install to the darktide mods folder, but the load order never populates. I also get an error that the game entry doesn't exist when opening the load order tab, despite mods deploying the correct folder.
When I originally encountered the issue, my load order was still there from when it was working, but when I checked the boxes, I would get the game entry not found error, and no changes would be made to the mod load text file.
The issue is certainly able to be worked around, it is just a bummer.
But for some reason, I'm still getting an error when opening the Load order. The mod load order just doesn't seem to get modified at all.
This even persists when trying to downgrade to the 1.1.1 plugin... even after a complete vortex uninstall and reinstall. No clue what the cause could be. I'd agree that it doesn't seem to be solely the plugin at fault, just because if it was, it shouldn't persist when going back a version. I'm definitely at a loss.
This is the error I get:
...despite the fact that the mods install correctly to the correct folder, so I'll just have to modify the load order text outside of Vortex.
%appdata%/vortex/plugins
folder only has one instance of the extension - something tells me he may have duplicates (even archives need to be removed)" said a dev