Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Texture replacement issue
09-15-2016, 03:13 AM
Post: #4
RE: Texture replacement issue
Unfortunately, this is a problem that PPSSPP itself faces when emulating this game. It cannot tell that it's the same texture.

I mean, theroetically, we could hash the top left 384x384 and the top left 192x192 of EVERY texture, etc. etc. etc. Unfortunately, this would really hurt performance. Hashing texture data isn't fast, and we have to do it often to see if it was changed by the game.

The other option might be if the game consistently uses the top left 384x384 in a very recognizable way for us. But that isn't implemented yet and it's more complicated than it sounds. It can still hurt performance but as long as we're sure the game is using a subset of the texture, we can hash a subset of it.

The PSP hardware was only capable of using textures a power of two in size on each side. So 384 wasn't an option. It has to size the texture as 512 or 256 - there are no options in between.

-[Unknown]
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Texture replacement issue - Danikk04 - 09-13-2016, 07:34 AM
RE: Texture replacement issue - YukiHerz - 09-13-2016, 02:28 PM
RE: Texture replacement issue - Danikk04 - 09-13-2016, 02:39 PM
RE: Texture replacement issue - [Unknown] - 09-15-2016 03:13 AM
RE: Texture replacement issue - Hobby3D - 09-17-2016, 04:15 PM
RE: Texture replacement issue - [Unknown] - 09-17-2016, 06:56 PM

Forum Jump: