Editing Kantai Collection/Vita/Decompilation
From Bibliotheca Anonoma
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 26: | Line 26: | ||
http://resources.infosecinstitute.com/net-reverse-engineering-1cil-programming/#gref | http://resources.infosecinstitute.com/net-reverse-engineering-1cil-programming/#gref | ||
Basic CIL editing of unity and put back into dll: https://www.unknowncheats.me/forum/general-programming-and-reversing/106107-patching-cil-instructions-ida-hxd.html | Basic CIL editing of unity and put back into dll: https://www.unknowncheats.me/forum/general-programming-and-reversing/106107-patching-cil-instructions-ida-hxd.html | ||
Line 44: | Line 42: | ||
# Click a line in the C# code that you want to read in IL, such as the "Name equals なし" code | # Click a line in the C# code that you want to read in IL, such as the "Name equals なし" code | ||
=== Change strings within DLLs | === Change strings within DLLs === | ||
An easy test case to prove that we can edit to strings is to do a simple test case: | An easy test case to prove that we can edit to strings is to do a simple test case: | ||
Line 65: | Line 63: | ||
If the modified Assembly-CSharp.dll works, this proves that DLLs can have their CIL code strings modified. | If the modified Assembly-CSharp.dll works, this proves that DLLs can have their CIL code strings modified. | ||
This is a starter guide to direct CIL editing: | |||
http://resources.infosecinstitute.com/ | http://resources.infosecinstitute.com/net-reverse-engineering-1cil-programming/#gref | ||
=== Change strings within DLLs === | |||
An easy test case to prove that we can edit to strings is to do a simple test case: | |||
# {{ic|Server_Models/Mst_ship.cs}} Change なし to None | |||
# Change all instances of なし to None in mst_ships.xml | |||
The relevant code line: https://github.com/limyz/KCKaiVita/blob/master/Assembly-CSharp/dotPeek/Server_Models/Mst_ship.cs#L941 | |||
If the modified Assembly-CSharp.dll works, this proves that DLLs can have their CIL code strings modified. | |||
== Decompiling Unity Assets == | == Decompiling Unity Assets == |