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

MangosExtractor Mono Issue, Usage of MpqLib.dll #2

Open
rmiraclewhip opened this issue Apr 9, 2013 · 0 comments
Open

MangosExtractor Mono Issue, Usage of MpqLib.dll #2

rmiraclewhip opened this issue Apr 9, 2013 · 0 comments

Comments

@rmiraclewhip
Copy link

The Software starts correctly:
image
But on CLI I get the Error:
Method ':_getFiberPtrId ()' in assembly 'tools/MaNGOSExtractor/MangosExtractor/bin/Release/MpqLib.dll' contains native code that cannot be executed by Mono on this platform. The assembly was probably created using C++/CLI.

No dbc's got extracted.

The Problem is that you use MpqLib.dll directly which can't be used in mono.
I can compile and install libmpq as library on my Linux system, no problem, but you'd have to align the code... Further Informations: http://www.mono-project.com/Interop_with_Native_Libraries and http://www.mono-project.com/CPlusPlus

Greets - MiracleWhip
(Keep up the good work!)

PS:
Of course I get the same error with AD2.exe:
$ mono AD2.exe -i '/opt/software/World of Warcraft 1.12.1/' -o /tmp/extractor/ -e 2

MaNGOSExtractor v1.4.2 CommandLine

Source Folder: /opt/software/World of Warcraft 1.12.1/
Output Folder: /tmp/extractor/
Extraction Selected: DBC Only
Reading: /opt/software/World of Warcraft 1.12.1/Data/backup.MPQ
Method ':_getFiberPtrId ()' in assembly '/run/media/ruben/Software/git/tools/MaNGOSExtractor/AD2/bin/Debug/MpqLib.dll' contains native code that cannot be executed by Mono on this platform. The assembly was probably created using C++/CLI.

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

No branches or pull requests

1 participant