Skip to content

Latest commit

 

History

History
61 lines (44 loc) · 1.48 KB

README.md

File metadata and controls

61 lines (44 loc) · 1.48 KB

PndTools Build Status

PndTools is a DotNet library for handling pnd files

Goals

  • Easy to use library
  • Cross platform
  • Use in repoV2???

Features

  • Find and extract the pXML data
  • Find and extract the icon data

Basic Usage

string result;
using (Stream stream = File.OpenRead("Intergration/TestCase/SORR.pnd"))
{
    result = PndStreamHelper.GetPxml(stream);
}
byte[] result;
using (Stream stream = File.OpenRead("Intergration/TestCase/SORR.pnd"))
{
    result = PndStreamHelper.GetIcon(stream);
}

ToDo

  • Get file details (name, path, directory, extension, file size etc.)
  • Basic Pnd file validation based on file extension and file type
  • Detect Pnd archive type ( ISO | Squashfs )
  • Save the PXML to its own file
  • Save the icon to its own file
  • Ability to list files in archive
  • Ability to extract files from both pnd archive formats ( ISO | Squashfs )
  • Validate the PXML

Unit Testing

The library is accompanied by unit tests. The library uses xUnit for testing.

Learn about xUnit

Community

This is for the OpenPandora community mainly please check them out. Visit the OpenPandora Community

License

The PndAid library is released under the LGPL v2.1 license.

http://www.gnu.org/licenses/lgpl-2.1.html