Stardew Valley

Stardew Valley

View Stats:
This topic has been locked
Mac Crash on Launch
So, I've read a lot of threads of people saying their game is crashing on launch, and all kinds of solutions have been provided. From downloading and/or locating the XMA file, to running it from the game files directly, to my most recent test in patience, the sudo method. None of these are working for me. I've upgraded to the most recent OS for Mac.



Additional information: When trying to run the bash file directly, it seemed to be that the problem was that it was looking for something called the Users/MyUsername/.bashsessions folder, which doesn't exist, and I am unable to create one as it would be a system file. Any help would be appreciated.
< >
Showing 1-8 of 8 comments
MysticTempest Dec 27, 2016 @ 6:55am 
Can you paste your error logs. According to the official forums they should be located here: ~/StardewValley/ErrorLogs

o hai mark Dec 27, 2016 @ 10:10am 
Also, in reference to the .bashsessions folder not existing, Macs hide all system files by default, and you have to go into terminal and input some commands to make them visible.

Here's a quick article that goes through how to show and hide system files.
http://ianlunn.co.uk/articles/quickly-showhide-hidden-files-mac-os-x-mavericks/
FallenFromGlory Dec 27, 2016 @ 10:53pm 
I have no error log file. It was never created, as far as I can tell. When I type sudo chown (username):staff~/.config, I get



FallenGlory:~ mscsmsbsd$ sudo chown mscsmsbsd:staff~/.config
Password:
usage: chown [-fhv] [-R [-H | -L | -P]] owner[:group] file ...
chown [-fhv] [-R [-H | -L | -P]] :group file ...
FallenGlory:~ mscsmsbsd$



And when I run the bash, I get



Last login: Tue Dec 27 21:49:37 on ttys000
mkdir: /Users/mscsmsbsd/.bash_sessions: Permission denied
touch: /Users/mscsmsbsd/.bash_sessions/A24F5628-1385-4BC0-BD1D-855BE3090C9F.historynew: No such file or directory
FallenGlory:~ mscsmsbsd$ /Users/mscsmsbsd/Library/Application\ Support/Steam/SteamApps/common/Stardew\ Valley/Contents/MacOS/StardewValley ; exit;
Setting breakpad minidump AppID = 413150
Steam_SetMinidumpSteamID: Caching Steam ID: 76561198056584086 [API loaded no]
exception inside UnhandledException handler: Access to the path "/Users/mscsmsbsd/.local" is denied.

