Skip to content

zhyonc/MemorySDK

Repository files navigation

MemorySDK

MemorySDK is a lightweight library designed to simplify function hooking and memory editing for Client

Features

  • AOBHelper: Hooks functions via Detours
  • AOBScan: Matches byte patterns in memory regions
  • Logger: Outputs debug messages with OutputDebugStringW
  • ProcessHelper: Provides process-level analysis
  • Rosemary: Edits and scans memory
  • StringHelper: Converts and formats string

How to build

Win32

git clone --recurse-submodules https://github.com/zhyonc/MemorySDK.git
cd MemorySDK
mkdir build
cd build
cmake .. -G "Visual Studio 17 2022" -A Win32
  • Open MemorySDK.sln via Visual Studio 2022
  • Select Release Win32 mode and build solution

x64

git clone --recurse-submodules https://github.com/zhyonc/MemorySDK.git
cd MemorySDK
mkdir build64
cd build64
cmake .. -G "Visual Studio 17 2022" -A x64
  • Open MemorySDK.sln via Visual Studio 2022
  • Select Release x64 mode and build solution

How to use

  • Right-click on your project in Solution Explorer
  • Open Property Pages and Select VC++ Directories
  • Set Include Directories is $(ProjectDir)include
  • Set Library Directories is $(ProjectDir)lib
  • Copy MemorySDK.h file to your project's include directory

Win32

  • Copy MemorySDK.lib and MemorySDKD.lib file to your project's lib directory
  • In your pch.h file or any other .cpp file import these codes
// Set ture to show debug messages
#ifndef IS_DEBUG_MODE
#define IS_DEBUG_MODE true
#endif

// Include MemorySDK and link its library
#include "MemorySDK.h"
	#ifdef _DEBUG
		#pragma comment(lib, "MemorySDKD.lib")
	#else
		#pragma comment(lib, "MemorySDK.lib")
	#endif
#endif

x64

  • Copy MemorySDK64.lib and MemorySDKD64.lib file to your project's lib directory
  • In your pch.h file or any other .cpp file import these codes
// Set ture to show debug messages
#ifndef IS_DEBUG_MODE
#define IS_DEBUG_MODE true
#endif

// Include MemorySDK and link its library
#include "MemorySDK.h"
	#ifdef _DEBUG
		#pragma comment(lib, "MemorySDKD64.lib")
	#else
		#pragma comment(lib, "MemorySDK64.lib")
	#endif
#endif

Credits

About

MemorySDK is a lightweight library designed to simplify function hooking and memory editing for MapleStory Client

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors