wc3edit.net
https://forum.wc3edit.net/

RMPQEx Map Extractor 1.1
https://forum.wc3edit.net/useful-tools-f69/rmpqex-map-extractor-t6363.html
Page 1 of 5

Author:  d07.RiV [ July 31st, 2008, 8:00 pm ]
Post subject:  RMPQEx Map Extractor 1.1

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:
** 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

Author:  Bartimaeus [ July 31st, 2008, 8:24 pm ]
Post subject:  Re: RMPQEx Map Extractor

Thank you very much, D07.RiV.

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

Author:  Ozzapoo [ July 31st, 2008, 10:10 pm ]
Post subject:  Re: RMPQEx Map Extractor

I guess my Cortector is 100% dead now..... Anyway, nice release. Moved to tools.

Author:  Dekar [ July 31st, 2008, 11:08 pm ]
Post subject:  Re: RMPQEx Map Extractor

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!

Author:  d07.RiV [ August 1st, 2008, 6:03 am ]
Post subject:  Re: RMPQEx Map Extractor

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.

Author:  Shamanno1 [ August 1st, 2008, 6:08 am ]
Post subject:  Re: RMPQEx Map Extractor

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

Author:  Ozzapoo [ August 1st, 2008, 6:25 am ]
Post subject:  Re: RMPQEx Map Extractor

Alt+F4...?

Author:  Bartimaeus [ August 1st, 2008, 8:29 am ]
Post subject:  Re: RMPQEx Map Extractor

Ozzapoo wrote:
Alt+F4...?


Escape works, too. ;)

Author:  Dekar [ August 1st, 2008, 12:23 pm ]
Post subject:  Re: RMPQEx Map Extractor

Works fine using wine 1.x, too!
Just wanted to mention since mpqmaster for example doesn't...

Author:  Senethior459 [ August 5th, 2008, 2:28 pm ]
Post subject:  Re: RMPQEx Map Extractor

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!

Page 1 of 5 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/