Project

General

Profile

Actions

Emulator Issues #408

closed

DVD IOCTLs are Buggy on Wii Games

Added by foldor almost 16 years ago.

Status:
Fixed
Priority:
Normal
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

What steps will reproduce the problem?

  1. Load up Medal of Honor Heroes 2
  2. Confirm PANIC!
  3. Watch game do nothing/

What is the expected output? What do you see instead?
I would expect the game to boot up to the menu. Instead it comes up with an
error and does not proceed further.

What version of the product are you using? On what operating system?
SVN 1556 Windows XP 32-bit.

Please provide any additional information below.
I have determined it to be a DVDLowUnencryptedRead error in
WII_IPC_Device_DI.cpp. It receives 0x8c as the command, and it is not
accounted for. I have no idea how to solve this issue but I have found
something online which may help to understand what the Wii is looking for.

http://74.125.95.132/search?q=cache:6mxJWKf7AcgJ:pastebin.com/pastebin.php%3Fdl%3Df5e1db9ee+DVDLowUnencryptedRead&hl=en&ct=clnk&cd=1&gl=ca

The highlighting will show you the DVDLowUnencryptedRead code.

Hope this helps!


Related issues 5 (0 open5 closed)

Has duplicate Emulator - Emulator Issues #413: House of the Dead 2 and 3 Return bugDuplicate

Actions
Has duplicate Emulator - Emulator Issues #417: brawl doesnt loadDuplicate

Actions
Has duplicate Emulator - Emulator Issues #446: Red Steel (unknown cmd/DVDLowUnencryptedRead)Duplicate

Actions
Has duplicate Emulator - Emulator Issues #562: Simple Series Volume 5 Has same error as T vs capcom.Duplicate

Actions
Has duplicate Emulator - Emulator Issues #956: DVDlowSeek warning messageDuplicate

Actions
Actions #1

Updated by foldor almost 16 years ago

There doesn't seem to be an edit. But it is supposed to have a better title, and it
is getting 0x8d and not 0x8c.

And know what? I think http://wiibrew.org/wiki//dev/di might have a better idea on
what to do with DVDLowUnencryptedRead .

Actions #2

Updated by AHeinerm almost 16 years ago

IMO fixing something like this should get a lot of games working.

Actions #3

Updated by foldor almost 16 years ago

After viewing the wiibrew page and the DVD API created by Jeff Epler. I think I have
figured out that the exact same code used for DVDLowRead, can be reused for
DVDLowUnencryptedRead. I tried this out, and it does manage to get further when
running the game, but now it gets stuck at DVDLowClosePartition or 0x8c. I am
currently trying to figure out how all of this works, to see if I can create a fix
and will keep this up to date if I make progress. But if any of the developers with a
more intimate knowledge of the Dolphin code want to take a crack at it please do.

Actions #4

Updated by cadiblack almost 16 years ago

great job foldor , keep up the progress. this problem may fix alot of games

Actions #5

Updated by ChaosCode almost 16 years ago

best place to talk to the dev team is on irc efnet server in #dolphin-emu on are new
website click Chat Room.

Actions #6

Updated by XTra.KrazzY almost 16 years ago

  • Status changed from New to Accepted

Keep up the good work, foldor, and don't forget to report as you progress.

Actions #8

Updated by XTra.KrazzY almost 16 years ago

Issue 446 has been merged into this issue.

Actions #9

Updated by rikyskull almost 16 years ago

did you get any further on this issue ? however ,thanks for trying to fix this ;)

Actions #10

Updated by Anonymous almost 16 years ago

Issue 417 has been merged into this issue.

Actions #11

Updated by Anonymous almost 16 years ago

Issue 413 has been merged into this issue.

Actions #12

Updated by XTra.KrazzY over 15 years ago

Issue 562 has been merged into this issue.

Actions #13

Updated by hyperiris over 15 years ago

in r2367, I've submited a fix of IOCTL, but the game still can't boot.

need more research

Actions #14

Updated by bigjeffjohn over 15 years ago

Most definitely.:/

Actions #15

