- Joined
- Jul 1, 2008
- Messages
- 178
- Reaction score
- 83
Sup fam, this is a part of a series of releases relating to
PKG1 is a library I built to replace reWZ and MapleLib for parsing WZ/PKG1 files. It's optimized for high-throughput applications and being able to multi thread reading from WZ files.
Repository URL:
Git Clone (HTTPS):
Example of usage:
All of the above can be done in a multi threaded environment.
As per usual, this is built with
You must be registered to see links
PKG1 is a library I built to replace reWZ and MapleLib for parsing WZ/PKG1 files. It's optimized for high-throughput applications and being able to multi thread reading from WZ files.
Repository URL:
You must be registered to see links
Git Clone (HTTPS):
You must be registered to see links
Example of usage:
Code:
PackageCollection v191 = new PackageCollection("/opt/v191/Base.wz");
WZProperty slimeNode = v191.Resolve("/Mob/100006"); // Resolves to Mob.wz/100006.img
string slimeName = slimeNode.ResolveOutlinkForOrNull<string>("String/Mob/100006");
// Since the 100006 slime is just a mob link to 0210100 I'll just skip to that for example of getting an image
Image<Rgba32> slimeImage = slimeNode.ResolveOutlinkForOrNull<Image<Rgba32>>("Mob/0210100/stand/0");
// If you look at the latest WZ files, this is actually an outlink that is automatically resolved by PKG1
All of the above can be done in a multi threaded environment.
As per usual, this is built with
You must be registered to see links
and can be compiled to near-native code on Linux, OSX, and Windows.