Skyrim Memory Patch - fixing ILS, uGrids CTD, freezes

any kind of mods
  • Author
  • Message
Offline
Posts: 37
Joined: 21 Jan 2014, 14:52

Re: Skyrim Memory Patch - fixing ILS, uGrids CTD, freezes

nautiluse wrote:
Tuoni wrote:
Uriel24 wrote:First of all, thanks for finding this out Sheson.

I piled up a, probably, universal patch for both steam and non-steam users. Test please.
Only two files - a modified skse_loader.exe and mempatch.dll based on the Tase's code.
Changes:
1) mempatch.dll moved to "\Data\SKSE\Plugins\", less stuff in the Skyrim's root folder is good
2) mempatch writes it's log into "\Data\SKSE\Plugins\mempatch.log", if you have this, then mempatch is, most definitely, working.
3) For steam, i just put mempatch.dll injection right after skse_steam_loader.dll injection in the skse_loader.exe. No idea if it's sane or not, i'm a complete noob at this.

TEST THIS WITH VANILLA SKSE ONLY. NO OTHER SHESON PATCH VARIANTS SHOULD PRESENT.
Link: Mega

All credit goes to Sheson.
Two humble questions:

1) Is there anyway we can play with the memoryblock sizes with this version?
2) Should there be the Sheson baby reference line in the skse_steam_loader.log if the patch works and is activated? Or is the mempatch.log file all the "prove" there is that the patch is active and working?

Other then that it sounds good and will give it a shot later today.
Thanks for your time and effort!
1) It woks fine for me so far.
2) No more skse_steam_loader.log since it has no modification to skse_steam_loader.dll, instead of "mempatch.dll" as a SKSE plugin.
1) I downloaded the file and the readme contains the info about the SKSE.ini and the memoryblocks. The SKSE.ini was not mentioned in the post on the forum (just a couple posts up) so i thought that this version does not make use of an .ini file and so not have anyway to play with the memoryblock sizes.

2) Ok, so the mempatch.log is what we have to see that it's activated and running..
Guess I'm the kind of person that like to see in log files if patches do something and what they do :roll:


really curious to see if this non steam version works on my system as all the other skse_steam_loader.dll's with the SKSE.ini's i tried do not work on my system (i don't use Steam)
Skyrim starts fine and save games loads fine too but i never get the Sheson line in my skse_steam_loader.log file so the patch was never active while the game was running.

Offline
Posts: 6
Joined: 20 Jan 2014, 18:13

Re: Skyrim Memory Patch - fixing ILS, uGrids CTD, freezes

JAP1226 wrote:I tried to follow ZerOxShadows' instructions but couldn't generate the .dll file. After compiling, the release folder doesn't contain any other files besides loader_common.lib. Anyone have any ideas why this happens?
I got the same thing and never use VS2010 before, but I have to try to fix it, now it works.

I think we have the same problem as bennhat, edit the vanilla Linker Output File path of steam_loader to "$(OutDir)$(TargetName)$(TargetExt)" as same as skse_loader.
Last edited by nautiluse on 21 Jan 2014, 17:26, edited 1 time in total.

Offline
Posts: 6
Joined: 20 Jan 2014, 18:13

Re: Skyrim Memory Patch - fixing ILS, uGrids CTD, freezes

Tuoni wrote:
nautiluse wrote:
Tuoni wrote:
Uriel24 wrote:First of all, thanks for finding this out Sheson.

I piled up a, probably, universal patch for both steam and non-steam users. Test please.
Only two files - a modified skse_loader.exe and mempatch.dll based on the Tase's code.
Changes:
1) mempatch.dll moved to "\Data\SKSE\Plugins\", less stuff in the Skyrim's root folder is good
2) mempatch writes it's log into "\Data\SKSE\Plugins\mempatch.log", if you have this, then mempatch is, most definitely, working.
3) For steam, i just put mempatch.dll injection right after skse_steam_loader.dll injection in the skse_loader.exe. No idea if it's sane or not, i'm a complete noob at this.

