Project

General

Profile

Actions

Emulator Issues #1911

closed

Eternal Darkness - loop prevent game from booting

Added by chuvit over 14 years ago.

Status:
Duplicate
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

in commandprocessor.cpp (video common)

while (fifo.bFF_GPReadEnable && fifo.CPReadWriteDistance && !
fifo.bFF_Breakpoint)
s_fifoIdleEvent.MsgWait();

to

//while (fifo.bFF_GPReadEnable && fifo.CPReadWriteDistance && !
fifo.bFF_Breakpoint)
// s_fifoIdleEvent.MsgWait();

can go to menu and start the game but no fps after that only sound can
play.maybe another loop...


Related issues 1 (0 open1 closed)

Is duplicate of Emulator - Emulator Issues #1076: Eternal DarknessFixedskidau

Actions
Actions #1

Updated by chuvit over 14 years ago

fixed in 4759

Actions #2

Updated by justnews over 14 years ago

not fixed as Eternal Darkness still doesnt boot.

Actions #3

Updated by justnews over 14 years ago

Ok thats not completely true, its does boot in interpreter mode but its extremely
slow only 2-3fps not only that it get stuck in an audio loop
it just keeps repeating the Edgar Allen Poe quote when you first boot the game, when
you press start the screen goes black but the menu doesnt show and the only way
to stop the sound is to quit the game with the stop button.

Actions #4

Updated by johnsmusicbox over 14 years ago

It would be a miracle if someone could get this to work. Anyone who has never played
through this game, you owe it to yourself to do so, one way or another. It's an
experience you'll never forget...

Actions #5

Updated by justnews over 14 years ago

Dude i've been trying/begging for someone to take a look at this game and make it
work for ages now without success,
i know the devs are extremely busy not just with this project but with real life as
well but since its been broken since about r712
i would have thought somebody could have taken sometime to have a go at fixing the
problem after all there always fixing troubles with SSBM,Zelda or SMG,
but hopefully one day we will get to play Eternal Darkness with Dolphin.

Actions #6

Updated by db.fan.2008 over 14 years ago

I have spent days debugging this game, but the code is hard to understand, and I
can't get anything concrete, with the latest changes in commandprocessor.cpp chuvit's
changes are not working and i can't get the menu anymore, only Dolphin hangs in the
Nintendo logo if you commented this loop:

while (fifo.bFF_GPReadEnable && ((!fifo.bFF_BPEnable && fifo.CPReadWriteDistance) ||
(fifo.bFF_BPEnable && !fifo.bFF_Breakpoint))).

i am a c++ programmer but Dolphin code is confusing to me sadly is everything i can
do, but I will keep trying. if anybody has a clue of what is the problem please tell us.

Actions #7

Updated by justnews over 14 years ago

Thanks for at least trying mate, as i said before i've only just started to learn
c++ myself through books and at the moment i'm getting major headaches trying to
understand constructors and deconstructors within classes so its gonna be quite a
while before i can help with anything. I will keep my fingers crossed and hope
you have a break through with this game.

Actions #8

Updated by chuvit over 14 years ago

actually with the svn 4778

while (fifo.bFF_GPReadEnable && ((!fifo.bFF_BPEnable && fifo.CPReadWriteDistance) ||
(fifo.bFF_BPEnable && !fifo.bFF_Breakpoint)))

this game out of sync very easy if it have a loop here, loop only two round and the
game out of sync and stop.

IF (fifo.bFF_GPReadEnable && ((!fifo.bFF_BPEnable && fifo.CPReadWriteDistance) ||
(fifo.bFF_BPEnable && !fifo.bFF_Breakpoint)))

change it to 'IF' only delay for one round can go through

when go to the menu I try to load save game and it not work ,start new game it will
hang some where in the open scene, I put delay in fifo loop try to make it sync and
it can go to the end of open scene but after that it stop again.

I don't know but it maybe the sync problem I guess

Actions #9

Updated by db.fan.2008 over 14 years ago

hey chuvit, thanks, now i can get the menu in the new revisions.

maybe this can help:

when i Start a new game with HLE plugin Dolphin hangs here:

http://i48.tinypic.com/qn39ki.jpg

and when i Start a new game with LLE plugin Dolphin hangs here(a few seconds after.):

http://i48.tinypic.com/35i90qv.jpg

chuvit, please, you can post your changes in fifo loop?
maybe we can discover something and solve the sync problem .

Actions #10

Updated by ayuanx over 14 years ago

@chuvit, from your description I think I know why it hangs.
Simple using Single Core Mode without any patch could get you pass.

Or this patch could get you pass in Dual Core Mode.

And I believe this patch could also make Metroid Prime 1/2 work in dual core mode.

Actions #11

Updated by chuvit over 14 years ago

ayuanx, It not work..
anyway more thing to say about this game.
frame limit must be auto ,any other setting cannot boot.audio throttle maybe not
neccessary.

Actions #12

Updated by chuvit over 14 years ago

oh single core more cannot boot too with or without patch.any of my change cannot
boot in single core mode.

Actions #13

Updated by justnews over 14 years ago

How are you people getting in game? i cant at all, it just goes into a sound loop at
the first screen with the quote and thats in interpreter selected
if i try with normal recompiler(jit) it doesnt even boot i just get a black screen.
what version are you using and with what settings.
I'm trying all this with R4778 x64 with windows 7 x64.

Actions #14

Updated by chuvit over 14 years ago

@db.fan.2008

void UpdateInterruptsFromVideoPlugin(bool active)
{
g_VideoInitialize.pScheduleEvent_Threadsafe(0, et_UpdateInterrupts, active);
Sleep(55);
}

for testing purpose I just put "Sleep" here to make picture sync with the sound the
value maybe depends on computers if the picture some kinda change before sound end
it hang...

Actions #15

Updated by chuvit over 14 years ago

after some tests ,maybe you not have to put sleep . Change frame limit to auto
before execute game but before start a new game just change frame limit to 10 you
can go more ,but still hang..

Actions #16

Updated by justnews over 14 years ago

Got any further in making this brilliant game playable yet?

Actions #17

Updated by db.fan.2008 over 14 years ago

@justn
you can read in the Dolphin official forum, you can pass the book open scene, after
that the emulator hangs/crash i think.

Actions #18

Updated by chuvit over 14 years ago

Not related but for testing mp2

Actions #20

Updated by justnews over 14 years ago

what does it mean when you mark it as gameissue? does it mean there fault is with
the game if so how comes it actually works on a real gamecube.

Actions #21

Updated by ayuanx over 14 years ago

  • Status changed from New to Duplicate
Actions

Also available in: Atom PDF