M4cs / ezlib2proc

Python TUI tool to wrap lib2proc and make loading/unloading libraries easier | Support for Mono

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ezlib2proc

Python TUI for lib2proc injector. Wraps it into an easy to use interface with hot reloading and injection allowing for dynamic unloading and loading without having to restart lib2proc. Made to make my life easier while developing, thought I'd share with the public.

Usage

Requirements:

sudo python3 ezlib2proc.py

Documentation

Somewhere in your loader class you should include both a loading and unloading function. In the example class below you can see the loader method called Init and the unloading method called Unload:

using UnityEngine;

namespace UnityCheat
{
    public class MyLoader
    {
        static void Init()
        {
            UnityCheat.Load = new GameObject();
            UnityCheat.Load.AddComponent<THEHACKCLASS>();
            UnityEngine.Object.DontDestroyOnLoad(UnityCheat.Load);
        }

        static void Unload()
        {
            GameObject.Destroy(UnityCheat.Load);
        }

        private static GameObject Load;
    }
}

You will pass Init as the Loader Method in ezlib2proc and Unload as the Unload Method.

About

Python TUI tool to wrap lib2proc and make loading/unloading libraries easier | Support for Mono


Languages

Language:Python 100.0%