Page 1 of 1

The Neverhood .nhi textures (type B)

Posted: Sat Apr 03, 2021 11:03 pm
by Atsushifennek
Trying to fix some issues with my native localisation of The Neverhood (PC), I've found BLB-repacker in github, it splited I.blb to separated .nhi files. Type A - 8bit bmp with uncompressed image data, freely openable via tilemolester. But I need to decompress font-file and change it, repacking again. It is in Type B - .nhi-files.
The first 6 bytes are the header, next 1024 - pallete. And then there's some encrypted image data, that I can't decompress. I've tried rle, but it gave me back a pure junk. So, anyone, could you please help me with (un)compressing bmp or png to such a file? The examples are in attached files. The second one is the result unpacked by (https://github.com/michal4132/pyBLB), but it couldn't compress it into .nhi back.

https://drive.google.com/file/d/1Dhpqka ... sp=sharing
https://drive.google.com/file/d/1sHlmQo ... sp=sharing

Re: The Neverhood .nhi textures (type B)

Posted: Sat Apr 03, 2021 11:29 pm
by ikskoks
You have to share public links to the GD, because we don't have access to the samples.

Re: The Neverhood .nhi textures (type B)

Posted: Sat Apr 03, 2021 11:33 pm
by Atsushifennek
Now that should work, sorry. Completely forgot 'bout that.