Nehrim: At Fate's Edge

Nehrim: At Fate's Edge

39 ratings
Crash Prevention for Nehrim
By Transfield
Basic knowledge you need to make the game stay erect as long as possible, sourced from hours of trial and error.
   
Award
Favorite
Favorited
Unfavorite
Why Does The Game Crash?
Because the Oblivion rendition of Gamebryo is sheiße.

I've spent a few severals of dozens of hours trying to make Nehrim stop acting up, and this guide contains most of my observational knowledge. Some of it may be conjecture, as I don't have the patience required to extensively test every little thing, so take it with a grain of salt.
Unless stated otherwise, described behaviours were observed (read: tested) on two separate machines - machine A (Win10 1809, AMD, HDD) and machine B (Win10 21H2, Intel+Nvidia, SSD).
Things That Do Seem To Work
Oblivion Display Tweaks
I'm not sure if it'll affect stability directly, but it should make Havok less likely to crash at high framerates. Seems stable enough, although somehow it doesn't like low CPU clocks very much.

More Heap
Actually seems to be doing work. I have been using MessageLogger[www.nexusmods.com] to monitor events leading up to a crash, and lately it's been shutting down every hour with a message that read:
[00406070] [ ERROR ] 00001688: Out of Memory Error - All passes failed. The game will exit now.
After a few attempts at juggling mods, installing MoreHeap[www.nexusmods.com] seems to have given Nehrim a fighting chance, as at the time of this writing the first timestemp in my MessageLog.txt is at 2023/07/17 09:25:53 and the last is at 2023/07/17 14:27:10, meaning the game has been running for about 5 hours with constant alt-tabbing without crashing.
Things already in Nehrim


EnhancedMusicControl2 and WalkBlessed
Believe it or not, but these two innocent looking OBSE plugins cause most of the crashes you get in an out of the box Nehrim installation (specifically of the Steam version). I'm not sure why they're included, but disabling them prevents the game from ever crashing within the first hour.

tl;dr Disable these. Try Trifle[www.nexusmods.com] and Enhanced Camera[www.nexusmods.com] instead, though be aware that these are merely suggestions, which I've yet to test extensively.

Blockhead
Nehrim uses a version of Blockhead that's older than the one on Nexus, which "fixes persistent CTDs". I'm not sure if those happen in Nehrim, but updating doesn't seem to break anything.

tl;dr Try updating. If you're unsure about this, just leave the default one as is and get your game in line with the rest of the guide. If you're still experiencing random crashes around NPCs and Cell transitions, this could be the cause.

ENBoost
"Confirmed" to be unstable. Don't use it.

Alt-Tab Fix
No issues. Consider using OneTweak[www.nexusmods.com] or Oblivion Display Tweaks instead if you want to play in Borderless Windowed.
Things You May Have Installed While Trying To Fix The Issue


LAA Patch
This makes the game stop being able to clear its memory blocks, resulting in hourly (at best) crashes.

tl;dr Do not apply this to your executable. If you have, revert to the backup or Validate Integrity of Game Files to restore the unpatched executable.

DXVK
Makes the game randomly freeze. Permanently. This could happen even in the main menu, immediately after pressing Continue! (Only observed on machine A, which previously braved many games with DXVK, with great results)

tl;dr Volatile. You should do just fine on DX9, unless you're playing through Proton/Wine.

xOBSE
Breaks a lot of scripts, makes some quest stages crash the game.

tl;dr Do not install.

NVAC
This makes the game crash every half an hour. Nehrim really hates it. (Only observed on machine A)

tl;dr Do not install.

Oblivion Stutter Remover
Honestly, this thing does so much I can't say for sure if it caused problems on its own... it did help me hound down other wrongdoers, though.
Hooking CS, Hashtables and replacing the heap with TH3 improved performance significantly, but I had to neck it in order to minimize interference while probing for bad actors, and haven't gotten around to testing it uninterrupted. (Only observed on machine A)

tl;dr Probably unnecessary. If you're used to relying on it for performance, it might be time to start biting your fingers and deal with poor framerates, unless it doesn't cause any issues.

EngineBugFixes
Somehow causes a lot of issues, and manages to corrupt the memory blocks. Sometimes causes the inventory to freeze the framebuffer, so you're stuck staring at a single frame while the game runs (you can even control it!) in the background. (Only observed on machine A)

tl;dr Seemingly unsalvageable.

BethINI
While theoretically it should be OK to use, the Nehrim Launcher really dislikes when you mess with the order of entries within the INI, which, in turn, results in your INi file getting filled with blank entries. I'm not entirely sure how duplicate INI entries affect the game, let alone empty ones, but it can't be anything good - especially when Nehrim expects several of those entries to be specific things considered to be "invalid" by BethINI.

tl;dr Don't let BethINI touch the INI files unless you're prepared to face the consequences of your hubris.
Third Party Factors


DirectShow
Oblivion is known[en.uesp.net] to eat dirt because of Codec incompatibilites. On a fresh Windows installation, this shouldn't bother you, but if you've been using it for a while there's a non-zero chance some ungoodware crept its way onto your PC.