[ERROR] FATAL UNHANDLED EXCEPTION: System.UnauthorizedAccessException: Access to the path "/Users/mscsmsbsd/.config" is denied.
at System.IO.Directory.CreateDirectoriesInternal (System.String path) <0x11f526630 + 0x00192> in <filename unknown>:0
at System.IO.Directory.CreateDirectory (System.String path) <0x11f5263c0 + 0x000d0> in <filename unknown>:0
at System.IO.DirectoryInfo.Create () <0x11f526390 + 0x0001b> in <filename unknown>:0
at (wrapper remoting-invoke-with-check) System.IO.DirectoryInfo:Create ()
at System.IO.Directory.CreateDirectoriesInternal (System.String path) <0x11f526630 + 0x00129> in <filename unknown>:0
at System.IO.Directory.CreateDirectory (System.String path) <0x11f5263c0 + 0x000d0> in <filename unknown>:0
at System.IO.DirectoryInfo.Create () <0x11f526390 + 0x0001b> in <filename unknown>:0
at (wrapper remoting-invoke-with-check) System.IO.DirectoryInfo:Create ()
at StardewValley.StartupPreferences.ensureFolderStructureExists () <0x123becb40 + 0x0011e> in <filename unknown>:0
at StardewValley.StartupPreferences.savePreferences () <0x123bec8c0 + 0x00086> in <filename unknown>:0
at StardewValley.Menus.TitleMenu..ctor () <0x115ca3270 + 0x01c80> in <filename unknown>:0
at StardewValley.Game1.UpdateTitleScreen (Microsoft.Xna.Framework.GameTime time) <0x123bf45c0 + 0x0063c> in <filename unknown>:0
at StardewValley.Game1.Update (Microsoft.Xna.Framework.GameTime gameTime) <0x123beec80 + 0x03221> in <filename unknown>:0
at Microsoft.Xna.Framework.Game.DoUpdate (Microsoft.Xna.Framework.GameTime gameTime) <0x123bee9a0 + 0x00057> in <filename unknown>:0
at Microsoft.Xna.Framework.Game.Tick () <0x123bee390 + 0x00396> in <filename unknown>:0
at Microsoft.Xna.Framework.SdlGamePlatform.RunLoop () <0x123bee020 + 0x00056> in <filename unknown>:0
at Microsoft.Xna.Framework.Game.Run (GameRunBehavior runBehavior) <0x10c9d9c60 + 0x0020b> in <filename unknown>:0
at Microsoft.Xna.Framework.Game.Run () <0x10c9d9bf0 + 0x0002d> in <filename unknown>:0
at StardewValley.Program.Main (System.String[] args) <0x10a346fa0 + 0x000f8> in <filename unknown>:0
logout
Saving session...-bash: /Users/mscsmsbsd/.bash_sessions/A24F5628-1385-4BC0-BD1D-855BE3090C9F.session: No such file or directory
touch: /Users/mscsmsbsd/.bash_sessions/A24F5628-1385-4BC0-BD1D-855BE3090C9F.historynew: No such file or directory

...saving history...-bash: /Users/mscsmsbsd/.bash_history: Permission denied
-bash: /Users/mscsmsbsd/.bash_sessions/A24F5628-1385-4BC0-BD1D-855BE3090C9F.history: No such file or directory
-bash: /Users/mscsmsbsd/.bash_sessions/A24F5628-1385-4BC0-BD1D-855BE3090C9F.historynew: No such file or directory
truncating history files...
...completed.
shlock: open(/Users/mscsmsbsd/.bash_sessions/shlock5582): No such file or directory

[Process completed]

MysticTempest Dec 28, 2016 @ 5:27am 
Thanks for pasting what you had.
You were on the right track. You did have the permission issue.
"[ERROR] FATAL UNHANDLED EXCEPTION: System.UnauthorizedAccessException: Access to the path "/Users/mscsmsbsd/.config" is denied."


You had the command to fix it right, but you missed a space.
It should be like this(a space between staff, and the tilde symbol):

sudo chown mscsmsbsd:staff ~/.config
FallenFromGlory Dec 29, 2016 @ 11:22pm 
Oh my God, I'm so stupid. This is why you copy paste. I hate myself. Thank you so much.
FallenFromGlory Dec 29, 2016 @ 11:28pm 
Umm, when I do it now, it says "No such file or directory."



FallenGlory:~ mscsmsbsd$ sudo chown mscsmsbsd:staff ~/.config
chown: /Users/mscsmsbsd/.config: No such file or directory
MysticTempest Dec 30, 2016 @ 6:55am 
Okay, use this command to create it
mkdir ~/.config

Then try launching the game.
FallenFromGlory Dec 31, 2016 @ 7:25pm 
So, a run down on everything I did, for anyone else who has this issue.



I tried running the command, but it denied me permission. I tried giving myself staff permissions for my own user folder from the terminal, couldn't figure it out. So what I did, was go to my user folder, right click on it, and select Get Info. I unlocked the folder, and set "Everyone" to "Read and Write."



Then I created the thrice damned config file and now it works. Thanks guys for helping me, I hope Chucklefish gets around to patching this problem out, becuase it took me a week to get their game working.
< >
Showing 1-8 of 8 comments
Per page: 1530 50

Date Posted: Dec 27, 2016 @ 3:39am
Posts: 8