[GUIDE] Editing objects without deprotection.

Cheatpacks and learning how to use them, as well as other guides for manipulating maps.

Moderator: Cheaters

User avatar
devoltz
Co-Admin
Posts: 3128
Joined: March 23rd, 2016, 8:06 pm
Has thanked: 10 times
Been thanked: 54 times

[GUIDE] Editing objects without deprotection.

Post 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.
Last edited by devoltz on January 31st, 2022, 4:13 pm, edited 1 time in total.
User avatar
nuzamacuxe
Also Not an Admin, but closer than devoltz
Posts: 1655
Joined: February 14th, 2018, 5:35 am
Title: Just Another S.Mod
Been thanked: 6 times

Re: [GUIDE] Editing objects and scripts without deprotection

Post by nuzamacuxe »

Nice guide.
User avatar
devoltz
Co-Admin
Posts: 3128
Joined: March 23rd, 2016, 8:06 pm
Has thanked: 10 times
Been thanked: 54 times

Re: [GUIDE] Editing objects and scripts without deprotection

Post by devoltz »

nuzamacuxe wrote:Nice guide.
Still not on godmacuxe god tier guides level.
User avatar
clanhinata
Old Wrinkly Member
Posts: 229
Joined: December 17th, 2011, 9:25 am
Title: Genius

Re: [GUIDE] Editing objects and scripts without deprotection

Post by clanhinata »

Great Guide

Also there are better file type to edit and its Lni
Its better than slk since its plain text ; w ;
User avatar
devoltz
Co-Admin
Posts: 3128
Joined: March 23rd, 2016, 8:06 pm
Has thanked: 10 times
Been thanked: 54 times

Re: [GUIDE] Editing objects and scripts without deprotection

Post 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.
Grenouille
Newcomer
Posts: 3
Joined: September 28th, 2018, 1:03 am
Title: El Rana
Location: Los Angeles

Re: [GUIDE] Editing objects and scripts without deprotection

Post by Grenouille »

Thank you very much for this!
User avatar
XD!
Senior Member
Posts: 156
Joined: May 15th, 2012, 6:09 pm

Re: [GUIDE] Editing objects and scripts without deprotection

Post 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.
User avatar
devoltz
Co-Admin
Posts: 3128
Joined: March 23rd, 2016, 8:06 pm
Has thanked: 10 times
Been thanked: 54 times

Re: [GUIDE] Editing objects and scripts without deprotection

Post 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.
ak8367230
Newcomer
Posts: 4
Joined: July 6th, 2022, 11:57 am

Re: [GUIDE] Editing objects without deprotection.

Post by ak8367230 »

Thanks for sharing