A memory management tool for C# which is
- Very lightweight - GMem has only a few tiny functions and 2 objects
- Generic - You don't deal with data conversions and you don't have to call different functions for every data type.
- Object oriented - So that what makes your life easier doesn't make your code look bad.
- Extendable - I tried to keep the code as simple as i can so that you can extend it for your own work.
More information here: https://www.nuget.org/packages/GMem/
// Get an instance of GMemProcess.GMemProcessgProc=newGMemProcess("processname","ModuleName");/* ptrObject object holds; calculated address is (modulebase + pointer address) + offsets or direct address if its not a pointer. processHandle is the handle pointer of your process You can create a ptrObject like below */ptrObjectobj=gProc.create_ptr_object(0xFFFFFFFF,int[]{0xFF,0x10});/* Reads and writes are so simple. GMem supports almost all types that you might need. */// Readintintvalue=gProc.read<int>(obj);// WriteintvalueToWrite=50;booliswritten=gProc.write<int>(obj,valueToWrite);// If you want to read string or array of bytesintstringlength=10;stringtext=gProc.read<string>(obj,stringlength);// orintbyteLength=10;byte[]dataBuffer=gProc.read<byte[]>(obj,10);Tests for this solution were done on steam version of Torchlight 2. There are further information on test documents.
#Stage - Completed