Reloaded-Project / Reloaded-II

Universal .NET Core Powered Modding Framework for any Native Game X86, X64.
GNU General Public License v3.0
608 stars 82 forks source link

Bug: Metaphor deploy ASI Loader does not create the dll file #474

Closed McMarius11 closed 1 month ago

McMarius11 commented 1 month ago

Describe the Bug Metaphor deploy ASI Loader does not create the dll file

To Reproduce Steps to reproduce the behaviour:

  1. Go to Metaphor
  2. Click on Deploy ASI Loader
  3. See error

Expected Behaviour It should create the ASI and a dll file

Screenshots If applicable, add screenshots to help explain your problem. metaphor_reload2

Additional Context Same issue on Windows & Linux

Sewer56 commented 1 month ago

This happens when Reloaded thinks there's already an ASI Loader in your game folder. Seems to be working as intended, but to screenshot your game folder nonetheless.


Existing loader detection is done by comparing the exports of the EXE file (possible loader names) against what's already in the folder. If one of the files is already there; it's assumed the user manually installed ASI Loader.

McMarius11 commented 1 month ago

metaphor_folder

thanks for the answer @Sewer56 , this is my folder there should not be any ASI Loader present in this folder

Sewer56 commented 1 month ago

Oh, maybe it's because there was already an .asi file by the time you first deployed. The specific heuristic it uses is seeing if there is any .asi file in either:

If any .asi files exist in any of the folders, no new loader is installed. Just delete the .asi file placed by the loader; should do it right next time.

McMarius11 commented 1 month ago

thanks @Sewer56, i had a .asi file in a different folder in the same root, i thought i would only look into the main folder.

now i can start the game from steam with the launch option and get the mods to work :+1: , if i started the game right in the launcher the shadows were completely bugged.