hxhieu / memory_hack

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Memory Hack

Cross-platform memory editor for games

Memory Hack is a cross-platform memory editor with a web based front-end.

  • Search and modify memory regions.
  • Save and load codes for use in games.
  • Create scripts to enable trainer-like abilities.

Features

  • Memory searcher that can find 1, 2, 4 byte values as well as floating point values.
  • Unknown value scanner to search for values not represented as numeric (life bars, timers, etc...)
  • AOB (Array of bytes) heap scanner to help narrow down dynamic values.
  • Code list that can store memory addresses and AOB values for reuse.
  • Python script importer that can load scripts to enable trainer-like abilities.
  • Web-based front-end that can be accessed from PC or phone.

Requirements

  • Python >= 3.8

Screenshots

Code List Search
snap_codes snap_codes

AOB Scripts
snap_codes snap_codes

Memory Hack uses a number of open source projects to work properly:

  • Falcon - Minimalist ASGI/WSGI framework for building mission-critical REST APIs.
  • OnsenUI - A rich variety of UI components specially designed for mobile apps.
  • jQuery - Fast, small, and feature-rich JavaScript library.
  • mem_edit - Multi-platform memory editing library written in Python.

Installation

Windows

From Windows, a powershell command can be run to download the installer script. This script will grab the code from the repository and optionally set up Memory Hack as a service.

  1. Create a directory where Memory Hack should be installed.
  2. Run the powershell command to get the code.
powershell -Command "(new-object System.Net.WebClient).DownloadFile('https://github.com/primetime00/memory_hack/raw/master/app/patches/win_install.py','install.py')"
  1. Once the installation script is downloaded install the code:
python install.py

During installation, you will be asked if Memory Hack can be installed as a service. If Memory Hack is run as a service, it will always be running. Otherwise, Memory Hack must be manually started.

NOTE: Service installation for Windows uses Non-Sucking Service Manager to make service installation easier.

  1. Run Memory Hack if it was not installed as a service.
run.bat
  1. Test Memory Hack by opening a browser windows and pointing it to localhost:5000

Uninstall

To uninstall Memory Hack, navigate to the installation directory and run the installation script again.

python install.py

The script should detect the installation and ask if you would like to uninstall Memory Hack.

Linux

Like Windows, Linux will download the installation script and install, optionally setting up Memory Hack as a service.

  1. Create a directory where Memory Hack should be installed.
  2. Run the following command to download and install.
python3 <(wget -qO- https://github.com/primetime00/memory_hack/raw/master/app/patches/install.py)

During installation, you will be asked if Memory Hack can be installed as a service. If Memory Hack is run as a service, it will always be running. Otherwise, Memory Hack must be manually started. 3. Run Memory Hack if it was not installed as a service.

./run.sh
  1. Test Memory Hack by opening a browser window and pointing it to localhost:5000

Uninstall

To uninstall Memory Hack, navigate to the installation directory and run the installation script again.

python install.py

The script should detect the installation and ask if you would like to uninstall Memory Hack.

Steam Deck

Steam Deck installation follows the Linux installation. However, you must have a password set on the Steam Deck to install Memory Hack. Those instructions can be found here

  1. Create a directory where Memory Hack should be installed.
  2. Run the following command to download and install.
python3 <(wget -qO- https://github.com/primetime00/memory_hack/raw/master/app/patches/install.py)

During installation, you will be asked if Memory Hack can be installed as a service. If Memory Hack is run as a service, it will always be running. Otherwise, Memory Hack must be manually started. 3. Run Memory Hack if it was not installed as a service.

./run.sh
  1. Test Memory Hack by opening a browser window and pointing it to localhost:5000

Uninstall

To uninstall Memory Hack, navigate to the installation directory and run the installation script again.

python install.py

The script should detect the installation and ask if you would like to uninstall Memory Hack.

Usage

Memory Hack is controlled through your browser. Ideally, Memory Hack can be accessed through your phone. To do this, your PC/Stream Deck must have a known IP address or host name. For example, the Steam Deck has a default host name of steamdeck

You would access Memory Hack by opening your phone's browser and navigating to http://steamdeck:5000

You would then see the UI for Memory Hack.

Here are instructions for setting up a hostname in Linux and Windows

Tutorial

A basic tutorial on usage can be found here.

License

MIT

It's Free

Donate

Only if you want

Buy Me A Coffee

About

License:GNU General Public License v3.0


Languages

Language:Python 68.3%Language:JavaScript 26.4%Language:HTML 5.1%Language:CSS 0.2%