b-casey / OpenSMACX

A project to decompile SMAC/X to C++ with the long term goal of creating a full open source clone.
GNU General Public License v3.0
52 stars 4 forks source link

[Question] How to use this? #1

Closed pianoslum closed 4 years ago

pianoslum commented 5 years ago

Hi, thanks for this project. I am just not sure, how to "use" this repo - as I understand not all code is decompiled yet. Can I use the code here and run it in the old SMACX?

What do you use for decompilation btw.?

Cheers :-)

b-casey commented 5 years ago

Hi! This is not really in a useable state yet unless you want to tinker with the binary to create new imports and redirect function offsets to the dll. I mainly put this up so folks can see progress and look over the code. Eventually, I'll see about putting together some kind of patching script. Under releases there is a version of base exe patched to redirect to that version of dll. This exe doesn't contain any of fixes from my previous binary patching project or others work. I've only updated the import table and patched functions with redirects to dll.

I've decompiled a lot of code since 0.1 so I will likely make another 0.x release sometime in the near future once I reach goal of breaking down more of the interesting Veh (unit/vehicle) code.

I use Hex-Rays IDA (7.2.x) for my static analysis and Immunity Debugger (1.8.5) for dynamic.

Let me know if you have any other questions!