Project

General

Profile

Actions

Emulator Issues #8479

closed

Rock Band DLC crashes emulator

Added by megarockexe over 9 years ago. Updated over 6 years ago.

Status:
Invalid
Priority:
High
Assignee:
-
% Done:

0%

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

Description

Game Name?
Rock Band 3
The Beatles Rock Band

Game ID?
SZBE69
r9JE69

What's the problem? Describe what went wrong in few words.
DLC won't work. When it's attempted to be read in Rock Band 3 (the main menu), an unclosable error pops up and the emulator must be force closed. In The Beatles Rock Band, it just never loads the song, but it appears on the list. The cache file is created incorrectly and slowly as well.

What did you expect to happen instead?
DLC should have worked. It worked for many revisions before, too. DLC has never worked in Dolphin for The Beatles Rock Band though.

What steps will reproduce the problem?

  1. Set up DLC files (I can provide sample files)
  2. Run the game and get to the main menu.
  3. It should already have gotten stuck in Rock Band 3. The game should soft lock in The Beatles Rock Band when the DLC song (marked with an arrow icon) is attempted to be played.

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?
I have tested on 4.0-4243, 4.0-5410, 4.0-5557, and the latest as of this post, 4.0-6029

Does using an older version of Dolphin solve your issue? If yes, which
versions of Dolphin used to work?
Revisions 4243 and 5410 still read and play DLC correctly in Rock Band 3. Sometime between 5410 and 5557 is when DLC broke. Nothing's changed even on the latest. The Beatles Rock Band DLC has never worked.

What are your PC specifications? (including, but not limited to: Operating
System, CPU and GPU)
Windows 8.1 x64
Intel Core i5 2500k 3.30 GHz
Nvidia GTX 650

Is there any other relevant information? (e.g. logs, screenshots,
configuration files)
I can provide files necessary to test if this is working.

Actions #1

Updated by JMC4789 over 9 years ago

  • Status changed from New to Accepted
Actions #2

Updated by megarockexe over 9 years ago

That is correct. 5450 does break while 5445 works.

Actions #3

Updated by megarockexe over 9 years ago

Just following up on this. Over 1000 builds later and 4.0-6842 still has this same problem.

Actions #4

Updated by JMC4789 over 9 years ago

  • Milestone set to Current
  • Regression set to Yes
  • Priority set to High

Pinging additional people who may be interested in this. Please feel free to remove yourself from this if you have no interest in working on this issue.

Actions #5

Updated by Armada over 9 years ago

This is an issue with CPU emulation, I can't really help there.

Actions #6

Updated by phire over 9 years ago

an unclosable error pops up

Hang on, what does the unclosable error say? Just because it's unclosable doesn't mean it's meaningless.

Actions #7

Updated by megarockexe over 9 years ago

The errors are like this:
Invalid Read from to 0xffffffff, PC = 0x801d2020
Invalid Read from to 0xffffffff, PC = 0x801d2038

I don't have any documentation on that particular routine, but it looks like some out of range issue?

Actions #8

Updated by phire over 9 years ago

The actual invalid read will be coming from somewhere inside dolphin's code, based on bad information the game has given it.

Any chance you know how to attach a debugger and give us a stack trace while that error is showing?

Actions #9

Updated by megarockexe over 9 years ago

If it's anything that isn't the built-in Dolphin debugger, then I wouldn't know. I've been able to build Dolphin from source before though. Would that be of help? Otherwise, I would be able to help you get the error to show up.

Actions #10

Updated by JMC4789 over 9 years ago

How are you loading the DLC? Can you provide the steps to do that? Are you loading anything off of SD Card?

Actions #11

Updated by megarockexe over 9 years ago

Through the NAND. I've never gotten the SD card way to work.

Download this, which should have all the files necessary.
https://dl.dropboxusercontent.com/u/42704237/DLC%20files.rar

SYSCONF might need to be replaced again after the game has been run once to prevent the game identifying as a PAL system and looking for DLC in the PAL directories and files.

Actions #12

Updated by JMC4789 over 9 years ago

Does Dolphin outright crash after the popups? If so, let's try another angle. Get the latest build of Dolphin (note which version you're using)

When Dolphin crashes, do not close it, open up task manager and find Dolphin in the process list. Right click it and "create dump file" or whatever it's called. Then,note the location of that file, compress that file and upload it somewhere we can get it. That should give us more information to debug it.

Actions #13

Updated by JMC4789 over 9 years ago

