
Also puts your CPU under a lot of strain (100% usage is targeted). Usually much faster, but may be unstable. Prevents generated DLLs from containing attributes providing il2cpp-specific metadata, such as function pointers, etc. experimental-enable-il-to-assembly-pleaseĪttempt to save generated IL to the DLL file where possible.

Log more information about what we are doing Specify what is saved to the cpp2il_out/types//typename_methods.txt file.įlag to skip analysis entirely, only generating Dummy DLLs and optionally metadata dumpsįlag to skip metadata dumps ( cpp2il_out/types//typename_metadata.txt)įlag to prevent asking for the user to input addresses in STDIN if they can't be detected Specify the name of the game's exe file in case auto detection fails (because there are other exe files in the game directory) Supported Command Line Option Listing Option Same argument as above but pass in the path to the APK, and cpp2il will extract the files it needs from the APK. Run Cpp2IL-Win.exe -game-path=C:\Path\To\Your\GameĪnd Cpp2IL will detect your unity version, locate the files it needs, and dump the output into a cpp2il_out folderĪssuming you have a single APK file (not an APKM or XAPK), and are running at least cpp2il 2021.4.0, you can use the The simplest usage of this application is for a windows x86 or 圆4 unity game.

Link above will take you to the documentation for LibCpp2IL. LibCpp2IL is obtainable from theīuild artifacts if you want to do something yourself with IL2CPP metadata, and is released under the MIT license. Uses LibCpp2IL for the initial parsing and loading of metadata structures.

Using the "core" module - which the CLI is just a wrapper around - in your own projects, The information below almost entirely applies to the CLI application available on github releases. WIP Tool to reverse Unity's IL2CPP build process back to the original managed DLLs. Due to, well, very much forseen circumstances, we are in the process of rewriting most of cpp2il from the ground up over in the development branch.Īs such, bug fixes, and new updates, are likely to be sparse until the work is done, which I expect to be sometime in January 2022 will be when it will be, basically.
