pcsx2 icon indicating copy to clipboard operation
pcsx2 copied to clipboard

[BUG]: Star Wars - The Clone Wars - Republic Heroes: Bugged intro FMV.

Open ghost opened this issue 3 years ago • 7 comments

Describe the Bug

In the game "Star Wars - The Clone Wars - Republic Heroes", there is a bug where the intro movie will start glitching out at a precise point during the FMV sequence.

I tested all the way down to 1.4, the problem was still there.

Reproduction Steps

Load the blockdump and savestate in order to see the FMV glitching out by itself during the playback.

Expected Behavior

The FMV should work all the way up to the end.

PCSX2 Revision

v1.7.2254 and QT part 4 PR

Operating System

Windows 11

If Linux - Specify Distro

No response

CPU

I9 9900K

GPU

RTX 3070

GS Settings

No response

Emulation Settings

No response

GS Window Screenshots

The bug in action:

Capture d’écran 2022-01-21 205520

Logs & Dumps

Blockdump + savestate: https://drive.google.com/file/d/1V8DVXdrh0-OOcMIhDSg4JWdq1VNgPtub/view?usp=sharing

ghost avatar Jan 21 '22 20:01 ghost

This can be "fixed" by increasing the EE Cycle rate.

refractionpcsx2 avatar May 29 '22 20:05 refractionpcsx2

This is not IPU related issue. Game use BINK decoder, which use own codec that is not running on IPU at all. Game setup custom INTC handler for counting Vblank starts, and when video play nothing is done unless at least 2 vblanks passed. Removing that check allow videos to play correctly, so is most likely timing related. Specially that increasing cycles helps too. This is probably optimization for real hardware to not overuse EE resources.

Goatman13 avatar Jun 03 '22 14:06 Goatman13

oh is it another one of these games which loops on checking the INTC_STAT for VBlanks but misses them because they get absorbed before it see it, cos this is a common problem (Since we fire interrupts wihtin 4 cycles, which is shorter than the usual loop)?

refractionpcsx2 avatar Jun 03 '22 14:06 refractionpcsx2

Yeah, can be. Game custom handler add 1 to counter only if vblank is detected, so missing few can be issue here.

Goatman13 avatar Jun 03 '22 14:06 Goatman13

I tried delaying it 16 cycles instead of 4 and it didn't make any difference :( So I guess something else is going on

refractionpcsx2 avatar Jun 03 '22 15:06 refractionpcsx2

I can confirm this is still an issue on v1.7.5540 (Manjaro Flatpak; NTSC-U; GTX 1070; Vulkan renderer).

TheTechnician27 avatar Feb 04 '24 22:02 TheTechnician27