Closed Lizbat closed 7 months ago
Can you open cmd.exe
or powershell.exe
and then find the Viper .exe
and drag it onto it, then just hit enter, it should then run in the terminal and output something, simply copy and paste that here
(replaced my name with user)
C:\Users\USER>
Checking for update
[4608:0430/143835.151:ERROR:cache_util_win.cc(20)] Unable to move the cache: Access is denied. (0x5)
[4608:0430/143835.156:ERROR:cache_util_win.cc(20)] Unable to move the cache: Access is denied. (0x5)
[4608:0430/143835.162:ERROR:disk_cache.cc(208)] Unable to create cache
[4608:0430/143835.162:ERROR:gpu_disk_cache.cc(676)] Gpu Cache Creation failed: -2
[4608:0430/143835.162:ERROR:disk_cache.cc(208)] Unable to create cache
[4608:0430/143835.162:ERROR:gpu_disk_cache.cc(676)] Gpu Cache Creation failed: -2
[7644:0430/143835.595:ERROR:cache_util_win.cc(20)] Unable to move the cache: Access is denied. (0x5)
[7644:0430/143835.603:ERROR:disk_cache.cc(208)] Unable to create cache
Northstar is not installed!
Update for version 1.11.0 is not available (latest version: 1.11.0, downgrade is disallowed).
checkForUpdatesAndNotify called, downloadPromise is null
(node:4608) UnhandledPromiseRejectionWarning: TypeError: win is not a function
at gamepath.set (C:\Users\ethan\AppData\Local\Programs\viper\resources\app.asar\src\modules\gamepath.js:156:10)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
(Use Viper --trace-warnings ...
to show where the warning was created)
(node:4608) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict
(see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
I'll be entirely honest and say that I have utterly no clue how this error is even possible, it's complaining a module that a module exported something that wasn't a function when trying to run it as such, even though said module never exports anything but a module, possibly a very weird race condition? No clue...
Does this happen 100% of the time you launch Viper? And can you check if it also happens with/in the portable .exe
?
It happens every single time, I have tried to launch with just the .exe instead of the setup but the same thing happened.
Hmm, I can reproduce the error now, I'll report back once I debug this a bit...
Okay, spent a bit, found a fix, then spent like 5 minutes attempting to understand why it fixes it, and how the issue even occurred, turns out, I just did an oopsie brainfart.
This should be fixed in upstream, aka in the next release, I'll attempt to get it out later today or similar...
Just for the sake of confirming, there's some upstream builds available for Windows here, if you're able to download it and test if the portable .exe
functions, then that'd be perfect.
I'll give it a look and let you know what happens!
Okay, I tried the standalone .exe and the same thing happened, it launched but there's no window and it is showing in background processes
Huh, can you check if the logs are any different?
How would I check the logs? Would it just be putting the file into cmd or Powershell?
Correct yes, as before, sorry for not clarifying...
I put it into cmd and it came back with this
I got the game location and it launched!
Well that's great, but weird lol, are you sure you ran the correct/new .exe
before? :p
I'm sure! Let me try it again to make sure though
Woaw, it launched this time, maybe because I set the path
You can also delete the viper.json
file in %APPDATA%
to reset/delete the config file, and then try and run it normally and see if it still works...
Edit: v1.11.1
has been released, hopefully fixing this entirely, hopefully
Describe the bug A clear and concise description of what the bug is. When I try to launch Viper, it only shows as a background program/process in Task Manager.
Screenshots If applicable, add screenshots to help explain your problem. If I look at Viper in Task Manager, all I can see is this
Version: If possible add on
--version
or simply the version of Viper I used the 1.11.0 Setup WizardAdditional Info Any extra info should go here! I recently did a factory reset on my computer, and I'm not sure if that might have something to do with it