The Elder Scrolls V: Skyrim

The Elder Scrolls V: Skyrim

View Stats:
Ilja May 3, 2014 @ 2:52am
SKSE, memory and skse.ini
What is this?
SKSE stands for Skyrim Script Extender. It is additional software and alternative launcher for Skyrim, expanding the script library and functions for the game. This software can be downloaded from link below.

Skyrim Script Extender
http://skse.silverlock.org/

Version 1.7.+ includes support for important memory tweak and minor adjustments.

The main tweak changes the memory usage, by allocating more memory for initial processes in Skyrim. This will aid with long/stuck loading screen and crashing immediately after save load. It is recommended that always run SKSE with administrator rights.

If you are not sure what version of SKSE you are currently using, the information is included in skse_readme.txt: ...SteamApps/Common/Skyrim.

SKSE installation guide
This guide was made after the initial release of my post. I recommend using it. You can still refer to this post for extra information.

http://steamcommunity.com/sharedfiles/filedetails/?id=839312113

What does it replace?
The memory tweak replaces following mods. There is no need to use them.

Safety Load by kapaer
http://www.nexusmods.com/skyrim/mods/46465/?

SSME - Skyrim Startup Memory Editor by Queue
http://www.nexusmods.com/skyrim/mods/50305/?

To avoid the confusion, Skyrim already supports 4GB memory. You do not need any tweak, even this, to patch that.

Location and how to create this INi-file
The proper place for this file is in: ...SteamApps/common/Skyrim/Data/SKSE. You can create the folder, if it does not already exist.

- Download SKSE
- Install SKSE
- Open Notepad. Copy memory parameter section there.
- Use "Save as..." to save the file and select "All files" from dropdown list.
- Save file as SKSE.ini. Remember to remove ".txt" extencion, or your file will not get properly created.
- Store the file to ...SteamApps/Common/Skyrim/Data/SKSE

Example
This is what the file looks like, if you wish to use all the tweaks. You can copy and paste it directly to your notepad from here.
[General] EnableDiagnostics=1 ClearInvalidRegistrations=1 [Display] iTintTextureResolution=2048 [Memory] defaultHeapInitialAllocMB=768 scrapHeapSizeMB=256

For 2K and 4K textures:

[General] EnableDiagnostics=1 ClearInvalidRegistrations=1 [Display] iTintTextureResolution=2048 [Memory] defaultHeapInitialAllocMB=1024 scrapHeapSizeMB=256

What do they mean?
Activates the crash diagnostics for your game.
(1) Shows which masterfile is missing when the game CTDs on startup.
(2) Lists the missing files in the removed content dialog when loading a save.

I recommend using this, instead of Papyrus diagnostics. Only use Papyrus tweak from Skrim.ini, if mod author or one of forum regualrs especially requests a Papyrus log from you.

[General] EnableDiagnostics=1

Attempts to clean orphaned scripts from removed mods.
[General] ClearInvalidRegistrations=1

Updates the make-up to higher resolution.
[Display] iTintTextureResolution=2048

The main memory fix. Use this to fix lenghty or stuck loading screens and crashing on in game load event crashes.
[Memory] DefaultHeapInitialAllocMB=768 ScrapHeapSizeMB=256

You can replace the Memory value for higher values for 2K and 4K textures.

defaultHeapInitialAllocMB=1024 scrapHeapSizeMB=256

Mod Organizer Profiles
MO does not require any special attention. However, it is possible to upload SKSE.ini as a separate mod, with separate settings, for different profiles.

This would make sense if you are using iTintTextureResolution and it messes up overlays in your beast character play, but looks good in your other character playtroughs.

Make named folders directly under ...ModOrganizer\mods and place the file there. MO should read it correctly.

or

- Create a folder named SKSE
- Create the file in there
- Pack it with WinRar or 7-Zip
- Rename the pack to resemble the content. (for example SKSEMemoryFix for full configuration file and SKSEMemoryFix - No Tint for file with out tint.
- Upload and activate new mods to MO manually, as you would do with any other mod you have stored to your hard drive.

You can now keep your firstborn
The old way to activate original memory fix was to use line GiveFirstBornToSheson. This was a credit for Sheshon, who found the original memory tweak. You do not need to use that line with current SKSE memory fix.

ENBoost users
If you are experiencing rare slowdowns or CTDs with ENBoost and SKSE memory tweak combined, then try the following.

  • Backup enblocal.ini from your ...common/Skyrim folder. Open the file in Skyrim folder for editing.
  • Make following changes, if they are not already made.
    [MEMORY] ExpandSystemMemoryX64=true ReduceSystemMemoryUsage=true EnableUnsafeMemoryHacks=false
  • Be adviced that this is only available for 64bit Windows.

Post Edits
28.4.2017
- Added: Link to SKSE installation guide.
- Added: Higher memory value for 2K and 4K textures.
24.10.2015
- Changed: Removed Super Simple instructions and merged it with ones above. Post was too long for that.
- Added: ENBoost users
1.08.2015
- Added: More instructions for MO users.
- Fixed: Typo
22.06.2015
- Changed: Post layout
- Added: INI-file example
- Added: EnableDiagnostics=1
23.05.2015
- Added: Note about running SKSE as administrator.
- Added: "You can now keep your firstborn"
1.05.2015
- Partial rewrite
21.03.2015
- Added "Super Simple Version"
20.02.2015
- Added: Better description
20.12.2014
- Added notes for including separete files Mod Organizer profiles.
17.10.2014.
- Added descriptions what these lines actually do.
- Removed the reference to previous version of SKSE.
- Added explanation that user can create the SKSE folder, if missing.
16.7. 2014.
This post is valid in SKSE version 1.7.1+
Last edited by Ilja; Apr 28, 2017 @ 8:32am
< >
Showing 1-15 of 212 comments
Fayde May 3, 2014 @ 5:44am 
Awesome, Ref :)
Miku May 3, 2014 @ 6:09am 
sticky thread please
Yes sticky this.
★Kelvy★ May 3, 2014 @ 3:36pm 
Ref you are a champ, ask Master Dan to put in his heading in his pinned topic
EDIT: I was having problems trying to put the first two in (memory) from Arthmoor from a previous post.
Last edited by ★Kelvy★; May 3, 2014 @ 3:40pm
Where do you send a message to get this pinned?
★Kelvy★ May 3, 2014 @ 3:49pm 
I join your club do not know, maybe report and ask??? or is there a request page?? I am printing this off (hate flicking to and thro the screens) so I can finish what I have tried to do. (Never been one for notebook so I learnt something new today what it can be used for)
Last edited by ★Kelvy★; May 3, 2014 @ 3:50pm
Miku May 3, 2014 @ 4:29pm 
someone said, that the report button works fine for this...
and a good explanation is nesseccary
★Kelvy★ May 3, 2014 @ 4:47pm 
Thanks Nightcore, this helps to stop CTD with no error messages on latest version of SKSE.
I have just completed installing it, will try later on today. (I get it when skyrim has a blue moon LOL!! but fix would be great.)
PS don't know if I am out of order Ref, have asked Master Dan to pin it in his topic. I know he will credit you for it.
JellyPuff May 3, 2014 @ 4:59pm 
@OP, you should inform user's on here why and for what exactly to use SKSE in the first place.
it reads like "uhm yeah here's some file, download it, create this file put it here and you should be fine"
give players a reason on why they should do it. :P

it's main purpose is to allow more script-heavy mods, which would otherwise not work, due to the game's engine's limitations.

since "ClearInvalidRegistrations=1" alternate would be just to wait 31 in-game days and more memory allocation can be achieved otherwise, one shouldn't bother with it, unless he/she wants to use mods depending on it. (which only applies to maybe 1% of all PC-skyrim players)

if someone CTD, installs SKSE and not CTD anymore, then he/she didn't read one of their downloaded mod's description/s properly. :P

more details, please, or this forum will never get it's pinned SKSE thread. ;)
Last edited by JellyPuff; May 3, 2014 @ 5:03pm
★Kelvy★ May 3, 2014 @ 7:01pm 
May 3rd, originally posted by BattlePanda, attached doc by Arthmoor has stated this but not really how to install. But if we go through the pinned topic, I think it we get round this issue yes I suppose more info why this has come up helps

Edit- http://www.nexusmods.com/skyrim/mods/8058/?tab=4&&navtag=http%3A%2F%2Fwww.nexusmods.com%2Fskyrim%2Fajax%2Fcomments%2F%3Fmod_id%3D8058%26page%3D1%26sort%3DDESC%26pid%3D0%26thread_id%3D554910&pUp=1
Last edited by ★Kelvy★; May 3, 2014 @ 7:08pm
DragonMaster May 3, 2014 @ 9:13pm 
Thanks for this posting and letting me know where to find it. I fully agree with Jellypuff<interesting nickname btw> More info so that we can get this one pinneed.

Now what gets me is why you just can't allocate how much memory for skyrim to use. Heck I've got 32 gigs of ram and can throw in another 32 gigs of system ram. Not to mention 3 gigs on the graphics card.
Last edited by DragonMaster; May 3, 2014 @ 9:15pm
Ilja May 4, 2014 @ 1:53am 
I did not intend this to be our main SKSE thread. Perhaps I should have considered that this forum might actually need one. I made this because posts I read from here an other forums made it clear that peoples were confused.

Many have installed the 1.7.0 alpha version of SKSE, but most of them didn't seem to know about missing configuration file and memory allocation parameters. I wanted to point out that option exists and there is a way to activate it.

I made a separate note about "ClearInvalidRegistrations=1" and "iTintTextureResolution=2048" for advanced users. I don't personally need them, but some other players do. Now they know where to place these lines.

I don't know if this posts actually needs to get pinned. While 1.7.0 is still at alpha stage, development is likely to change some things. Perhaps we could include this information to already existing topic, until we see where guys working with SKSE are taking us?

If you really think that forum requires a pinned SKSE topic, then I am willing to modify the original post to reflect the need.
[Volk]SpixTalon Sep 22, 2014 @ 12:01pm 
oh boy oh boy oh BOY!
Thank you very much Ilja.
EDIT: Sorry for that dreadful necroing ;)
Last edited by [Volk]SpixTalon; Sep 22, 2014 @ 12:02pm
raubrey Dec 4, 2014 @ 7:37am 
Hey IIja,

Wanted to let you (and others know) I added the [Memory] section (from discussion on another thread) as it was gone from this game and it removed a slight loading screen flicker I had. I never had that problem before and thought it was a mod. So if you're keeping track of what this does, here is some more input for ya. Thanks.
Ilja Dec 4, 2014 @ 7:39am 
Thank you, raubrey. I try to keep up what is happening with SKSE. I did not know that it could fix the flickering. That is something we can now suggest, if peoples are asking.
< >
Showing 1-15 of 212 comments
Per page: 1530 50