mouahrara / aedenthorn

This fork is based on commit 134e32e from January 8, 2024 of the StardewValleyMods repository originally created by @aedenthorn (aka Erinthe). The purpose of this fork is to maintain unofficial versions of the mods and keep them up to date.
GNU General Public License v3.0
20 stars 6 forks source link

InstantBuildingConstructionAndUpgrade.dll doesn't exist #5

Closed gjt186 closed 5 days ago

gjt186 commented 1 month ago

[SMAPI] - Instant Building Construction and Upgrade 0.2.1-unofficial.1-mouahrara because its DLL 'InstantBuildingConstructionAndUpgrade.dll' doesn't exist.

Thank you for your efforts! When I used this mod,smapi reported an error, I noticed that there was no dll file with the same name in the folder, can you handle it? Thank you!

mouahrara commented 1 month ago

The InstantBuildingConstructionAndUpgrade.dll file should be included in the downloaded zip. It’s possible that your antivirus is detecting it as a dangerous file (false positive) and deleting it. (See: SMAPI or mod files disappear)

gjt186 commented 1 month ago

I put the decompressed folder directly into SteamLibrary\steamapps\common\Stardew Valley\Mods like any other mod Besides, all firewalls were closed, and smapi still reported errors. In addition, I saw no dll file in the folder on github

mouahrara commented 1 month ago

The GitHub repository contains the source files for each mod (.cs), which are compiled into a single .dll file. Therefore, it is normal for the GitHub repository not to contain the .dll files for the mods; they should only be included in the downloadable zip files. These zip files are the compiled versions of each mod and should contain the manifest.json file, the [ModName].dll file, and optionally an i18n folder and an assets folder.

Regarding the missing InstantBuildingConstructionAndUpgrade.dll file, did you download the zip file using the direct download link in the Readme? Here are the detailed instructions for downloading and installing my unofficial version of the Instant Building Construction and Upgrade mod:

  1. Download the InstantBuildingConstructionAndUpgrade-0.2.1-unofficial.1-mouahrara.zip file.
  2. Unzip the file and check its contents. You should have the following structure:
    πŸ“ InstantBuildingConstructionAndUpgrade/
    πŸ—Ž manifest.json
    πŸ—Ž InstantBuildingConstructionAndUpgrade.dll
    πŸ“ i18n/
        πŸ—Ž default.json
        πŸ—Ž fr.json
  3. Move the InstantBuildingConstructionAndUpgrade folder to the C:\Program Files (x86)\Steam\steamapps\common\Stardew Valley\Mods folder.

If the InstantBuildingConstructionAndUpgrade folder does not contain the InstantBuildingConstructionAndUpgrade.dll file, it may have been quarantined or deleted by your antivirus software.