• 🏆 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!

Protecting 24p Maps

Status
Not open for further replies.
Level 9
Joined
Mar 26, 2017
Messages
376
Hi guys,

I couldn't found this anywhere.
How to protect 24p maps these days? Vexorian's optimizer doesn't work with 24 player maps unfortunately.
I've heard there is the possibility to delete world editor info so maps cannot be ripped, but I don't know how to do this.
 
Level 11
Joined
May 29, 2008
Messages
132
While I'm all for leaving maps unprotected, I think currently the best solution is to use this tool: sumneko/w3x2lni. This tool can optimize and protect a WC3 map. It's actively worked on, so I'm guessing they support the 24 players. Read the english docs for more information.
 
Level 9
Joined
Mar 26, 2017
Messages
376
Thank you for this, I will try this and report back my experience with the tool.

To be fair, I'm also generally for leaving a map unprotected, but as of late I noticed alot of reuploads of the map with slight edits, which makes it more difficult for the players to recognize which is the most up to date version. I don't mind it too much if people prefer an older version because they didn't like some of the updates, but most of these spin-off versions have been badly done and they don't make an improvement for the player experience. Also, it is nice to have better load times on the map.
 
Level 11
Joined
May 29, 2008
Messages
132
I cloned the repo to my machine. Double clicking the `W3x2Lni.exe` file brought up a UI, into which I could drag a map and select the output format I wanted. Selecting `slk` allowed me to protect the map. Did you clone the entire repo?
 

Dr Super Good

Spell Reviewer
Level 64
Joined
Jan 18, 2005
Messages
27,202
I am pretty sure Vexorian's Optimizer still does work, just you need to disable some of the JASS script optimizations as they make implicit code transformations that are no longer correct.
Also, it is nice to have better load times on the map.
These tools should barely be making any difference to load times. Just Blizzard is doing something very silly when loading Warcraft III maps. I have hopes that future patches might finally optimize map loading so that "optimizations" like these no longer make a difference.
Tool doesn't seem to work, if I run it, nothing happens.
I cloned the repo to my machine. Double clicking the `W3x2Lni.exe` file brought up a UI, into which I could drag a map and select the output format I wanted. Selecting `slk` allowed me to protect the map. Did you clone the entire repo?
It is possibly built with MSVC so will need an appropriate version of the MSVC runtimes to run. As it is not being installed, this will not be installed automatically and may not be already installed depending on what year it requires.
 
Level 9
Joined
Mar 26, 2017
Messages
376
@Halithor - No I didn't, just downloaded the UI.

@ Dr Super Good - Thanks for the tip. It is probably this functionality that converts player 13 to neutral passive etc (which is the thing that ruins the map). Ill try it like this.

Indeed I don't really feel like load times are affected that much, but at least the download times of the map in lobby are reduced by a decent chunk.

A built in optimization/protection functionality from blizzard would be great!
 
Status
Not open for further replies.
Top