Did everything right but it still won't work.
YondaimeKazzy opened this issue ยท 7 comments
I started the Stardew Modding file and note, I use SMAPI 0.40.0 and Stardew Valley 1.07 but I start it up and a new window opens but then the window shuts down after literally one second. What do I do?
[04:18:05.151 ] Validating api paths...
[04:18:05.151 ] Initializing SDV Assembly...
[04:18:05.151 ] SMAPI Version: 0.40.0 Alpha
[04:18:05.161 ] Starting SDV...
[04:18:05.161 ] SDV Version: 1.07
[04:18:05.161 ] Injecting New SDV Version...
[04:18:05.301 ] Patching SDV Graphics Profile...
[04:18:05.301 ] LOADING MODS
[04:18:05.301 ] Found Manifest: C:\Program Files (x86)\Stardew Valley\Mods\TrainerMod\manifest.json
[04:18:05.761 ] LOADED 0 MODS
[04:18:05.761 ] SDV Loaded Into Memory
[04:18:05.761 ] Failed to read mod manifest 'C:\Program Files (x86)\Stardew Valley\Mods\TrainerMod\manifest.json'. Exception details:
System.UnauthorizedAccessException: Toegang tot het pad C:\Program Files (x86)\Stardew Valley\Mods\TrainerMod\manifest.json is geweigerd.
bij System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
bij System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
bij System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
bij System.IO.StreamWriter.CreateFile(String path, Boolean append, Boolean checkHost)
bij System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize, Boolean checkHost)
bij System.IO.File.InternalWriteAllText(String path, String contents, Encoding encoding, Boolean checkHost)
bij System.IO.File.WriteAllText(String path, String contents)
bij StardewModdingAPI.ConfigExtensions.WriteConfig[T](T baseConfig)
bij StardewModdingAPI.Config.LoadConfigT
bij StardewModdingAPI.Manifest.LoadConfigT
bij StardewModdingAPI.ConfigExtensions.InitializeConfig[T](T baseConfig, String configLocation)
bij StardewModdingAPI.Program.LoadMods()
[04:18:05.761 ] Initializing Console Input Thread...
[04:18:05.761 ] Registered command: help
[04:18:05.761 ] Applying Final SDV Tweaks...
[04:18:05.839 ] XNA Initialize
[04:18:05.843 ] XNA LoadContent
[04:18:06.166 ] Initializing Debug Assets...
[04:18:06.915 ] Game Loaded
[04:18:06.915 ] Type 'help' for help, or 'help ' for a command's usage
[04:21:17.884 ] Game Execution Finished
[04:21:17.885 ] Shutting Down...
Okay I got it fixed by running it as administrator. But when I click 'P', nothing happens.
Hi there,
Could you post whatever is inside your error log here? It's at %appData%\StardewValley\ErrorLogs
It says this
[03:37:00.314 ] SDV Version: 1.0
[03:37:00.315 ] Initializing SDV Assembly...
[03:37:00.315 ] SMAPI Version: 0.40.0 Alpha
[03:37:00.314 ] Validating api paths...
[03:37:00.323 ] Injecting New SDV Version...
[03:37:00.323 ] Starting SDV...
[03:37:00.412 ] Patching SDV Graphics Profile...
[03:37:00.413 ] LOADING MODS
[03:37:00.414 ] Found Manifest: C:\Program Files (x86)\Stardew Valley\Mods\TrainerMod\manifest.json
[03:37:00.740 ] Created psconfigs directory @C:\Program Files (x86)\Stardew Valley\Mods\TrainerMod\psconfigs
[03:37:00.743 ] Loading Mod DLL...
[03:37:00.743 ] LOADED MOD: CJB Cheats Menu by CJ Bok - Version StardewModdingAPI.Version | Description: Simple in-game cheats menu! (@ C:\Program Files (x86)\Stardew Valley\Mods\TrainerMod\CJBCheatsMenu.dll)
[03:37:00.794 ] LOADED 1 MODS
[03:37:00.794 ] SDV Loaded Into Memory
[03:37:00.796 ] Registered command: help
[03:37:00.795 ] Initializing Console Input Thread...
[03:37:00.796 ] Applying Final SDV Tweaks...
[03:37:00.864 ] XNA Initialize
[03:37:01.904 ] XNA LoadContent
[03:37:02.242 ] Initializing Debug Assets...
[03:37:02.252 ] Game failed to start: System.MissingFieldException: Veld niet gevonden: StardewValley.Game1.thumbstickMotionMargin.
bij StardewModdingAPI.Inheritance.SGame.Update(GameTime gameTime)
bij Microsoft.Xna.Framework.Game.RunGame(Boolean useBlockingRun)
bij Microsoft.Xna.Framework.Game.Run()
bij StardewModdingAPI.Program.RunGame()
Hmm from the error it looks like you only have Stardew 1.00 not 1.07. ([03:37:00.314 ] SDV Version: 1.0)