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.22k stars 211 forks source link

Scarface Fusion Fix doesn't work #1556

Closed hxazgalor closed 1 month ago

hxazgalor commented 1 month ago

I applied the Silent Patch for Scarface and the game ran fine, but when I unpack the Fusion Fix zip folder's contents to the game's directory, the game refuses to launch. I get this error when I try to launch the game.

kYAa2LwjiX

Any advice would be appreciated.

hxazgalor commented 1 month ago

UPDATE: Mistakenly posted in Silent's GitHub page. Reopening the issue here per his comment.

Removing the d3d9.dll and d3d9.ini files seem to have resolved the issue, but I don't understand why this is the case. Would appreciate clarification, if possible.

ThirteenAG commented 1 month ago

It's just a wrapper, which is not essential for the fix. What if you manually install it from here: https://github.com/ThirteenAG/d3d9-wrapper/releases/download/d3d9-wrapper-v1.58/d3d9.zip

Does it work that way?

hxazgalor commented 1 month ago

It's just a wrapper, which is not essential for the fix. What if you manually install it from here: https://github.com/ThirteenAG/d3d9-wrapper/releases/download/d3d9-wrapper-v1.58/d3d9.zip

Does it work that way?

No, it doesn't work either.

ThirteenAG commented 1 month ago

Strange, nobody reported any issues before. If you create CrashDumps folder in game root, any files appear in it after you launch the game? I will check myself later.

hxazgalor commented 1 month ago

Strange, nobody reported any issues before. If you create CrashDumps folder in game root, any files appear in it after you launch the game? I will check myself later.

Do I just create a folder named CrashDumps? Should it be in the game directory? And will I need to do anything else?

ThirteenAG commented 1 month ago

Yes, where asi loader is. Nothing else, just reproduce the error. What windows version are you using btw?

hxazgalor commented 1 month ago

I'm on Windows 10, version 22H2

UPDATE: Nothing was create in the CrashDumps folder.

ThirteenAG commented 1 month ago

I'm not sure what's wrong, the error description is as if you're trying to load 64 bit dll on 32 bit system. Maybe try to open that d3d9.dll in this tool: https://github.com/lucasg/Dependencies/releases/tag/v1.11.1

Maybe a dependency is missing.

ThirteenAG commented 1 month ago

d3d9.zip

Check this d3d9.dll build, does it work?

hxazgalor commented 1 month ago

I'm not sure what's wrong, the error description is as if you're trying to load 64 bit dll on 32 bit system. Maybe try to open that d3d9.dll in this tool: https://github.com/lucasg/Dependencies/releases/tag/v1.11.1

Maybe a dependency is missing.

I forgot to mention I'm on a 64-bit Win 10. Also, how do I use the tool to check for the missing dependency? I'm not at all well versed with dll manipulation.

UPDATE: The dll from the new link you sent me also doesn't work; same error message.

ThirteenAG commented 1 month ago

You open gui and then open dll in it. Then see if any files in the list are marked red. If there's nothing useful, then just delete d3d9.dll, no idea what else to try.

hxazgalor commented 1 month ago

You open gui and then open dll in it. Then see if any files in the list are marked red. If there's nothing useful, then just delete d3d9.dll, no idea what else to try.

So I opened the dll from the most recent file you sent to me (this one) and here's a screenshot when I clicked on the red-highlighted d3dx9_43.dll entry:

DependenciesGui_jqlYqbR3hs

I'm guessing this might be the source of my troubles?

ThirteenAG commented 1 month ago

Yes, you need to install https://www.microsoft.com/en-us/Download/confirmation.aspx?id=35

hxazgalor commented 1 month ago

I've done so already (much earlier, in fact, to get another game to run properly), but I'm still getting the same error with Scarface.

ThirteenAG commented 1 month ago

Well, you still don't have that file d3dx9_43.dll, in an appropriate location. I would guess a 64 bit version of that file is trying to load, but you need 32 bit one, so it's not marked red in dependencies.

hxazgalor commented 1 month ago

Any suggestions on resolving this? I don't know if getting the dll from a "dll site" would be a good idea, cuz I won't know if it's legit or otherwise.

ThirteenAG commented 1 month ago

Installing redist from the link above usually enough. Alternatively try from this link https://www.microsoft.com/en-us/download/details.aspx?id=8109 Or try to reinstall.

hxazgalor commented 1 month ago

I checked my Windows folders (System32 and SysWOW64) and it seems I do have the dll in them. Is something else not registering on my computer? Renaming it from all-caps to small caps didn't do anything, either.

ThirteenAG commented 1 month ago

image This is how it looks for me. I have no idea what could be broken to cause this. I guess maybe you have a folder in path environment variable that contains d3dx9_43.dll, but only 64 bit version of it.

hxazgalor commented 1 month ago

DependenciesGui_KkBVmXwBLG

After an NVIDIA driver update today and replacing the dll files in both folders, the dependency checker now detects the dll, but the game still won't run.

UPDATE: Placing the d3dx9_43.dll file into the game's directory now causes the game to run. This is confusing, but hey, it works now.

ThirteenAG commented 1 month ago

he dependency checker now detects the dll

In system32 folder, but it should detect it in SysWOW64 folder, like on my screenshot.

hxazgalor commented 1 month ago

he dependency checker now detects the dll

In system32 folder, but it should detect it in SysWOW64 folder, like on my screenshot.

image

Seems to have sorted itself out, somehow