Page 1 of 1

[GUIDE] Editing objects without deprotection.

Posted: September 25th, 2018, 7:29 pm
by devoltz
First step - ping unryze.
Hi there,
From time to time, i noticed a large increase in the number of requests for deprotection with editing purposes, and as you guys might know, some maps become not playable after deprotection.
Before we start, lemme just point four things:
    Please don't ask staff members to edit any map for you by private messages, we will not do it, if you want something edited, just make a request at map requests sub-forum and be patient. And before i forgot, please read the map requesting rules.
    All red texts in this topic are links.
    All the blue texts in this topic are important stuff.
    All spoilers have images, please open it!

I'm not good with introductions so let's start, first, you will need the following tools:

Our second step here is decide what we want to edit, so i made a list of what each file stores, that list is just a simple summary of this post.
    war3map.j - basically, all programming codes from map in Jass, so, triggers and systems. It can be edited with a text editor.
    war3map.w3i - sometimes it has the map name and also have the info displayed when you start a game. It can be edited with Notepad++ or a Hex Editor
    war3map.wts - all trigger strings and loadscreen text. It can be edited with Notepad++.
    war3map.w3u - all units ingame. It can be edited with World Editor.
    war3map.w3t - all items ingame. It can be edited with World Editor.
    war3map.w3d - all doodads ingame. It can be edited with World Editor.
    war3map.w3a - all abilities ingame. It can be edited with World Editor.
    war3map.w3q - all upgrades ingame. It can be edited with World Editor.
    war3map.w3b - all destructables ingame. It can be edited with World Editor.
    war3map.w3h - all buffs ingame. It can be edited with World Editor.

After you decide wich file you want to edit, open your MPQ Editor and extract the desired file.
Spoiler:
Image
Example image.
After extracting the file, edit it with correct tool by importing with World Editor if is a object.
Spoiler:
Image
Example image.
Or with a text/hex editor if is w3i/j/wts.
Spoiler:
Image
Example image.
After finish all your edits, export the edited file with World Editor or just save it if you used HxD/Notepad
Spoiler:
Image
Example image.
And add it back to your map, with MPQ Editor, DONT FORGET TO CHANGE THE NAME OF EXPORTED FILE, IT SHOULD BE LIKE ORIGINAL ONE.
Spoiler:
Image
Example image.
Always remember to replace all files.
Spoiler:
Image
Example image.

After all that process, you will succeed in editing without deprotect.


Additional Notes:
    1 - You can run scripts in Notepad++ to edit "war3map.w3u" faster, like, a python script to rename all units.
    2 - Some maps may have their objects converted to a .slk data [Ex: Masin RPG], wich means, that map will not have the object files (war3map.xxx), to fix that you will need W3x2Lni to convert that map objects back to real objects, u can read how to use it on their documentation.

Re: [GUIDE] Editing objects and scripts without deprotection

Posted: September 25th, 2018, 7:50 pm
by nuzamacuxe
Nice guide.

Re: [GUIDE] Editing objects and scripts without deprotection

Posted: September 25th, 2018, 7:52 pm
by devoltz
nuzamacuxe wrote:Nice guide.
Still not on godmacuxe god tier guides level.

Re: [GUIDE] Editing objects and scripts without deprotection

Posted: September 26th, 2018, 3:41 am
by clanhinata
Great Guide

Also there are better file type to edit and its Lni
Its better than slk since its plain text ; w ;

Re: [GUIDE] Editing objects and scripts without deprotection

Posted: September 26th, 2018, 10:21 am
by devoltz
clanhinata wrote:Great Guide

Also there are better file type to edit and its Lni
Its better than slk since its plain text ; w ;
Yeah, the idea of object note, is recreate the object file to make it easier to edit.

Re: [GUIDE] Editing objects and scripts without deprotection

Posted: September 28th, 2018, 1:56 am
by Grenouille
Thank you very much for this!

Re: [GUIDE] Editing objects and scripts without deprotection

Posted: October 5th, 2018, 12:36 pm
by XD!
Tnx. I still don't know how to edit some w3i, maybe sometimes it too protected for w3i edits?. Such as NewNarutoShippuden maps which I tried to translat for some time.

Re: [GUIDE] Editing objects and scripts without deprotection

Posted: October 5th, 2018, 12:40 pm
by devoltz
XD! wrote:Tnx. I still don't know how to edit some w3i, maybe sometimes it too protected for w3i edits?. Such as NewNarutoShippuden maps which I tried to translat for some time.
Most of .w3i files are corrupted, so u can't edit it 100%. U probably will only be able to change mapname on that file.

Re: [GUIDE] Editing objects without deprotection.

Posted: August 15th, 2022, 10:38 am
by ak8367230
Thanks for sharing