• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!

MPQ library for .NET? (C#)

Status
Not open for further replies.
Level 21
Joined
Dec 9, 2007
Messages
3,096
I've been searching on Google for MPQ libraries for .NET for days now and all I found is:
  • SFMpq
  • Stoo.WoWLib
And the results:
  • Cannot add reference
  • When I try to initialize the MPQ, I get the exception: Unable to read beyond the end of the stream - when trying to open war3.mpq

Does anyone know another MPQ library for .NET or some working (fixed) versions of the above mentioned libraries?

Thanks in advance and reputation for the one(s) who help me.
(Reputation as a stimulus)
 
Level 21
Joined
Dec 9, 2007
Messages
3,096
Wrong.
The reasons why GAMES are not made in C# are:
  • Requires .NET Framework
    • .NET Framework functions are slower than C++ natives
  • C++ can do things at a more basic level
  • C++ has pointers!

BTW, please don't post anything if the answer is "No".
Only post if you can help me.
 
Level 21
Joined
Dec 9, 2007
Messages
3,096
So now I must bring this god damn thread back to life because I have two problems with Magos' MpqLib:
  • I get an error in the contructor of CArchive when I attempt to open an archive before I have a message loop. This is GAY.
  • I get too many headaches attempting to convert it to C#. Moreover, I cannot find the equivalent of some WinNT.h - functions.

So, any more ideas? -_-
 
Status
Not open for further replies.
Top