Pokemon Defense Final, Editing

General talk about editing, cheating, and deprotecting maps.

Moderator: Cheaters

Kleenex
Newcomer
Posts: 4
Joined: September 18th, 2011, 10:17 pm

Pokemon Defense Final, Editing

Post by Kleenex »

Hey all,

I've successfully deprotected the Pokemon Defense Final map. My intention is to build on their current system and incorporate proper damage types. However, every time I edit something, the JASS script stops working, becomes disabled, and nothing works from thereonin.

Any advice?
naturesfury
Forum Spammer
Posts: 610
Joined: March 30th, 2009, 9:02 pm

Re: Pokemon Defense Final, Editing

Post by naturesfury »

Wanna elaborate?
What did you do o.o
Kleenex
Newcomer
Posts: 4
Joined: September 18th, 2011, 10:17 pm

Re: Pokemon Defense Final, Editing

Post by Kleenex »

This is the deprotected map. Notice that the moment you save it in the World Editor, for some reason it goes from 7400 KB to 445 KB and all scripts stop working.

It was deprotected as according to the guide, while fixing the critical error (Ch1).
You do not have the required permissions to view the files attached to this post.
owner123
Super Moderator
Posts: 1943
Joined: February 3rd, 2009, 11:28 pm
Been thanked: 1 time

Re: Pokemon Defense Final, Editing

Post by owner123 »

Hm, that is really weird and I have no idea.

I suggest you edit the .J file directly if you wish to edit only the scrips.
If you need other stuff like the gameplay constants and object data, reply back and I'll help. It's a little more complicated than deprotection.
naturesfury
Forum Spammer
Posts: 610
Joined: March 30th, 2009, 9:02 pm

Re: Pokemon Defense Final, Editing

Post by naturesfury »

Oh, i saw this before o.o
Pretty sure it's because you didn't import everythng back in? World editor saw it as no imports so everything is deleted
(if you check it in mpq editor, you only see the default stuff)

How to fix? try rebuilding the mpq
Kleenex
Newcomer
Posts: 4
Joined: September 18th, 2011, 10:17 pm

Re: Pokemon Defense Final, Editing

Post by Kleenex »

The issue is, I need to add custom abilities as well (to mark which Pokemon are which type). So I can't just edit the war3map.j file: I need to mess around in the object editor as well.

How do I rebuild the MPQ file?
naturesfury
Forum Spammer
Posts: 610
Joined: March 30th, 2009, 9:02 pm

Re: Pokemon Defense Final, Editing

Post by naturesfury »

get the complete listfile, extract everything, add everything to a new mpq
owner123
Super Moderator
Posts: 1943
Joined: February 3rd, 2009, 11:28 pm
Been thanked: 1 time

Re: Pokemon Defense Final, Editing

Post by owner123 »

Kleenex wrote:The issue is, I need to add custom abilities as well (to mark which Pokemon are which type). So I can't just edit the war3map.j file: I need to mess around in the object editor as well.

How do I rebuild the MPQ file?
Extract the W3A file and W3U file from the archive.

Open a new map in world editor.

Object Editor -> Unit Tab -> File -> Import
Select W3U

Object Editor -> Abilities Tab -> File -> Import
Select W3A

Now you can edit the abilities and units.

When you are finished, export them and re-add to archive.

Nature's way would only work if you can get a full listfile. The listfile may not include files from your map.
Kleenex
Newcomer
Posts: 4
Joined: September 18th, 2011, 10:17 pm

Re: Pokemon Defense Final, Editing

Post by Kleenex »

Thanks all: I'll let you know how it goes.

EDIT: After doing so, a lot of the skills became labelled as UNKNOWN (ID). What's the issue here? Note: I added new abilities and buffs; would that change anything?
owner123
Super Moderator
Posts: 1943
Joined: February 3rd, 2009, 11:28 pm
Been thanked: 1 time

Re: Pokemon Defense Final, Editing

Post by owner123 »

You may also need the respective files for items and effects and upgrades.

In order, I believe they are
war3map.w3i
war3map.w3e
war3map.w3u

I might be missing some. Check every tab in world editor, you will need one file for each.