This is the initial public release of libLZR - a small open source library that handles the decompression and encoding of LZR-compressed data. (LZR-compression is frequently encountered in PSP firmware resource files.) Download libLZR from here.
Decompression results of libLZR should be identical to Sonys internal decompression algorithm. Please report incompatible streams to me.
Compression in libLZR currently does not actually compress the data, but only produces a valid LZR stream. I'm thinking about implementing real compression, but - since it's not easy - I ask myself: Are there applications, where an LZR-compressor is needed? Would you have a use for LZR-compressed streams?