Open the map that you want to deprotect on MPQ Editor
Spoiler:
I'm going to take The World RPG on this example.
2.
Find the "war3map.w3i" file and extract it.
Note: If you want a more accurate data, export all war3map.xxx
Spoiler:
3.
Create a new MPQ and import only the extracted .w3i file.
Spoiler:
4.
Open "w3x2lni", drag the recent created MPQ there and click on "To Lni"
Spoiler:
5.
Mark all avaliable options and hit the start button.
Spoiler:
6.
A new folder will be created on your desktop, this folder basicly has the raw data of .w3i file, if you want to do any edit to .w3i, just go on "table" subfolder and open the "w3i.ini", you can edit it with Notepad.
Spoiler:
7.
After your edits, just open "w3x2lni" again, drag the whole main folder on it and click on "To Obj" option, mark everything and click on start.
Spoiler:
8.
A new .w3x file will be created (or just replaced if you didn't deleted the old one), just open it with MPQ Editor and extract the fresh "war3map.w3i" and the "war3mapunits.doo" that are inside of mpq file.
Spoiler:
9.
This is the final step, just re-import these new files inside the original map, after that, the edited map will be openable/saveable on World Edit and playable on W3, with or without changes on it.
Spoiler:
You can do more nice things with w3x2lni, give a try on their documentation.