Washi1337 / OldRod

An automated KoiVM disassembler and devirtualisation utility
GNU General Public License v3.0
345 stars 80 forks source link

Koivm Mod Error #40

Closed Cox-6 closed 3 years ago

Cox-6 commented 3 years ago

Describe the bug Error: InvalidCastException: Unable to cast object of type 'AsmResolver.DotNet.Serialized.SerializedMethodDefinition' to type 'AsmResolver.DotNet.TypeDefinition'. Attached is bug report. This is a modded koivm, I used the settings: "OldRod.exe C:\Users\Cox\Downloads\KIR-BENI-DELUXE.exe -kd C:\Users\Cox\Downloads\gay.bin --entry-type 06000064 --salvage". gay.bin = dumped koi variable number 1 report.log

To Reproduce Reproduce: https://cdn.discordapp.com/attachments/829711167719079945/847527939377201232/KIR-BENI-DELUXE.exe Expected behavior I expected it to work.

Screenshots If applicable, add screenshots to help explain your problem.

Additional context I think this is a bug.

Washi1337 commented 3 years ago

You are miss-using the --entry-type commandline argument. This command line argument expects a token for a type and not a method. This explains the exception that you are getting.

Important to remember is that OldRod has limited support for modifications out of the box. Please read this for more information.

Washi1337 commented 3 years ago

Closed for inactivity.