Medical Memory Patch
Jan 11, 2016 General help and technical troubleshooting. Ask for help here if you can't find an answer in the FAQ. May 30, 2014 Hi guys and girls! Since i didn't saw any thread on it, i'm coming here to say that the Skyrim Memory patch from Sheson was ported to 'NVSE 4.2b4'. Page 1 of 16 - Skyrim Memory Patch - fixing ILS, uGrids CTD, freezes! (For REAL) - posted in Skyrim Mod Talk: Someone by the name of Sheson over at the ENBdev forum (and Nexus) found a way to make Skyrim stable as rock, even with high Ugrids. For Fallout: New Vegas on the PC, a GameFAQs message board topic titled 'Anywhere to manually download the patch?'
- -If you do this, you will have the complete Sheson's Memory Patch and Boris Vorontsov's ENBoost Combo, which will allow you to have a much more stable Skyrim. Have in mind that ENBoost may not work for everybody, but the Memory Patch should work. In any case, the ENBoost instructions I post here worked very well for me, so you should give it a try.
- (Q and A at the end of my post)
- -For activating both memory patches, you'll need:
- 1-SKSE 1.7.1 (Download link: http://skse.silverlock.org/)
- -Yes, you have to install this one, all massive Mods require it, and in case you didn't know, non-SKSE-required Mods will corrupt your savegame after their desinstalation sooner or later, since the savegames save the info of ALMOST EVERYTHING, even custom skeletons data which ironically don't require SKSE to work (I tested this).
- -Install SKSE following the instructions provided in this video courtesy from Gopher:
- -Make a shortcut of skse_loader.exe, it's really important that you do this, you'll know why if you keep reading.
- 2-Sheson's Memory Patch Commands compatible with SKSE 1.7.1
- -The old commands are deprecated by SKSE and therefore they are useless, here are the new commands:
- [Memory]
- ScrapHeapSizeMB=256
- -Write them in SKSE.ini, which should be in (Game root folder, in other words, the folder in which your Skyrim is installed, the Data folder is inside of this folder) DataSKSE, then save the changes.
- -If you don't have a SKSE folder inside of the Data folder, create a SKSE folder inside of the Data folder. This also means that you (Probably) don't have SKSE.ini.
- -If you don't have a SKSE.ini, create a new text document named SKSE, copy the commands I posted here, save, and after that, change the extension of the document, from .txt to .ini, so you create the .ini file. Now your .ini file should exactly say:
- SKSE.ini
- -Move SKSE.ini inside of the SKSE folder.
- -Right-click the skse_loader.exe shortcut that you made before (It should be in your desktop, in case you didn't move it), then click on Properties.
- -Add the following 'command' (I forgot the right word in English) to the shortcut target:
- -forcesteamloader
- -The result should be this:
- '(Game root folder)skse_loader.exe' -forcesteamloader
- -Just an example:
- 'C:GamesSteamSteamAppscommonskyrimskse_loader.exe' -forcesteamloader
- -Run the game, load any savegame, save and quit. You shouldn't have any problems if you did everything right.
- -Go to the folder in which your Skyrim savegames are stored (Example: My DocumentsMy GamesSkyrim).
- -Open the folder SKSE and then, open skse_steam_loader.log
- -You should see this in the command lines, typically near the end of the file:
- overriding memory pool sizes
- default heap = 768MB (effective 512MB if not preloading animations)
- -If you see this, that means that Sheson's Memory Patch works correctly! Now, let's move to ENBoost.
- 3-ENBoost
- -This is the most complicated part, but if you do it, that'll be totally awesome : )
- -Don't worry, you won't be forced to use ENB, we just need the most basic features of ENB, which won't activate any ENB effects, and therefore you won't get performance loss.
- -If you DO want to use ENB, don't worry either, you will be able to use ENBoost and the awesome ENB visual enhancememts : )
- -Download ENB, and please, don't use the ENB presets uploaded here yet, unless everything I posted regarding this section (Section 3) fails. Here's the link of the latest version of ENB for Skyrim:
- http://enbdev.com/mod_tesskyrim_v0265.htm
- -Go to the lowest part of the page and click on the arrow to download the ENB.
- -Boris Vorontsov:
- If you read the part in which I ask the users to not download your presets here, please don't get offended, by tweaking the .ini file that comes in the ENB you have in your website, I didn't have to use any of your presets here to make ENBoost to work without problems at the moment. I'm sorry if this causes a misunderstanding, I want to help, that's all : )
- -Extract the contents of the compressed file wherever you want.
- -Open the WrapperVersion folder, and move the following files to a safe place, and make a backup of them, these files are all you need:
- d3d9.dll
- enblocal.ini
- -After you made a backup of the 3 files, move them inside of the game root folder (I explained this before, you'll know it if you have read this post with attention).
- -Now, you're ready to continue, please skip the 'ENBoost plus ENB users' part.
- -If you want to fully install ENB correctly, please read these STEP tutorials (Google it as 'skyrim step' to know more about STEP) with EXTREME ATTENTION:
- http://wiki.step-project.com/Guide:ENB
- -There should be other tutorials in the internet, but since I don't use ENB (I only use ENBoost), I can't help you in a better way.
- -After you have installed ENB, you'll be ready to continue. Please ignore the 'ENBoost-Only users' mentioned before.
- Note: In the case of 'ENBoost plus ENB users', it's possible that some of you have already learned to configure ENB to activate ENBoost too. If that's your case, don't read this post anymore, the info will be redundant for you.
- All users, 'ENBoost-Only users' and 'ENBoost plus ENB users' alike:
- -in [GLOBAL], check this line:
- UsePatchSpeedhackWithoutGraphics=
- -Set its value to true if you want to activate ENB and ENBoost, like this:
- -Set its value to false if youwant to activate ENBoost WITHOUT activating ENB, like this:
- -in [MEMORY], check this line:
- ExpandSystemMemoryX64=
- -Set it to false, because it conflicts with Sheson's Memory Patch in most PCs, and it causes conflicts even if you don't have the Memory Patch activated.
- -Since this affects most PCs, but not all of them, if you feel like activating it, check this STEP post first with as much attention as possible, and set its value to true to activate this function, here's the link of the post:
- http://wiki.step-project.com/Guide:ENBlocal_INI/Memory
- VideoMemorySizeMb=
- -In order to adjust these critical parameters correctly, look for the ReservedMemorySizeMb and VideoMemorySizeMb sections that appear in the lower part of the STEP guide whose link is below, completely and with maximum attention. If necessary, check everything in the internet, and if isn't enough, make trial-and-error with all the info you've gathered, here's the link, by the way:
- http://wiki.step-project.com/Guide:ENBlocal_INI/Memory
- -If you have 512 MB of VRAM (Dedicated memory of the graphics card) and 4 GB RAM, like me, try the following values, these values worked with my Skyrim:
- ReservedMemorySizeMb=64
- -Run the game. As soon the game runs, you should see some words in the upper left corner of your screen, this means that ENBoost has started.
- -Load a savegame, if it loads successfully, this means that the ENBoost has been successfully installed and activated!!
- Q and A:
- Q= Why did you include Sheson's Mem Patch here? This is ENBoost!!!!!11111!!!!
- A= By using both of them, you will help your PC much more, and if ENBoost definitely fails for you, Sheson's Memory Patch should work for you.
- Q= Why didn't you post this in Nexus Forums instead?!?!!!?
- A= My rep here is so low that probably, my thread would have been buried among millions of forgotten threads made by other not-so-popular users. And, this comments section is active too, so I hope some users can get help by reading my post.
- Q= Some concepts can be misleading, for example, ENBoost is actually part of ENB.
- A= I think yes. Technically ENBoost is the most basic form of ENB, but it doesn't use any of the ENB features. For all effects, I'll refer it as ENBoost. Why?
- Because the term ENBoost is more practical and it gets straight to the point.
- Happily, ENBoost shouldn't cause problems, let alone FPS huge drops. It will depend on the way in which you configure it.
- A= No. Read everything well, it will give you enough patience for when you have to read contracts in the future, you know, they are really extensive, and they are made to break your patience and take total advantage from you in most cases.
- Q= Help!!!! It didn't work!!!! And I made EVERY step well!!!!
- Q= Help!!!! It didn't work!!!! It even crashes my game!!!! And I made EVERY step well!!!!
- A= Then it's not ENB fault. 1 or more of these 6 things happen:
- 1-Your savegame may be corrupted in a way so it doesn't allow ENBoost to work (Extremely unlikely).
- 2-You have Mods with corrupted contents (Specially scripts), or contents (Again, specially scripts) that (Could) interfere with ENBoost.
- 3-You edited the game .ini and/or .txt files in a really bad way, or you downloaded a custom game .ini and/or .txt preset which obviously is not made for your PC.
- 4-You edited ENB .ini and/or .txt files in a really bad way, or you downloaded a custom ENB .ini and/or .txt preset which obviously is not made for your PC. This conflicts with ENB, and then, crashes happen.
- 5-Your PC is not made for running ENBoost, let alone ENB (Outdated PC, or buggy/damaged PC, or both).
- 6-Game bugs that ENBoost can't solve, because those bugs aren't related to ENBoost at all.
- I hope this guide can be useful for you : )
- hi Arturo, thanks for this, looks promising. But i cant do this step:
- -Add the following 'command' (I forgot the right word in English) to the destination address of the shortcut:
- -The result should be this:
- '(Game root folder)skse_loader.exe' -forcesteamloader
- You're referring to 'Target'? Says path is incorrect
- i've done everything else, tried both wrapped and inject version i still crash after bethesda logo with no message.
- Very strong pc, 64x system 8.1 and AMD with 4+gb vram
- i also have mod couple months now ENB PROJECT. can it stay? do i have to remove it? i tried removing, didnt change the startup crash
- really modded but working till i tried this, now i cant even uninstall it, still crashes (after deleting all enb stuff copied to my game folder)
- Hey thanks man but 1 more question, I've got 8GB of RAM and 1GB of Video RAM (VRAM), what should I put in enblocal.ini? I have set VRAM + RAM - 8192 MB but I don't think I should do so... I have ReservedMemorySizeMB=512 and VideoMemorySizeMB=0 should I change anything? or is it ok??
- Drow37:
- Yes, you're right, the technical name is 'Target', I'm not a native English speaker nor my PC is in English, so I didn't know the exact word. I'll correct the word in my post, btw, thank you for correcting me here : )
- If the target path is incorrect, you can do the following:
- 1-Create a desktop shortcut for skse_loader.exe (This means that you installed SKSE, otherwise, you have to install SKSE first).
- 2-Check if the shortcut works. If your Skyrim runs, then it works. If it works, continue to the next step.
- 3-Right-click the desktop shortcut you just created and then click on Properties.
- 4-Check the Target option, there should be the complete route to the skse_loader.exe location.
- 6-Add a space.
- 8-Your shortcut should look like this example, but this will depend on where did you install your Skyrim:
- 'C:GamesSteamSteamAppscommonskyrimskse_loader.exe' -forcesteamloader
- 10-Tell me what happened
- About ENB uninstall, (ENB Project is an ENB? Did it work before you tried my post? Or it failed before you tried my post? I need your answers to help you better)There are other leftovers in the main Skyrim game folder and the main skyrim savegames folder, check both folders well, but if all else fails, please read this STEP tutorial, this tutorial will make your Skyrim vanilla again and then you will be able to install ENBoost. My advice is that you test ENBoost first, then if and only if works, you can install the full ENB, here's the link of the STEP tutorial:
- http://wiki.step-project.com/Guide:Make_Skyrim_Vanilla_Again
- If even the vanilla Skyrim tutorial fails, it's because perhaps ENB left entries in Windows Registry. If so, open the Registry (Regedit.exe), search for ENB, but instead of deleting everything, post pictures about it here (And censor everything that you considerate private). We can make a tutorial about this that can help others.
- Grizzly99:
- You didn't read my post with attention. What you're asking is the most critical pert, since if you screw it up here, your game won't work. Please read this STEP tutorial and read with full attention (I really mean it) the sections 'ReservedMemorySizeMb' and 'VideoMemorySizeMb', the link is here:
- http://wiki.step-project.com/Guide:ENBlocal_INI/Memory
- According to what I read:
- For ReservedMemorySizeMb:
- The tutorial here mentions VRAM, you have 1 GB, and the tutorial mentions that your minimum value should be of 128 (The value is expressed in megabytes), and if it doesn't work, you have to increase this value from 128 in 128 until 1024 (My lack of lexicon here, I hope this can be understandable), like this: 128, 256, 384, 512, 640, 768, 896, and 1024.
- For you, this shlod be the minimum value:
- ReservedMemorySizeMb=128
- For VideoMemorySizeMb:
- -If and only if you have less than 8 GB RAM, the value should be equal to the total amount of VRAM you have.
- Example: If you have only 4 GB RAM, and your GPU has 1 GB VRAM, the value you should put is of 1024, because the values used are expressed in megabytes.
- Example result:
- -If and only if you have 8 GB RAM or more (This means your PC is a 64-bit PC, otherwise this won't work at all), use this formula provided by STEP (BTW, they forgot to add that the values used are expressed in megabytes, this omission can be totally misleading, but here I'll add the rest of the data):
- (VRAM(In megabytes) + System RAM (In megabytes)) - 2048
- -In this case, you have 8 GB RAM and 1 GB VRAM, so, since the data you have to enter is in megabytes, it should look like this:
- 1 GB = 1024 megabytes
- 1 GB VRAM = 1024 megabytes
- => 7168
- Finally, the value you have to use for your VideoMemorySizeMb setting is 7168
- This is how it should look:
- VideoMemorySizeMb=7168
- And before you finish, please check this value: AutodetectVideoMemorySize, It's under [MEMORY] section. Make sure that vaule is set to false, otherwise, this trick won't work.
- That's it : )
- Thanks a lot! but one more last thing, I can't find AutodetectVideoMemorySize in my Enblocal.ini should I add one under the [Memory]?
- Balrog990:
- Yes, but make sure that its value is set to false, like this:
- AutodetectVideoMemorySize=false
- After that, you should be OK : )
- You're the best
- Grizzly99:
- That would be totally awesome!!
- Can't tell I think so, I mean I did not have many CTDs only in warzone places (and some random places on random times) becouse Videocard cant really handle it well... but I see I don't have as much CTD s as before, btw how do I enable ENB now? I mean I tried setting UsePatchSpeedhackWithoutGraphics=false and true but it still says that ENB is disabled... weird
- Grizzly99:
- You have to install the full ENB, in my post, I added 2 links with tutorials to install the full ENB correctly (In the subsection 'ENBoost plus ENB users' ), I focused more in ENBoost rather than ENB since I don't use ENB nor I know how to install it (I can't use ENB since my PC is too old to handle it).
- Kudo for the ENB step thing. Was curious how to use both :o
- I hope it helps you, Qurion : )
- It was really difficult to find and process the info (Mainly Sheson's Patch), basically it was split in several websites, then I found the STEP tutorials, but I don't remember having found info regarding Sheson's Patch there (Correct me if I made a mistake). Even so, STEP has lots of tutos, it would be really good that websites like STEP could have more attention.
- -Edit
- Issue Has be resolved and fixed in OP
- report posted @ 3:41, 22 Feb 2015 Reply
- gidio 0 kudos8 posts
- Hmm when I did exactly as you said, all my graphics were set on lowest and I had massive lag.
- I fixed this by copying over the enblocal from enboost and changing my memory values to your guide. But now I don't know if it's fully working, haven't had any crashes yet, but they always happen very randomly for me.
- Is there any way to check if it's using my 2 gb VRAM and 8 gb RAM?
- EDIT: I tested the memory Patch by spawning 250 guards like Gopher did in his video and it worked, but I still don't know how to test if ENBoost is working properly.
- -Edit
- See OP,
- Please ignore this, thanks in advance.
- Gidio:
- I can't absolutely prove it works totally, I can only say that my game has much less crashes, it made my Skyrim more stable, considering that my PC is old.
- Crhymez:
- 'Also the ENBoost seems to give me a better Preformance boost when i only change VideoMemorySizeMB and Reserved to 1024 / 128.'
- This depends purely in your PC. the settings I mentioned are the settings that work for my PC, I mentioned this in my post already, and I also posted a link so any user can correctly adjust these settings, since these settings are critical.
- I only recommended the values to users that have a PC with similar specs as mine. Making another recomendation would be at least reckless.
- 'Also the INI from ENB has stuff like
- EnableCompression=true
- There are also a few other lines in ENBoost that are not included in the ENB version.'
- I recommended the version 0.265 since it's the latest version of ENB.
- As far as I know, the presets uploaded here are from old ENB versions, therefore, it's much more recommendable to obtain the latest ENB, get the necessary .ini file and configure it.
- Also, if you only activate ENBoost, the graphics options are not applied, even if they appear in the .ini.
- 'My question is how do these effect overall preformance and also why do i only need to copy over those three files?'
- According to what I read, you only need these 3 files to make ENBoost to work, you don't need the rest of the ENB files since they won't be useful at all.
- The other files make the visual changes we all know, but do not give any performance benefits.
- I also posted links to STEP tutorials so the users that want to make a correct and complete ENB install can do it.
- 'Gopher and everyone person that uses recommends it the way the creator of it recommended. What makes this way better?'
- I posted what I posted because it worked for me. My PC is old, and this combo, so far, has made my game more stable, and because of that, I wanted to share this info with those who need it.
- About the way I got the info, personally, I prefer to use as many sources as possible.
- I used the STEP tutorials (And other sources to confirm what I wrote in my post, of course) to get enough info and post my recommendations about ENB.
- I also added the STEP links in my post to avoid any mistakes or misunderstandings. Looks like you didn't read my post with attention.
- I don't mean that my post can be totally correct, of course, and I even thank you so much (Your help was crucial) for showing me the typo I made, but if you give me tips/help/hints and the like to improve my post even further, rather than saying 'what makes this tuto better than the others?', that would be totally great.
- Plus, since you asked 'What makes this way better?', let me give you an answer: The fact that WE BOTH, yes, we both, and any interested active users, can improve this tutorial, and in fact, we can make a much better tutorial, based in direct community users' feedback.
- Also take in consideration that Boris Vorontsov doesn't give tech support here anymore, so many new posters might not know how to configure ENBoost well.
- Since ENB works very differently for each person, just a recommendation won't be enough, but users' experiences will help a lot to improve this tuto.
- athiust 3 kudos195 posts
- I wanted to take the time to thank you for this, extremely stable game i have now, much appreciated.
- Athiust:
- You're welcome! I'm happy it worked
- dark_wizzie 2 kudos283 posts
- I was a bit skeptical at first but stuck through it... It works for me. I verified it via the SKSE log and Skyrim Memory Blocks Reader. I also noticed that without the memory patch I cash with 200 guards spawned, with the changes now I'm at 300 without crash but the fps is so bad I didn't test any further. So I am like 99% sure it's working for me.
- Thanks, and try to get this stickied... or posted somewhere prominent. Not a whole lot of traffic in this particular comment section and your comment will get bumped down the list of comments soon enough.
- I'm real happy it worked for you, dark_wizzie!
- I can't stick my post, since I'm not the author of this thread, everything depends on Boris, unless there is another way, which I don't know atm.
- athiust 3 kudos195 posts
- Droppin back in to inform you of something Arturo, i want to make sure that either this post isn't mis-informed, or i am just mistaken, but by the installation instructions located on the page of the ever popular and now revived Civil Unrest page, it states to have the recommendation of Enboost and also Sheson memory (or what i believe is Sheson's Patch) at the same time without stating the instruction to disable expand system memory, here is the link to the page of instructions, my apologies if i am mistaken, it is otherwise quite important to root out this issue asap as it will effect many players: http://skyrimwarzonescivilunrest.modunion.com/installation-checklist-do-everything-right/
- Athiust:
- Thank you so much!
- I'll read the instructions of Warzones 2015, and I'll check 'em against my post asap!
- 'and also Sheson memory (or what i believe is Sheson's Patch)'
- Both are the same Sheson's Memory Patch. Now it's integrated to SKSE 1.7.1 and higher, please read my post, specifically the Memory Patch section, I wrote instructions on how to install it correctly, along with SKSE. You have to check Gopher's video in the link I also provided.
- About your question, this is what you mean, right?:
- '[MEMORY]
- Adds some cache space in Skyrim's memory for dynamically loaded stuff.'
- The setting adjusted like above can severely affect Sheson's Memory Patch users, and it seems that the part of the guide that mentions this is perhaps outdated, I checked several threads and the STEP guide, regarding this issue. Please check this extract of my post:
- 'ExpandSystemMemoryX64=
- -Set it to false, because it conflicts with Sheson's Memory Patch in most PCs, and it causes conflicts even if you don't have the Memory Patch activated.
- -Since this affects most PCs, but not all of them, if you feel like activating it, check this STEP post first with as much attention as possible, and set its value to true to activate this function, here's the link of the post:
- http://wiki.step-project.com/Guide:ENBlocal_INI/Memory'
- I haven't found any things I have to correct at the moment, so you can read my post with ease, but if you or any other user wants to clarify any other aspects of my post, please tell me asap.
- athiust 3 kudos195 posts
- Thanks for the information, im relaying it to one of the thread mods over on civil unrest right now, thanks again Arturo, what would be cool is if we can somehow find out a little bit more about how expandsystemmemory exactly conflicts with shesons patch and why some computer cant handle it as others can (low end systems vs high end systems?).
- Athiust, according to STEP:
- Link: http://wiki.step-project.com/Guide:ENBlocal_INI/Memory
- ' ExpandSystemMemoryX64
- Warning: It has been reported that this feature can conflict with 'Sheson's Memory Patch 3.0' (now included with SKSE) by causing Skyrim to crash if the memory patch fix is used to increase Skyrim's initial heap allocation (Block 1 or DefaultHeapInitialAllocMB in skse.ini) higher than 512MB (or 768MB for some). Therefore, if using the Sheson Memory Patch fix (either standalone or with SKSE), it is recommended to set ExpandSystemMemoryX64 to false.
- While the preceding warning does not apply to everyone under all circumstances (me for example, running DefaultHeapInitialAllocMB=76, credible testing here on STEP supports the notion that setting EnableUnsafeMemoryHacks=true can contribute to Skyrim CTD at startup when using sheson's memory patch. Talk 23:19, January 17, 2015 (EST) '
- There's a thread in which an user recommends to set it to false, things here are a lot more technical (STEP forums):
- http://forum.step-project.com/topic/710-enb-guide/page-24#entry109854
- I'm trying to get the most of it, but some things are far from my knowledge (Programming, specifically), so if any of the users can give me a hand here, it'd be good for us all.