The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 795 - File: showthread.php PHP 7.4.33 (Linux)
File Line Function
/showthread.php 795 errorHandler->error





Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help with manual image hashing for texture replacement
02-11-2018, 07:47 PM
Post: #1
Help with manual image hashing for texture replacement
I need help with manual HD texture replacement for Zero no Kiseki (NPJH50311) and other games based on Falcom YamaNeko.

I already got the clut and texture extracted using a script I wrote: gist dot github dot com slash uyjulian slash 1e22b0d4c38ffe1e9cb1f90f1aec7df3

A sample file is located at transfer dot sh slash 3Qbu2 slash img underscore sample dot zip

The specific file I'm trying to hash is extra00.itp, and the hash PPSSPP generates is 00000000bf5ac1b01e7ce339, while the hash I generate is 0x9E5CC90D for method 1 in the script, 0x7A06CD22 for #2, and 0x77501699 for #3.

I ran xxhash32 agains the image data, but it doesn't match the hash that PPSSPP generates. I tried the separate row and sum method located at Core/TextureReplacer.cpp but that still doesn't work.

Is there a way to extract image data BEFORE it gets hashed in PPSSPP so I can compare with my script? Is there something that I'm doing wrong?

This is my textures.ini:
Code:
[options]
hash = xxh32
ignoreAddress = true
version = 1
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Help with manual image hashing for texture replacement - uyjulian - 02-11-2018 07:47 PM

Forum Jump: