[GUIDE] Deprotecting / Inserting a CP / Enabling SP

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

Moderator: Cheaters

User avatar
Bushido
Not an Admin, and Not Unique
Posts: 1880
Joined: March 1st, 2009, 12:30 pm
Title: Der Boss :D
Location: Germany

Re: [Guide] Deprotecting / Inserting a Cheatpack / Enabling SP

Post by Bushido »

first part = globals
second part = endglobals
third part = function main takes nothing returns nothing
Download Senethior's tool package here!
Spoiler for Funny shit:
Kryptonyte wrote:Pew-pew, together, 2pac and I can take over the world. Muhahahahahaha.
Kryptonyte wrote:@2Pac, You're a G. Keep your pimp hand strong.
Kryptonyte wrote:anyways i gtg, PEACE, MR. ZOMG O SO PRO U RAWKZ0RZ SUM BoXZ()RZ

Code: Select all

(23:22:14) FatherSpace: BWAHAHA
(23:22:21) FatherSpace: I am 1337, you must fear my coolness.
(23:22:51) FatherSpace: I got bored, so I made a Python script so now whenever I open Terminal, I get a random haiku from here: http://www.smalltime.com/Haiku
(23:24:12) FatherSpace: afk... Killing myself. :(

Code: Select all

(03:52:56) ChatBot: (673237) logs into the Chat.
 (03:53:08) (673237): plzplzplz, im sorry about before.
 (03:53:26) FatherSpace: I'm sorry you were born.
(03:53:31) ChatBot: (673237) has been logged out (Kicked).

Code: Select all

(21:39:14) GeorgeMots: Jen are you there?
(21:39:44) 2Pac: ...lol?
(21:39:49) 2Pac: (21:22:22) ChatBot: UndeadxAssassin has been logged out (Timeout).
(21:39:52) GeorgeMots: w00t
(21:39:54) GeorgeMots: rofl
(21:39:58) GeorgeMots: *facepalm*
(21:39:59) 2Pac: you definetly fail
Get to know Bushido alias 2Pac alias King-Bushido!
rayapple
Newcomer
Posts: 3
Joined: December 28th, 2009, 4:20 pm

Re: [Guide] Deprotecting / Inserting a Cheatpack / Enabling SP

Post by rayapple »

Theres still something about error opening archives...
Do i open the war3map.j or the map?

Edit: Never mind... I got it :D
User avatar
lumine99
Newcomer
Posts: 6
Joined: May 11th, 2009, 6:02 am
Title: Protector

Re: [Guide] Deprotecting / Inserting a Cheatpack / Enabling SP

Post by lumine99 »

once i've done with the jass editing, i cant't flush the map
(trying to insert cheatpack into fantasy life 1.24)
User avatar
Senethior459
Forum Staff
Posts: 2618
Joined: June 2nd, 2007, 6:53 pm
Title: I Just Lost the Game

Re: [Guide] Deprotecting / Inserting a Cheatpack / Enabling SP

Post by Senethior459 »

Close MPQMaster, reopen it, and open the map again. That will un-gray out the flush option.
My Warcraft III Tool Collection
If you want to chat/game with me:
Blizzard: Senethior459#1962
Discord: Kyle#7409
Steam: Spacekidkyle
Tup
Newcomer
Posts: 6
Joined: January 23rd, 2010, 7:10 pm

Re: [Guide] Deprotecting / Inserting a Cheatpack / Enabling SP

Post by Tup »

I tryed to add a cp in this map but it doesn't work can u guys try to add a cp in it
You do not have the required permissions to view the files attached to this post.
kingwar2010
Newcomer
Posts: 5
Joined: December 29th, 2009, 4:10 pm

Re: [Guide] Deprotecting / Inserting a Cheatpack / Enabling SP

Post by kingwar2010 »

Tup
Newcomer
Posts: 6
Joined: January 23rd, 2010, 7:10 pm

Re: [Guide] Deprotecting / Inserting a Cheatpack / Enabling SP

Post by Tup »

still tying to add cp ...
Stayalive
Junior Member
Posts: 41
Joined: February 6th, 2010, 5:19 pm

Re: [Guide] Deprotecting / Inserting a Cheatpack / Enabling SP

Post by Stayalive »

X-Deprotecter dosent work anymore :-s can give me a new link?
User avatar
Senethior459
Forum Staff
Posts: 2618
Joined: June 2nd, 2007, 6:53 pm
Title: I Just Lost the Game

Re: [Guide] Deprotecting / Inserting a Cheatpack / Enabling SP

Post by Senethior459 »

XDep works. It could just be the map that you're trying to use it on, or the way that you're trying to do it.
My Warcraft III Tool Collection
If you want to chat/game with me:
Blizzard: Senethior459#1962
Discord: Kyle#7409
Steam: Spacekidkyle
VpS_Serenity
Newcomer
Posts: 8
Joined: January 30th, 2010, 2:02 pm

Re: [Guide] Deprotecting / Inserting a Cheatpack / Enabling SP

Post by VpS_Serenity »

vRisen wrote:Due to all of the requests i've seen from here, and Irl, I've decided to create a little guide to teach you how to Either Deprotect, Insert a Cheatpack, Or Enable Singleplayer.

First off, We'll need these things;
MPQMaster
JassCraft
xdep
RMPQEx

JJ CP 1.24b in .j files are at bottom of post.

First guide, Deprotecting. I'll go ahead and split the three parts into spoilers for better view.
P.S. You don't have to deprotect to do enable singleplayer / insert a cheatpack.
Spoiler:
I'm using BattleStadium DON as an example, Since it's right here in my maps folder and it has plenty of files. :)
First off, Go ahead and open the map with RMPQEx, Make sure you "auto search", and "add listfile" (Find the listfile that came with X-Dep and use it), We need to get a complete listfile, A listfile is all of the filenames, Without a listfile the filenames would be "File00001.xxx" or something.

Image

Pictures help you see where you are and where you're supposed to be, So I made a bunch of screenies.
Next, Save the listfile, And put it in the X-Dep folder, Also, Put your map there.

Image

To save a little time, Open up the xdep configuration settings and change your first line to what mine is,

Image

After you've done that, Rename your map name to . so that xdep will use it, also make sure your listfile is named "listfile".
Run xdep.

Image
Since battlestadium is primarily a chinese map, SLK Object Console has problems dealing with it, So for now, My battlestadium DON isn't deprotected completely, But most maps don't use 'widgetiser', So most of the time you won't need to worry about it.
(P.S. Any map that MPQMaster won't open has their mpq header damaged, Extract all of the files then try and use MPQEditor to generate a new w3x archive with all of the files).
Second Guide, Adding a cheatpack.
Spoiler:
I'll be using Twilight ORPG v1.11 as an example, Since it's played rather frequently and easy to crack, It's a good example.
Go ahead and run MPQMaster, Open your map, Select listfile, and your map should be opened.
If you see a file called "Attributes", DELETE IT, It'll only cause you trouble.
Now, We'll be looking for war3map.j, It'll be either at the bottom of the page, or in a file called "\scripts"

Image

I'll go ahead and open up scripts, and here's my war3map.j file.

Image

The war3map.j file is the JASS Script for the map, You should already know that.
Next, We'll go ahead and extract it to desktop.

Image

When you get it on desktop, Open JASSCraft and open up that .j file.

Image

As you see, I highlighted "globals", That's where all the variables and triggers are set. Our key places for the cheatpack are, "globals", "endglobals", and "function main".
You should already have JJ's CP open in JASSCraft.
Next, I copied the "globals" part and pasted it under globals.

Image

After you've done that, use CTRL + F, And search for "endglobals", Like i've done here.

Image

Now, Find the "function main" part of JJ's CP, And copy it. Pasted it under endglobals like i've done.

Image

Now, Search for "function main", Once you've found it, Copy JJ's "function main" part of his CP, and paste it.
NOTE: If you see "locals" under the function main, Paste JJ's part AFTER them.

Code: Select all

function main takes nothing returns nothing
local something
local weathereffect e
local dick
local pussy
[JJ's CP]
endfunction
Image

After you've done that, Do a Syntax Check to make sure you didn't make any mistakes.

Image

After that, Save.

Image

Close JassCraft, And go to desktop, Open MPQMaster and find the war3map.j again, Right click it and "add files"

Image

Add your *new* war3map.j.
After you've done that, You'll need to Flush the map,
"--> Operation --> Compact(Flush)"

Image

Walah, You've successfully inserted a cheatpack.
Third guide, Enabling SinglePlayer.
Spoiler:
Open your war3map.j in JassCraft, CTRL + F, And search for "singleplayer".

Image

Why search for singleplayer? Most anticheat functions use "bj_isSinglePlayer" to detect if you're in a singleplayer game, If it is a singleplayer game, it kicks you and/or disables save/load.

Anyways, you should come across something like this.
Image

Copy what I did here;

Image

Make sure you don't delete the function itself, But delete the functions that relate to "bj_isSinglePlayer".

Image

Image
After you're done, Do a syntax check, and you should know the rest, Reinsert your *new* .j file into your map.

Image
Have fun cheating!
If you have any questions, feel free to ask, and me / a mod will add them to the Q&A.

- Q&A -
Spoiler:
Q)Do I need to deprotect my map to add a cheatpack or enable singleplayer?

A)Nope, you can do either of the three without needing to do the other.

(Mods, feel free to add to this.)

I get an error in the end that says failed to open war3map.w3i when running the xdep.exe :(