Project

General

Profile

Actions

Emulator Issues #1786

closed

Tales of Graces - Work only in software mode ,maybe openGl/d3d file handler problem ?

Added by chuvit almost 15 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

First set wii system language to Japanese

OpenGl

.
.
43:57:717 W[WII_IPC_DVD]: DVDLowUnencryptedRead: trying to read out of
bounds @ 460a0000
43:57:717 W[WII_IPC_DVD]: DVDLowRequestError status = 0x00052100
43:57:717 W[WII_IPC_DVD]: DVDLowRequestError status = 0x00052000
43:57:717 W[WII_IPC_ES]: IOCTL_ES_DIGETTICKETVIEW: this looks really
wrong...
43:57:717 W[WII_IPC_ES]: IOCTL_ES_GETCONSUMPTION:0
43:57:717 W[Video]: Failed to get video for this frame
43:57:732 W[WII_IPC_FILEIO]: FileIO: Open failed - File doesn't
exist ./User/Wii/title/00000001/00000002/data/play_rec.dat
43:57:779 W[Video]: Failed to get video for this frame
43:57:810 W[Video]: Failed to get video for this frame
43:57:857 W[Video]: Failed to get video for this frame
43:57:873 W[CP]: write to PERF_SELECT: 0000
43:57:904 W[Video]: Failed to get video for this frame
43:57:920 W[Video]: Failed to get video for this frame
43:57:920 W[CP]: (r16) unknown CP reg @ cc000052
43:57:920 W[CP]: (r16) unknown CP reg @ cc000050
43:57:920 W[CP]: (r16) unknown CP reg @ cc000052
43:57:920 W[CP]: (r16) unknown CP reg @ cc000056
.
.

Software
.
.
.
50:00:467 W[WII_IPC_DVD]: DVDLowUnencryptedRead: trying to read out of
bounds @ 460a0000
50:00:467 W[WII_IPC_DVD]: DVDLowRequestError status = 0x00052100
50:00:467 W[WII_IPC_DVD]: DVDLowRequestError status = 0x00052000
50:00:467 W[WII_IPC_ES]: IOCTL_ES_DIGETTICKETVIEW: this looks really
wrong...
50:00:467 W[WII_IPC_ES]: IOCTL_ES_GETCONSUMPTION:0
50:00:482 W[WII_IPC_FILEIO]: FileIO: Open failed - File doesn't
exist ./User/Wii/title/00000001/00000002/data/play_rec.dat
50:01:482 W[FileMon]: 86 kB Strap/Strap_ja.slz
50:47:435 W[FileMon]: 0 kB SysSub/HomeButtonEmbargoIcon.txm
50:47:451 W[FileMon]: 12 kB SysSub/HomeButtonEmbargoIcon.txv
50:47:451 W[FileMon]: 87 kB Strap/BootLogo.slz
50:47:467 W[FileMon]: 805,846 kB rootR.cpk
50:47:529 W[FileMon]: 1,248,407 kB map0R.cpk
50:47:873 W[FileMon]: 635,415 kB map1R.cpk
50:48:029 W[FileMon]: 805,846 kB rootR.cpk
.
.
.

Actions #1

Updated by chuvit almost 15 years ago

Just wonder if OpenGl/D3D ever check system language to open file

Actions #2

Updated by Sheena.Fujibayashi almost 15 years ago

just thought i would point out that you must also disable dual core to pass the first
warning screen...

Actions #3

Updated by Xtreme.Starfox almost 15 years ago

I can get past the First Warning screen with Dual core, I still get like 8 FPS though.

Actions #4

Updated by Sheena.Fujibayashi almost 15 years ago

Ah right, it can be passed with dual core. My bad. It's strange though, i couldn't
get pass it before with dual core enabled. Now I can, but it's extremely slow.

Anyway, somehow I think this issue is the same as mysims racing.

Actions #5

Updated by chuvit almost 15 years ago

look like there maybe some loop in opengl/d3d or common video . that software mode
does not use.and that loop like run forever and prevent to load any file further

Actions #6

Updated by chuvit almost 15 years ago

after compare CommandProcessor process in Both OGL and S/W it same for awhile after
exact point in CTRL_REGISTER it STOP in OGL but continue in S/W. Don't know what
happen.

Actions #7

Updated by chuvit almost 15 years ago

with svn below 4699

CommandProcessor in VideoCommon

