Kanma / MPQExtractor

A command-line tool to extract files from MPQ archives
Other
127 stars 39 forks source link

Extract files without listfile #13

Closed Ralle closed 3 months ago

Ralle commented 7 years ago

I am in the need of a feature to extract all files in a MPQ missing the listfile. My plan with the files is to index hashes to cross reference with resources uploaded on hiveworkshop.com to create automated attributions to authors of uploaded resources. I imagine this working in multiple ways:

  1. Extract all files with sequential number naming
  2. Extract file by number (this exists in other MPQ tools) which requires a way to list all files by number (and other MPQ metadata)

Either way is fine with me.

Kanma commented 7 years ago

Is extracting a file by its number a feature of StormLib? I had a quick glance at its API, but it doesn't seems so. MPQExtractor is only a small layer on top of StormLib, but if this is supported somehow it should be easy to add this feature in MPQExtractor.

Ralle commented 7 years ago

Oh, okay.

Do you have any other idea for how to extract files without a listfile?

On Mon, Jan 2, 2017, at 10:03 AM, Philip Abbet wrote:

Is extracting a file by its number a feature of StormLib? I had a quick glance at its API, but it doesn't seems so. MPQExtractor is only a small layer on top of StormLib, but if this is supported somehow it should be easy to add this feature in MPQExtractor. — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub[1], or mute the thread[2].

Links:

  1. https://github.com/Kanma/MPQExtractor/issues/13#issuecomment-269947029
  2. https://github.com/notifications/unsubscribe-auth/AAchbQRyGLW-CTI12oWUj0nAXz70idjCks5rOL11gaJpZM4LYsr1