ppsspp
ppsspp copied to clipboard
S.Y.K: Renshouden Portable text box corrupt
Game or games this happens in
S.Y.K: Renshouden Portable ULJM05867
What area of the game / PPSSPP
the text box is corrupt

What should happen
text box should not be corrupt
here is what it is supposed to look like

Logs
Platform
Windows
Mobile phone model or graphics card
AMD RX 580
PPSSPP version affected
PPSSPP v1.13.1-234-g5434bd83e
Last working version
No response
Graphics backend (3D API)
Vulkan
Checklist
- [X] Test in the latest git build in case it's already fixed.
- [X] Search for other reports of the same issue.
- [X] Try resetting settings or older versions and include if the issue is related.
- [X] Try without any cheats and without loading any save states.
- [X] Include logs or screenshots of issue.
The texture looks a bit broken. It's almost like swizzling isn't being applied correctly. Was it working in v1.13.1?
Could you try exporting a GE frame dump? These help a lot. Just make sure to export it when you see the issue - it's almost like a screenshot. If you make it while the issue isn't happening, it won't help.
See here for instructions - it's not hard and works on Android too: https://github.com/hrydgard/ppsspp/wiki/How-to-create-a-frame-dump
You can zip that and then drag and drop it into a reply here.
Separately (but I could tell this with the frame dump), does it work in software rendering?
-[Unknown]
here is the ge frame dump ULJM05867.zip no it doesnt work in software rendering and no it isnt working in 1.13.1
If you try some older versions of PPSSPP like 1.12, 1.11, etc, was it working at any point before?
yes broken in 1.12
The text is drawn separately on top of the background, so the issue here is the background only. It's drawn at 7/49.
It should correctly look like this indeed:

To get this, I turned off the swizzle flag from the texture (0x08849300 in the dump.) Rendering using a PSP shows the incorrect background, just like PPSSPP. I suspect that somehow, emulation is causing it to not set the correct swizzle flag.
It does explicitly set it:
09FBF188 C2000001 TexMode 000001 (swizzle, 0 levels, shared clut)
And later, it sets it back off before 9/49:
09FBF274 C2000000 TexMode 000000 (no swizzle, 0 levels, shared clut)
The actual text characters are swizzled, and the flag is correct for them.
This presumably must be some kind of HLE or CPU bug, I guess?
-[Unknown]
Well, did this only happen on that machine? It seems to be a game-specific, not machine-specific bug, so I'm gonna re-open.