1. Updated Resource Submission Rules: All model & skin resource submissions must now include an in-game screenshot. This is to help speed up the moderation process and to show how the model and/or texture looks like from the in-game camera.
    Dismiss Notice
  2. DID YOU KNOW - That you can unlock new rank icons by posting on the forums or winning contests? Click here to customize your rank or read our User Rank Policy to see a list of ranks that you can unlock. Have you won a contest and still haven't received your rank award? Then please contact the administration.
    Dismiss Notice
  3. Weave light to take you to your highest hopes - the 6th Special Effect Contest is here!
    Dismiss Notice
  4. Lead your forces to battle in the 15th Techtree Contest. The call is yours, commander!
    Dismiss Notice
  5. Check out the Staff job openings thread.
    Dismiss Notice
Dismiss Notice
60,000 passwords have been reset on July 8, 2019. If you cannot login, read this.

SharpCraft on 1.31

Discussion in 'SharpCraft & WEX' started by chusrubi2, Dec 15, 2019.

  1. chusrubi2


    Jun 29, 2011
    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:

    Code (Text):
    // 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?