Project

General

Profile

Actions

Emulator Issues #5212

closed

Paper Mario TTYD 3.0-413 crash in first room Great Boggly Tree

Added by SeppSchmarn about 13 years ago.

Status:
Fixed
Priority:
High
Assignee:
Category:
GFX
% 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

  1. Game Name and ID (as it appears in right click > properties: "GZ2P01",
    "RSBE01", etc):
    Paper Mario TTYD // G8ME01

2) What is the expected output? What do you see instead?
Enering the room, as one would usually do. Instead crash while screen is still black from the transition (sometimes message "Unknown Opcode 0x05" or "0x60")

3) Did the game ever work correctly (i.e. not have this problem) on an
earlier version of dolphin? Please specify the exact revision when the
problem began.
Disabling Bounding Box Calculation seems to fix the issue. Using the first BBox Revision 3.0-188 seems fine so far. Will use 188 for the moment and investigate further.

4) What steps will reproduce the problem?

  1. use 3.0-415
  2. enter the Great Boogly Tree (the dungeon of Chapter 2)
  3. crash either with message "unknown opcode 0x05" or "0x06", sometimes no message at all.

5) What version of dolphin are you using (32bit/64bit along with the
version as it appears in the title bar, etc)?
On what operating system, drivers, and hardware? Be sure to list OS,
graphics driver information, and video card model if you are having
graphics problems, for example.
Dolphin 3.0-415, Win7 x64

6) Please provide any additional information below.
Seems like Bounding Box Calculation is bugged in later revisions. Can someone point me to all the changes since 3.0-188? Maybe my amateur eyes can spot the issue.


Related issues 1 (0 open1 closed)

Has duplicate Emulator - Emulator Issues #5299: Paper Mario TTYD: Crashes after opening Boggly TreeDuplicate

Actions
Actions #1

Updated by gamedevistator about 13 years ago

Yeah the game crashes for me to but the crash is random for me.

Actions #2

Updated by Alexander.Wolfger about 13 years ago

I have exactly the same problem. The game worked perfectly until the Great Boogly Tree and then crashed while trying to enter the dungeon.

Versions: Dolphin 3.0-421 and 3.0-419

Actions #3

Updated by Anonymous about 13 years ago

Experiencing the same issue, with Dolphin 3.0-415 on Win 7 x64.

Actions #4

Updated by skidau about 13 years ago

Can anyone upload a save game? Also please find out which revision this started to occur in (somewhere between 3.0-188 to 3.0-415)

Actions #5

Updated by Anonymous about 13 years ago

http://www.mediafire.com/file/34oo0t4609sz0o1/MemoryCardA.USA.raw

Here is the save file, you will though sadly have to walk to the great tree as I don't have a state saved. It's not far anyway.

Actions #6

Updated by skidau about 13 years ago

Something in 3.0-413 r0bbb112298eb (texcache-preload branch) is causing this issue.

Actions #7

Updated by skidau about 13 years ago

Here is a save state made using 3.0-413: http://www.mediafire.com/?ahj8arc42mrcfrk

Press A after loading the state to activate the bug.

Actions #8

Updated by crudelios about 13 years ago

It seems textcache-preload needs to have some features added in order to work properly with bounding box. If you check BPStructs.cpp, some of the registers changed by this merge were always thought to be related to bbox, although no one knew what relation they had to each other. This can be seen in revision 56ccfc5d9d4d .

Paper mario constantly accesses those regs, mainly during the parts where there are the x-nuts or punies appear.

Actions #9

Updated by NeoBrainX about 13 years ago

  • Status changed from New to Accepted
  • Priority set to High
  • Issue type set to Bug
  • Category set to gfx
  • Operating system N/A added

http://code.google.com/p/dolphin-emu/source/browse/Source/Core/VideoCommon/Src/BPStructs.cpp#479
The issue is that we aren't handling the tmem_odd member and end up overflowing the tmem buffer. Disabling bbox calculations just happens to "fix" this by accident, it's not related to the actual issue at all.

Actions #10

Updated by andregaiarsa about 13 years ago

I don't understand. I unchecked the bounding box on the game settings, and it still doesn't work when I enter the Tree. Is it absolutely necessary to use another save game? I kind of liked my own :(

Actions #11

Updated by SeppSchmarn about 13 years ago

it worked for me in 3.0-191, so I suggest you get that one from the archive and use it for Paper Maro. For the most part, you should be able to use your old settings.

Actions #12

Updated by andregaiarsa about 13 years ago

But if I have to use the older Dolphin I will not be able to load my state from 458 right? It will have to be a downloaded save?

Actions #13

Updated by SeppSchmarn about 13 years ago

err... no? Just use your own save file. Save with a S-Block and copy your memory card file to the 3.0-191 memory card folder (User/GC, I believe). Alternatively, you could set your memory card path to the old one.

Actions #14

Updated by andregaiarsa about 13 years ago

Oh I see! Sorry, started using dolphin today and am still learning how everything works! Thanks a lot!

Actions #15

Updated by skidau about 13 years ago

Issue 5299 has been merged into this issue.

Actions #17

Updated by skidau about 13 years ago

  • Status changed from Accepted to Fixed

This issue was closed by revision c4fbb6e37719.

Actions #18

Updated by skidau about 13 years ago

Turns out that Paper Mario has a few bugs in it. One of the bugs crashed Dolphin's TexPreload code. I have added a check for this condition (TMEM overflows) in rf30aebf8d7ba.

Actions #19

Updated by Agusmygrove almost 12 years ago

okay so i'm in the 100 trial tunnel my the thousand year door in the game i had to save
it in a document because i didn't want to lose my progress because as you know their are no save blocks in the tunnels so i died in the tunnel 91 so i used my save file and
went back to room 90 and i try going down the tunnel to room 91 and it keeps crashing same thing when i try to take the tunnel back up to the start what do i do D;

Actions #20

Updated by Agusmygrove almost 12 years ago

okay so i'm in the 100 trial tunnel my the thousand year door in the game i had to save
it in a document because i didn't want to lose my progress because as you know their are no save blocks in the tunnels so i died in the tunnel 91 so i used my save file and
went back to room 90 and i try going down the tunnel to room 91 and it keeps crashing same thing when i try to take the tunnel back up to the start what do i do D;

Actions

Also available in: Atom PDF