Project

General

Profile

Actions

Emulator Issues #8064

closed

Crash Emulation is Inaccurate

Added by npbookreader almost 10 years ago. Updated over 7 years ago.

Status:
Fixed
Priority:
Low
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?
All games, example is Super Mario Galaxy 2

Game ID?
All games, example is SB4E01

What's the problem? Describe what went wrong in few words.
What would crash on a normal console behaves irregularly (and doesn't crash) in Dolphin.

For example, if you download the map down below (RedBlueExGalaxyMap.arc) and replace StageData/RedBlueExGalaxy/RedBlueExGalaxyMap.arc with it, go to Flip Swap Star 1, and talk to the Rabbit, it'll say ??? and continue running instead of crashing.

If you try to trigger a debug screen (In SMG2 patch 0x804B7D90, 0x804B7E54, and 0x805B66B4 with NOPs (0x60000000)) then it won't trigger and instead the whole program will freeze.

What did you expect to happen instead?
It to work like on console and crash.
Here's what should happen: https://dl.dropboxusercontent.com/u/56043942/Dolphin/IMG_0293.MOV (sorry for terrible quality, that's what a crash and the debug screen looks like)
Here's what happens in Dolphin: http://imgur.com/GszmZni

What steps will reproduce the problem?
See above

Dolphin 3.5 and 3.5-367 are old versions of Dolphin that have
known issues and bugs, so don't report issues about them and test the
latest Dolphin version first.
Which versions of Dolphin did you test on?
Various builds from 4.0-4250 to 4.0-4887

Does using an older version of Dolphin solve your issue? If yes, which
versions of Dolphin used to work?
No

What are your PC specifications? (including, but not limited to: Operating
System, CPU and GPU)
Windows 8, Intel(R) Core(TM) i7-3630QM CPU @ 2.40GHz, NVIDIA® GeForce® GT 635M with 2GB DDR3 VRAM.

Is there any other relevant information? (e.g. logs, screenshots,
configuration files)
https://dl.dropboxusercontent.com/u/56043942/Dolphin/RedBlueExGalaxyMap.arc

Actions #1

Updated by JMC4789 almost 10 years ago

Have you tried this in interpreter?

Actions #2

Updated by magumagu9 almost 10 years ago

Looking at the video, the crash is a read from a null pointer... which Dolphin is known not to emulate correctly (a side-effect of our terrible BAT emulation).

Transcription:

*** EXCEPTION OCCURRED! ***
FrameMemory:90FFC180H
CONTEXT:8077E8D8H (DSI EXCEPTION)
SRR0: 8048C894H SRR1:0000A032H
DSISR: 04000000H DAR: 00000000H

Actions #3

Updated by npbookreader almost 10 years ago

Something to work on, then.
http://imgur.com/1GCRJoU,W07n2FH,yr8EaXV
Here's a clearer picture of the entire debug, if it's of any use.

Actions #4

Updated by tueidj almost 10 years ago

Why exactly is it important for Dolphin to emulate this properly?

Actions #5

Updated by npbookreader almost 10 years ago

Because a lot of people I know who do game modding would prefer to test using Dolphin, only it's very unreliable versus an actual Wii. I myself have encountered numerous problems using Dolphin to test.

Actions #6

Updated by JMC4789 almost 10 years ago

  • Status changed from New to Accepted
  • Priority set to Low
Actions #7

Updated by tueidj almost 10 years ago

You haven't answered if you tried it in interpreter mode. I would also suggest enabling full BAT and MMU emulation.

Actions #8

Updated by npbookreader almost 10 years ago

Yes, it still happens even in interpreter, and with MMU/BAT on.

Actions #9

Updated by nwplayer123 almost 10 years ago

Here's an example, create a patch at 801A6EE4 with the value of 4180FF1C in SMG2 (any version). Go to Lava Lair and load the first star. On Dolphin it will work fine, but on console it will crash.

Actions #10

Updated by leoetlino about 8 years ago

Is this fixed in the latest development build? (dynamic BATs were merged recently)

Actions #11

Updated by JosJuice over 7 years ago

  • Status changed from Accepted to Fixed

Closing due to lack of response.

Actions

Also available in: Atom PDF