If you get really desperate and want to try this, you have four choices:
1) Format your drive and reinstall Windows (The Nuclear Option)
2) Learn to operate regedit and correct DirectShow entries to their initial state
3) Find DirectShow Filter Manager on a website that isn't malicious (Good Luck! Even the link on this[en.uesp.net] UESP page is flagged.)
4) Install the K-Lite Codec Pack (There's adware in the installer. The codecs are fine, but you'll have to untick it when prompted.)
13 Comments
wet socks 7 May @ 2:42am 
This game is driving me absolutely crazy with all the stutters and issues. I have followed mulitple modding guides, one of which was on steam that then simply disappeared, one on Nexus (total graphics overhaul) and one more or less light modding guide on reddit. Used Wrye Bash 312.1 on Win11 24h2, since newer versions bug out and every time I got stutters. The vanilla game stutters less but performance is still pretty much incredibly bad.

And I am using a 9070xt and a 5800x3d, so yeah. I would love to use the total graphics overhaul on the Nexus, but not with that amount of stuttering and when I was outside the game dropped to the 40s while still looking average at best. Insanity.
I Bully Engineers 23 Apr @ 5:35pm 
Thanks for making this guide! It's nice to have as many of these as possible and it's good to see fans making them to help other fans. Alot of Nehrim requires you to do your own experimenting to see what works for your setup but having people catalog their experiences makes the learning curve MUCH less steep. Thanks for making it, keep up the good work! :praisesun:
batavio 9 Feb @ 6:00am 
Don't take this guide as gospel. Nehrim is about as predictable as a jenga tower on its last block. You really have to try a bunch of things yourself and find out what works for your setup.

Each of the many times I've tried to use More Heap, it has consistently crashed my game within half an hour. On the other hand, the setup I've finally arrived at after much researching and debugging, where instead of the previous 5-10 minute crashes I can go for days without one, includes xOBSE (latest version, not the one included), Engine Tweaks, AveSithis engine fixes, and the 4GB patch (with Blue's engine fixes). On top of the lack of crashes, I'm experiencing no stutter or lag outside of small occasional drops in resource-dense areas like Erothin. I'm also running about two dozen other small and large non-performance related mods and plugins (many of which require xOBSE) with seemingly no problems.

tip: learn to use wrye bash and tes4edit, and install messagelogger
Sentinel Lyons 6 Jan @ 9:36pm 
Just wanted to comment and say that I played about 18 hours of Nehrim months ago with this setup before giving up due to the frequent crashing. I decided today to tackle the beast again.

I remembered that I recently used NVAC on my FO3 install (yes, FO3, not TTW) and it solved a persistent crash I was getting. Decided to try NVAC with Nehrim—magically, I played for 4 hours straight with no crashes. On top of that, I was consistently alt-tabbing. At one point, I literally put up a Discord stream for friends!

I know Viva New Vegas argues against NVAC, but this is the third game it has saved me with. To be honest, I'd consider Nehrim to be the final boss. I don't mean to argue against your guide as all of the other advice is still really good. But if anyone else is struggling, I'd say try giving NVAC a shot as for my personal setup, it finally stopped the crashing.

My build is W10 22H2, AMD 5700X3D, NVIDIA RTX 4080 Super, SSD if that means anything.
salomeya 21 Dec, 2024 @ 8:28am 
Hi everyone, I feel this patch (4Gb RAM Patcher) is fixing the crashes problems. At least it worked for me
https://www.nexusmods.com/oblivion/mods/45576?tab=files
Vollinger 18 Sep, 2024 @ 8:54am 
Disabling EnhancedMusicControl2 causes a weird hang after selecting "New game" and broke the door out of the Shadow Song Mine tutorial, wouldn't recommend.
Strangely, the GOG version comes with xOBSE 22.7 and LAA patch pre-installed, there's definitely a lot of script error spam in the log that went away after reverting to the old v0021 from silverlock.org
Transfield  [author] 14 Jul, 2024 @ 4:06pm 
forgot to mention, but display tweaks essentially replaces stutter remover for the proverbial use case of the latter - removing stutter - and moreheap gives you more memory without replacing the heap with old, unstable memory managers packaged in stutter remover
Transfield  [author] 14 Jul, 2024 @ 4:03pm 
1. stutter remover hasn't been recommended for the oblivion trio of games (fo3 and fnv) since 2016, despite being an incredibly interesting piece of software it does more harm than good on modern operating systems - although it does work the game just doesn't handle it very well and you will essentially play on a timer where the game will crash every 30 minutes to 3 hours depending on your setup
2. enginebugfixes is one of the mods that gave me easily reproducible crashes and lock-ups, I don't recommend installing it unless you're prepared to disable its features one by one until the game is playable - assuming that is even possible and it's not just eating shit on old OBSE which you can't update to xobse without breaking a lot of things
lalarukh3 12 Jul, 2024 @ 9:20am 
I've been recommended Stutter Remover and EngineBugFixes by so many others - are you sure they make things worse instead? It's so hard to troubleshoot this game because the crashes are kind of random and there's no proper error log.
lalarukh3 1 Jun, 2024 @ 2:12am 
Thank you very much for writing this guide. It's so hard to find information on this game.