SharpCraft on 1.31

Level 6
Joined
Jun 29, 2011
Messages
181
Hello there,

I'm trying to setup SharpCraft on the last patch 1.31 but so many things have changed and I'm so new at this that it's being a hard task.

For example, I've noticed that w3 path has totally changed now, but with these two lines of code I've managed to pass the bug:

Common.cs
Code:
// New after 64b build
bool os64 = Directory.Exists(Path.Combine(InstallPath, "x86_64"));
InstallPath = Path.Combine(InstallPath, os64 ? "x86_64" : "x86");

And then change all war3.exe to Warcraft III.exe (same for worldeditor).

I wanted to continue from there but I'm stuck at this error when running the launcher from the bat:

"Cannot find assembly SharpCraft".

I've followed the instructions to add the assembly in the proper way but no success on this.

Any C# experienced dev that could enlight me on this?

Thanks.
 
Top