mupen64plus / mupen64plus-core

Core module of the Mupen64Plus project
1.31k stars 257 forks source link

Conker's Bad Fur Day odd timing issues. #626

Open retrobenny opened 5 years ago

retrobenny commented 5 years ago

On Android,when using Count Per Operation of 1 which usually didn't run into this issue,playing the chapter named "Sweet Melody" can often-times desync the audio cues regardless whether or not time stretching is enabled,making this potentially a core issue with the 64bit core or an issue with other parts added to it such as DMA speeds maybe,if the original DMA speed was different. (use "weldersbench" as a cheat to access all chapters)

The issue happens when either the singing voice plays endlessly after the cutscene,locking you out of attacking the boss or even without the singing part if you skip the first scene,where in both conditions if you pause,the music will still be playing. Normally this problem would only happen frequently when using a 60fps cheat but now its happening cheatless at 30fps for some reason.

Here is one of many options for 60fps access in Conker's Bad Fur Day via a cheat. This requires Count per operation of 1 in order to sustain 60fps at all.

Sixty Frames 80004FB7 0001 8103B238 0000 First line changes ASM to make 60fps possible and second line forces it to always use 60fps regardless of slowdowns which may increase the chances of bugs happening.

I don't use the 60fps code because of the guaranteed issues,but its strange that even forced 30fps without cheats also runs into a few of the same issues now.

retrobenny commented 5 years ago

Also,here is the code I named lagfix in order to completely avoid any fps slowdowns where it locks to 30fps under load but not related to your hardware.

Lagfix 8102ABA2 0D0D Messes with the VI scanline amount as a method of essentially overclocking.

Strangely,the first time I just tested "Sweet Melody" at 60fps,I managed to get no timing issues for the entire fight but after that I kept getting the timing issues accustomed to the 60fps code.

(really salty about Giyhub's broken edit button when on Android in a browser on my SATV Pro)