write16 / case CTRL_REGISTER:

		if(_Value == 0x17 || _Value == 0x16)
		{
			//m_CPCtrlReg.CPIntEnable = 0;
			tmpCtrl.CPIntEnable =0;
			m_CPCtrlReg.CPIntEnable = 0;
			tmpCtrl.BPEnable =1;
		}

		if ((!m_CPCtrlReg.CPIntEnable && tmpCtrl.CPIntEnable) || 

(m_CPCtrlReg.CPIntEnable && !tmpCtrl.Hex))
{
m_CPStatusReg.Breakpoint = 0;
Common::AtomicStore(fifo.bFF_Breakpoint, 0);
}

use this hack can open silent hill without disable rising edge and can open this
game and some other black screen game.

Actions #8

Updated by chuvit almost 15 years ago

patch to make this game run in svn 4706

Actions #10

Updated by chuvit almost 15 years ago

my patch for 4716

Actions #11

Updated by bztdlinux almost 15 years ago

  • Status changed from New to Accepted

XK, stop marking these things GameIssue. It's not closed.

Actions #12

Updated by death2droid almost 15 years ago

It is a specific issue with a game so why shouldn't it be a Game issue ?

Actions #13

Updated by chuvit almost 15 years ago

my code copy behavier of software fifo
I just compare ogl/d3d write16 and software write16 log

and see the difference when write get value 16 and 17 it send difference result

so I make it send same result and it can open game.

this is what I say about something wrong in ogl/d3d file I/O

Actions #14

Updated by chuvit almost 15 years ago

after game open when go to cut scene

it has error about JIT: compiling outdated code

so I don't use Read_Opcode_JIT_LC,Read_Opcode_JIT,Write_Opcode_JIT well actually I
replace the old memmap with the new one so it can pass with no error

and it can play Monster Hunter 3 ,and other game that has error JIT: compiling
outdated code too

Actions #15

Updated by chuvit almost 15 years ago

when playing this game there sound glitch when cpu use 100%.
when cpu 100% stream sound stop playing and make constant noice.

so I change soundstream

int numBytesToRender = FIX128(ModBufferSize(currentPos - lastPos));

to

int numBytesToRender = FIX128(ModBufferSize(currentPos - lastPos));
if (numBytesToRender >= 1024)
numBytesToRender = 1024;

limit size of render to the lowest possible. then it can render sound with out
problem and not out of sync since it not large.if not limit when cpu 100%
numBytesToRender will become very large ,long time to render and easy out of sync
and it stop + make noise

Actions #16

Updated by chuvit almost 15 years ago

sorry I mean

compare write16 with software and hardware when get value 16 and 17

CPIntEnable,BPEnable

is diffence so I set it the same as software.and it work.

Actions #17

Updated by chuvit almost 15 years ago

4716 without watchdog and something not related to the fix

Actions #18

Updated by daco65 almost 15 years ago

@bztdlinux : find a game in which the issue happens as well and it might not be a
gameissue
but to me, it looks like a gameissue as well

not setting it as gameissue cause you'd change it back anyway

Actions #19

Updated by chuvit almost 15 years ago

http://forums.dolphin-emu.com/thread-4590-page-1.html
http://forums.dolphin-emu.com/thread-5799.html

there some games that can boot in s/w plugin but cannot boot in ogl/d3d plugin

Actions #20

Updated by chuvit almost 15 years ago

I asked people to test "the House of the dead- overkill"

and yes this patch can open it too but the original can't.
I think it has the same problem.

Actions #21

Updated by chuvit almost 15 years ago

there a lot of report for this game in this issues tracker

and you can see the pic now

Actions #22

Updated by chuvit almost 15 years ago

patch to make game run

Actions #23

Updated by chuvit almost 15 years ago

X-Men Origins : Wolverine --- Also Run with this patch (Not Boot in original)

Actions #24

Updated by gamerzhang almost 15 years ago

chuvit,my build is not watchdog.can you gave me?thanks

Actions #25

Updated by chuvit almost 15 years ago

this is only need

Actions #26

Updated by chuvit almost 15 years ago

Trauma Center New Blood - works too

Actions #27

Updated by chuvit almost 15 years ago

mario power tennis (wii) also works

Actions #28

Updated by ayuanx almost 15 years ago

Committed in r4762, can we close this now?

Actions #29

Updated by Xtreme.Starfox almost 15 years ago

r4762 crashes at the first Anime cutseen which is about 5 minutes into the game.

Which doesn't happen in spellforce/chuvit's newest patched Builds.

Actions #30

Updated by chuvit almost 15 years ago

sorry ,But I think you can close now.The hang of this game is not related to fifo/CP.
it just JIT

Actions #31

Updated by ayuanx almost 15 years ago

  • Status changed from Accepted to Fixed
Actions

Also available in: Atom PDF