HGL
extended-salmon
Heroic crashes upon launch.
Heroic crashes when attempting launch in desktop. In gaming mode it won't open either.
17 Replies
extended-salmonOP•3mo ago
I was testing different proton versions for train sim world 5 because it said it needed c++ but now heroic won't open.
extended-salmonOP•3mo ago
Try running
flatpak run com.heroicgameslauncher.hgl
from a terminal, that should give some details on what's going wrongextended-salmonOP•3mo ago
A JavaScript error occurred in the main process
Uncaught Exception:
SyntaxError: Unterminated string in JSON at position 8177 (line 345 column 28)
at JSON.parse (<anonymous>)
at ElectronStore.Conf._deserialize (/app/bin/heroic/resources/app.asar/node_modules/conf/dist/source/index.js:67:43)
at ElectronStore.get store [as store] (/app/bin/heroic/resources/app.asar/node_modules/conf/dist/source/index.js:278:43)
at new Conf (/app/bin/heroic/resources/app.asar/node_modules/conf/dist/source/index.js:131:32)
at new ElectronStore (/app/bin/heroic/resources/app.asar/node_modules/electron-store/index.js:69:3)
at new st (/app/bin/heroic/resources/app.asar/build/main/main.js:2:8418)
at Module.<anonymous> (/app/bin/heroic/resources/app.asar/build/main/main.js:197:5052)
at Module._compile (node:internal/modules/cjs/loader:1373:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1432:10)
at Module.load (node:internal/modules/cjs/loader:1215:32)
Gtk-Message: 18:56:02.598: Failed to load module "canberra-gtk-module"
fascinating-indigo•3mo ago
is this everything that is displayed in the terminal after running the above command?
Sounds like one of your config files got corrupted
Please send in all files in
~/.var/app/com.heroicgameslauncher.hgl/config/heroic/store/
extended-salmonOP•3mo ago
Yep.
firefox says
SyntaxError: JSON.parse: unterminated string at line 345 column 28 of the JSON data
in config (dot) json
wait i think heroic didnt close the variable i think its missing the " and }
Something like that's gonna be the issue, yes. You can try fixing it yourself, or send the file into here
extended-salmonOP•3mo ago
i put the " and }, and it still wont work
Same error still?
extended-salmonOP•3mo ago
A JavaScript error occurred in the main process
Uncaught Exception:
SyntaxError: Unexpected end of JSON input
at JSON.parse (<anonymous>)
at ElectronStore.Conf._deserialize (/app/bin/heroic/resources/app.asar/node_modules/conf/dist/source/index.js:67:43)
at ElectronStore.get store [as store] (/app/bin/heroic/resources/app.asar/node_modules/conf/dist/source/index.js:278:43)
at new Conf (/app/bin/heroic/resources/app.asar/node_modules/conf/dist/source/index.js:131:32)
at new ElectronStore (/app/bin/heroic/resources/app.asar/node_modules/electron-store/index.js:69:3)
at new st (/app/bin/heroic/resources/app.asar/build/main/main.js:2:8418)
at Module.<anonymous> (/app/bin/heroic/resources/app.asar/build/main/main.js:197:5052)
at Module._compile (node:internal/modules/cjs/loader:1373:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1432:10)
at Module.load (node:internal/modules/cjs/loader:1215:32)
Right, please actually send in the file then. Something else is wrong with it
extended-salmonOP•3mo ago
This file is now valid JSON
Note that it might still be missing entries that were supposed to come after the truncated entry, so this might still not work properly
extended-salmonOP•3mo ago
it works now
but i hope it wont come back lol
It seems like Heroic got interrupted while writing the file (perhaps you suddenly lost power or force-turned-off the Deck?). Definitely shouldn't come back though
extended-salmonOP•3mo ago
oh, maybe i exited the non-steam game at the wrong time
thanks for helping