Actually, creating a dump file at the first int-cpu popup will work as well, apparently. If you do this, we should be able to debug it further.

Actions #14

Updated by megarockexe over 9 years ago

It's kind of really large. Dolphin doesn't outright crash, but I have to force close it with the Task Manager because it loops infinitely.
So here is a dump file taken after the first error message on the main menu.
https://dl.dropboxusercontent.com/u/42704237/Dolphin-4.0-6896.rar
It's from the latest as of this post which is 4.0-6896.

Actions #15

Updated by JMC4789 over 9 years ago

So, let's try something. What happens if you right click the game, hit game properties, and enable MMU emulation?

If that doesn't work; what happens if you disable panic handlers?

Actions #16

Updated by megarockexe over 9 years ago

When MMU Emulation is on, the game just soft locks at the main menu instead of showing the messages.

If Panic Handlers are disabled, then everything actually proceeds as normal! DLC loads just fine and plays too.

Actions #17

Updated by JMC4789 over 9 years ago

Go to view, show log configuration, turn on all log types, then turn off "Video Backend" to prevent some spam. Now, open up the Show log window. Now, run the MMU emulation on. Hopefully when the game soft locks, it will send some information to the logs that will helps us out.

Thanks again for your continued patience in narrowing this down.

Actions #18

Updated by megarockexe over 9 years ago

http://pastebin.com/24LpwhNC
Here's what the log starts to look like around the lockup. The last line is repeated very frequently; within milliseconds.

Actions #19

Updated by JMC4789 over 9 years ago

That looks incomplete. Can you post the whole log?

Actions #20

Updated by megarockexe over 9 years ago

Okay, here's the whole log from boot to lockup. A lot of the early errors are to be expected.
http://pastebin.com/sTiejuq0

Actions #21

Updated by phire over 9 years ago

  • Milestone changed from Current to Next
  • Regression changed from Yes to No

What's happening is the game is generating -1 somewhere, and then using it as a address for a 8bit read. This doesn't happen on the real console (or the game would crash).

Previous version of dolphin would ignore this and return undefined values, which the game would somehow recover from and continue working.

This isn't a regression, as the behaviour of mmu disabled is now closer to the behaviour of mmu enabled, where this never worked.

To fix this we need to find why the game is using -1 as an address, and fix the root cause. This might fix other issues like the game not loading dlc off the sd card. Chances are it's an issue with IPC-HLE.

This shouldn't block the release of 5.0, for now disabling panic handlers works as a workaround.

Actions #22

Updated by megarockexe over 9 years ago

This issue might also be affecting DLC for The Beatles Rock Band. While the game detects it, it fails to actually play any DLC, getting stuck on the load screen.

Here's a pastebin of the log up until that point.
http://pastebin.com/GtSaqu1W

There is no error message associated with it, but it might be failing for the same reason as described.

Actions #23

Updated by JosJuice over 8 years ago

  • Milestone changed from Next to Current

5.0 was released, moving Milestone-Next to Milestone-Current.

Actions #24

Updated by leoetlino almost 8 years ago

The DLC files you posted don't seem to be detected by the game. At least for me.

Actions #25

Updated by leoetlino almost 7 years ago

  • Status changed from Accepted to Questionable

Does this still happen in the latest development version? There have been tons of fixes to content handling since 4.0 and 5.0.

Marking this as Questionable (since there is a decent chance this has been fixed) for now.

Actions #26

Updated by leoetlino over 6 years ago

  • Status changed from Questionable to Invalid

No response.

Actions #27

Updated by Anonymous over 6 years ago

I'm actually still getting this issue, specifically with Beatles Rock Band DLC. It shows up in the menu, but when I select it the song infinitely loads, never actually finishing. I can play through on disc stuff just fine, it's just the DLC I've got issues with

I do have a programming background, and if you could provide a bit of guidance leoetlino I might be able to get the issue fixed with a PR.

Actions #28

Updated by megarockexe over 6 years ago

Barishnakov wrote:

I'm actually still getting this issue, specifically with Beatles Rock Band DLC. It shows up in the menu, but when I select it the song infinitely loads, never actually finishing. I can play through on disc stuff just fine, it's just the DLC I've got issues with

I do have a programming background, and if you could provide a bit of guidance leoetlino I might be able to get the issue fixed with a PR.

What would you need from me? I have the DLC files and set them up in a way that should work, but they got stuck in loading like you described last time I tried.

Actions

Also available in: Atom PDF