Jump to content

[LE] SKSE and Assembly Level Code


linzizhu

Recommended Posts

So I was looking at the source code for an old mod, of which the creator apparently hasn't been online for a long time, and is not responding to messages with the intention of porting it to SE, and the code here is, from what little I understand of SKSE plugins, insane.

 

https://puu.sh/CL9ls/de488fe621.png

 

It's using direct memory address manipulation, which doesn't seem to be the kind of thing any other plugin author does. Furthermore, looking online, I can't find any reference to the memory addresses he's using, which makes me wonder how he knew to manipulate them.

 

How exposed are Skyrim's memory addresses, and is there a resource that I can use to understand what he's writing over here?

Thanks for your time.

Link to comment
Share on other sites

There are several memory addresses already exposed by the SKSE team in the source that allows folks to manipulate them. Areas which have not been exposed, don't have the memory addresses. Then there are some that do, but what they actually point to(as in what it functions) is unknown.

 

However, disassemblers can be used to analyze the assembly to uncover new memory addresses - this takes a lot of experience and disassemblers are not cheap programs. There's probably more to it, but I stopped looking into when it wasn't worth spending 1k$ + for those things. I'll also mention you'll need to know how to read assembly.

 

Quite a few mod authors are actual software developers and know how to do these things.

Edited by Rasikko
Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...