Nibre / MotherVR

This Mod brings current generation VR support to the game Alien: Isolation
https://twitter.com/nibre_
944 stars 56 forks source link

MotherVR doesn't launch on Windows 11 #229

Open Veraxus opened 3 years ago

Veraxus commented 3 years ago

I am using the Steam version of the game on Windows 11. The game will launch and run on it's own, but when I add the dxgi.dll file to the game directory, the game fails to launch. No window pops up or anything. I previously had it working on Windows 10.

I also made sure Steam VR was running first and that theater mode was disabled. Running AI.exe directly does give me an "Application Error" window with: 'The application was unable to start correctly (0xc0000005). Click OK to close the application."

ProcDump doesn't seem to be able to catch any data in this case, either. Removing dxgi.dll allows the game to launch again.

Other notes:

Maybe related to: https://github.com/Nibre/MotherVR/issues/119

Veraxus commented 3 years ago

Tried the Epic Games version. The game starts and I can choose my runtime (I chose the Oculus Runtime), but then when I restart the game I get an error popup...

image

Veraxus commented 3 years ago

Success using Epic Games Store version of the game in SteamVR mode.

renegadespork commented 2 years ago

I can second this. I also get "The application was unable to start correctly (0xc0000005)" when running the Steam version in Windows 11 Pro Build 22000.258. I have tried the following:

None of these had any effect. There's something about the dll that Windows 11 doesn't like.

JnLindelicato commented 2 years ago

This is not working on Windows 11 - and this is extremely sad. It's the entire reason I got a Windows gaming laptop. I am using SteamVR and tried almost anything I can think of at this point. As soon as I remove MotherVR it works - but with it, it will not start up on Windows 11.

lenninscjay commented 2 years ago

I can second this. I also get "The application was unable to start correctly (0xc0000005)" when running the Steam version in Windows 11 Pro Build 22000.258. I have tried the following:

  • Running as Administrator
  • Running Compatibility Mode for Win 8
  • Disabling Steam Overlay
  • Disabling Desktop Game Theater
  • adding/removing -steamvr launch option
  • Reinstalling
  • Trying 0.6.0, 0.8.0, and 0.8.1 of the mod
  • Adding Windows Defender exceptions to the Alien Isolation folder and dxgi.dll

None of these had any effect. There's something about the dll that Windows 11 doesn't like.

Can confirm same issue here on windows 11. Was just playing it the week before on windows 10. I upgraded to windows 11 with no other changes and receive the same error code when I go into event viewer.

Eddie557 commented 2 years ago

