Emulator Issues #12844
openPermanent line in Scorpion King (as well as Spawn: Armageddon)
0%
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
Updated by JosJuice over 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 JMC4789 about 2 years ago
- File ScorpionKingingame.dff ScorpionKingingame.dff added
Updated by pokechu22 about 2 years ago
- File Dolphin (Manual Texture Sampling).png Dolphin (Manual Texture Sampling).png added
- File Real hardware.png Real hardware.png added
- Status changed from New to Accepted
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.
Updated by ZephyrSurfer 3 months ago
I've tracked down most of these issues with lines, down to the same issue.
4.0-1472 -> Works
4.0-1474 -> Broken
That is the addition of the pixel center correction.
https://dolphin-emu.org/download/dev/25f5598e31d5ce5dca8d1b03888a9205b616280e/