Help with manual image hashing for texture replacement
|
02-19-2018, 04:11 PM
![]() |
|||
|
|||
RE: Help with manual image hashing for texture replacement
Okay, I still can't get the hash to match my clut.
The image size of 512x512 & 0xf0f == 0 (GPU/GPUState.h#L291) so, if ignoreaddress is also true, than "cachekey" will be zero. The texture format should be GE_TFMT_CLUT32 since the image is using 32-bit ABGR. Which means I need to xor 7 somewhere. (GPU/Common/TextureCacheCommon.cpp#L323) The seed should be 0xC0108888. (GPU/GLES/TextureCacheGLES.cpp#L246). clutExtendedBytes should be the number of colours in the clut * 4. ...Honestly, I might just put fwrites everywhere to dump the clut directly from PPSSPP and see where I'm going wrong. I'm getting 0x7A5A37BA for the clut hash but ppsspp is giving me 0xbf5ac1b0. |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
Help with manual image hashing for texture replacement - uyjulian - 02-11-2018, 07:47 PM
RE: Help with manual image hashing for texture replacement - [Unknown] - 02-11-2018, 10:07 PM
RE: Help with manual image hashing for texture replacement - uyjulian - 02-15-2018, 09:57 PM
RE: Help with manual image hashing for texture replacement - LunaMoo - 02-16-2018, 08:25 AM
RE: Help with manual image hashing for texture replacement - uyjulian - 02-19-2018 04:11 PM
RE: Help with manual image hashing for texture replacement - uyjulian - 03-03-2018, 04:48 AM
|