me too not working in windows 11 ;(

xKAHLESSx commented 2 years ago

Me too

slippyfish commented 2 years ago

Hi @Nibre, I have also had the same problems. I have tried all of the above but Steam under Windows 11 will not launch. I do now regret upgrading as it happily played under Windows 10 with no issues. This was definitely my favourite go to VR game and now I have no way of playing it. I know you have other projects on the go but if you could find a fix for this we all would be grateful.

eddiepurple commented 2 years ago

Hello, same problem with me I'm afraid, Win 11, AI doesn't run with the dll present, application unable to start correctly. Thanks!!

Mdmanga commented 2 years ago

Hello all, I just bought the game on steam and have the same problem. I'm under Win 11 to, so I think the only way to have this game working is to have an update of "Mother VR". So please ... for Christmas, think about it. Thank you guys for your work.

shawnvdb commented 2 years ago

I really hope this gets fixed, I got AI just because of this mod :(

Mdmanga commented 2 years ago

Yes me to, I just bought this game for VR option. I also learn that an Android version is now available. Maybe a quest 2 version will be launched to.

renegadespork commented 2 years ago

Maybe a quest 2 version will be launched to.

This is extremely unlikely. The game never got official VR support. VR was worked on, but it got cut before the game released. It only has VR because of mods like this.

There has been a huge slowdown in AAA VR releases (especially on Steam) after the initial VR wave in 2016-2018.

weredwulf commented 2 years ago

Super disappointing to get hyped about playing AI in VR only to find Windows 11 has borked this project! If you can fix it, it;d be amazing! I'm tempted to do a fresh Win10 install just to get this running :D

raynew commented 2 years ago

Same issue here too. Would love to use this mod!

Mdmanga commented 2 years ago

Hello, someone find a way to launch this VR mod on win 11 ?

TRusselo commented 2 years ago

Same issue here. Steam version, index, windows 11 0.8.1 release

Veraxus commented 2 years ago

Hello, someone find a way to launch this VR mod on win 11 ?

Maybe not the answer you want, but the Epic Game Store version of the game works when you run it in Steam VR mode.

xKAHLESSx commented 2 years ago

Hello Yes, under win11 you have to install the game over EPIC and than you have to install Mother VR it works. Greatings

xKAHLESSx commented 2 years ago

Works under Oculus runtime

eddiepurple commented 2 years ago

Hello Yes, under win11 you have to install the game over EPIC and than you have to install Mother VR it works. Greatings

Cheers Kahless - Do you know if there's a solution for the Steam version under Win 11??

xKAHLESSx commented 2 years ago

No sorry that´s why I invested 9 euros to buy it on EPIC, because for me it is the best game ever for vr.

itniels commented 2 years ago

I am having this issue as well on Windows 11 with Steam.. Any fix in the works for this?

eddiepurple commented 2 years ago

Does anyone have any ideas why it would work with the Epic Store version but not the Steam?

colbylippert commented 2 years ago

Getting an access violation during application start on Win11:

EXCEPTION_RECORD: (.exr -1) ExceptionAddress: 74d8cef2 ExceptionCode: c0000005 (Access violation) ExceptionFlags: 00000000 NumberParameters: 2 Parameter[0]: 00000008 Parameter[1]: 00000000 Attempt to execute non-executable address 00000000

CONTEXT: 02aff1bc -- (.cxr 0x2aff1bc) eax=0000001b ebx=00000066 ecx=61cc27f0 edx=02dad398 esi=61cc27f0 edi=02dad399 eip=00000000 esp=02aff634 ebp=02aff65c iopl=0 nv up ei pl nz ac po nc cs=0023 ss=002b ds=002b es=002b fs=0053 gs=002b efl=00010212 00000000 ?? ??? Resetting default scope

STACK_TEXT:
WARNING: Frame IP not in any known module. Following frames may be wrong. 02aff630 632b35eb 0000001b 02dad398 00000000 0x0 02aff644 632b373e 632b36a6 00000000 632b3600 AcGenral!NS_DXGICompat::EnableDXGICompat+0x88 02aff648 632b36a6 00000000 632b3600 00000000 AcGenral!NS_DXGICompat::NotifyFn+0x3c 02aff65c 63280ef7 00000066 00000000 02aff674 AcGenral!NS_DXGICompat::InitializeHooksMulti+0xa6 02aff678 6327edbe 00000000 02aff6ac 00000000 AcGenral!MultiShimEntry+0x57 02aff6b0 6327e343 00000000 00000000 02aff6f4 AcGenral!ShimLib::InitializeHooksEx+0x9ae 02aff6c0 725d91cd 00000003 02dbe660 02dbe730 AcGenral!ShimLib::NotifyShims+0x23 02aff6f4 77095226 02dbe660 02dc0480 02dbe730 apphelp!SE_DllLoaded+0xcd 02aff720 77095134 02dbe598 02da5a30 02dc0400 ntdll!LdrpSendPostSnapNotifications+0xcd 02aff738 77095144 02da5960 00000000 02aff8ec ntdll!LdrpNotifyLoadOfGraph+0x44 02aff750 77094c92 00870140 ffffffff 029e9000 ntdll!LdrpNotifyLoadOfGraph+0x54 02aff768 77110e02 dc1e5be2 029ec000 00000000 ntdll!LdrpPrepareModuleForExecution+0x7d 02aff9c0 77098206 dc1e5832 77060000 00000000 ntdll!LdrpInitializeProcess+0x1832 02affa10 770ea687 02affc78 77060000 029e9000 ntdll!_LdrpInitialize+0xda 02affc48 77098120 00000000 00000000 02affc64 ntdll!LdrpInitializeInternal+0xc7 02affc58 770980c1 00000000 00000000 00000000 ntdll!LdrpInitialize+0x3b 02affc64 00000000 02affc78 77060000 00000000 ntdll!LdrInitializeThunk+0x11

Yosefscm commented 2 years ago

I am also not able to launch the steam version of AI on win 11, getting the same error "The application was unable to start correctly (0xc0000005). Click OK to close the application." :( I bought the Epic Games store version of the game like people were suggesting just for this. Hopefully somebody can find a fix for the steam version!

BiggusDickus37 commented 2 years ago

Is anyone working on a fix for the windows 11 steam issue?

Yosefscm commented 2 years ago

Is anyone working on a fix for the windows 11 steam issue?

Unfortunately, probably not

ghost commented 2 years ago

UPDATE 7/5/2022 (MotherVR with SteamVR) Recently got a new Win11 laptop and decided to run AI in VR. Ran into the same issue with crash on startup, error code 0xc0000005.

After some digging, I found a temporary solution. Not proficient enough to determine a root cause, but have a fix nonetheless. 1)Open SteamVR and make sure your headset is connected.

2) If it is crashing, then this program should be able to grab a crash dump from it.

If you want, you can try downloading ProcDump from Microsoft (which can be found here.) Extract it, then create a .txt file in the same folder, copy .\procdump.exe -e -h -w -s 3 AI.exe /accepteula & pause into it, save it, and then rename the .txt file to alien_debug.bat.

Double click on the .bat, and it should say 'Waiting for process named AI.exe...'. So then you start up Alien, and if it crashes, this program should create a AI.exe_170827_XXXXXX.dmp file that can be inspected.

3) As long as your SteamVR is connected, running the alien_debug.bat file and launching AI.exe should open the game normally in VR. I didn't bother with the .dmp file because I don't know what i'm looking at, but if anyone does give it a go. Maybe someone can determine the underlying issue.

