ThirteenAG / WidescreenFixesPack

Plugins to make or improve widescreen resolutions support in games, add more features and fix bugs.
https://thirteenag.github.io/wfp
MIT License
2.34k stars 222 forks source link

Mafia 1 Shadows and Blood Decals constantly flicker no matter what #1022

Open ahmadmmsadeghi opened 2 years ago

ahmadmmsadeghi commented 2 years ago

Everything else on the Mafia 1 widescreen fix seems to be fine, but the Shadow and Blood decals constantly flickering hurts my eyes. Even if you turn off shadows in settings, the blood decals will still continue to constantly flicker. I tried the enbconverter dll file and that fixes the constant flickers, but then you won't be able to use the widescreen fix at all. The game is unplayable without either of these mods, and you can't use them both together. Please fix, this game is my all time favorite.

ThirteenAG commented 2 years ago

Mafia fix already has d3d8to9 enabled by default.

ahmadmmsadeghi commented 2 years ago

Mafia fix already has d3d8to9 enabled by default.

But that doesn't seem to work for the Shadows and Blood Decals. Take a look at it yourself if you don't believe me. There are also a whole bunch of other people who have the same issue when using the widescreen fix (on GOG and Steam forums).

ThirteenAG commented 2 years ago

I don't know what the supposed difference between two converters supposed to be?

You can always rename d3d8.dll to dinput8.dll for example.

ahmadmmsadeghi commented 2 years ago

Ok! So I just renamed your d3d8.dll from widescreen fix to dinput8.dll as you said, and then added enbconverter's d3d8.dll file also (so now both files are there), and that seems to have fixed it. What can you do for the Widescreen Fix d3d8.dll so it wouldn't need enbconverter's also to fully fix the game? I'm sure a lot of other people will have my problem and won't see this solution.

Aside from all of this though, thank you so so much for doing all these fixes! You are doing a huge contribution towards games preservation.

ThirteenAG commented 2 years ago

I don't know exactly why this happens, perhaps it's worth mentioning in d3d8to9 repo. Could you create an issue with comparison video or something between enb's thing and d3d8to9?

https://github.com/crosire/d3d8to9/issues

ahmadmmsadeghi commented 2 years ago

I'll try to get a video comparison and post the issue in the link as soon as I can. Thanks again!

SilentMRG commented 3 weeks ago

I plan to play Mafia soon, I'm downloading the files from my GOG collection.

Well, if you're interested, I'll test this configuration: Patch [DxWrapper + WidescreenFix].zip

Note that I deleted "d3d8.ini" so that it does not conflict with the DxWrapper configuration. Open "dxwrapper.ini" to check the changes that were made. Yes, d3d8to9 is enabled in the configuration.

I hope this helps in some way. =)

SilentMRG commented 3 weeks ago

Just want to add that the package that rise above works like a charm! However, I get this error when opening "Settings.exe":

Sem título

The good thing is that it can be ignored by clicking "Ok" and the settings work without problems, are applied and no other errors are presented when closing the settings. Starting game doesn't show any errors, I played for hours and didn't get any errors or graphical weirdness, or any other kind of weirdness, everything worked fine.

My guess for the error mentioned above is that maybe it appears because I deleted "d3d8.ini" or because I'm using Windows 7. Regarding the OP's error, I couldn't reproduce it, as I said before, everything it worked great, even though I was on a potato laptop with Intel HD Graphics.