Hocus Pocus Image format

Discuss coding, porting and creating games
Post Reply
arldndev
Less than a nibble
Posts: 1
Joined: June 21st, 2016, 4:22 am

Hocus Pocus Image format

Post 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.
Frenkel
5-bit member
Posts: 41
Joined: March 3rd, 2007, 10:50 am

Re: Hocus Pocus Image format

Post by Frenkel »

Hisymak
4-bit nibble
Posts: 21
Joined: December 26th, 2015, 5:39 pm

Re: Hocus Pocus Image format

Post by Hisymak »

Just curious - how is your open source Hocus Pocus port going? Do you have any visible result so far?
Post Reply