the witcher enhanced edition
System Info:
Heroic Version: 2.5.1 Yamato
Legendary Version: 0.20.31 Dark Energy (hotfix #5)
GOGdl Version: 0.5
OS: Freedesktop SDK KERNEL: 5.13.0-valve21.3-1-neptune ARCH: x64
CPU: AMD Custom APU 0405 @2.56 GOVERNOR: schedutil
RAM: Total: 14.49 GiB Available: 12.13 GiB
GRAPHICS: GPU0: VanGogh [AMD Custom GPU 0405] VRAM: 512MB
PROTOCOL: x11 Game Settings: { "autoInstallDxvk": true, "autoInstallVkd3d": true, "preferSystemLibs": false, "nvidiaPrime": false, "enviromentOptions": [], "wrapperOptions": [], "showFps": false, "useGameMode": true, "language": "", "wineVersion": { "bin": "/home/deck/.local/share/Steam/steamapps/common/Proton - Experimental/proton", "name": "Proton - Proton - Experimental", "type": "proton" }, "winePrefix": "/home/deck/Games/Heroic/Prefixes/The Witcher Enhanced Edition" } Game launched at: Tue Dec 06 2022 19:20:20 GMT+0100 (Central European Standard Time) i am trying to run the witcher and it doesnt open. help, please An exception occurred when launching the game: TypeError: Cannot read properties of undefined (reading 'replace') at setup (/app/bin/heroic/resources/app.asar/build/electron/main.d61a4184.js:6:2507) at async prepareWineLaunch (/app/bin/heroic/resources/app.asar/build/electron/main.d61a4184.js:7:1234) at async W.launch (/app/bin/heroic/resources/app.asar/build/electron/main.d61a4184.js:32:6383) at async /app/bin/heroic/resources/app.asar/build/electron/main.d61a4184.js:119:12 at async node:electron/js2c/browser_init:193:551
PROTOCOL: x11 Game Settings: { "autoInstallDxvk": true, "autoInstallVkd3d": true, "preferSystemLibs": false, "nvidiaPrime": false, "enviromentOptions": [], "wrapperOptions": [], "showFps": false, "useGameMode": true, "language": "", "wineVersion": { "bin": "/home/deck/.local/share/Steam/steamapps/common/Proton - Experimental/proton", "name": "Proton - Proton - Experimental", "type": "proton" }, "winePrefix": "/home/deck/Games/Heroic/Prefixes/The Witcher Enhanced Edition" } Game launched at: Tue Dec 06 2022 19:20:20 GMT+0100 (Central European Standard Time) i am trying to run the witcher and it doesnt open. help, please An exception occurred when launching the game: TypeError: Cannot read properties of undefined (reading 'replace') at setup (/app/bin/heroic/resources/app.asar/build/electron/main.d61a4184.js:6:2507) at async prepareWineLaunch (/app/bin/heroic/resources/app.asar/build/electron/main.d61a4184.js:7:1234) at async W.launch (/app/bin/heroic/resources/app.asar/build/electron/main.d61a4184.js:32:6383) at async /app/bin/heroic/resources/app.asar/build/electron/main.d61a4184.js:119:12 at async node:electron/js2c/browser_init:193:551
17 Replies
quickest-silver•3y ago
try a different wine version
genetic-orangeOP•3y ago
i have tried 3 and nothing
System Info:
Heroic Version: 2.5.1 Yamato
Legendary Version: 0.20.31 Dark Energy (hotfix #5)
GOGdl Version: 0.5
OS: Freedesktop SDK KERNEL: 5.13.0-valve21.3-1-neptune ARCH: x64
CPU: AMD Custom APU 0405 @2.56 GOVERNOR: schedutil
RAM: Total: 14.49 GiB Available: 12.13 GiB
GRAPHICS: GPU0: VanGogh [AMD Custom GPU 0405] VRAM: 512MB
PROTOCOL: x11 Game Settings: { "autoInstallDxvk": true, "autoInstallVkd3d": true, "preferSystemLibs": false, "nvidiaPrime": false, "enviromentOptions": [], "wrapperOptions": [], "showFps": false, "useGameMode": true, "language": "", "wineVersion": { "bin": "/home/deck/.var/app/com.heroicgameslauncher.hgl/config/heroic/tools/proton/Proton-GE-Proton7-42/proton", "name": "Proton - Proton-GE-Proton7-42", "type": "proton" }, "winePrefix": "/home/deck/Games/Heroic/Prefixes/The Witcher Enhanced Edition", "gogSaves": [ { "name": "saves", "location": "/home/deck/Games/Heroic/Prefixes/The Witcher Enhanced Edition/pfx/dosdevices/c:/users/steamuser/Documents/The Witcher/saves" } ] } Game launched at: Tue Dec 06 2022 19:30:26 GMT+0100 (Central European Standard Time) An exception occurred when launching the game: TypeError: Cannot read properties of undefined (reading 'replace') at setup (/app/bin/heroic/resources/app.asar/build/electron/main.d61a4184.js:6:2507) at async prepareWineLaunch (/app/bin/heroic/resources/app.asar/build/electron/main.d61a4184.js:7:1234) at async W.launch (/app/bin/heroic/resources/app.asar/build/electron/main.d61a4184.js:32:6383) at async /app/bin/heroic/resources/app.asar/build/electron/main.d61a4184.js:119:12 at async node:electron/js2c/browser_init:193:551
PROTOCOL: x11 Game Settings: { "autoInstallDxvk": true, "autoInstallVkd3d": true, "preferSystemLibs": false, "nvidiaPrime": false, "enviromentOptions": [], "wrapperOptions": [], "showFps": false, "useGameMode": true, "language": "", "wineVersion": { "bin": "/home/deck/.var/app/com.heroicgameslauncher.hgl/config/heroic/tools/proton/Proton-GE-Proton7-42/proton", "name": "Proton - Proton-GE-Proton7-42", "type": "proton" }, "winePrefix": "/home/deck/Games/Heroic/Prefixes/The Witcher Enhanced Edition", "gogSaves": [ { "name": "saves", "location": "/home/deck/Games/Heroic/Prefixes/The Witcher Enhanced Edition/pfx/dosdevices/c:/users/steamuser/Documents/The Witcher/saves" } ] } Game launched at: Tue Dec 06 2022 19:30:26 GMT+0100 (Central European Standard Time) An exception occurred when launching the game: TypeError: Cannot read properties of undefined (reading 'replace') at setup (/app/bin/heroic/resources/app.asar/build/electron/main.d61a4184.js:6:2507) at async prepareWineLaunch (/app/bin/heroic/resources/app.asar/build/electron/main.d61a4184.js:7:1234) at async W.launch (/app/bin/heroic/resources/app.asar/build/electron/main.d61a4184.js:32:6383) at async /app/bin/heroic/resources/app.asar/build/electron/main.d61a4184.js:119:12 at async node:electron/js2c/browser_init:193:551
genetic-orangeOP•3y ago
painful-plum•3y ago
Duplicate of my issue, I also tried other wine versions and got the same JavaScript TypeError.
deep-jade•3y ago
Same problem, tried 5 or 6 different wine builds.
System Info:
Heroic Version: 2.5.2 Yamato
Legendary Version: 0.20.31 Dark Energy (hotfix #5)
GOGdl Version: 0.5
OS: Freedesktop SDK KERNEL: 5.13.0-valve36-1-neptune ARCH: x64
CPU: AMD Custom APU 0405 @2.28 GOVERNOR: schedutil
RAM: Total: 11.52 GiB Available: 9.35 GiB
GRAPHICS: GPU0: VanGogh [AMD Custom GPU 0405] VRAM: 512MB
PROTOCOL: x11 Game Settings: { "autoInstallDxvk": true, "autoInstallVkd3d": true, "preferSystemLibs": false, "nvidiaPrime": true, "enviromentOptions": [], "wrapperOptions": [], "showFps": false, "useGameMode": false, "language": "", "wineVersion": { "bin": "/home/deck/.local/share/Steam/compatibilitytools.d/GE-Proton7-43/proton", "name": "Proton - GE-Proton7-43", "type": "proton" }, "winePrefix": "/home/deck/Games/Heroic/Prefixes/The Witcher Enhanced Edition" } Game launched at: Sat Dec 24 2022 00:06:55 GMT-0500 (Eastern Standard Time) An exception occurred when launching the game: TypeError: Cannot read properties of undefined (reading 'replace') at setup (/app/bin/heroic/resources/app.asar/build/electron/main.f5946442.js:6:2507) at async prepareWineLaunch (/app/bin/heroic/resources/app.asar/build/electron/main.f5946442.js:7:1234) at async W.launch (/app/bin/heroic/resources/app.asar/build/electron/main.f5946442.js:54:5844) at async /app/bin/heroic/resources/app.asar/build/electron/main.f5946442.js:141:12 at async node:electron/js2c/browser_init:193:551 I bought the game on Steam (it's $1.50 right now) and it plays perfectly with Proton 7.0, GOG version is still borked for me.
PROTOCOL: x11 Game Settings: { "autoInstallDxvk": true, "autoInstallVkd3d": true, "preferSystemLibs": false, "nvidiaPrime": true, "enviromentOptions": [], "wrapperOptions": [], "showFps": false, "useGameMode": false, "language": "", "wineVersion": { "bin": "/home/deck/.local/share/Steam/compatibilitytools.d/GE-Proton7-43/proton", "name": "Proton - GE-Proton7-43", "type": "proton" }, "winePrefix": "/home/deck/Games/Heroic/Prefixes/The Witcher Enhanced Edition" } Game launched at: Sat Dec 24 2022 00:06:55 GMT-0500 (Eastern Standard Time) An exception occurred when launching the game: TypeError: Cannot read properties of undefined (reading 'replace') at setup (/app/bin/heroic/resources/app.asar/build/electron/main.f5946442.js:6:2507) at async prepareWineLaunch (/app/bin/heroic/resources/app.asar/build/electron/main.f5946442.js:7:1234) at async W.launch (/app/bin/heroic/resources/app.asar/build/electron/main.f5946442.js:54:5844) at async /app/bin/heroic/resources/app.asar/build/electron/main.f5946442.js:141:12 at async node:electron/js2c/browser_init:193:551 I bought the game on Steam (it's $1.50 right now) and it plays perfectly with Proton 7.0, GOG version is still borked for me.
fascinating-indigo•3y ago
I played it with lutris in the past, it should work 🤷♂️
wise-white•3y ago
some one can run witcher?
afraid-scarlet•3y ago
GOG версия? Если да - то я два дня искал решение и ничего вменяемого не нашел. В основном, установкой через Вайн напрямую или другие лаунчеры (Lutris), решают проблему. Установленный через Heroic не запускается.
Купил в итоге Steam версию за 25 грн (на данный момент, 33 часа осталось на скидку). За то будут все плюшки от Стим, типа шаблонов управления и т.д..
exotic-emerald•3y ago
new version of Heroic will contain a fix for this
stay tuned
quickest-silver•3y ago
ah hah! Just tried installing and running this on my deck through heroic last night. Just starting to experiment with it. Installed test game from Epic store, worked fine. Tried TWEE from GoG crash and burn, so tried another game from GoG just to make sure that was working and that game worked. Then proceeded to waste an hour or so trying to figure out the problem only to find yep we;ll be fixing it. (ProtonDB Im finding to be mostly useless so far, esp. w/this game so many reports works, doesn't work, presumably guy above is the one that left the didn't work, bought on steam works entry... Either way solves me not wasting any time troubleshooting this today...
But this is a LONG way from the old days of wine... I don't miss them...
...and I see from translation Lutris works which would've been my next q&d 'fix' step/try,,,
still borked after last update flatpak for steam deck same very short log sorry haven't copied and havent enabled ssh on the deck yet
exotic-emerald•3y ago
we didn't have any release yet
flatpak update was probably built automatically to update runtimes
quickest-silver•3y ago
gotcha there were another couple of those as well 2.52 iirc shutdown deck again to charge, I really should enable sshd and leave it on while charging...
and 2.62 apeared on steam deck flatpack dicover and all was more or less well in the world of the witcher enhanced edition again
i.e. the witcher enhanced edition now launches and runs on the steam deck via heroic launcher again although I do have some quibbles
quibbles are builtin steam deck power controls seem to entirely broken... 1k+ FPS on videos, 80+ FPS generally, 15W even when TDP is set to much less than 15W, FPS is limited to 40FPS nope broken, although since we also got an steam game mode update not sure where to lay the blame other than other games still respect TDP FPS etc limits, but not witcher
witcher just sayt fsck that Im doing what I want
Im wondering if limits are being applied to launcher and not the game executable...
that would sort of be a Valve problem, but not really since its an externally installed game
also some day I;; be able to skip intro video on deck even though I love it, but dont need to see it again in the next century...
going to install lutris and compare behavior... as not being able to skip introl video is just a no go
as much as I love the witcher intro video and wish that cd projekt red had taken a license and made cgi videos of more witcher short stories
of ypure taking this negatively dont take it completely so, its just that really witcher emnhanced support is mostly half assed to me on heroic, so Imma gonna try lutris
I understand that its 'free' and that all that crap but you gotta take your knocks when things are halfassed
youve got to be kidding me assholes
I had more but the fscking filter fscked me so Im done
no idea why shtty filter fscked me but it did
lutris Imma coming baby
now lutris being filtered I could see
summarization: you witcher enhanced edition half ass works
or more correct summarization: you hacked it to install and run... but yeah...
kofi tip: look both ways before you cross a street
those halfassed language filters truly pissed me off nearly as much as the halfassed heroic launcher install support... not sure which pissed me off mroe
cya in lutris
ok that filtering pissedf me off but on top of the heroic launcher update there was a steam stable game mode update which gives us two potntial problems
I dont have my deck handy ATM and Im not getting it to test but Ill try some time tomorrow and if problem persists Ill try lutris install but man Witcher was chewing resources like nobodies busines
1.2kFPS for the intro video was the first warnng sign
and maxing 15W TDP was the second
whew
fix your filters BTW
yep dint install/checl lutris buty heroid game install on latest stable steam game mode is apparently ignoring all of the stock pwer/fps/etc settings.... Ill put that down to the stock client ATMuntil I can test further
but damnit fix the fscking discord filtering sh!t
never expected to see 1200FPS on the deck... but I have now
if I have time Ill check installing new games on new game mode and install lutris and try that but Ive got other things that I need to get finished sooner than later so dont hold your breath
painful-plum•3y ago
This is resolved for me on 2.6.1, thanks!
quickest-silver•3y ago
wait, there's a new update, can't check right now but I did try changing heoric proton/wine versions nada, checked installing other games of a similar age e.g. king;s bounty power controls worked fine(yeah yeah not much of a test but...), tried old games installed power controls worked, tried old steam installed games power controls worked, tried installing again similar age game king's bounty(pretty sure its a dx9 game so was kind of checking dx9) power controls worked...
I'll check for another heroic flatpak update and see if that fixes it otherwise I'll keep checking as while it runs, its realistically unplayable given power usage, and it's really very strange how its entirely ignoring power management settings somehow OTOH I have no idea how this works on the deck other than assuming that its at a much lower level than any game should be modifying or accessing things...
Ive had a brain fart, the launcher may be the problem... so next step I guess is to remove it, since, well, yeah, it's useless in of itself anyways
that or figure out a way to force the power settings to follow the launcher power settings, just guessing... does the launcher still hang around in the background after TWEE is launched? I really need to enable sshd on my deck...
Ill try changing steam shortcut to just run witcher.exe(U think thats it) tomorrow or some time and see if that fixes the power control problems as without power control it makes TWEE yeah... not good... and if that was the problem, yeah thats not good either as steam game mode is latching onto launchers and not the actual game so modifying the power profiles do nothing...
Imma feeling more certain that steam game mode power profile is latching onto the launcher for the witcher which is why nothing happens changing anything in the power profiles... this kind of sucks since I cant think of a generic easy fix as some games get some setup functionality from the launcher while other like twee get jack from the launcher...
would also be kind of interesting as to how twee from steam behaves... does it launch the launcher? does it obey power management changes? etc.
I do not have steam twee so I cannot compare, so again just wild ass guessing here...
eh I dont know where to put this or exactly how holoos steamdeck handles this crap but Im feeling more and more that its somehow setting power on the launcher app rather than the game itself(obviously). For twee, the launcher is effectively useless, so it could be simply 'fixed' although again I would like to see how the steam version of it runs...
beyond that, of this is true any game with a launcher with useful functionality or otherwise will or could be a problem...
no time to try this yet, but any hints to ease my path to testing skipping the witcher launcher would be MUCH appreciated as I mentioned Ive become almost certain that the power settings are sticking to the stupid launcher app rather than the game exec itself hence the crazy framerate regardless of per game or global settings(which clearly arent global in that case...)
TWEE launcher seems to server zero purpose nowadays anyways and I dont recally it really serving any purpose back in the day either other than being yet another click
serve*
systen/witcher.exe works on desktop, so I'll try hacking that to run and see if I can get control of power as the way it is now is well, ass as far as power usage goes...
and yes, its the same TWEE GoG version. I just snopped into the install directory and directly executed witcher/exe in system directory... launcher does jack so best skipped anyways
now my other peeve can I skip the loading screens and intro video... I suspect not w/o config file change but ESC on desktop skips them, steam virt KB nada stuck watching everything
exotic-emerald•3y ago
Nexus Mods :: The Witcher
Skip intro - straight to the Main Menu
This mod allows your game to skip intro videos and goes straight to the main menu. No more esc esc esc after launch.
exotic-emerald•3y ago
here is the mod
quickest-silver•3y ago
I did kind of maybe fix this today by setting under advance heroic launcher options for TWEE to 40FPS for DX9.10,11. I was able to skip all the intro stuff in deck gamemode by pushing buttons. MAX FPS hovered around 40 and power usage was WAY down, still a bit above my set limit but that seems to be a soft limit anyways IME even with steam games. I suppose next step will be to try eliminating launcher and heroic advanced 40FPS option to see if my surmise that steam is latching onto the launcher rather than the game. This tinkering and a steam post response made me remember what a franken engine that TWEE is running, a heavily hacked Neverwinter Nights engine IIRC... Kings bounty a game IIRC from a similar time period ran fine by default under deck gamemode, honoring FPS limit and more or less TDP...
BTW prior to limiting to 40FPS in steam game mode I was entirely unable to skip the intro video etc. whereas launching from desktop mode w/heroic I could skip those and IIRC it wasn't running flat out but I just did a short check and since I found the heroic launcher advanced option to limit to 40FPS and it works...