• World of Warcraft Addons
  • World of Warcraft
  • Average Rating:

  • Your Rating

  • Share
  • Report Abuse

MpqViewer

  Download the Curse Client

Project Updated:
Files Updated: Mon, Apr 27 2009
Supports Game Version: 3.1.0
Category: Data Export, and Development Tools
Tags:

[Edit Tags]

Project Manager: Maggi89
Additional Authors: No additional authors
Current Version: MpqViewer-1.5.2
License: MIT License
Avg Daily DL (last 30 days): 14
Downloads Total: 1,050
Favorites: 4
Comments: 5
  • About MpqViewer
  •  

The MpqViewer is a tool to view and extract files from *.mpq archive files used by Blizzard. It's written in C# so you have to install Microsoft .NET Framework 2.0 or higher and it utilizes the C# MpqLibrary published by "The Hungry Programmers" (http://www.hungry.com/).

Check the changes section for updates.

Functions:

  • extract any file from any *.mpq archive

  • view files directly from the archive, without the need to export
  • convert *.blp to *.png images by default on extraction
  • filtering of the displayed file list
  • scripting through lua (http://www.lua.org) and the luanet api (http://www.lua.inf.puc-rio.br/luanet/)
  • How to use:

    • Load a *.mpq file using the "File" -> "Open File..." dialog

  • double click on a file to view it (*.blp files are displayed as image, *.wav files are displayed in a mini sound player, all other files are shown as text files)
  • select one or multiple files from the file list
  • export the selected files using the "Export" -> "Save File..." dialog
  • Options:

    • "Options" -> "Switch to LuaMode" will open the lua console (see 'Scripting')

  • "Options" -> "Keep Archive Structure" will, when it's checked, export the folder structure from the archive to the selected export folder
    e.g. you export the file "DBFilesClient\spell.dbc" to "MyExportFolder" it will create the folder "DBFilesClient" and put the "spell.dbc" in there, so you can find it under "MyExportFolder\DBFilesClient\spell.dbc", by default this behavior is disabled
  • "Options" -> "Use RegexFilter" will enable Regular Expressions in the filter field (see 'Filtering')
  • "Options" -> "Use RawExport" will enable export of files without converting them, this only has an effect on *.blp files, which are converted to *.png files on export
  • Filtering:

    • you may filter the file list of the opened *.mpq file to find a certain file or type of file much faster
    • there are two filters implemented: the "default" filter works like the file search on Windows, the second is the "regex" filter, it allows you to filter the list using Regular Expressions (see http://msdn2.microsoft.com/en-us/library/2k3te2cs(VS.90).aspx for details about Regex and the .NET Framework)
    • "default" filter example: "FrameXML" will display only files starting with this string, in this example this are all UI files; "*.blp" will display only files ending with the string ".blp" (image files), so you see it's a quiet simple and basic filter...

    Scripting:

    • switch to LuaMode through "Options" -> "Switch to LuaMode"
    • load a *.lua script by clicking on "File" -> "Open LuaScript..."
    • you may set a workspace through "File" -> "Open Workspace...", the default is "C:\"
    • you may use any .NET class because we use the luanet api (see the documentation at http://www.lua.inf.puc-rio.br/luanet/)
    • you can write to the console using print(...) (or interop.print(str) with only one param), clear the console calling interop.clear() and to keep the MpqViewer GUI unblocked when running long operations you may call interop.pulse()
    • the mpq functions avaiable are: mpq.OpenFile(string srcFile) to get the Stream of a file in the currently opened archive, mpq.ExportFile(string srcFile, string dstFile) to export a file, mpq.FilterFileList(string FilterPattern) to get a list of files using the "default" filter and mpq.RegexFilterFileList(string FilterPattern) to get a list of files using the "regex" filter
    • for an example look at the ExtractAndBuildMinimap.lua, on execution it will build the Minimap combining it from the hundreds of small pieces found in common.mpq

    Changelog:

    1.5.2:

    • fixed compatibility issue with Microsoft .NET Framework so you can use framework version 2.0 again instead of 3.5
    • when opening multiple *.mpq files they are sorted by date of last change so you get always the most recent file version out of the archives

    1.5.1:

    • added support for DXT5 compressed *.blp images
    • added boolean return value to mpq.ExportFile(...) wether the export succeded or not

    1.5:

    • added preview for files

    1.0:

    • initial release

    • Downloads (1)
    •  
    File Name Release Type Game Version Downloads Date
    Addon Curse.com Beta 2.3.3 0 9/29/2008
      File Name Release Type Game Version Downloads Date  
      MpqViewer-1.5.2 Release 3.1.0 1,010 4/27/2009
    • 1 page(s)
    Advertisement
    • Comments

    Add Comment  

    Add

    You need to login or register to post.

    Benefits of Registration

    • Interact with hundreds of thousands of other gamers on an open social network.
    • Post your stories, news, images, videos, and other content to share.
    • Create a network with your fellow gamers or join an existing one.
    • Gain reputation for everything you do.
    • Booo .NET

      Reply Report Permalink
    • Since the author doesn't want to tag their repositories, go here to download:

      http://wow.curseforge.com/projects/mpqviewer/

      Reply Report Permalink
    • So uh...where's the beef?

      Reply Report Permalink
    • Gape said 

      Is it possible to download this?

      Reply Report Permalink
    • Simulo said 

      *kicks Curse*

      ookay, where is it then :|

      Reply Report Permalink
    • 1 page(s)
    • Similar Addons
    •  

    Average downloads per day

    1. 52,050 CurseProfiler 2.0 Data Export
    2. 661 Raid Tracker Data Export, Guild, Quests...
    3. 641 !BugGrabber Development Tools
    4. 504 Addon Control Panel Libraries, Professions, and...
    5. 403 MobInfo3 Data Export, and Tooltip