fireundubh / playwithfire

backup for wiki.fireundubh.com
3 stars 1 forks source link

Wiki addition request: Could instructions for 'il2cpp' please be added to the debug build page? #4

Open gomhaille opened 7 months ago

gomhaille commented 7 months ago

Specifically, this page: ../master/unity/turning-a-release-build-into-a-debug-build.md

I was attempting to follow the instructions of said page for the game 'Kingdoms Two Crowns', but quickly realised the instructions were exclusively for 'mono' Unity games. The main difference between these, is 'mono' Unity games have a ..\<GameName>_Data\Managed\ directory, whereas 'il2cpp' Unity games have a ..\<GameName>_Data\il2cpp_data\ directory with no directory called 'Managed'.

The instructions call for a 'Managed' directory, and no similar directory containing Unity .dll files exists within the 'il2cpp' version.

From what little I was able to find elsewhere online, apparently these .dll files are found within this file: ..\<GameName>_Data\il2cpp_data\Metadata\global-metadata.dat

However, I'm not certain how to go about decompiling this file and then recompiling it with the new .dll files from Unity Editor. I'm also not certain if I'd need to use the same files, or if a completely different set of files is required instead.

Your wiki appears to be the only comprehensive instructions I've been able to find for this rather specific task, so I'd really appreciate additional instructions for this.