Skip to content

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

Notifications You must be signed in to change notification settings

M4cs/ezlib2proc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

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

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages