WarpedArrow
Farmhand
Hello! I've been at this for hours trying to solve this problem with no luck, despite it looking like a pretty common problem. When I try to launch the game, it takes a few seconds to say it is launching and then fails. I've had the game for years, and it was working fine last week. I've followed every guide I can find on different fixes, including the one pinned in the steam discussions and any other thread or guide I can find that talks about it. Finally, I installed SMAPI, and here is the output I got on trying to launch the game.
Any help is greatly appreciated.
Code:
SMAPI failed to initialize: System.TypeInitializationException: The type initializer for 'StardewModdingAPI.Constants' threw an exception. ---> System.TypeInitializationException: The type initializer for 'StardewValley.Game1' threw an exception. ---> System.IO.FileNotFoundException: Could not find file "/etc/localtime"
File name: '/etc/localtime'
at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean anonymous, FileOptions options) <0x100ba1540 + 0x00833> in <filename unknown>:0
at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share) <0x1037dcb50 + 0x00053> in <filename unknown>:0
at (wrapper remoting-invoke-with-check) System.IO.FileStream:.ctor (string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare)
at System.IO.File.OpenRead (System.String path) <0x1037dca20 + 0x0004a> in <filename unknown>:0
at System.TimeZoneInfo.FindSystemTimeZoneByFileName (System.String id, System.String filepath) <0x1037dc940 + 0x00046> in <filename unknown>:0
at System.TimeZoneInfo.CreateLocal () <0x1037da8a0 + 0x00342> in <filename unknown>:0
at System.TimeZoneInfo.get_Local () <0x1037da7c0 + 0x0002d> in <filename unknown>:0
at System.TimeZoneInfo.GetDateTimeNowUtcOffsetFromUtc (DateTime time, System.Boolean& isAmbiguousLocalDst) <0x1037da750 + 0x0001f> in <filename unknown>:0
at System.DateTime.get_Now () <0x1037da240 + 0x00056> in <filename unknown>:0
at StardewValley.Game1..cctor () <0x100b6eb20 + 0x0099a> in <filename unknown>:0
--- End of inner exception stack trace ---
--- End of inner exception stack trace ---
Game has ended. Press any key to exit.
Last edited by a moderator: