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. And she's bought a stairway to heaven. The 6th Special Effect Contest Results are here.
    Dismiss Notice
  3. Seek unity between the elements in the 22nd Terraining Contest Poll.
    Dismiss Notice
  4. Seize the moment! The 18th Mini Mapping Contest has commenced.
    Dismiss Notice
  5. The heavens smile on the old faithful. The 16th Techtree Contest has begun.
    Dismiss Notice
  6. 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.2

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.2 (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,397
    Resources:
    3
    Maps:
    3
    Resources:
    3
    great tool!
     
  2. pr114

    pr114

    Joined:
    Mar 26, 2017
    Messages:
    188
    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:
    21
    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:
    8
    Resources:
    0
    Resources:
    0
    Windows xp does not work:ogre_rage:
     
  5. pr114

    pr114

    Joined:
    Mar 26, 2017
    Messages:
    188
    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:
    91
    Resources:
    0
    Resources:
    0
    Please show me the error log(Screenshot or `log\error\`)
     
  7. pr114

    pr114

    Joined:
    Mar 26, 2017
    Messages:
    188
    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:
    91
    Resources:
    0
    Resources:
    0
    No longer consider XP support.
     
  9. Kolladan Stormrage

    Kolladan Stormrage

    Joined:
    May 5, 2018
    Messages:
    30
    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:
    283
    Resources:
    0
    Resources:
    0
    5/5 Epic Tool!
     
  11. wc3neverdies

    wc3neverdies

    Joined:
    Sep 20, 2015
    Messages:
    383
    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:
    54
    Resources:
    0
    Resources:
    0
    Doesn't works with reforgered maps please fix it
     
  13. Kolladan Stormrage

    Kolladan Stormrage

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

    pyf

    Joined:
    Mar 21, 2016
    Messages:
    2,689
    Resources:
    2
    Tutorials:
    2
    Resources:
    2
    @FateGilgamesh: this is totally untested, but maybe you will want to give XomPie a try? I understand it is not a silver bullet by far because of this, but maybe it might work with W3x2Lni? (though I personally doubt it).

    Good luck.
     
  15. BLOKKADE

    BLOKKADE

    Joined:
    May 18, 2018
    Messages:
    21
    Resources:
    0
    Resources:
    0
    Is it possible to make the Lni to Obj conversion accept new .j files in the trigger directory? So that it automatically adds them to the generated map file.
     
  16. feber13

    feber13

    Joined:
    Nov 23, 2017
    Messages:
    28
    Resources:
    0
    Resources:
    0
    When I download this file, I get another virus
     
  17. IcemanBo

    IcemanBo

    Joined:
    Sep 6, 2013
    Messages:
    6,537
    Resources:
    23
    Maps:
    3
    Spells:
    11
    Template:
    1
    Tutorials:
    5
    JASS:
    3
    Resources:
    23
    Very great tool!
     
  18. pr114

    pr114

    Joined:
    Mar 26, 2017
    Messages:
    188
    Resources:
    0
    Resources:
    0
    Works again :)
     
  19. sonphamthe11H

    sonphamthe11H

    Joined:
    Mar 6, 2017
    Messages:
    158
    Resources:
    0
    Resources:
    0
    anyone still have this tool that's worked for 1.26a?
     
  20. psxlover

    psxlover

    Joined:
    Dec 30, 2010
    Messages:
    66
    Resources:
    0
    Resources:
    0