HoyoWSKr Loader - Updates

PC HoyoWSKr Loader 2.2.0

Updates for Genshin impact
Thanks to a comment on "a certain (not exactly 'Christian') modding site," I learned that I could use the latest GIMI DLLs (from the XXMI version) without triggering the "Illegal tool" message. Previously, with the latest DLL, this message would appear regardless of the method used. To prevent this, the new version of HoyoWSKr includes the UPX (Ultimate Packer for eXecutables) executable, which is used to reduce the DLL's file size. It seems that Genshin flags the DLL if its file size is too large; for this reason, I have added two options to the configurator.

image.png


  • upx_dll: If its value is 1 or "true", it enables the check for using UPX.
  • dll_max_size: This specifies the maximum tolerated value before UPX applies compression. If your DLL is already below this value, UPX will not be applied, as the file size is already acceptable for Genshin. I recommend keeping this value as it is currently set in the file.
ADDITIONAL NOTES:

  • If you use "Loader = 3dmigoto" with the latest version of GIMI, it will not work. This is not a fault of HoyoWSKr; rather, due to changes in the signatures, these new DLLs are simply incompatible with 3DMIgotoLoader.exe.
  • Because the compiler has been changed, you may now need to run HoyoWSKr directly with administrator privileges. This is not a major issue, but it is something to keep in mind.


FALSE POSITIVE WARNING: Since the new build of HoyoWSKr contains UPX, antivirus software may be more restrictive toward it. I recommend adding HoyoWSKr—or its execution directory—to your whitelist to avoid any issues.

IMPORTANT NOTE:​

Although the file to be downloaded has a .7z extension, it was actually compressed as .squashfs (as the filename itself indicates); therefore, you must extract it using the latest version of 7-Zip. I used squashfs to try to reduce the final file size. I may use this method for future mod files.
Heeeeyyyyy.....

After tinkering with this for a while, I managed to make it a bit more usable (and stable). In this version, I added an option to change how GIMI/3DMigoto is injected into the game. You can choose between the "native" method (via HoyoWSKr), the "wrapper" method (via HoyoWSKr, but using an intermediary DLL to avoid errors), or the "3dmigoto" method (which launches the 3DMigotoLoader.exe executable from the GIMI location, delegating the d3d11.dll injection task to it). You can see how to configure this in the mod description, which I’ve updated for this version.

IMPORTANT NOTE:​

Although the file to be downloaded has a .7z extension, it was actually compressed as .squashfs (as the filename itself indicates); therefore, you must extract it using the latest version of 7-Zip. I used squashfs to try to reduce the final file size. I may use this method for future mod files.
Due to an error when injecting GIMI in the previous build, I have re-uploaded the HoyoWSKr v2 file.
I have recreated HoyoWSKr to run on ASI plugins, using Ultimate ASI Loader as a base. The previous version is still available, and you don't need to use this new version... unless you are interested in using multiple plugins without encountering major errors. The configuration from the previous version is not compatible with version 2... so you should read the instructions again (they have been updated for the new version).