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. The poll for Hive's 12th Concept Art Contest is up! Go cast your vote for your favourite genie!
    Dismiss Notice
  5. Travel to distant realms and encounter scenes unknown to the common folk. The Greatest of Adventures is upon us with the 8th Cinematic Contest. Join in on a fun ride.
    Dismiss Notice
  6. The 18th Icon Contest is ON! Choose any ingame unit and give him/her Hero abilities. Good luck to all.
    Dismiss Notice
  7. Contestants are to create a scene set in the Stone Age. Come and see what you can come up with. We wish you the best of luck!
    Dismiss Notice
  8. Colour outside the lines! Techtree Contest #13 is a go. The contest is optionally paired.
    Dismiss Notice
  9. Greetings cerebrates, our Swarm needs new spawners that will have numerous children. Join the HIVE's 31st Modeling Contest - Spawners and Spawned! The contest is optionally paired.
    Dismiss Notice
  10. 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.5.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.5.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. juvian

    juvian

    Joined:
    Sep 25, 2017
    Messages:
    47
    Resources:
    0
    Resources:
    0
    I have been able to have no errors by editing the trigger file from lni format triggers. For some reason spaces are added on properties.

    upload_2018-8-27_18-53-26.png

    After removing those spaces, no errors were thrown. Not sure where is this file generated, but that seems to be the problem.

    upload_2018-8-27_18-53-1.png
     
  2. sumneko

    sumneko

    Joined:
    May 31, 2018
    Messages:
    70
    Resources:
    0
    Resources:
    0
    You are right, we added postspace just for alignment. Unfortunately, I mistaken it for quotation marks, so when W2L load lml, the key read with redundant space, makes converting failed.
     
  3. Unryze

    Unryze

    Joined:
    Apr 14, 2016
    Messages:
    63
    Resources:
    0
    Resources:
    0
    Hello!

    Forgot to mention this, it is nothing essential, but. Is it possible to add a feature to disable comment creation in .ini files or could you make it support English? It would be a neat thing, at least for me. Would be glad to have such option in the tool. Found nothing else to mention, all seems to work as it should.
     
    Last edited: Sep 3, 2018
  4. sumneko

    sumneko

    Joined:
    May 31, 2018
    Messages:
    70
    Resources:
    0
    Resources:
    0
    The comments should be English, I will check it again.
     
  5. sumneko

    sumneko

    Joined:
    May 31, 2018
    Messages:
    70
    Resources:
    0
    Resources:
    0
    I have checked it again, it seems ok. Maybe redownload would fix it.
     
  6. Unryze

    Unryze

    Joined:
    Apr 14, 2016
    Messages:
    63
    Resources:
    0
    Resources:
    0
    Apparently config.ini did not update, my bad. Now it works as a charm. Thank you again :)
     
  7. ZoiDiaC

    ZoiDiaC

    Joined:
    Mar 3, 2018
    Messages:
    3
    Resources:
    0
    Resources:
    0
    Thanks for the fix <3
     
  8. Elvenking_slider

    Elvenking_slider

    Joined:
    Jan 10, 2013
    Messages:
    13
    Resources:
    2
    Maps:
    2
    Resources:
    2
    Hello, I can't upload maps optimized with the standard SLK for english users to hive.
    Is this supposed to happen?
     
  9. actboy168

    actboy168

    Joined:
    May 1, 2012
    Messages:
    95
    Resources:
    1
    Tools:
    1
    Resources:
    1
    I don't understand what you are talking about. You mean the optimized map, other players can't run it?
     
  10. Elvenking_slider

    Elvenking_slider

    Joined:
    Jan 10, 2013
    Messages:
    13
    Resources:
    2
    Maps:
    2
    Resources:
    2
    Look when i try to upload my map on hive with the slk optimization i get this error:
    [​IMG]

    Without using that tool i can upload it without any issues.
     
  11. actboy168

    actboy168

    Joined:
    May 1, 2012
    Messages:
    95
    Resources:
    1
    Tools:
    1
    Resources:
    1
    I don't know. Maybe the hiveworkshop staff can tell you why.
     
  12. Daffa the Mage

    Daffa the Mage

    Map Moderator

    Joined:
    Jan 30, 2013
    Messages:
    7,641
    Resources:
    27
    Packs:
    1
    Maps:
    8
    Spells:
    16
    Tutorials:
    2
    Resources:
    27
    That error is not relevant to map. It's your Hive description lacking enough words.
     
  13. juvian

    juvian

    Joined:
    Sep 25, 2017
    Messages:
    47
    Resources:
    0
    Resources:
    0
    Could you add a warning when an ability has an invalid order id?

    [​IMG]

    In a map someone translated, they translated the order so changed from rejuvination (valid order id) to Rejuvenation (invalid), which caused the ability not to work and took a long while to figure out why.
     
  14. sumneko

    sumneko

    Joined:
    May 31, 2018
    Messages:
    70
    Resources:
    0
    Resources:
    0
    Sure. We plan to add a new option. When this option is enabled, W3x2lni will check the rationality of the attribute. Thank you for your advice!
     
  15. Ev3nt

    Ev3nt

    Joined:
    Oct 31, 2018
    Messages:
    10
    Resources:
    0
    Resources:
    0
    Very nice, I want to add this system to my client, can I?
     
  16. actboy168

    actboy168

    Joined:
    May 1, 2012
    Messages:
    95
    Resources:
    1
    Tools:
    1
    Resources:
    1
    Sure,you can.
     
  17. Ev3nt

    Ev3nt

    Joined:
    Oct 31, 2018
    Messages:
    10
    Resources:
    0
    Resources:
    0
    Thank you
     
  18. sonphamthe11H

    sonphamthe11H

    Joined:
    Mar 6, 2017
    Messages:
    116
    Resources:
    0
    Resources:
    0
    A request pls
    Pls recover the war3map.imp
    I’ve tried,saved my map but all the models and other files were lost
     
  19. actboy168

    actboy168

    Joined:
    May 1, 2012
    Messages:
    95
    Resources:
    1
    Tools:
    1
    Resources:
    1
    It may be that your map is missing a listfile. You need to rebuild the listfile with the mpq tool.
     
  20. sonphamthe11H

    sonphamthe11H

    Joined:
    Mar 6, 2017
    Messages:
    116
    Resources:
    0
    Resources:
    0
    It’s still lost
    Not when I converted back to w3x
    It occur when I save map with the world editor