Emulator Issues #13885
openerror popup with Sonic Adventure 2 battle
0%
Description
Game Name?
Sonic Adventure 2 battle (Europe)
Game ID? (right click the game in the game list, Properties, Info tab)
GSNP8P
MD5 Hash? (right click the game in the game list, Properties, Verify tab, Verify Integrity button)
46c84273d5cd803715988a33ca3e5664
What's the problem? Describe what went wrong.
Every time I launch the game, a popup appears with the message :
An error has occured
Condition: stream_size_temp < 16
File: d:\Source\Core\VideoCommon\OpcodeDecoding.h
Line: 162
Function: RunCommand
Ignore and Continue ?
And the buttons : Yes, No, Ignore for this session
If I click Yes, the game start and I don't see any problem when playing : graphics and sound seems normal, no problem with controls either
What steps will reproduce the problem?
Launch the game, the popup appears every time before any game graphics
Is the issue present in the latest development version? For future reference, please also write down the version number of the latest development version.
Is the issue present in the latest release? For future reference, please also write down the version number of the latest release.
Yes: 2506a
If the issue isn't present in the latest release, which is the first broken version? (You can find the first broken version by bisecting. Windows users can use the tool https://forums.dolphin-emu.org/Thread-green-notice-development-thread-unofficial-dolphin-bisection-tool-for-finding-broken-builds and anyone who is building Dolphin on their own can use git bisect.)
Don't know, but I had the same problem with every dolphin version for the past year
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
What are your PC specifications? (CPU, GPU, Operating System, more)
OS: Windows 10 21H2
CPU: Intel(R) Core(TM) i5-10300H CPU @ 2.50GHz
GPU: NVIDIA GeForce GTX 1650 Ti
Is there anything else that can help developers narrow down the issue? (e.g. logs, screenshots,
configuration files, savefiles, savestates)
see attached image for a screenshot of the popup
the issue #13179 has the same popup but in that case, the game crash
Files
Updated by Billiard26 6 months ago
- Has duplicate Emulator Issues #13179: Sonic Adventure 2 Battle PAL crash at startup added
Updated by Billiard26 6 months ago
- Status changed from New to Accepted
Updated by flacs 2 days ago
The game wants to clear the EFB during startup by using an XFB copy. For that it temporarily uses the EFB height determined by the chosen render mode (528 lines for PAL) instead of what it uses later on during game play (hardcoded to 480 lines). The XFB height for XFB copies is implied by the EFB height and the Y-scale. The bug is that the game always computes the Y-scale using the hardcoded EFB height of 480 instead of the currently configured EFB height. This causes the implied XFB height to be larger than intended. As in most games, XFB memory and GX fifo memory are allocated right next to each other, so any XFB out-of-bounds writes can mess up the start of the fifo memory.
This patch can be used as a workaround:
[OnFrame]
$Fix startup errors
0x80114D4E:word:0x00000210
[OnFrame_Enabled]
$Fix startup errors