ugh. what is it you wanna change? wrong club? some ocd sorta thing?
it's not possible to compile a legit codesafe fsh file. a bunch of those bytes in the footer are unpredictable. i won't write it. if you wanna change something you could just as easily hex it. ofc you gotta encode (ctrl+e) the texture. you gotta use opengl es and choose the etc1 format, you gotta generate mipmaps ofc. and safe as pvr. how hard is that to figure out?
for the hex you open the re-saved pvr. file difference is that pvrtool added meta data. i skipped those. you gotta start at offset 0x43 (seems default). select all to end of file and copy paste and replace this data into the correct file chunk. it should be identical size since mipmap layout is predictable and rather failsafe.
@acewell you wanna do the re-fsh c/p it?
Interesting observations ... Any confusion caused in the .PVR files would be the fault of PVRTexTool (to the new files) to add a sort of 15 Bytes in MetaData, while in the original file, all have 0 bt.
Realize that there are textures that work perfectly even in the face of this "addition" of Meta Data. But in most cases, there are problems with reimportation, bug in the final file or flaws in the representation of the texture within the game.episoder,
could you explain better, as more precious, how we can edit the hexadecimal replacing these lines (from MetaData) and maybe reduce the amount of Mip-maps which I also believe is another problem??