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

Migrating to JMPQ3? #48

Open
TinkoLiu opened this issue Jun 22, 2017 · 1 comment
Open

Migrating to JMPQ3? #48

TinkoLiu opened this issue Jun 22, 2017 · 1 comment

Comments

@TinkoLiu
Copy link
Collaborator

https://github.com/inwc3/JMPQ3
JMPQ3 is a small java library for accessing and modifying mpq (MoPaQ) archives.

Currently, none of the new C/C++ repos on github provides the write ability to write files into mpq.
Some out of dated repos could write but I don't think it could even works with early stage SC2 mpq.

I never wrote in Java and I have no Java IDE, but I could have a try with my classmate's computer, but it may take some times.

If JMPQ3 doesn't works with Heroes MPQ, I might work on StormLib this summer and ....... Even rewrite the tools in C# , maybe?

@Ahli
Copy link
Owner

Ahli commented Jun 22, 2017

JMPQ3 currently does not support file compressions beyond wc3's mpq, so it shouldn't be able to to read sc2/heroes files (created by the SC2Editor for example). Without those compressions, the files become huge.

It is possible to replace MpqEditor via StormLib.dll files and some wrappers to directly access the functions within. This repo seems promising: https://github.com/Deaod/JStormLib
But it did not contain StormLib.dll files and I somehow failed to create those with StormLib in Visual Studio 2015.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants