In order to extract a pak file write: PakPacker x example.pak
This will create a folder called example filled with the content of example.pak.
In order to repack a folder into a pak file write: PakPacker p example
This will create back example.pak.
This requires the library https://github.com/jstedfast/Ionic.Zlib.