Skip to content

[Feature]: file extensions in mpq list #2

@ZucchiniZap

Description

@ZucchiniZap

Prerequisites

Problem Statement

Image

Proposed Solution

Let's show file extensions in lists when no listfile is present.

Alternatives Considered

No response

Feature Type

CLI enhancement

Priority

Medium - Would improve my workflow

Affected Components

  • MPQ archives
  • DBC/DB2 databases
  • BLP textures
  • M2 models
  • WMO world objects
  • ADT terrain
  • WDT/WDL world data
  • CLI interface
  • FFI/C bindings
  • Documentation
  • Build system
  • Cross-cutting/multiple components

Use Cases

  1. when working with MPQ archives from the community, listfiles are often not included in archives. Having at least a file extension will make life easier.

Technical Considerations

  • Do we need to read data from block tables?

Examples

cargo run --bin warcraft-rs -- mpq list ~/test.mpq
...
file_0001.blp
file_0002.m2
...

Additional Context

No response

Implementation

  • I'm willing to implement this feature myself
  • I can help with testing and feedback
  • I can provide domain expertise/consultation
  • I can help with documentation
  • I'm looking for someone else to implement this

Metadata

Metadata

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions