Come to think of it, the example output you linked to can't be correct. The file's only 0x287F long, which is 3/4 the size we need. (68*48*4=0x3300) I can't get that one to properly form an image, either.
The compressed data I'm using is just bytes 0x100 through EOF of the hud_anvil.anb, here. The romhacking.net lzx.exe (and the cs file you linked that I ported to C) decompresses it and spits out this, which I'm starting to think is correct, I just translated your Java function improperly.
(Current output looks that way, too)
The compressed data I'm using is just bytes 0x100 through EOF of the hud_anvil.anb, here. The romhacking.net lzx.exe (and the cs file you linked that I ported to C) decompresses it and spits out this, which I'm starting to think is correct, I just translated your Java function improperly.
(Current output looks that way, too)
![[Image: hud_anvil_1.png]](https://dl.dropboxusercontent.com/u/31816885/junk/hud_anvil_1.png)