Skip to content
This repository has been archived by the owner on Dec 6, 2020. It is now read-only.
/ reWZ Public archive

reWZ, a library for reading WZs written in C#.

License

Notifications You must be signed in to change notification settings

angelsl/reWZ

Repository files navigation

reWZ

...is a simple and clean .NET library for reading MapleStory WZ files. It does not support writing or modifying WZ files.

Written with simplicity in mind, it might be slower than other libraries, but it will always be easier to use.

##Usage Simply reference reWZ.dll in your code, and then load a WZ file like this:

WZFile xz = new WZFile(@"D:\Effect.wz", WZVariant.GMS, true);

You can resolve a path like so:

Bitmap m = xz.ResolvePath("BasicEff.img/LevelUp/7").ValueOrDie<Bitmap>();

Or, if you prefer to go the old-fashioned way:

WZCanvasProperty wzcp = (WZCanvasProperty)xz.MainDirectory["BasicEff.img"]["LevelUp"]["7"];
Bitmap m = wzcp.Value;

Otherwise, reWZ is pretty well documented (via inline XMLdoc), but if you have any questions, feel free to send angelsl a message.

If you are dumping or otherwise reading the entire WZ file, it is recommended that you read the entire file into memory before parsing, or the parser could take a very long time.

Please do not try to parse entire WZ files into memory with eager canvas and MP3 loading. Even though reWZ allows that, you will need a lot of memory.

Try to run your application in 32-bit mode unless you really need 64-bit. 32-bit is faster and will nearly halve the memory usage.

##License reWZ is licensed under the GNU GPL v3.0 with Classpath Exception.

##Acknowledgements

##Disacknowledgements

  • zlib, for a.. nice library.

About

reWZ, a library for reading WZs written in C#.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages