Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some problems about MPQ Library #1

Closed
2360871791 opened this issue Dec 17, 2019 · 5 comments
Closed

Some problems about MPQ Library #1

2360871791 opened this issue Dec 17, 2019 · 5 comments
Labels
Area-Mpq Related to project War3Net.IO.Mpq

Comments

@2360871791
Copy link

  1. About MPQ library unable to open the map of large size

  2. MPQ cannot analyze the imported file to make it unable to export, but can export the specified external file

@Drake53
Copy link
Owner

Drake53 commented Dec 20, 2019

  1. Does it throw an exception? If so, can you post the stack trace? It would be helpful if you could provide me with a map file that has this issue. If you don't have a place to upload it, you can add it here and create a pull request.
  2. Not sure what you mean by this. Maybe give an example?

@Drake53 Drake53 added the Question Further information is requested label Jan 6, 2020
@2360871791
Copy link
Author

Look forward to your kind reply.

@Drake53
Copy link
Owner

Drake53 commented Jan 8, 2020

For the BLP feature you could try here.

@2360871791
Copy link
Author

can MPQ lib import external file?

@Drake53 Drake53 removed the Question Further information is requested label Jan 10, 2020
@Drake53
Copy link
Owner

Drake53 commented Jan 10, 2020

To add files to an existing archive, you have to recreate it.
You can do this using the following methods:

  • MpqArchive.GetMpqFiles()
  • MpqFile.New(Stream, string)
  • MpqArchive.Create(string, MpqFile[])

@Drake53 Drake53 closed this as completed Mar 1, 2020
@Drake53 Drake53 added the Area-Mpq Related to project War3Net.IO.Mpq label Sep 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-Mpq Related to project War3Net.IO.Mpq
Projects
None yet
Development

No branches or pull requests

2 participants