Origin of python script: https://reverseengineering.stackexchange.com/questions/22456/deciphering-an-unknown-graphics-format
I have managed to get the sprites from the game AGAIN: Interactive Crime Novel. They are split into 3 BIN files, two of which contain pixel (''dewey'' files) and palette data (''huey''). The script works with several files, however, it will not work with others, outputting an error:
rows_dat[tile_y*tile_h + small_y][3*(tile_x*tile_w + small_x)] = real_pal[pixel_bytes[i]][0]
~~~~~~~~~~~^^^
IndexError: index out of range```
I was told to try the following:
> Check how big the ‘huey’ file is. Then, change the function that calls make_pal() so that it reads the correct number of palette colors.
Can someone guide me how to do so? I sent a sample of one "problem" image, I can send more if needed.