Step #2 was copied from Nibre in this Github thread https://github.com/Nibre/MotherVR/issues/35, I don't take any credit for this.

BiggusDickus37 commented 2 years ago

Cheers dude ill give that a try

On Tue, 5 Jul 2022, 20:15 Ascents1, @.***> wrote:

UPDATE 7/5/2022 (MotherVR with SteamVR) Recently got a new Win11 laptop and decided to run AI in VR. Ran into the same issue with crash on startup, error code 0xc0000005.

After some digging, I found a temporary solution. Not proficient enough to determine a root cause, but have a fix nonetheless. 1)Open SteamVR and make sure your headset is connected.

  1. If it is crashing, then this program should be able to grab a crash dump from it.

If you want, you can try downloading ProcDump from Microsoft (which can be found here https://download.sysinternals.com/files/Procdump.zip. Extract it, then create a .txt file in the same folder, copy .\procdump.exe -e -h -w -s 3 AI.exe /accepteula & pause into it, save it, and then rename the .txt file to alien_debug.bat.

Double click on the .bat, and it should say 'Waiting for process named AI.exe...'. So then you start up Alien, and if it crashes, this program should create a AI.exe_170827_XXXXXX.dmp file that can be inspected.

  1. As long as your SteamVR is connected, running the alien_debug.bat file and launching AI.exe should open the game normally in VR. I didn't bother with the .dmp file because I don't know what i'm looking at, but if anyone does give it a go. Maybe someone can determine the underlying issue.

Step #2 https://github.com/Nibre/MotherVR/issues/2 was copied from Nibre in this Github thread #35 https://github.com/Nibre/MotherVR/issues/35, I don's take any credit for this.

— Reply to this email directly, view it on GitHub https://github.com/Nibre/MotherVR/issues/229#issuecomment-1175410180, or unsubscribe https://github.com/notifications/unsubscribe-auth/AZCOMDT6F6LXBZNSABASQE3VSSCWZANCNFSM5DIBIM7A . You are receiving this because you commented.Message ID: @.***>

ghost commented 2 years ago

Awesome, let me know if that works.

EDIT: Delete the .dmp files from the ProcDump directory after each launch. It won't launch again for me if there are existing .dmp files.

itniels commented 2 years ago

Nice! Can't wait to hear if this works and try it when I get back home in a couple of months! Good work @Ascents1 🙌

Mdmanga commented 2 years ago

Maybe I missed something but it crashes in the same way. Somebody can explain with more details please ? THnak you guys for your help.

BiggusDickus37 commented 2 years ago
Cant figure out what im doing wrong in this process lol, pretend your talking to a retarded monkey, downloaded procdump created a new text doc in procdump folder, tried launching the game, double clicked on debug bat it just opens text doc, doesn’t say waiting for process? Cant open your video link just saids oops, can you upload to youtube or something so I know why im retarded please. Many thanks Sent from Mail for Windows From: Ascents1Sent: 06 July 2022 16:46To: Nibre/MotherVRCc: BiggusDickus37; CommentSubject: Re: [Nibre/MotherVR] MotherVR doesn't launch on Windows 11 (#229) Maybe I missed something but it crashes in the same way. Somebody can explain with more details please ? THnak you guys for your help.I made a quick video to show the process. Still unsure if it works for anyone else, but I have tried it multiple times with no issue. My headset is not connected in the video but it still launches the same with MotherVR working.MotherVR Fix Win11—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: ***@***.***> 
bretwitt commented 2 years ago

UPDATE 7/5/2022 (MotherVR with SteamVR) Recently got a new Win11 laptop and decided to run AI in VR. Ran into the same issue with crash on startup, error code 0xc0000005.

After some digging, I found a temporary solution. Not proficient enough to determine a root cause, but have a fix nonetheless. 1)Open SteamVR and make sure your headset is connected.

  1. If it is crashing, then this program should be able to grab a crash dump from it.

