KozGit / DOOM-3-BFG-VR

Doom 3 BFG VR: Fully Possessed. Doom 3 BFG with native Oculus Rift/Touch or OpenVR support
GNU General Public License v3.0
371 stars 52 forks source link

Fresh Build won't load game #312

Open rebirth123 opened 5 years ago

rebirth123 commented 5 years ago

Hi, I built your latest sourcecode (using the same version apis in your instructions) and completely deleted Doom3bfg and redownloaded it (Steam), so let's assume everything is fresh (including the save game directory).

The major problem I am having is that it won't load the save game I just created right at the beginning (the map where you're dropped off by the hovering ship). The game just exits. The save game was made using the same build, using VS2017 on Windows 10.

Windows 10 Error:

Faulting application name: Doom3BFGVR.exe, version: 1.0.0.1, time stamp: 0x5d52ce67 Faulting module name: Doom3BFGVR.exe, version: 1.0.0.1, time stamp: 0x5d52ce67 Exception code: 0xc0000005 Fault offset: 0x0000000000281227 Faulting process ID: 0x24b8 Faulting application start time: 0x01d551efc93eb5fd Faulting application path: E:\VR\DOOM-3-BFG-VR-master\DOOM-3-BFG-VR-master\build\Release\Doom3BFGVR.exe Faulting module path: E:\VR\DOOM-3-BFG-VR-master\DOOM-3-BFG-VR-master\build\Release\Doom3BFGVR.exe Report ID: 90e7e18c-fd4e-420f-8cb9-4bf238b9ae49 Faulting package full name: Faulting package-relative application ID:

I've attached the log file from the last run. I'm not familiar with your code or even the Doom engine code, but I don't mind helping out if I can.

P.S. To get it to build on VS2017 I had to edit 'sys_types.h' 'struct idNullPtr' operator by adding 'constexpr' (2017 treated is as an error: c3615). It is now: template<typename T1> constexpr operator T1* () const { return 0; }

BiatuAutMiahn commented 5 years ago

I've noticed a similar situation, The Save Game list doesn't get updated until completely restarting the game, and any new save since the game has started will not Load either, it's greyed out. My solution was to just overwrite the last loadable save, which allowed me to load last save after dying instead of having to restart the game.

rebirth123 commented 5 years ago

I'm not having that problem with this build. The problem it seems is that there hasn't been an official commit for a while, so I cloned the project and merged the newest commits. I omitted the Doom1 map 5 commit because it warned me of a conflicting file. Since using the new commits the game now saves and loads in that area.

I guess this can be closed, but it may be useful for others until the master is updated at a later date.

rebirth123 commented 5 years ago

Regarding the build, the save load system seems to be working well. I think I've only had one crash when transitioning between levels (I would say it's more stable that .21 alpha.. so far). I can feel it autosaving and it can be a little off putting in VR when it does it (split second pause), but I wouldn't consider this a problem (it doesn't do it often).

The duel gun system is buggy and introduced some bugs that isn't in .21. Interacting with ipad and buttons can sometimes mess up (gun can sometimes stay in your hand instead of pointing a finger), but it doesn't break the game. You can either pull back and keep trying or try changing weapon when it happens. Also, if you're using the torch in your left hand it will automatically set it to head mounted and a fist (to punch with) as your left hand whenever leaving either settings or the ipad. I have duel welding disabled, so there's some problem there when exited the ipad. Simply reopening settings then toggling 'hand' forward then backwards for torch will correct it.

I do think two guns will be cool, though, especially if we can shoot multiple demons at once. I look forward to seeing this project make further progress.