Updated by Anonymous over 15 years ago

still crappy?

Actions #16

Updated by XTra.KrazzY over 15 years ago

Issue 956 has been merged into this issue.

Actions #17

Updated by Anonymous about 15 years ago

someone please test:
Medal of Honor Heroes 2
Okami
Other wii games?

Actions #18

Updated by arslanoglou.georgios about 15 years ago

House of the Dead Overkill still has the same issue in r4017
I guess its an instruction not yet implemented in Dolphin, maybe something to do with
game protection perhaps???

Actions #19

Updated by Anonymous about 15 years ago

  • Status changed from Accepted to Fixed

House of the Dead Overkill hangs because it reads PE Token forever. That is a different
issue.

Actions #20

Updated by XTra.KrazzY about 15 years ago

  • Status changed from Fixed to Work started

WHAT THE HELL?! Unfixed.

Actions #21

Updated by arslanoglou.georgios about 15 years ago

@ godisgovernment
r u sure? here I have posted a log :
http://code.google.com/p/dolphin-emu/issues/detail?id=956&can=1&q=dvdlowseek#c9
from the booting of HoD Overkill, it doesn't seem like an endless loop. And browsing
at the source code, I found that those instructions are not actually implemented...
correct me if I'm wrong, I just want to help as much as I can.

Actions #22

Updated by arslanoglou.georgios about 15 years ago

tried house of the dead overkill with r4384 and now i get this log:
09:05:024 N[BOOT]: Booting D:\WS_thotdo_ntsc.iso
09:05:024 N[OSREPORT]: (PC=812003d8) OSReport:
Apploader Initialized.
09:05:024 N[OSREPORT]: (PC=812003f4) OSReport: This Apploader built Oct 3 2007
10:21:59 for RVL
09:05:727 N[PowerPC]: Flush Instruction Cache! ICE=0
09:05:727 N[PowerPC]: Instruction Cache Enable (HID0.ICE) = 1
09:06:040 E[WII_IPC_STM]: STM immediate: Open
09:06:165 W[WII_IPC_DVD]: DVDLowUnencryptedRead: trying to read out of bounds @ 460a0000
09:06:165 W[WII_IPC_DVD]: DVDLowRequestError status = 0x00052100
09:06:165 W[WII_IPC_DVD]: DVDLowRequestError status = 0x00052000
09:06:165 W[WII_IPC_ES]: IOCTL_ES_DIGETTICKETVIEW: this looks really wrong...
09:06:165 W[WII_IPC_ES]: IOCTL_ES_GETCONSUMPTION: this looks really wrong...
09:06:306 W[CP]: write to PERF_SELECT: 0000
09:06:306 W[Video]: Bad scissor rectangle: 427 427 1 1
09:09:071 W[FileMon]: 456 kB w_stock_revhbm_common.rev
09:09:212 W[Wiimote]: IR Enable 0x1a: 0x02
09:11:321 W[Wiimote]: IR Enable 0x13: 0x06
09:11:743 W[Wiimote]: IR Enable 0x1a: 0x06

More messages that perhaps can show the reason behind this game not booting...

Actions #23

Updated by AHeinerm about 15 years ago

It looks like Okami works with unlimited JIT cache. Unfourtinately, you can't exactly
see anything but the overhead display. The in-game menu is also buggy, displaying
graphics in the wrong positions. Tested with r4388 release build with "/d" commandline.

Actions #24

Updated by Anonymous about 15 years ago

  • Status changed from Work started to Fixed

@ arslanoglou
i'm sure...
these logs:
30:00:171 W[WII_IPC_DVD]: DVDLowUnencryptedRead: trying to read out of bounds @
460a0000
30:00:171 W[WII_IPC_DVD]: DVDLowRequestError status = 0x00052100
30:00:171 W[WII_IPC_DVD]: DVDLowRequestError status = 0x00052000
are normal. That's one of the ways the game checks to see if it's running on a
modchip'd/modified system.

afaik, /dev/di emulation is correct (as far as games use it, anyways), feel free to
prove me wrong.

Actions

Also available in: Atom PDF