Git Product home page Git Product logo

il2cpphotfix's Introduction

il2cpphotfix

一款用于热更unity libil2cpp.so动态库的工具,比起其他通过hook方式实现的优点在于无任何兼容性问题。

原理

libil2cpp.so动态库热更

构造一个libil2cpp.so一样的导出函数的跳板动态库,把所有的函数转发到跳板来, 在跳板里实现加载自定义的libil2cpp.so达到热更目的。

global-metadata.dat文件热更

加载global-metadata.data是通过函数void* MetadataLoader::LoadMetadataFile(const char* fileName), 通过修改修改引擎下的MetadataLoader.cpp,实现读取自定义路径的global-metadata.data达到热更目的。

工程说明

工程是适配的unity 2018.4,如果需要适配其他版本的unity,请参考il2cpp-api.cpp il2cpp-api.h il2cpp-api-functions.h 定义该版本的支持函数

il2cpphotfix's People

Contributors

yy405145590 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.