QJ.NET | Videos | Forums | iPhone | MMORPG | Nintendo DS | Wii | PlayStation 3 | PSP | Xbox 360 | PC | Downloads | Contact Us
Forums | Gaming News | Videos | Downloads | Today's Posts | Mark Forums Read | Chat | FAQ | Members List | Contact

QJ.net Game Discussion - PSP, Xbox, Wii, PS3, PSP Homebrew, and PSP Guides

Go Back   QJ.net Game Discussion - PSP, Xbox, Wii, PS3, PSP Homebrew, and PSP Guides > Developers Corner > PSP Development, Hacks, and Homebrew > PSP Development Forum
The above video goes away if you are a member and logged in, so log in now!

[RELEASE] libLZR 0.11 - de- and encoding of LZR-compressed data

This is a discussion on [RELEASE] libLZR 0.11 - de- and encoding of LZR-compressed data within the PSP Development Forum forums, part of the PSP Development, Hacks, and Homebrew category; This is the initial public release of libLZR - a small open source library that handles the decompression and encoding ...

Reply
 
LinkBack Thread Tools
Old 03-18-2009, 01:36 AM   #1
 
Join Date: Aug 2006
Posts: 30
Trader Feedback: 0
Default [RELEASE] libLZR 0.11 - de- and encoding of LZR-compressed data

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?

Cheers, BenHur
BenHur is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 03-18-2009, 07:33 AM   #2
No longer a community member.
 
a_noob's Avatar
 
Join Date: Sep 2006
Location: Over there.
Posts: 666
Trader Feedback: 0
Default

It could be useful, however there is already gzip which is implemented by sony in the FW and requires no additional library. There probably is LZR too which would just need some decoding. But since gzip is soo widely common and available I do not think you need to waste time writing a LZR compressor, unless you would like a good learning experience in compression algorithms.
a_noob is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 03-18-2009, 09:21 AM   #3
 
Join Date: Aug 2006
Posts: 30
Trader Feedback: 0
Default

Quote:
Originally Posted by a_noob View Post
It could be useful, however there is already gzip which is implemented by sony in the FW and requires no additional library. There probably is LZR too which would just need some decoding. But since gzip is soo widely common and available I do not think you need to waste time writing a LZR compressor, unless you would like a good learning experience in compression algorithms.
Thanks for the feedback. I had my learning experience with reversing the LZR decompression, so I'm good right now

About the applications of the compressor: it coud be used to modify data, where the firmware expects an LZR stream. E.g. to change the look-up tables for codepage conversion. Since this example doesn't make sense, I was looking for others...

But unless I know of an interesting application I'll work on other things.

Cheers, BenHur
BenHur is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Tags
011 , data , encoding , liblzr , lzrcompressed , release

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



All times are GMT -8. The time now is 06:32 AM.



Use of this Web site constitutes acceptance of the TERMS & CONDITIONS and PRIVACY POLICY
Copyright © 2009, QJ.NET. All Rights Reserved.
Contact Us