RMPQEx Map Extractor 1.1

Any tool that you think is useful, make a thread here and upload it.

Moderator: Cheaters

Forum rules
While crediting should be allowed, please keep down the advertising. If you know who it's from, and they have a website, please link to it as a basic courtesy.
d07.RiV
Some Honorary Title
Posts: 24
Joined: May 21st, 2008, 7:52 pm

RMPQEx Map Extractor 1.1

Post by d07.RiV »

Almost an MPQ editor. I didn't implement any editing functionality, maybe I will do that in future.
It is based on my own MPQ library and it seems to be faster than MPQ Master.
Features:
  • Can extract any file (MPQ master usually cannot extract files with unknown names)
  • Includes a listfile that should be enough for all your needs
  • Filename search aka reconstructing listfile - should find all used files and some unused, except those specified in JASS in obfuscated form, e.g. "ReplaceableTextures\\CommandButtons\\BTN" + "Something" + ".blp"
  • Search unknown files in other maps: select a bunch of maps and it will check if any of them have the files with the same names as the ones you couldn't reconstruct.
  • Dump object data in .txt files in human-readable form (almost), works with widgetized maps as well.
  • Deobfuscate JASS script to make it readable
  • Built-in hex viewer (right-click a file and select View binary)
  • Built-in image viewer (right-click a file and select View image)
How to use: extract the program and the listfile.txt in the same folder. Do not modify the original listfile, the one you already have is usually enough and if you use a large listfile it will significantly slow down opening archives.
Buttons:
Listfiles = use it before loading a map, select listfiles to use (it doesnt save whatever you add there if you exit the program)
Open = open the map you specified
Add listfile = look for unknown files in another listfile
Auto search = the "reconstructing listfile" feature
Search in files = look in other maps for unknown files
Extract listfile = write the file list to an external file
Dump object data = what does this little button do?
Deobfuscate JASS script = same as above

Extract to = select the path for extracting files

Download:
MediaFire

Changelog:

Code: Select all

** 1.1 **
- Fixed some minor bugs
- Fixed ability data fields for levels 4 and above
- Added an option to replace GetObjectName('asdf') lines with object names
You do not have the required permissions to view the files attached to this post.
Last edited by d07.RiV on January 20th, 2010, 10:59 pm, edited 3 times in total.
User avatar
Bartimaeus
Tyrannical Drama Queen
Posts: 4424
Joined: November 19th, 2007, 5:05 am

Re: RMPQEx Map Extractor

Post by Bartimaeus »

Thank you very much, D07.RiV.

Looks pretty useful. Does it recover listfiles better than MPQRecoverer?
User avatar
Ozzapoo
The Flying Cow!
Posts: 2197
Joined: November 2nd, 2007, 10:34 pm
Location: Melbourne
Contact:

Re: RMPQEx Map Extractor

Post by Ozzapoo »

I guess my Cortector is 100% dead now..... Anyway, nice release. Moved to tools.
Visit Ozzapoo.net, my blog and the home of AutoCP and Cheatpack Detector!
AutoCP3 now available for free!
User avatar
Dekar
Forum Drunk
Posts: 2891
Joined: January 17th, 2007, 4:22 pm
Location: Darmstadt, Germany
Contact:

Re: RMPQEx Map Extractor

Post by Dekar »

Bartimaeus wrote:Thank you very much, D07.RiV.

Looks pretty useful. Does it recover listfiles better than MPQRecoverer?

From what he told me I think so.
And MPQ recover crahses way too often anyway.

Nice share!
Don't pm me with Warcraft questions, this is a forum so just make a post!

In the world of thinking we are all immigrants. -Robert Nozick
d07.RiV
Some Honorary Title
Posts: 24
Joined: May 21st, 2008, 7:52 pm

Re: RMPQEx Map Extractor

Post by d07.RiV »

It doesnt have the uber stupid interface of mpq recover.

What it does:
function ADD(s): removes extension from s and tries s, s+".blp", s+".tga", s+".mdx", s+".mdl", s+".mp3", s+".wav"
Then it takes the filename part from s and tries "ReplaceableTextures\CommandButtonsDisabled\DIS"+s+""/".blp"/".tga"

First it uses ADD for all known filenames in the archive
Then it finds all .txt and .slk files and scans them: reads them line by line and for each line takes either the last quoted string or the part of the line after the '=' sign, and uses ADD
For all .j files, it finds all quoted strings and uses ADD
For all .mdx files it skips blocks and looks for MODL, TEXS, ATCH and PREM blocks and ADD's filenames from them.
For all object files (.w3u .w3t .w3b .w3d .w3a .w3h .w3q) it uses ADD for all string values.
In .w3i file it looks for loading screen path.
So I don't think there's anything it can miss.

Basically its a combination of all small console programs I wrote because it takes a while to use all of them to unpack a map.
User avatar
Shamanno1
Forum Staff
Posts: 912
Joined: October 21st, 2007, 6:17 am
Title: 11
Location: WorLd Of WaRcrAfT
Contact:

Re: RMPQEx Map Extractor

Post by Shamanno1 »

Wow great program...I'm gonna use it for sure

Thx man

Btw now that u mention it....how do u close mpq recover??? lol
~Everything changes~
I have met people who have no dreams, who have simply accepted their fate to work, exist, and die. They are the most miserable people I have ever known.
User avatar
Ozzapoo
The Flying Cow!
Posts: 2197
Joined: November 2nd, 2007, 10:34 pm
Location: Melbourne
Contact:

Re: RMPQEx Map Extractor

Post by Ozzapoo »

Alt+F4...?
Visit Ozzapoo.net, my blog and the home of AutoCP and Cheatpack Detector!
AutoCP3 now available for free!
User avatar
Bartimaeus
Tyrannical Drama Queen
Posts: 4424
Joined: November 19th, 2007, 5:05 am

Re: RMPQEx Map Extractor

Post by Bartimaeus »

Ozzapoo wrote:Alt+F4...?


Escape works, too. ;)
User avatar
Dekar
Forum Drunk
Posts: 2891
Joined: January 17th, 2007, 4:22 pm
Location: Darmstadt, Germany
Contact:

Re: RMPQEx Map Extractor

Post by Dekar »

Works fine using wine 1.x, too!
Just wanted to mention since mpqmaster for example doesn't...
Don't pm me with Warcraft questions, this is a forum so just make a post!

In the world of thinking we are all immigrants. -Robert Nozick
User avatar
Senethior459
Forum Staff
Posts: 2619
Joined: June 2nd, 2007, 6:53 pm
Title: I Just Lost the Game

Re: RMPQEx Map Extractor

Post by Senethior459 »

Interesting. Hopefully it works better than MPQRecover, the stupid thing always crashes.
:shock:
I just used it on a map that I was missing 167 file names for. I used MPQ Recover on it, I got three of them. I used this, and only 4 were missing! After making it use all my other listfiles, I was only missing two filenames! That's impressive! I'm definitely using this more often!
My Warcraft III Tool Collection
If you want to chat/game with me:
Blizzard: Senethior459#1962
Discord: Kyle#7409
Steam: Spacekidkyle
Post Reply