ppsspp icon indicating copy to clipboard operation
ppsspp copied to clipboard

Coded Arms Contagion - Lock-on/Crosshair

Open kirbysuperstar opened this issue 2 years ago • 5 comments

Game or games this happens in

ULES-00718 Coded Arms Contagion

What area of the game / PPSSPP

The game's lock-on feature doesn't work at all, making combat quite hard. The crosshair also doesn't change colour when over an enemy. Additionally, it seems to be running too fast.

What should happen

While aiming at an enemy the crosshair should turn red. Pressing down on the d-pad should draw a box around tthat enemy and lock onto them.

Logs

ppsspplog.zip

crosshair

Platform

Windows

Mobile phone model or graphics card

NVIDIA GeForce 3060

PPSSPP version affected

v1.15.4-1090-g2fb019ede

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.

kirbysuperstar avatar Aug 20 '23 05:08 kirbysuperstar

Still an issue on 1.18.1-1957-g7ee53a. I've dropped save state and GE dump (as long as I've managed to do that right). Also tested Direct3D and OpenGL just in case, same thing.

Load the state, walk forward to the door and there's an enemy right there. The crosshair should go red and you should be able to hit down on the d-pad to lock on, but neither will work.

ULES00718-DUMP.zip

kirbysuperstar avatar May 21 '25 05:05 kirbysuperstar

Given the symptoms, almost certainly the game tries to read the framebuffer with the CPU.

What happens if you use the software renderer?

We might need a slow readback hack, or something similar to the depth rasterizer for lens flares.

hrydgard avatar May 21 '25 08:05 hrydgard

All this time I forgot about software rendering.. but, it still happens in that too

kirbysuperstar avatar May 21 '25 10:05 kirbysuperstar

In Software Rendering crosshair lock-on works correctly:

https://github.com/user-attachments/assets/a09032f1-1752-4b20-9ea8-bf51b1433969

But the lock-on behavior changes if you change the rendering resolution:

https://github.com/user-attachments/assets/7b7ef8bb-ce22-4691-9ca4-cb628e4ad9ac

Panderner avatar Jun 02 '25 18:06 Panderner

Oh, you're correct, it does work with software rendering. I totally forgot I had a game config for it that overrode SW.

kirbysuperstar avatar Jun 02 '25 22:06 kirbysuperstar