Page 1 of 1

Hocus Pocus Image format

Posted: June 21st, 2016, 4:39 am
by arldndev
Hi everyone,

I am developing an open source clone of Hocus Pocus game, but I found a problem with IMG forman into DAT file. Following the content of this link http://www.shikadi.net/moddingwiki/Hocu ... age_Format, I could not understand the last sentence:

"The image data can be divided into four blocks, each containing iWidth4 × iHeight bytes, with each byte being a colour index into the palette. The indices in the first block are for those pixels where x mod 4 = 0, the data from the second block for pixels where x mod 4 = 1, and so on."

Can someone explain me that it does mean?

Greetings, thanks.

Re: Hocus Pocus Image format

Posted: June 24th, 2016, 11:16 am
by Frenkel

Re: Hocus Pocus Image format

Posted: August 2nd, 2016, 12:32 am
by Hisymak
Just curious - how is your open source Hocus Pocus port going? Do you have any visible result so far?