It seems that you're using an outdated browser. Some things may not work as they should (or don't work at all).
We suggest you upgrade newer and better browser like: Chrome, Firefox, Internet Explorer or Opera

×
Since the 1.5 update, the game doesn't launch at all. I play it on linux and i have this messages :

Running Stardew Valley
exception inside UnhandledException handler: The type initializer for 'System.Console' threw an exception.

[ERROR] FATAL UNHANDLED EXCEPTION: System.TypeInitializationException: The type initializer for 'System.Console' threw an exception. ---> System.TypeInitializationException: The type initializer for 'System.ConsoleDriver' threw an exception. ---> System.Exception: Magic number is wrong: 542
at System.TermInfoReader.ReadHeader (System.Byte[] buffer, System.Int32& position) <0x41d40bd0 + 0x00127> in <filename unknown>:0
at System.TermInfoReader..ctor (System.String term, System.String filename) <0x41d40a10 + 0x00127> in <filename unknown>:0
at System.TermInfoDriver..ctor (System.String term) <0x41d3f960 + 0x00193> in <filename unknown>:0
at System.ConsoleDriver.CreateTermInfoDriver (System.String term) <0x41d3f920 + 0x00027> in <filename unknown>:0
at System.ConsoleDriver..cctor () <0x41d3f630 + 0x000a7> in <filename unknown>:0
--- End of inner exception stack trace ---
at System.Console.SetupStreams (System.Text.Encoding inputEncoding, System.Text.Encoding outputEncoding) <0x41d3efe0 + 0x00043> in <filename unknown>:0
at System.Console..cctor () <0x41d3ecf0 + 0x00173> in <filename unknown>:0
--- End of inner exception stack trace ---
at StardewValley.Game1.set_gameMode (Byte value) <0x41d41860 + 0x00053> in <filename unknown>:0
at StardewValley.Program.handleException (System.Object sender, System.UnhandledExceptionEventArgs args) <0x41d414c0 + 0x00047> in <filename unknown>:0

I have uninstalled the game, erased all the config files, but it changed nothing, I have the messages each time i try the game.
I've had an answer somewhere else and it is an old bug with Mono : https://stackoverflow.com/questions/49242075/mono-bug-magic-number-is-wrong-542

As they mention in the link above, adding this to the launch script should fix it :
export TERM=xterm

It works, the game launches again.
Post edited December 24, 2020 by R_K