Dolphin, the GameCube and Wii emulator - Forums

Full Version: Fatal Frame 4: Mask of the Lunar Eclipse - Zero: Tsukihami no Kamen.
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45
I traced one of the audio / video sync problems to r4830 (http://code.google.com/p/dolphin-emu/sou...ail?r=4830).

The "loosening" of the frame limiter caused the video to go ahead of the audio during pretty much any dialogue/cutscene/movie.

So the fix is just to revert this part of the revision in Core/Core.cpp:
Code:
        // Make the limiter a bit loose
        u32 frametime = DrawnVideo * 1000 / ++TargetVPS;
        while ((u32)Timer.GetTimeDifference() < frametime)
            Common::YieldCPU();
            //Common::SleepCurrentThread(1);
    }

    // Update info per second
    u32 ElapseTime = (u32)Timer.GetTimeDifference();
    if (ElapseTime >= 1000)
    {
        SCoreStartupParameter& _CoreParameter = SConfig::GetInstance().m_LocalCoreStartupParameter;

        u32 FPS = Common::AtomicLoad(DrawnFrame) * 1000 / ElapseTime;
        u32 VPS = --DrawnVideo * 1000 / ElapseTime;

The lines of interest:
u32 frametime = DrawnVideo * 1000 / [color=red]++[/color]TargetVPS;
u32 VPS = [color=red]--[/color]DrawnVideo * 1000 / ElapseTime;

Delete the parts in red. Video and audio in sync again! Yay. Smile

This doesn't fix the inexplicable slowdown during the intro (where the game runs at about 85% for no real reason) - that seems to be something else entirely. For what it's worth, I don't experience that particular slowdown anymore ever since using the x64 build + regular JIT, but I do experience it using JITIL.
huh? since when have there been desyncs? I wasn't able to play it the last few weeks, but before I played just fine and no desyncs.
(03-05-2010, 04:49 AM)StripTheSoul Wrote: [ -> ]huh? since when have there been desyncs? I wasn't able to play it the last few weeks, but before I played just fine and no desyncs.

I've personally noticed a consistent desync on two systems. It's not something that got worse over time, just a constancy of the video being ahead of the audio by X amount of time. Making the change above fixed it for me but your mileage may vary.

edit: again, I only started noticing it from r4830 onward.
I think i only got an an itsi bitsi desync on the intro when using jitIL experimental recompiler, in the normal jit recompiler it didn't happen.
that goes for 5xxx revs. not a big issue... the game runs fine for me.
(02-25-2010, 05:28 AM)nosound97 Wrote: [ -> ]Well, there are some parts where you need to shake the controller when a ghost attacks you. Also you need pitch up & pitch down to control flashlight. Other than that, you can play the game with any regular controller.

Thanks Blush

atomsk

I have a weird lighting (texture?) problem if I use OGL. Faces get ...errhm... blocky, which is sort of convinient I might say, cause beside the game by itself it looks quite eerie:
http://img189.imageshack.us/img189/3912/r4zj011.jpg
http://img193.imageshack.us/img193/6761/r4zj012.jpg

So far tried on 4697, 4823 and a bunch 5xxx revisions with no differences whatsoever.

The thing is... With D3D plugin FF4 stutters on loadings (doors) and in some cutscenes (just a bit), but for some reason runs totally smooth on OGL.

This is probably due to my old graphic card (x1950), but maybe somebody delt with the same problems?

System:
Win XP SP3 32-bit
ASUS ATI x1950
E6550 C2D OCd to 3.1 GHz
2 GB ram

Dolpin settings:
I think, I've tried everything x_x
i also have short single loading stutters every time the camera changes (like at doors or in cut-scenes). I think it even got less after the shader cache was introduced in dolphin. OpenGL ran smoother, yes...however, it somehow looks meshy...the graphics look much crisper for me with dx9.
(all i say refers to dolphin state a months ago...couldn't play since then)

atomsk

Well, mamario's r5163 helps with stuttering. Not like it's all gone now, but certainly better.
Guys please help me with emulation. Whichever build I try to use the game won't start at all. The following error appears and program crashes: virtual c++ runtime library - Runtime error!
I didn't have such problems with other games...

xZabuzax

(03-13-2010, 01:26 PM)Chris85 Wrote: [ -> ]Guys please help me with emulation. Whichever build I try to use the game won't start at all. The following error appears and program crashes: virtual c++ runtime library - Runtime error!
I didn't have such problems with other games...

I also had this issue when i "ripped" the iso from my original game disc.

To fix this problem you have to...errrr "re-rip"
the game again from another disc you have bought... if you know what i mean...
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45