exec Posted June 9, 2018 Report Share Posted June 9, 2018 MackLib is a .NET library primarily designed to read Mabinogi's pack files, with the possibly unique function to read the entire package folder to get the latest version of all files, just like the client does. Originally developed only for fun, it has been used and tested in several applications at this point, and just today I finally added a way to create new and modify/recreate existing pack files. The library isn't perfect yet, and creating pack files is highly experimental, but we haven't had any problems reading files with it since I initially wrote it. Usage Example: var path = Path.Combine(PackReader.GetMabinogiDirectory(), "package"); using (var pr = new PackReader(path)) { var entry = pr.GetEntry(@"data\db\itemdb.xml"); using (var ms = new MemoryStream(entry.GetData())) using (var sr = new StreamReader(ms)) { // read itemdb } } GitHub: https://github.com/exectails/MackLib Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now