TEST THIS WITH VANILLA SKSE ONLY. NO OTHER SHESON PATCH VARIANTS SHOULD PRESENT.
Link: Mega

All credit goes to Sheson.
Two humble questions:

1) Is there anyway we can play with the memoryblock sizes with this version?
2) Should there be the Sheson baby reference line in the skse_steam_loader.log if the patch works and is activated? Or is the mempatch.log file all the "prove" there is that the patch is active and working?

Other then that it sounds good and will give it a shot later today.
Thanks for your time and effort!
1) It woks fine for me so far.
2) No more skse_steam_loader.log since it has no modification to skse_steam_loader.dll, instead of "mempatch.dll" as a SKSE plugin.
1) I downloaded the file and the readme contains the info about the SKSE.ini and the memoryblocks. The SKSE.ini was not mentioned in the post on the forum (just a couple posts up) so i thought that this version does not make use of an .ini file and so not have anyway to play with the memoryblock sizes.

2) Ok, so the mempatch.log is what we have to see that it's activated and running..
Guess I'm the kind of person that like to see in log files if patches do something and what they do :roll:


really curious to see if this non steam version works on my system as all the other skse_steam_loader.dll's with the SKSE.ini's i tried do not work on my system (i don't use Steam)
Skyrim starts fine and save games loads fine too but i never get the Sheson line in my skse_steam_loader.log file so the patch was never active while the game was running.
I think because skse_steam_loader.dll is vanilla, there's no Sheson's code inside, so you can't get the Sheson line in skse_steam_loader.log. I delete skse_steam_loader.log and it doesn't builded again.

Offline
Posts: 4
Joined: 19 Jan 2014, 07:41

Re: Skyrim Memory Patch - fixing ILS, uGrids CTD, freezes

sheson wrote:
Daetarek wrote:So after messing around with various dll's configs i figured there must be an easier way to swap between values without the need for a new file, and setting a single flag to swap between multiple configs added far too much code for my liking so i came up with the following.
I did something like this myself too for testing. Since I anticipated recompiled dlls will be uploaded everywhere I figured I make the first patch with fixed numbers for the copy pasters so it is a bit safer for the mindless masses :)

I sugguest to make both ini values pure MB numbers to make sure their total sizes are dividable by 64kByte. Note that the number for the first block needs to add 100h or 256 decimal.
safewrite ... MemBlock1+256
safewrite ... MemBlock2*1024*1024

in the ini you can then have a much cleaner looking

[NotPlacebo]
GiveFirstBornToSheson=1
MemBlock1=512
MemBlock2=256
Sheson, any thoughts to adding this or something similar to your code? Keep up the great work!

Offline
Posts: 37
Joined: 21 Jan 2014, 14:52

Re: Skyrim Memory Patch - fixing ILS, uGrids CTD, freezes

Uriel24 wrote:First of all, thanks for finding this out Sheson.

I piled up a, probably, universal patch for both steam and non-steam users. Test please.
Only two files - a modified skse_loader.exe and mempatch.dll based on the Tase's code.
Changes:
1) mempatch.dll moved to "\Data\SKSE\Plugins\", less stuff in the Skyrim's root folder is good
2) mempatch writes it's log into "\Data\SKSE\Plugins\mempatch.log", if you have this, then mempatch is, most definitely, working.
3) For steam, i just put mempatch.dll injection right after skse_steam_loader.dll injection in the skse_loader.exe. No idea if it's sane or not, i'm a complete noob at this.

TEST THIS WITH VANILLA SKSE ONLY. NO OTHER SHESON PATCH VARIANTS SHOULD PRESENT.
Link: Mega

Don't forget to apply the recommended "Data\SKSE\SKSE.ini" edits:
[NotPlacebo]
GiveFirstBornToSheson=1
MemBlock1=512
MemBlock2=256
My mempatch.log looks like this:
Tase's Evil Non-Steam Memory Patcher... HUEHUEHUE... All credits to Sheson for this patch...
runtime root = O:\Skyrim\
config path = O:\Skyrim\Data\SKSE\skse.ini
Sheson took your first born in exchange for more memory
Set your first Memory Block to = 512
Set your second Memory Block to = 256
All credit goes to Sheson.
Ok so i installed your version and behold my mempatch.log:

Code: Select all

Tase's Evil Non-Steam Memory Patcher... HUEHUEHUE... All credits to Sheson for this patch...
runtime root = G:\Games\The Elder Scrolls V Skyrim\
config path = G:\Games\The Elder Scrolls V Skyrim\Data\SKSE\skse.ini
Sheson took your first born in exchange for more memory
Set your first Memory Block to = 512
Set your second Memory Block to = 256
So i can assume that the patch is activated and working right?
I only played for an hour so i can't say anything about stability yet. People say the have smoother gameplay but i have to say that i don't notice much of this (yet). Not a biggy, my top priority is to get the game more stable and i think it's pretty smooth as it is.

Offline
Posts: 1
Joined: 21 Jan 2014, 19:46

Re: Skyrim Memory Patch - fixing ILS, uGrids CTD, freezes

I am getting the same log entries Tuoni. But in my SKSE log in my save game folder i have this:


checking plugin C:\Program Files (x86)\TSEV Skyrim LE\Data\SKSE\Plugins\\mempatch.dll
plugin C:\Program Files (x86)\TSEV Skyrim LE\Data\SKSE\Plugins\\mempatch.dll does not appear to be an SKSE plugin

Ignore?

Thanks

Brad

Offline
Posts: 37
Joined: 21 Jan 2014, 14:52

Re: Skyrim Memory Patch - fixing ILS, uGrids CTD, freezes

alyzar wrote:I am getting the same log entries Tuoni. But in my SKSE log in my save game folder i have this:


checking plugin C:\Program Files (x86)\TSEV Skyrim LE\Data\SKSE\Plugins\\mempatch.dll
plugin C:\Program Files (x86)\TSEV Skyrim LE\Data\SKSE\Plugins\\mempatch.dll does not appear to be an SKSE plugin

Ignore?

Thanks

Brad
I get the same message.. not sure what and/or if it means anything. Maybe Uriel24 can answer this one?

This is my skse_loader.log:

Code: Select all

skse loader 01060100 01CF16E4A0F1E694 6.2 (9200)
runtime root = G:\Games\The Elder Scrolls V Skyrim\
config path = G:\Games\The Elder Scrolls V Skyrim\Data\SKSE\skse.ini
procPath = G:\Games\The Elder Scrolls V Skyrim\\TESV.exe
launching: TESV.exe (G:\Games\The Elder Scrolls V Skyrim\\TESV.exe)
dwSignature = FEEF04BD
dwStrucVersion = 00010000
dwFileVersionMS = 00010009
dwFileVersionLS = 00200000
dwProductVersionMS = 00010009
dwProductVersionLS = 00200000
dwFileFlagsMask = 00000017
dwFileFlags = 00000000
dwFileOS = 00000004
dwFileType = 00000001
dwFileSubtype = 00000000
dwFileDateMS = 00000000
dwFileDateLS = 00000000
version = 0001000900200000
normal exe
hook call addr = 00F56831
load lib addr = 0106B0B4
dll = G:\Games\The Elder Scrolls V Skyrim\\skse_1_9_32.dll
main thread id = 2096
remote memory = 001D0000
old winmain = 0069D1D0
Injecting mempatch ...now <===
hookBase = 001E0000
loadLibraryAAddr = 74BFB50A
hook thread complete
launching
I'm not an expert that seems to be ok to me.

Offline
*sensei*
Posts: 289
Joined: 08 Dec 2012, 23:05

Re: Skyrim Memory Patch - fixing ILS, uGrids CTD, freezes

checking plugin C:\Program Files (x86)\TSEV Skyrim LE\Data\SKSE\Plugins\\mempatch.dll
plugin C:\Program Files (x86)\TSEV Skyrim LE\Data\SKSE\Plugins\\mempatch.dll does not appear to be an SKSE plugin
Yep, SKSE finds mempatch.dll in the plugins directory, sniffs it, finds out it's not a edible and goes away.

