Project

General

Profile

Actions

Emulator Issues #12844

open

Permanent line in Scorpion King (as well as Spawn: Armageddon)

Added by LPA about 2 years ago. Updated over 1 year ago.

Status:
Accepted
Priority:
Normal
Assignee:
-
% Done:

0%

Operating system:
N/A
Issue type:
Bug
Milestone:
Regression:
No
Relates to usability:
No
Relates to performance:
No
Easy:
No
Relates to maintainability:
No
Regression start:
Fixed in:

Description

Game Name?

[Scorpion King: Rise of the Akkadian/Spawn: Armageddon]

Game ID? (right click the game in the game list, Properties, Info tab)

[GSKE7D/GPWEAF]

MD5 Hash? (right click the game in the game list, Properties, Verify tab, Verify Integrity button)

[87c847b9c241e6d66b97378b7be38c95/14fc76a34700adaede628521a8956cbf]

What's the problem? Describe what went wrong.

[There's a weird graphical error that persists no matter which settings I try. It happens in both games. Easiest to see in Scorpion King]

What steps will reproduce the problem?

[Just start the game. It'll show once the gameplay starts after the first cutscene]

Is the issue present in the latest development version? For future reference, please also write down the version number of the latest development version.

[Tested with 15999 latest]

Is the issue present in the latest stable version?

[Yes 5.0]

If your issue is a graphical issue, please attach screenshots and record a three frame fifolog of the issue if possible. Screenshots showing what it is supposed to look like from either console or older builds of Dolphin will help too. For more information on how to use the fifoplayer, please check here: https://wiki.dolphin-emu.org/index.php?title=FifoPlayer

[imgur.com/a/MLIJgIW]

What are your PC specifications? (CPU, GPU, Operating System, more)

[i7-10750H, NVIDIA GeForce GTX 1660 Ti, Windows 10]


Files

ScorpionKingingame.dff (3.51 MB) ScorpionKingingame.dff JMC4789, 10/25/2022 07:17 AM
Dolphin (Manual Texture Sampling).png (468 KB) Dolphin (Manual Texture Sampling).png pokechu22, 10/25/2022 11:32 PM
Real hardware.png (485 KB) Real hardware.png pokechu22, 10/25/2022 11:32 PM
Actions #1

Updated by JosJuice about 2 years ago

  • Tracker changed from Issue to Emulator Issues
  • Project changed from Infrastructure to Emulator
  • Issue type set to Bug
  • Regression set to No
  • Relates to usability set to No
  • Relates to performance set to No
  • Easy set to No
  • Relates to maintainability set to No
  • Operating system N/A added

Updated by pokechu22 over 1 year ago

Testing with the hardware fifoplayer shows that this scene works on real hardware but not on dolphin, even with manual texture sampling enabled.

Every time the game needs to draw a shadow, it makes a copy of the top-left 256x256 pixel area, and then draws the relevant model there, copies that for the shadow, and restores the original contents of that area. As far as I can tell, the positions and texture coordinates are correct; there isn't any kind of offset going on like in SpongeBob SquarePants (see #9649 and #10551). However, when it restores it, it has linear texture sampling enabled, so 2x2 groups of pixels are (somewhat) blurred together, and it also has the texture set to repeat, so the bottom row of pixels re-uses data from the top (which results in an obvious difference as the sky and ground are very different colors) and the right column uses data from the far left (which is more subtle). This part is also blurred in Dolphin (and the blurring gets stronger for each shadow the game draws in a frame).

However, on real hardware, no blurring or wrapping issues seem to happen. Further investigation will be needed to figure out why that's the case.

Actions

Also available in: Atom PDF