Quick question with xdep

General talk about editing, cheating, and deprotecting maps.

Moderator: Cheaters

Anarki
Member
Posts: 51
Joined: April 29th, 2007, 12:19 pm

Quick question with xdep

Post by Anarki »

For some reason, xdep is deprotecting maps, but leaving stuff out, such as files in the MPQ, and all the object data.

The listfile.txt is pretty big - 10 megabytes.
I'm thinking it's one of the settings in xdep.ini:

Code: Select all

inmapfile = mymap.w3x
outmapfile = deprotected.w3x
clean_temp_onstart = 1
clean_temp_onsuccess = 0
clean_temp_onerror = 0
pause_onsuccess = 1
pause_onerror = 1
scan_enable = 1
scan_append_listfile = 1
halt_on_unknowns = 1
delete_als = 1
patch_w3i = 1
build_imp = 1
build_dummy_doo = 1
recover_script = 1
build_w3x = 1
rename_reserved_functions = 1 
inline_functions = 0
rename_globals = 0
indent_script = 1
parse_w3data = 1
build_doo = 1
What should I change to preserve object data and other imports in the MPQ? (although I'm thinking the imports in the MPQ is a listfile issue).
User avatar
Senethior459
Forum Staff
Posts: 2618
Joined: June 2nd, 2007, 6:53 pm
Title: I Just Lost the Game

Re: Quick question with xdep

Post by Senethior459 »

It doesn't matter how big the listfile is. Size doesn't mean it's good, it just means it has a lot of names. It's a really good idea to make a listfile for the map in RMPQEx, because it will have a lot more of the names of that particular map, instead of a lot of names that aren't in it.
The imported files are probably not being put in the new one due to missing filenames.
The object data, probably not. Is the map widgetized?
You can always extract the custom object files from the original map, and import them into the deprotected map in WE. Object Editor>File>Import Custom xxx Data... (xxx changes based on tab).
My Warcraft III Tool Collection
If you want to chat/game with me:
Blizzard: Senethior459#1962
Discord: Kyle#7409
Steam: Spacekidkyle
Anarki
Member
Posts: 51
Joined: April 29th, 2007, 12:19 pm

Re: Quick question with xdep

Post by Anarki »

RMPQEx keeps crashing when I try to dump object data.

Can I just extract them using an MPQ editor?
User avatar
Senethior459
Forum Staff
Posts: 2618
Joined: June 2nd, 2007, 6:53 pm
Title: I Just Lost the Game

Re: Quick question with xdep

Post by Senethior459 »

Not Dump object data... That button makes a text file with all of the rawcodes and data about them. Find the war3map.w3* files, and right-click and Extract them.
War3map.w3t - Items
War3map.j - Jass Triggers
War3map.wts - Strings
War3map.w3t - Items
War3map.w3u - Units
War3map.w3b - Destructibles
War3map.doo - Doodads
War3map.w3a - Abilities
War3map.w3h - Buffs/Effects
War3map.w3q - Upgrades
war3map.w3e - Terrain
war3map.wtg - Gui triggers
My Warcraft III Tool Collection
If you want to chat/game with me:
Blizzard: Senethior459#1962
Discord: Kyle#7409
Steam: Spacekidkyle
Anarki
Member
Posts: 51
Joined: April 29th, 2007, 12:19 pm

Re: Quick question with xdep

Post by Anarki »

Alright, thank you a lot.

Looks like I didn't need to extract the object data after all, xdep did it for me.

RMPQEx is a great program, never knew about it before. Definitely a keeper for my toolkit, will probably never use another MPQ editor again.
User avatar
Senethior459
Forum Staff
Posts: 2618
Joined: June 2nd, 2007, 6:53 pm
Title: I Just Lost the Game

Re: Quick question with xdep

Post by Senethior459 »

Its one flaw is that you can't insert things into the map with it. But that's why I've got Ladik's MPQ Editor!
My Warcraft III Tool Collection
If you want to chat/game with me:
Blizzard: Senethior459#1962
Discord: Kyle#7409
Steam: Spacekidkyle