I've fixed the FOV to where it works with doors and does not crash the game.
https://www.widescreenfixer.org/test.php
After debugging for about 3 hours I found a new solution that seems to work fine so far.
SVN log:
- The field-of-view control no longer adds to the field-of-view, but instead lets you configure the field-of-view directly.
- The game no longer crashes and you can break doors now. This was an issue related to the FOV code I added previously. I'm using a new method now that seems to be working fine.
- Fixed reading an invalid offset for the field-of-view. It still is sometimes incorrect but for the most part it seems to be right. If it reads it wrong, do not worry, it does not manipulate the value you see. It's merely there for informational purposes.
- Fixed a potential crash when configuring the plugin if it was reading the old trackbar value before this update.
Update:
It still crashes when eating hearts.
I'm going to add options to enable/disable individual fixes.