Project

General

Profile

Actions

Emulator Issues #12981

closed

Activision Demo Action Pack: Unknown opcodes on starting games

Added by pokechu22 almost 2 years ago. Updated almost 2 years ago.

Status:
Fixed
Priority:
Normal
Assignee:
% Done:

0%

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

Description

Game Name?

Activision Demo Action Pack

Game ID?

R9AE52

MD5 Hash?

d2c86ebdcd1e79b267e0a90c9e4de684

What's the problem? Describe what went wrong.

An unknown opcode occurs when starting a demo. The demo still starts normally afterwards.

What steps will reproduce the problem?

  1. Start the demo pack.
  2. Select any demo (I've used the Madagascar 2 demo).
  3. Observe the unknown opcode error.

The exact error is inconsistent (and might not always happen, but it seems like something usually happens). I've attached a TAS movie that reproduces the issue consistently (with a single 0x33 unknown opcode). (In other cases, multiple unknown opcodes can occur.)

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

Yes, 5.0-16793

Is the issue present in the latest stable version?

Not tested.

If the issue isn't present in the latest stable version, which is the first broken version?

5.0-16443 (which implemented PI_FIFO_RESET). 5.0-16441 is unaffected.

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

  • CPU: Intel(R) Core(TM) i7-10750H CPU @ 2.60GHz, 2592 Mhz, 6 Core(s), 12 Logical Processor(s)
  • GPU: NVIDIA GeForce GTX 1650 Ti
  • OS: Windows 10 Home 10.0.19044.1766

Is there anything else that can help developers narrow down the issue?

The game includes debug symbols in the form of unstripped elfs for the demo launcher and all demos. (It also includes an unstripped ELF for an unreleased PS2 version of "Dancing with the Stars: We Dance!", it seems.)


Files

DemoPackUnknownOpcode.dtm (96.1 KB) DemoPackUnknownOpcode.dtm pokechu22, 07/19/2022 10:07 PM
DemoPackUnknownOpcode.dff (3.75 MB) DemoPackUnknownOpcode.dff pokechu22, 07/19/2022 10:10 PM
DemoPackUnknownOpcode.7z (286 KB) DemoPackUnknownOpcode.7z pokechu22, 07/23/2022 04:26 AM
Actions #1

Updated by pokechu22 almost 2 years ago

I've attached some additional test cases. One of them (DemoPackUnknownOpcode9.dtm) results in Dolphin completely dying (after a few failed stream_size_temp < 16 assertions). Note that for that one, you need to unpause emulation after the movie ends (as it isn't possible to save the movie after Dolphin crashes).

I also have a fix in progress, and have included logs with a lot of additional info (including separate logs for the old version, master, and my planned fix and how it's changed between those). Those logs are from this version.

EDIT: See https://github.com/dolphin-emu/dolphin/pull/10883

Actions #2

Updated by pokechu22 almost 2 years ago

  • Status changed from Fix pending to Fixed
  • Fixed in set to 5.0-17070
Actions

Also available in: Atom PDF