Emulator Issues #408
DVD IOCTLs are Buggy on Wii Games
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.
The highlighting will show you the DVDLowUnencryptedRead code.
Hope this helps!
#3 Updated by foldor over 12 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.
#21 Updated by arslanoglou.georgios over 11 years ago
r u sure? here I have posted a log :
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.
#22 Updated by arslanoglou.georgios over 11 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:
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...
#24 Updated by Anonymous over 11 years ago
- Status changed from Work started to Fixed
30:00:171 W[WII_IPC_DVD]: DVDLowUnencryptedRead: trying to read out of bounds @
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
afaik, /dev/di emulation is correct (as far as games use it, anyways), feel free to
prove me wrong.