1. Are you planning to upload your awesome tool to Hive? Please review the rules here.
    July 9, 2018: The rules for the Tool Section have been revised. Please be sure to read the revisions.
    Dismiss Notice
  2. 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
  3. 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 havn't received your rank award? Then please contact the administration.
    Dismiss Notice
  4. We have recently started the 16th edition of the Mini Mapping Contest. The theme is mini RPG. Do check it out and have fun.
    Dismiss Notice
  5. Dismiss Notice
  6. The Highway to Hell has been laid open. Come along and participate in the 5th Special Effect Contest.
    Dismiss Notice
  7. 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.

W3x2Lni v2.7.0

Submitted by actboy168
This bundle is marked as approved. It works and satisfies the submission rules.
W3x2Lni is a wc3 map management tool. It helps you to manage your maps when developing or publishing.We defined 3 formats for a wc3 map, and w3x2Lni allows you to convert your maps amongst these 3 formats which are `Lni`, `Obj` and `Slk`.

> Lni
`Lni` is a VCS (like git, svn) friendly format. It looks like a directory. Most binary files in w3x will be converted into plain text files (yes! human-readable) by w3x2Lni which will also organize and categorize these text files.

> Obj
`Obj` is a wc3-readable and WE-readable format. If you want to open your map with WE, convert your map into this format.

> Slk
`Slk` is only readable by wc3 and should be used for final distribution. W3x2Lni enables multiple optimization for this format, including:

* Objects converted to slk
* Removed unreferenced objects
* Removed WE-only files
* Inlined WTS strings
* Compressed mdx
* Removed comments and unncessary white spaces in the script
* obfuscated variable and function name

W3x2Lni comes with war3 1.27.1 English data files. But it may not meet everyone's needs, you can use `w2l mpq <war3_path>` to extract data files.


For more information see the documentation.


W3x2Lni is a open source project.We welcome any pull request, e.g. improving the English text or writing English documents.
Contents

W3x2Lni v2.7.0 (Binary)

Reviews
eejin
The tool works as one would expect. The UI is nice and to the point. Only thing I am missing is a back button wen you have chosen a conversion mode. You also cannot scroll horizontally when viewing the log when converting to Lni. [ATTACH] I am...
  1. Darklycan51

    Darklycan51

    Joined:
    Jan 12, 2011
    Messages:
    1,355
    Resources:
    3
    Maps:
    3
    Resources:
    3
    great tool!
     
  2. pr114

    pr114

    Joined:
    Mar 26, 2017
    Messages:
    56
    Resources:
    0
    Resources:
    0
    I'm afraid there is something wrong with the exe for w3x2lni 2.6.0.
    The 2.5.3 version is not working for 1.31 unfortunately.

    Anyone have got 2.6.0 to work?

    Have seen the post from the developer on last page, but it just linked to a github with a code change. I need a bit help to go from there :p
     
    Last edited: Jan 4, 2020
  3. BLOKKADE

    BLOKKADE

    Joined:
    May 18, 2018
    Messages:
    18
    Resources:
    0
    Resources:
    0
    Copy paste the w3x3lni.exe from the 2.5.3 folder to the 2.60 folder and it'll work.
     
  4. FateGilgamesh

    FateGilgamesh

    Joined:
    Aug 14, 2019
    Messages:
    2
    Resources:
    0
    Resources:
    0
    Windows xp does not work:ogre_rage:
     
  5. pr114

    pr114

    Joined:
    Mar 26, 2017
    Messages:
    56
    Resources:
    0
    Resources:
    0
    Just tried this, but now it crashes when converting to lni with 'attempt to index a nil value'
    This is the same error message that I got for 2.4.6 versions from w3x2lni (on WC3 latest patch).

    So in short, my experiences on using w3x2lni:
    2.4.6 > Crashes on convert with 'attempt to index a nil value'
    2.5.3 > Can convert, but when I convert to lni and then back to obj, the result map crashes when trying to open in WC3
    2.6.0 > Cannot open .exe
    2.6.0 with 2.5.3 exe > Crashes on convert with 'attempt to index a nil value'

    With the previous WC3 patches I always happily used 2.4.6 without issues.
     
  6. sumneko

    sumneko

    Joined:
    May 31, 2018
    Messages:
    83
    Resources:
    0
    Resources:
    0
    Please show me the error log(Screenshot or `log\error\`)
     
  7. pr114

    pr114

    Joined:
    Mar 26, 2017
    Messages:
    56
    Resources:
    0
    Resources:
    0
    For 2.6.0 like from download link
    upload_2020-1-5_19-13-36.png

    upload_2020-1-5_19-12-29.png

    "This app cannot be executed on your pc"



    2.6.0 with 2.5.3 exe

    Date: 2020-01-05 19:23:13
    Version: 2.6.0
    Commit: c684282eb33ec6465f097bb13398466f9f49dca0
    Stack:
    ----------------------------------------
    Basedir/w3x2lni_enUS_v2.6.0/bin/w3x2lni-lua.exe: attempt to index a nil value
    stack traceback:
    [C]: in for iterator 'for iterator'
    .\core\slk/backend_lml.lua:101: in upvalue 'read_dirs'
    .\core\slk/backend_lml.lua:268: in method 'backend_lml'
    .\core\slk/backend.lua:99: in upvalue 'convert_wtg'
    .\core\slk/backend.lua:388: in method 'backend'
    .\backend\convert.lua:141: in function 'backend.convert'
    .\backend\cli\lni.lua:4: in function 'backend.cli.lni'
    backend\init.lua:12: in main chunk
    [C]: in ?
    ----------------------------------------

     

    Attached Files:

  8. sumneko

    sumneko

    Joined:
    May 31, 2018
    Messages:
    83
    Resources:
    0
    Resources:
    0
    No longer consider XP support.
     
  9. Kolladan Stormrage

    Kolladan Stormrage

    Joined:
    May 5, 2018
    Messages:
    24
    Resources:
    0
    Resources:
    0
    I'd like to report that at map SLK optimization choice, option Optimize JASS is not working with new blizzard functions in the map which contains them (or not new already, maybe they were replaced (about renaming functions)). It like causes errors aka "Variable [PLAYER_COLOR_MAROON] not exists" and etc
     
  10. iam20842

    iam20842

    Joined:
    Jan 13, 2019
    Messages:
    270
    Resources:
    0
    Resources:
    0
    5/5 Epic Tool!
     
  11. wc3neverdies

    wc3neverdies

    Joined:
    Sep 20, 2015
    Messages:
    369
    Resources:
    1
    Maps:
    1
    Resources:
    1
    I get the same error as pr114. Also i copied the exe from 2.53 to 2.60 folder, and now the program runs but i get this error

    upload_2020-1-25_0-9-25.png
     
  12. M4gz

    M4gz

    Joined:
    Dec 30, 2019
    Messages:
    31
    Resources:
    0
    Resources:
    0
    Doesn't works with reforgered maps please fix it
     
  13. Kolladan Stormrage

    Kolladan Stormrage

    Joined:
    May 5, 2018
    Messages:
    24
    Resources:
    0
    Resources:
    0
    Any chance of us getting this tool upgraded to work out with Reforged? (At least Lni option) :vw_wtf: