-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG]: Pride FC - Fighting Championship | Missing text and textures in Hardware and Software render modes. #7642
Comments
Pride FC is also mentioned in #1562 |
It is COP2 rounding issue. Game run this sequence: vf06z = 0x3f800000 vmulax.xyzw ACC,vf04,vf08x After last opcode value in vf09z is always off by one bit. That's enough to break game. Value is still correct after vmaddaz. Function in game which produce wrong result is at 0x1340D0 for US version of game. Edit: Added patch with explanation. // Preserve z instead of multiplying by 1 when conditions are met. patch=1,EE,000fffcc,word,84cf000a // load upper 16 bits of z from vector patch=1,EE,001340d0,word,0803fff0 // jump to preserve z Alternative can be hack in emu code to do move instead of add if value is added against 0. Because that seems to give that wrong result, not multiply itself. But this is just one game, patch can be better solution. |
where is it added against zero? Is there a way we can track when that's the case? because the problem I foresee is being able to know that it's zero at runtime (we don't wanna be checking the value if it's zero live, this would be slow). |
I see, the annoying thing is multiplication by 1 on the PS2 isn't guaranteed to be the same result, either, depending on which is the non-one value. |
Ages ago there was semi soft float mul implementation for FPU in pcsx2 codebase, this could fix issues like that. Assuming that VU have similar guardbits mess like FPU, and that implementation is accurate enough. 00f14b5 Commit that removed "softfloat" mul for FPU. Gonna be pain to implement for VU, just like accurate ADD/SUB. |
That looks gross :P But yeah we're gonna need some sort of soft float type system eventually, but that's for future refraction to worry about, right now patches are fine :P |
Describe the Bug
Pride FC has missing text and textures on the character select screen in both hardware and software modes, Wiki is empty of any test results.
Reproduction Steps
Open a submenu or select a character.
Expected Behavior
(Screenshots taken from a youtube video)
PCSX2 Revision
v1.7.3751
Operating System
Windows 11
If Linux - Specify Distro
.
CPU
i7-7700
GPU
GTX 1060 6GB
GS Settings
Emulation Settings
GS Window Screenshots
.
Logs & Dumps
HW mode GS Dumps:
Pride FC - Fighting Championship GS Dumps.zip
SW mode GS Dumps :
Pride FC - Fighting Championships - GS Dumps (Software mode).zip
The text was updated successfully, but these errors were encountered: