Features
Fully working on Windows x64 systems, extracts 1:1 files,
Support for license keys and work.bin creation.

Usage
pkg_dec file.pkg output_folder licensekey Last argument, license key is optional, if license key is incorrect(too long/too short) or simply missing, then PKG file will be extracted but without generating the work.bin file.

Changelog:
1.0.3
Added full support for license keys, now if you use license key it will generate fully working work.bin file
Added check for license, if license is not used, file work.bin will not be generated at all
All *.bin files are now generated in proper location output_folder/sce_sys/packages/*.bin