Compression Challenge! (6)

1 Name: ライトダーク3D : 2007-01-28 00:17 ID:ul/5lEWU

Help me 4-ch! I need your mad programming skillz.
I've spent a few weeks trying to reverse engineer the PolygonLove2 "PL2" file compression system. I know it's LZ77, I know it's distance:length is encoded as 12:4+3, I know the escape sequence, but I cannot figure out how the offset is decoded.
Theres some framework code at http://code.google.com/p/open-pl2/ in SVN trunk. The code you want to modify is in libpl2/pak.c, function pl2Pak_unpackID. And you can use the unpl2 tool for testing. You'll obviously need (compressed) pl2 files from polygonlove2 too!
Hopefully somebody can figure out the offset to window position relation!
Oh, and the winrar will get many internets as a reward, lolz.

This thread has been closed. You cannot post in this thread any longer.