EnderHDMC / MHWISaveEditor

An open-source save editor for Monster Hunter World : Iceborne
79 stars 8 forks source link

Editor can't start because of dxgi.dll #6

Closed Tamren closed 2 years ago

Tamren commented 2 years ago

I'm getting an error message when I try to start the editor:

"error on startup: "the procedure entry point createdxgifactory2 could not be located in the dynamic link library dxgi.dll"

I'm trying to use v1.4, older versions from v1.1 to v1.3 of the save editor work normally.

EnderHDMC commented 2 years ago

What version of Windows are you on?

Tamren commented 2 years ago

Oh that didn't occur to me, I'm running MHW on an old windows 7 pc I keep around for legacy games. Is that the issue?

EnderHDMC commented 2 years ago

It seems as though that issue only occurs on Windows 7 since it doesn't have DirectX 12. That being said, this shouldn't be an issue in the first place, the editor doesn't use DirectX.

EnderHDMC commented 2 years ago

Looking into it quickly it seems as though Qt 6.2.2 drops official support for Windows 7. In commit f5a9ccdd5cd09cd84b456219b5bb18fb84aa55a1, I had updated the project to use 6.2.3.

This can be reverted to fix the issue, as I only updated because I wanted to clear my storage of things I wasn't using.

Looking at the imports of Qt6Gui.dll using dumpbin it can be seen that it imports createdxgifactory2 from dxgi.dll. After reverting to 6.1.3, it can then be seen that createdxgifactory2 is no longer imported by Qt6Gui.dll.

EnderHDMC commented 2 years ago

I have released version 0.1.5.

Among the changes in 0.1.5, QT was rolled back to version 6.1.3 in commit (2da35a797c3c49fa0c522768dba77dfb7f85ed77). This should fix the issue.

Tamren commented 2 years ago

Awesome, thanks for the fix!