If you want, you can try downloading ProcDump from Microsoft (which can be found here.) Extract it, then create a .txt file in the same folder, copy .\procdump.exe -e -h -w -s 3 AI.exe /accepteula & pause into it, save it, and then rename the .txt file to alien_debug.bat.

Double click on the .bat, and it should say 'Waiting for process named AI.exe...'. So then you start up Alien, and if it crashes, this program should create a AI.exe_170827_XXXXXX.dmp file that can be inspected.

  1. As long as your SteamVR is connected, running the alien_debug.bat file and launching AI.exe should open the game normally in VR. I didn't bother with the .dmp file because I don't know what i'm looking at, but if anyone does give it a go. Maybe someone can determine the underlying issue.

Step #2 was copied from Nibre in this Github thread #35, I don't take any credit for this.

what're your specs? this isn't doing anything for me

Espionage724 commented 2 years ago

After some digging, I found a temporary solution. Not proficient enough to determine a root cause, but have a fix nonetheless.

This doesn't change the crash for me; happens with both 32 and 64-bit procdumps

Has anyone tried taking AI.exe from an Epic install and dropping it into a Steam install? Alternatively, can someone provide AI.exe from an Epic install?

sqparadox commented 2 years ago

I think I solved it. Oh, this is such an evil bug.

There's nothing wrong with the Steam exe. The Epic version doesn't fix anything with the game. The problem is the god damn install path.

Guide to fix:

  1. Go to Steam\SteamApps\common move (cut & paste) the Alien Isolation folder to somewhere outside of Steam. I went with D:\Games as that's the same drive I have Steam on.
  2. Rename the Alien Isolation folder to AlienIsolation.
  3. Delete the Steam\SteamApps\common\Alien Isolation folder if it still exists
  4. Open a command prompt and enter mklink /d "Path To Steam Alien Isolation Folder" "Path To New Location" e.g. mklink /d "D:\Steam\SteamApps\common\Alien Isolation" "D:\Games\AlienIsolation"

This creates a symbolic link between the 2 directories. From Steam's point of view, the game is still installed in Steam\SteamApps\common\Alien Isolation because Steam requires it to be at that path to launch the game.

I'm not sure if a path with no spaces is required. However, Steam\SteamApps\common\AlienIsolation does not work. I didn't try anywhere else in the Steam directory.

This was figured out by following @Espionage724's suggestion to try to use the Epic exe with the Steam version. Which does work, but it requires authentication for the DRM and is still limited by the conditions described above. Basically, I got the Steam version fully working with the Epic exe only to figure out that the Steam exe also worked under those conditions.

BiggusDickus37 commented 2 years ago

@sqparadox I did what you said, I copied the Alien Isolation folder from steam and stuck it in E:Games

The wrote mklink/D"E:\steam\Steamapps\common\Alien Isolation ""E:\games\AlienIsolation"

And I get Parameter format not correct - "D" E:\Steam\SteamApps \common \Alien Isolation""E:\Games\AlienIsolation"

What am I doing wrong?

Any help would be appreciated 🙏

krisz989898 commented 2 years ago

Can confirm @sqparadox 's solution works, but you have to launch it from steam. It will have the same error if you run the exe.

@BiggusDickus37 you need lower case d there, like this: mklink /d "E:\steam\Steamapps\common\Alien Isolation" "E:\games\AlienIsolation"

BiggusDickus37 commented 2 years ago

@krisz989898 Trued that it saids the syntax of the command is incorrect then gives you a list of correct syntaxs [/D]

sqparadox commented 2 years ago

@BiggusDickus37 did you copy and paste the command exactly as written by @krisz989898? That should work.

Here's the documentation for mklink, if that helps at all.

BiggusDickus37 commented 2 years ago

@sqparadox just done that now its saying The system cannot find the path specified????

sqparadox commented 2 years ago

@BiggusDickus37 Are there spaces in your folder names somewhere? Is Steam in a subfolder and not at E:\steam? I'm out of ideas, sorry man.

BiggusDickus37 commented 2 years ago

@sqparadox the exact location of the files is "E:\steamLibrary\Steamapps\common\Alien Isolation" & "E:\games\AlienIsolation"

ive just changed it to "steamLibrary" instead of "steam" in the command promp and its now saying Cannot create a file when that file already exists???

sqparadox commented 2 years ago

@BiggusDickus37 Delete anything (shortcut, folder, link) called Alien Isolation in the Steamapps\common

BiggusDickus37 commented 2 years ago

you have to delete the old folder?

sqparadox commented 2 years ago

@BiggusDickus37 Yes

BiggusDickus37 commented 2 years ago

lol

BiggusDickus37 commented 2 years ago

now i dont have the privilage to perform this operation

BiggusDickus37 commented 2 years ago

@sqparadox now i dont have the privilage to perform this operation