ProcessCanceled: Missing: F:\SteamLibrary\steamapps\common\Half-Life 2\hl2\custom at C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\renderer.js:4769:152 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)
Just had this error and was checking if it was as simple as adding the folder. The plugin scans for the Steam app ID and gets the game path, why can't it create a 'custom' folder if it can't find one? I'd add in an if statement to do so myself, but I have never written in javascript and am more likely to mess something up. Vortex may not even allow plugins to access those functions to create files or directories for security reasons for all I know.
installed 3x with no luck, restarted vortex with each try. is this supposed to add HL2 to Managed Games? the Portal 2 extension is having issues too
Half Life's error Error: Invalid game extension: should be string at Object.context.registerGame [as callback] (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\renderer.js:4101:47) at C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\renderer.js:1309:209 at Array.forEach (<anonymous>) at C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\renderer.js:1309:153 at Array.forEach (<anonymous>) at ContextProxyHandler.invokeAdditions (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\renderer.js:1309:106) at ExtensionManager.applyExtensionsOfExtensions (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\renderer.js:1399:239) at Object.<anonymous> (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\renderer.js:2659:204) at __webpack_require__ (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\renderer.js:2:27) at C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\renderer.js:7:136 at Object.<anonymous> (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\renderer.js:7:183) at Object.<anonymous> (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\renderer.js:6817:3) at Module._compile (internal/modules/cjs/loader.js:968:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:986:10) at Module.load (internal/modules/cjs/loader.js:816:32) at Module._load (internal/modules/cjs/loader.js:728:14)
Portal 2's Error: Invalid game extension: should be string at Object.context.registerGame [as callback] (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\renderer.js:4101:47) at C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\renderer.js:1309:209 at Array.forEach (<anonymous>) at C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\renderer.js:1309:153 at Array.forEach (<anonymous>) at ContextProxyHandler.invokeAdditions (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\renderer.js:1309:106) at ExtensionManager.applyExtensionsOfExtensions (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\renderer.js:1399:239) at Object.<anonymous> (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\renderer.js:2659:204) at __webpack_require__ (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\renderer.js:2:27) at C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\renderer.js:7:136 at Object.<anonymous> (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\renderer.js:7:183) at Object.<anonymous> (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\renderer.js:6817:3) at Module._compile (internal/modules/cjs/loader.js:968:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:986:10) at Module.load (internal/modules/cjs/loader.js:816:32) at Module._load (internal/modules/cjs/loader.js:728:14)
Hello! I'm not very knowledgeable when it comes to Vortex! In fact the only time I've used it is with Fallout 4, and only shortly! Would you mind explaining how exactly one goes about using the file you've provided? What location do I extract it to and such?
15 comments
at C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\renderer.js:4769:152
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)
The plugin scans for the Steam app ID and gets the game path, why can't it create a 'custom' folder if it can't find one? I'd add in an if statement to do so myself, but I have never written in javascript and am more likely to mess something up. Vortex may not even allow plugins to access those functions to create files or directories for security reasons for all I know.
--- ./hl2//index.js.bak 2020-10-22 04:06:02.884699698 +0200
+++ ./hl2//index.js 2020-10-22 04:12:52.266269796 +0200
@@ -6,6 +6,10 @@
const STEAM_ID = 220;
const GAME_ID = 'half-life2';
+const extension = process.platform == 'linux'
+ ? '.sh'
+ : '.exe';
+
function findGame() {
return util.steam.findByAppId(STEAM_ID.toString())
.then(game => game.gamePath);
@@ -68,9 +72,9 @@
supportedTools: tools,
queryModPath: () => path.join('hl2', 'custom'),
logo: 'gameart.jpg',
- executable: () => 'hl2.exe',
+ executable: () => 'hl2' + extension,
requiredFiles: [
-'hl2.exe',
+'hl2' + extension,
path.join('hl2', 'gameinfo.txt'),
],
environment: {
the Portal 2 extension is having issues too
Half Life's error
Error: Invalid game extension: should be string
at Object.context.registerGame [as callback] (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\renderer.js:4101:47)
at C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\renderer.js:1309:209
at Array.forEach (<anonymous>)
at C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\renderer.js:1309:153
at Array.forEach (<anonymous>)
at ContextProxyHandler.invokeAdditions (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\renderer.js:1309:106)
at ExtensionManager.applyExtensionsOfExtensions (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\renderer.js:1399:239)
at Object.<anonymous> (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\renderer.js:2659:204)
at __webpack_require__ (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\renderer.js:2:27)
at C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\renderer.js:7:136
at Object.<anonymous> (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\renderer.js:7:183)
at Object.<anonymous> (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\renderer.js:6817:3)
at Module._compile (internal/modules/cjs/loader.js:968:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:986:10)
at Module.load (internal/modules/cjs/loader.js:816:32)
at Module._load (internal/modules/cjs/loader.js:728:14)
Portal 2's
Error: Invalid game extension: should be string
at Object.context.registerGame [as callback] (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\renderer.js:4101:47)
at C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\renderer.js:1309:209
at Array.forEach (<anonymous>)
at C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\renderer.js:1309:153
at Array.forEach (<anonymous>)
at ContextProxyHandler.invokeAdditions (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\renderer.js:1309:106)
at ExtensionManager.applyExtensionsOfExtensions (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\renderer.js:1399:239)
at Object.<anonymous> (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\renderer.js:2659:204)
at __webpack_require__ (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\renderer.js:2:27)
at C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\renderer.js:7:136
at Object.<anonymous> (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\renderer.js:7:183)
at Object.<anonymous> (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\renderer.js:6817:3)
at Module._compile (internal/modules/cjs/loader.js:968:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:986:10)
at Module.load (internal/modules/cjs/loader.js:816:32)
at Module._load (internal/modules/cjs/loader.js:728:14)
Would you mind explaining how exactly one goes about using the file you've provided? What location do I extract it to and such?
2. go to the extensions tab on left side.
3.scroll to the bottom and click on "find more".
4.A least of extension will popt= up. Find the HL2 extension and download.