ms-reWZ-master

所属分类:游戏
开发工具:C#
文件大小:44KB
下载次数:1
上传日期:2019-03-11 16:45:57
上 传 者dajiba66
说明:  no intro
(Maplestory .WZ file reading Library source ##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;)

文件列表:
COPYING.txt (35147, 2015-12-27)
Properties (0, 2015-12-27)
Properties\AssemblyInfo.cs (2830, 2015-12-27)
UnDXT.cs (11322, 2015-12-27)
UsefulThings (0, 2015-12-27)
WZAES.cs (6633, 2015-12-27)
WZBinaryReader.cs (8306, 2015-12-27)
WZException.cs (1738, 2015-12-27)
WZFile.cs (11947, 2015-12-27)
WZProperties (0, 2015-12-27)
WZProperties\SimpleProperties.cs (6540, 2015-12-27)
WZProperties\WZAudioProperty.cs (4464, 2015-12-27)
WZProperties\WZCanvasProperty.cs (8800, 2015-12-27)
WZProperties\WZDirectory.cs (3602, 2015-12-27)
WZProperties\WZImage.cs (4421, 2015-12-27)
WZProperties\WZObject.cs (7496, 2015-12-27)
WZProperties\WZProperty.cs (6710, 2015-12-27)
WZProperties\WZSubProperty.cs (2647, 2015-12-27)
reWZ.csproj (2489, 2015-12-27)
reWZ.nuspec (566, 2015-12-27)

# 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(); 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 ***-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 * jonyleeson, haha01haha01, Snow, and others who contributed to the original C# WzLib, and [later versions of it](http://code.google.com/p/maplelib2/). * [Fiel](http://www.southperry.net/member.php?u=1) from [Southperry](http://www.southperry.net), for giving me a reason to write this. And all his help. * [retep9***](https://github.com/retep9***), for continually boasting how [his library written in C++](https://github.com/NoLifeDev/NoLifeWz) parses the entire v40b Data.wz in 7 seconds, with canvas properties. ##Disacknowledgements * [zlib](http://www.zlib.net/), for a.. _nice_ library.

近期下载者

相关文件


收藏者