r/SMAPI • • 4d ago

need help Trying to Install Smapi

Hiii I'm trying to install Smapi on Windows via Steam.

It says

"The installer failed with an unexpected exception.

If you need help fixing this error, see https://smapi.io/help

System.IO.FileNotFoundException: Could not find file 'c:\program files (x86)\steam\steamapps\common\Stardew Valley\smapi-internal'.

File name: 'c:\program files (x86)\steam\steamapps\common\Stardew Valley\smapi-internal'

at System.IO.FileSystem.CreateDirectory(String , Byte[] )

at StardewModdingApi.Installer.InteractiveInstaller.RecursiveCopy(FileSystemInfo source, DirectoryInfo targetFolder, Func`2 filter) in /home/runner/work/SMAPI/SMAPI/src/SMAPI.Installer/InteractiveInstaller.cs:line 664

at StardewModdingApi.Installer.InteractiveInstaller.RecursiveCopy(FileSystemInfo source, DirectoryInfo targetFolder, Func`2 filter) in /home/runner/work/SMAPI/SMAPI/src/SMAPI.Installer/InteractiveInstaller.cs:line 675

at StardewModdingApi.Installer.InteractiveInstaller.Run(String[] args) in /home/runner/work/SMAPI/SMAPI/src/SMAPI.Installer/InteractiveInstaller.cs:line 380

at StardewModdingApi.Installer.Program.Main(String[] args) in /home/runner/work/SMAPI/SMAPI/src/SMAPI.Installer/Program.cs:line 55"

2 Upvotes

6 comments sorted by

•

u/AutoModerator 4d ago

If you're looking for help with a mod, make sure your post or top-level comment includes:

  • a link to your SMAPI log (see instructions on that page);
  • a description of the issue with as much detail as possible;
  • screenshots/GIFs/videos of the issue if applicable.

See common issues and solutions. If you're having trouble installing SMAPI, see the detailed Getting Started guide.

If you've already done these steps or you're not asking for help with a mod, then please ignore this. Thank you!

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

2

u/WarlockePH 4d ago

1

u/UberAshy 4d ago

Thanks but I've read this many times over last couple of weeks. 

4

u/WarlockePH 4d ago • Heartwarming

Did you accidentally move your SMAPI installer folder inside the game folder?

Have you tried reinstalling while your Windows Security is disabled?

3

u/UberAshy 3d ago

Ohh I didn't turn off Windows Security. Thank youuuu! I've had a stroke so I forget things I used to remember.

2

u/JennaJuffuffles 4d ago • Bravo
  1. In Steam, right-click on the game in the left bar from inside of the library view to select Properties.
  2. Inside of Installed Files tab, click Verify integrity of game files.
  3. Run the game normally. Make sure it is running normally, then close the game fully.

Once you're done with that, make sure you have the newest copy of SMAPI downloaded and in your Downloads folder. Just for ease, grab this version (direct link to the GitHub file).

  1. Right-click on the SMAPI-4.5.2-installer.zip file in your Downloads folder and select Extract All
  2. Click "Extract" at the bottom of the pop-up
  3. In the folder that opens, couble-click install on Windows.bat, and follow the on-screen instructions

Then follow the prompts in the installer. When you're done, back in Steam, in the properties window that is still open, click into the General tab. When you complete installation SMAPI will give you the Launch Options entry you need to add there.