I opened the file in a hex editor but it seems like I don't have the exact same hex values as you, I have the same RAF header but none of the other hex values. but I still cleared them out and pigz wasn't happy with it.
(I tried clearing just the RAF header, I tried clearing the same amount of...
So today, I figured that I'd try to rip the textures from a PS3 theme I liked (the Persona 5 futaba theme) and so I got all the way until I reached a file called "anim_1.jpg", obviously this isn't an actual JPG file, according to HxD it's a RAF file in a JPG file extension, anyways I don't...