Converting LiF's to PSD's
Procedure by "Aces High"
This used Photoshop. I recommend Ultra-Edit as the hex editor.
First:
Open the lif with photoshop's "open as" command and choose "raw". Put the
header size: 48 and press the "guess" button. Round the gessed values tho
the lower power of two. Then press OK (it will say the file is smaller then
the data, just press ok again).
2nd:
Open the same lif with an hex editor. Go to the end of the file and count
512 bytes backward. Then count another select the next (counting BACKWARDS)
1024 bytes and copy them.
Open any .pal file (you can create them with photoshop : open a 256 indexed
color image, go to image > mode > color table, press save and save
it as microsoft pal file). Replace the last 1024 bytes of the .pal with the
1024 bytes you copied from the lif. save the .pal.
3rd:
In photoshop, convert the lif you openned to indexed color mode. Then go
to image > mode > color table. Press "load" and load the .pal file
you just created.
Now you have the lif in color :-)
4th (the boring part):
To get the body/stripe colors you have to rebuild their palletes...
Copy the last 256 bytes of the same lif.
You have to convert it of these bytes to 4 ones...
Like: FF FE 00 A8 F7 will have to became
FF FF FF 00 FE FE FE 00 00 00 00 00 A8 A8 A8 00 F7 F7 F7 00... and so on...
After you did that you'll have 1024 bytes. Thats the pallete of the stripe/body
color. Save it to another .pal file (as in 2) and apply it to another copy
of the lif you oppened in photoshop. It'll magically became a gray image
describing where the color should be applyed. Do the same with the next 256
bytes (counting backwards) to get the other color.
5th:
Copy the stripe/body color lifs and paste them as layers in the 1st lif (dont
forget to convert to RGB color first). Change the blending mode to overlay
and thats it...