Open gregory38 opened 8 years ago
So I implemented something for one of the half-screen bug. Now it is time for you to work :+1:
If it works well, it would replace some CRC hack and we will enable it by default. I would need that you test those game with the following config
UserHacks_ColorDepthClearOverlap = 1
You can compare with CRC set to minimal which is correct.
Here a list of games that are for sure impacted by the change
Extra (seem to contains several CRC hacks so might be harder to see)
Ty The Tasmanian Tiger works great with the hack in both D3D and OGL, didn't notice any change with old CRC hack.
Simpsons game also works great with the hack on DX and OGL :) . Annoying thing on there though (very unrelated but thought I'd mention it) when upscaling, the half pixel offset stops the cell shading being outside the characters but only horizontally, the vertical is still off, not sure why.
Ok. It is a good start. Maybe the game uses a different HPO on the Y axis (already have enough on my plate :p )
That's fine, I was just planting the seed for possible future things to look in to, it isn't important :P
@refractionpcsx2 Can you share a GS Dump of The Simpsons Game?
Sure, here you go: http://www.filedropper.com/simpsons-offset
I think i had the half pixel offset on in this, hence the screenshot.
In hardware mode I can only see the contents of the dump for two short flashes when I resize or open the window. Otherwise it stays completely black. :S
:/ might need to do a longer dump then...
@FlatOutPS2 Here's a longer dump for you done in SW mode: http://www.filedropper.com/simpsons-offsetlong
Thanks, that dump works great. But I don't really see the issue. The cel-shading looks fine vertically with the HPO hack.
Try native x3, homer has two lots of hair on the side of his head
Yes, he seems to have one brown and one black. But it looks the same on native/SW mode, only the lines are thinner at higher than native resolution.
Delta Force: Black Hawk Down seems fixed by hack. Shadows flicker, but that's probably another problem.
@AmbientMalice does the shadow flicker if you enable the CRC ?
You mean CRC Hack Level? Makes no difference. Here are the shadows for reference.
You mean CRC Hack Level? Makes no difference.
Perfect. First goal is to replace various CRC with a generic code that will always be enabled.
For the shadow, I suspect a color shuffling effect wrongly detected due to a sub frame/depth buffer. Low priority.
It could be CRC hack for an issue that only affects certain missions though.
I pushed the code for a generic function in #1579 Hopefully we could reduce a bit the huge list above :)
I merged my commit to handle some half-screen bugs. The guy that generates me this huge list can test all of them :p
Someone said Mercenaries was better. I would like a confirmation. And someone to test the 2 too.
I can confirm that both mercenaries games are indeed fixed.
Did the mercenaries games have the half-clear(bottom half of the screen not getting cleared properly) issue?
They got an half screen issue. Previous clear function didn't help but now the code is more generic so it likely helps.
xmen origins wolverine is not fixed, so something else is going on there.
Gun fighter 2 also fixed. :+1:
Ford Racing 2, Killzone, NFS Underground 2 and WRC half-screen issues are all still there.
Destruction Derby still has the half screen issue too
Destruction Derby still has the half screen issue too Killzone confirmed still broken. Getaway also still broken.
Where does The Getaway have the issue?
as soon as you go in to "new game" and the intro starts, you get the lighting cut off half way through the screen
You mean The Getaway Black Monday?
Yeah, sorry, didn't realise there was more than one :P
It's the US version I've got.
A few more still broken ones: 007: Everything Or Nothing (MI6 training) Crash Twinsanity FIFA games (2006 onwards) Need For Speed Hot Pursuit 2 Tekken5 (heat effect burning temple) Total Immersion Racing(fog in wet races)
Some other games still affected: Killzone NFS Carbon (if it is half screen issue, seems a bit different) NFS Underground NFS Underground 2 (also shadows seem incorrect in HW mode) TOCA Race Driver 3 (in distance when it is rain) but broken menus in HW mode are probably fixed
NFS Carbon (if it is half screen issue, seems a bit different)
Looks like a normal half-screen issue to me.
I updated the first post a little to show the games that are confirmed to still have the issue, so we don't keep checking the same games.
@prafullpcsx2 could you retest X-men origins - wolverine
Edit: if it is still broken could you generate me a gs dump. Thanks.
Although God of War 2 is fixed now Xmen is still messed up. It seems to have separate half screen issues in menu as well as ingame (may be same). Here is gsdump of both. http://www.filedropper.com/xmenorigins
@FlatOutPS2 Here are screenshots. I am not sure if it is related at all, but I can somehow see some horizontal plane there. (see screenshot, I highlited it on one of them) Also the game is green in HW mode. I think it's a known issue. Also I have no idea why the screenshots are stretched. SW mode
@prafullpcsx2 thanks you. Fix pushed.
@gregory38 Good job. It works fine now :+1:
MGS3 codec still has the issue.
@FlatOutPS2 PAL version, I assume?
Yes, it only affects PAL versions as far as we know.
I happened to find a demo of Gunfighter II, and tried it with the latest git and it still showed the half-screen issue. @prafullpcsx2 Can you check if it's still fixed?
@FlatOutPS2 : Sorry I didn't notice your comment. I rechecked Gunfighter II today and yes it's fixed.
Can someone test Superman Returns? Seems to show the bug in #934 but haven't tried it to find out. Would like to add it to the "resolved" list, just for informational purposes.
Call of duty World at War : Final Front is also fixed.
Judge Dredd has also been fixed.
World War Zero has been fixed partially, the initial half-screen issue was hiding another that is not fixed. :p
Can anybody confirm if #318 (Price of Persia: Warrior Within) needs to be added here? According to the issue, the bottom half of the screen has greenish tint on OGL HW
As that issue is a few months old, I asked if the issue is still active over there.
Let's list all games impacted. This way it would be easier to check any potential implementation.
Games confirmed still have the HW half-bottom screen issue:
Games unconfirmed if recent fix solved the issue:
Games confirmed to be have been resolved:
Extra
Related #2022