FWDekker / fo4vr-modlist

A thorough, beginner-friendly guide for a stable, vanilla-ish experience
22 stars 2 forks source link

Crash on startup #20

Closed SonikBroom closed 1 month ago

SonikBroom commented 1 month ago

Hello, I am having an issue where the game crashes on startup. I have run it through f4se with mo2, it doesn't work. I have tried running just f4se, doesn't work. even base game, it does not work. I launch the executable and get the error message The application was unable to start correctly (0xc0000142).

Luckily, after a lot of troubleshooting and bashing my head against the wall, I finally found the root of this issue (I think). It seems that the problem was xSE Plugin Preloader, as if I delete the IpHlpAPI.dll, the game actually boots into a vr window. I don't really understand how to fix it though, as I am very new to this stuff and don't know what I need to change in the config. If anyone can help that would be greatly appreciated!

SonikBroom commented 1 month ago

I found the logs, which might might help. I can't find where in the config I specify the original library path. xSE PluginPreloader.log

FWDekker commented 1 month ago

Some quick suggestions I can think of from the top off my head:

  1. You shouldn't need to edit paths in the config. If you've changed anything, I suggest you revert it to the original before continuing.
  2. Note that the preloader requires the C++ redistributables. There's a small chance you're missing those. There's a download link in Section 2.2.
  3. The mod page for the preloader describes a potential fix, which might work for you. Try it out.
  4. The logs mention some errors about being unable to find F4SE. Are you sure you've installed F4SEVR correctly? Section 4.1 of the guide explains how you can verify this. And are you sure you're launching F4SEVR through MO2? This is also explained in Section 4.1. Even if you followed them initially, go through these checks again, because this seems like a likely cause for your errors.
FWDekker commented 1 month ago

Hi @SonikBroom! Were you able to try out my troubleshooting tips?

SonikBroom commented 1 month ago

So sorry, I was busy and forgot about this. I do have f4se vr installed correctly (i think) as pictured below f4seisinstalled

I have C++ redistributables, which I have even tried updating or reinstalling.

I tried the fix on the page, I used on thread attach, and on process attach, didnt fix it, but the exe does open now, i dont get the error. when I run it with f4se through mo2, the fo4vr exe opens a window, in vr its a black screen, after a little bit though it closes

SonikBroom commented 1 month ago

This is what the log looks like now xSE PluginPreloader.log

SonikBroom commented 1 month ago

I just looked around, and I found its generating crash logs now. here is my most recent one from running through mo2 crash-2024-06-01-18-08-11.log

it might be due to the dlc, i just saw that you updated it and now more than just robot are no longer working.

SonikBroom commented 1 month ago

I just added the old dlc files HUGE PROGRESS! I now boot into main menu. But now im having a weird issue. The window on my desktop shows the main menu, but in vr It's all black screen. Like even if I turn around this happens when i do new game as well

FWDekker commented 1 month ago

Happy to hear that that issue is resolved!

The black screen issue you mention can be solved by editing the file vrperfkit.yml in your [fo4vr_dir], and changing method: cas to method: fsr.

SonikBroom commented 1 month ago

tysm! its fixed!

FWDekker commented 1 month ago

No problem! Enjoy the game :-)