nneonneo / Il2CppVersions

Build scripts & historical header files for every available minor version of Unity's Il2Cpp project
119 stars 31 forks source link

Numerous small tweaks and updates #9

Closed djkaty closed 4 years ago

djkaty commented 4 years ago

Although I haven't included any diffs or headers for it here since it doesn't have a stable release yet, I've been working with 2020.2.0a19 and 2020.2.0b1 and they include 5 new externally declared 'TypeHandle' types; the first commit handles this so that extract.py doesn't crash.

The second one suppresses all of the #pragma warnings generated on each run.

The Unity 2017.4.3-2017.4.9 builds should have been placed in group 1 but were incorrectly placed in group 2 instead.

Finally, I've added headers, extract.sh, build_all.bat etc. for all of the recent Unity versions (I've been doing this each week but I think it just created more work to PR for every single release).

djkaty commented 4 years ago

This is great - I'm glad you're finding this useful & making so many nice changes :)

This has been extremely useful, I'm wondering how I managed without it! Thank you 🙂

I am now putting the finishing touches on a universal IL2CPP build tool (Powershell script) which will build any specified .cs or group of .cs files into a group of DLLs, C++ folders and x64, x86, ARMv7 and ARM64 binaries for any version of il2cpp with ./il2cpp.ps1 FirstSourceFile,SecondSourceFile,... UnityVersionOrUnityPath. This is in the main Il2CppInspector repo, but Il2CppVersions is extremely useful for tracking changes between each version and testing that building actually works.

On the subject of notes.md, I haven't updated it because I was wondering if this is really necessary anymore when we have up-to-date diffs of both the type headers and the APIs. 2020.2 (currently in beta) introduces metadata 27 which contains dozens of changes. I thought they were pretty well documented from just the diffs tbh.

nneonneo commented 4 years ago

LGTM - thanks for the update!