There is no hurry on this but when things calm down somewhat could someone share a little of their knowledge about the conversion app? What is it, why is it there and when it should be used? I think I'm gaining on my understanding of the suite but completely baffled by this.
Thanks in advance.
Creating an NRaas project Conversion App
Basically it does what Peter's Unprotector does, except it makes use of the IL files, so you have to first disassemble the DLL with ildasm, and it has different stages, depending on which DLL you are unprotecting.
So far, I know you use Convert first and then apply one or more stages. The MainForm class inside the project will tell you what each stage is unprotecting. That's all we have so far, I don't know if Chain figured out some more about it, but I guess it's just trial and error and see what level of unprotection a DLL requires in order to compile the mod assembly properly
So far, I know you use Convert first and then apply one or more stages. The MainForm class inside the project will tell you what each stage is unprotecting. That's all we have so far, I don't know if Chain figured out some more about it, but I guess it's just trial and error and see what level of unprotection a DLL requires in order to compile the mod assembly properly
- Sydserious
- Reactions:
- Posts: 147
- Joined: May 1st, 2013, 6:00 pm
Thank you JunJay. As it relates to Peter's program - does that not work for NRaas mods? I guess I'm confused as to why we would need the conversion part if what Peter's program does is basically the same...I think. I do understand wanting to replicate exactly what Twallan did but if both processes result in the same end result, why would we need the conversion app.?
Because, as I explained, it allows to apply selective unprotection to DLLs. While Peter's completely unprotects a DLL, the Conversion app allows you to unprotect only specific parts. Some of Twallan's mods require that, which is why he created it in the first place. You would encounter a similar problem with my mods, for example, cos I manually unprotect UI.dll. If you use Peter's and try to compile one of my mods, you'll get compile errors. Same here with Twallan's mods.
- Sydserious
- Reactions:
- Posts: 147
- Joined: May 1st, 2013, 6:00 pm
- Chain_Reaction
- Site Admin
- Reactions:
- Posts: 7619
- Joined: December 30th, 2011, 6:00 pm
- Contact:
Yeah I figured out the conversion program. So much for thinking it was for patching ErrorTrap. I figured it out quickly when the unprotector program failed and I needed a working set of DLL's quickly. If you use the convert button it applies all the steps at once. Unfortunately even that doesn't prevent you from needing to make manual edits to SimIFace and UI. The only reason I haven't released the rest of the mods patched is UI is being a dweeb and MC depends heavily on it for the CAS stuff.You can't unprotect the entire thing because certain events are declared both public and private in there and you end up with a mess. So I'm having to manually figure out which these mods need unprotected.