• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

SharpCraft on 1.31

Status
Not open for further replies.
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.
 
Status
Not open for further replies.
Top