-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Fixed false-positive image reuploads #1557
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
Fixed false-positive image reuploads #1557
Conversation
This fixes half of false-positive image re-uploads. The one we can easily detect. The other half is a lot more complicated to spot so will be out of scope of this PR. |
bd5c672
to
34bc350
Compare
Will this get merged soon ? I wonder if #1451 helps with the remaining buggy textures 🤔 |
b940e53
to
05ae3ef
Compare
The latest commit should solve remaining issues in a non-hacky way. |
Thank you! Did some rounds of testing with Bloodborne in an heavy area that would produce rainbow corruptions after hitting enemies very fast, haven't seen any so far. If this doesn't regress other games I would merge soon 👍 |
Tested through Central Yharnam, killed every enemies like I did last time, not a single rainbow, will try a few more runs but usually I get at least 1, this is amazing work ! |
Played about ca. 45 minutes, I could not find any rainbow/metallic/grey textures. Looks very good. |
2b820c5
to
2b9c17e
Compare
Couldn't capture it since it was quick but while hitting an enemy he turned rainbow for a second until I hit him again, beside that didn't see any other rainbows |
I've seen this too, thought I fixed it with hash initialization. Seems not. |
This has been going on for quite some time. Even before the blackness/rainbow fix and with mod from Nexus fix. It's just very rare and hard to pay attention to. By the way, the rainbow effect on enemies, happens even in the version with the hack. Short. But still. |
2b9c17e
to
c24476c
Compare
c24476c
to
0301af9
Compare
0301af9
to
1772826
Compare
Killed everyone in Central Yharnam like usual, not a single rainbow, this might be the one, I'll try a few more times to make sure but it's looking good ! |
* Fixed false-positive image reuploads * Fixed userfaultfd path, removed dead code, simplified calculations * oopsie * track potentially dirty images and hash them * untrack only first page of the image in case of head access * rebase, initialize hash, fix bounds check * include image tail in the calculations
* Fixed false-positive image reuploads * Fixed userfaultfd path, removed dead code, simplified calculations * oopsie * track potentially dirty images and hash them * untrack only first page of the image in case of head access * rebase, initialize hash, fix bounds check * include image tail in the calculations
This reverts commit 18a36c5.
* Fixed false-positive image reuploads * Fixed userfaultfd path, removed dead code, simplified calculations * oopsie * track potentially dirty images and hash them * untrack only first page of the image in case of head access * rebase, initialize hash, fix bounds check * include image tail in the calculations
* Fixed false-positive image reuploads * Fixed userfaultfd path, removed dead code, simplified calculations * oopsie * track potentially dirty images and hash them * untrack only first page of the image in case of head access * rebase, initialize hash, fix bounds check * include image tail in the calculations
Should fix half of the rainbow artifacts in BloodBorne.
Big thanks to @raphaelthegreat and @psucien for helping debug and fix this.