Tuoni yes, it should be running. Check mempatch.log for more info.
_________________
i5 2500k@4.0ghz - 24Gb RAM - R9-290 4Gb Tri-X - SSD 240gb Intel 520 - Win7x64

Offline
Posts: 10
Joined: 20 Jan 2014, 00:30

Re: Skyrim Memory Patch - fixing ILS, uGrids CTD, freezes

Tuoni wrote:
Uriel24 wrote:First of all, thanks for finding this out Sheson.

I piled up a, probably, universal patch for both steam and non-steam users. Test please.
Only two files - a modified skse_loader.exe and mempatch.dll based on the Tase's code.
Changes:
1) mempatch.dll moved to "\Data\SKSE\Plugins\", less stuff in the Skyrim's root folder is good
2) mempatch writes it's log into "\Data\SKSE\Plugins\mempatch.log", if you have this, then mempatch is, most definitely, working.
3) For steam, i just put mempatch.dll injection right after skse_steam_loader.dll injection in the skse_loader.exe. No idea if it's sane or not, i'm a complete noob at this.

TEST THIS WITH VANILLA SKSE ONLY. NO OTHER SHESON PATCH VARIANTS SHOULD PRESENT.
Link: Mega

Don't forget to apply the recommended "Data\SKSE\SKSE.ini" edits:
[NotPlacebo]
GiveFirstBornToSheson=1
MemBlock1=512
MemBlock2=256
My mempatch.log looks like this:
Tase's Evil Non-Steam Memory Patcher... HUEHUEHUE... All credits to Sheson for this patch...
runtime root = O:\Skyrim\
config path = O:\Skyrim\Data\SKSE\skse.ini
Sheson took your first born in exchange for more memory
Set your first Memory Block to = 512
Set your second Memory Block to = 256
All credit goes to Sheson.
Ok so i installed your version and behold my mempatch.log:

Code: Select all

Tase's Evil Non-Steam Memory Patcher... HUEHUEHUE... All credits to Sheson for this patch...
runtime root = G:\Games\The Elder Scrolls V Skyrim\
config path = G:\Games\The Elder Scrolls V Skyrim\Data\SKSE\skse.ini
Sheson took your first born in exchange for more memory
Set your first Memory Block to = 512
Set your second Memory Block to = 256
So i can assume that the patch is activated and working right?
I only played for an hour so i can't say anything about stability yet. People say the have smoother gameplay but i have to say that i don't notice much of this (yet). Not a biggy, my top priority is to get the game more stable and i think it's pretty smooth as it is.




That means the dll is correctly loaded, you can check the memory in VMMaps to see the changes in size (sort by size

Other people can try it out: https://www.dropbox.com/s/11r0pvqq4edmq ... ystuff.rar

Offline
Posts: 21
Joined: 24 Jan 2013, 12:59

Re: Skyrim Memory Patch - fixing ILS, uGrids CTD, freezes

Uriel24 wrote:I piled up a, probably, universal patch for both steam and non-steam users. Test please.
Only two files - a modified skse_loader.exe and mempatch.dll based on the Tase's code.
Changes:
1) mempatch.dll moved to "\Data\SKSE\Plugins\", less stuff in the Skyrim's root folder is good
2) mempatch writes it's log into "\Data\SKSE\Plugins\mempatch.log", if you have this, then mempatch is, most definitely, working.
3) For Steam case a modified skse_steam_loader.dll will be used, logs go into "My Games\Skyrim\SKSE\skse_steam_loader.log" in this case. This one will read SKSE.ini settings too.
Crash every time right after I launch Skyrim, even tho it makes log. Using steam version, did everything you said
Tase wrote:Other people can try it out: https://www.dropbox.com/s/11r0pvqq4edmq ... ystuff.rar
Those let me load inside building, but when I try outside it shows Windows cursor loading and infinite loading screen
Post Reply