Stardew Valley

Stardew Valley

View Stats:
keppo Nov 29, 2016 @ 10:36pm
Stardew Valley will not start up.
Hi guys, I recently purchased Stardew Valley and now it will not start up. I have tried verifying the game cache, reinstalling the game, restarting my computer, and even deleting my anti virus program. I tried debugging it using Visual Studio and it says that this is my problem System.IO.IOException. Any help is appreciated.
< >
Showing 1-15 of 15 comments
dino_inc Nov 29, 2016 @ 10:40pm 
You've done a few of these, but there's a couple of ones that you haven't. (Be sure to test the game between each step):
  1. Verify the cache.
  2. Plug in headphones.
  3. Ensure Steam is not running in compatibility mode.
  4. Delete startup_preferences.
  5. Restart your computer.
  6. Delete %appdata%/Stardew Valley. It is a hidden file, so search for it directly through windows search. (Backup your saves, beforehand)
  7. Disable Antivirus
  8. Run as administrator
  9. Reinstall the game.
  10. Reinstall XNA.
  11. Reinstall directx9.
  12. Update graphics drivers and sound card drivers.
Last edited by dino_inc; Nov 29, 2016 @ 10:40pm
keppo Nov 30, 2016 @ 8:54pm 

Originally posted by dino_inc:
You've done a few of these, but there's a couple of ones that you haven't. (Be sure to test the game between each step):
  1. Verify the cache.
  2. Plug in headphones.
  3. Ensure Steam is not running in compatibility mode.
  4. Delete startup_preferences.
  5. Restart your computer.
  6. Delete %appdata%/Stardew Valley. It is a hidden file, so search for it directly through windows search. (Backup your saves, beforehand)
  7. Disable Antivirus
  8. Run as administrator
  9. Reinstall the game.
  10. Reinstall XNA.
  11. Reinstall directx9.
  12. Update graphics drivers and sound card drivers.

I have done
1,2,5,7,9,and 12
thank you for your help I will continue trying
keppo Dec 1, 2016 @ 4:35pm 
Originally posted by dino_inc:
You've done a few of these, but there's a couple of ones that you haven't. (Be sure to test the game between each step):
  1. Verify the cache.
  2. Plug in headphones.
  3. Ensure Steam is not running in compatibility mode.
  4. Delete startup_preferences.
  5. Restart your computer.
  6. Delete %appdata%/Stardew Valley. It is a hidden file, so search for it directly through windows search. (Backup your saves, beforehand)
  7. Disable Antivirus
  8. Run as administrator
  9. Reinstall the game.
  10. Reinstall XNA.
  11. Reinstall directx9.
  12. Update graphics drivers and sound card drivers.

how do I reinstall directx9?
dino_inc Dec 1, 2016 @ 4:53pm 
I'm not sure actually, I think it's called .net framework or something like that. It's the one fix I don't know how to do, sorry.
keppo Dec 1, 2016 @ 5:31pm 
Originally posted by dino_inc:
I'm not sure actually, I think it's called .net framework or something like that. It's the one fix I don't know how to do, sorry.
All right. Thanks for replying anyways! :happy_creep:
M4SKUER4IDER Dec 2, 2016 @ 12:25am 
whats your ram and cpu?,directx updates itself if microsoft has updated itself too. exit steam from task and
C:\Program Files (x86)\Steam\SteamApps\common go here and delete manually stardew valey folder and C:\Users\"here is your username"\AppData\Local\temp enter it ,and clear all files(temp files) in it C:\windows\temp\ in it ,clear all files(temp files) in it. dont afraid erase they are all temp files. restart and reinstall stardew game. game just try to create a file but it cant create an exist file.(cant overwrite it) i hope it helps
keppo Dec 2, 2016 @ 3:55pm 
Originally posted by Onur ÇamlI:
whats your ram and cpu?,directx updates itself if microsoft has updated itself too. exit steam from task and
C:\Program Files (x86)\Steam\SteamApps\common go here and delete manually stardew valey folder and C:\Users\"here is your username"\AppData\Local\temp enter it ,and clear all files(temp files) in it C:\windows\temp\ in it ,clear all files(temp files) in it. dont afraid erase they are all temp files. restart and reinstall stardew game. game just try to create a file but it cant create an exist file.(cant overwrite it) i hope it helps

I tried it and it didnt work. Thanks for the trying though! :resmile: I think that I need directx to start it for the first time again but im not sure how to get it working
Last edited by keppo; Dec 2, 2016 @ 3:55pm
Originally posted by keppo:
Originally posted by Onur ÇamlI:
whats your ram and cpu?,directx updates itself if microsoft has updated itself too. exit steam from task and
C:\Program Files (x86)\Steam\SteamApps\common go here and delete manually stardew valey folder and C:\Users\"here is your username"\AppData\Local\temp enter it ,and clear all files(temp files) in it C:\windows\temp\ in it ,clear all files(temp files) in it. dont afraid erase they are all temp files. restart and reinstall stardew game. game just try to create a file but it cant create an exist file.(cant overwrite it) i hope it helps

I tried it and it didnt work. Thanks for the trying though! :resmile: I think that I need directx to start it for the first time again but im not sure how to get it working

I just installed and am having the same problem as you, no idea how to fix :/
dino_inc Dec 2, 2016 @ 5:00pm 
I forgot to ask... Check %appdata%/Stardew Valley/ Errorlogs, and post the error log here.
keppo Dec 2, 2016 @ 5:29pm 
Originally posted by dino_inc:
I forgot to ask... Check %appdata%/Stardew Valley/ Errorlogs, and post the error log here.
This is the message in the erro logs whenever I try starting the game up.


Message: The process cannot access the file 'C:\Users\Matt\AppData\Roaming\StardewValley\startup_preferences' because it is being used by another process.
InnerException:
Stack Trace: at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.File.InternalDelete(String path, Boolean checkHost)
at System.IO.File.Delete(String path)
at StardewValley.StartupPreferences.savePreferences()
at StardewValley.Menus.TitleMenu..ctor()
at StardewValley.Game1.UpdateTitleScreen(GameTime time)
at StardewValley.Game1.Update(GameTime gameTime)
at Microsoft.Xna.Framework.Game.Tick()
at Microsoft.Xna.Framework.Game.HostIdle(Object sender, EventArgs e)
at Microsoft.Xna.Framework.GameHost.OnIdle()
at Microsoft.Xna.Framework.WindowsGameHost.RunOneFrame()
at Microsoft.Xna.Framework.WindowsGameHost.ApplicationIdle(Object sender, EventArgs e)
at System.Windows.Forms.Application.ThreadContext.System.Windows.Forms.UnsafeNativeMethods.IMsoComponent.FDoIdle(Int32 grfidlef)
at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.Run(Form mainForm)
at Microsoft.Xna.Framework.WindowsGameHost.Run()
at Microsoft.Xna.Framework.Game.RunGame(Boolean useBlockingRun)
at StardewValley.Program.Main(String[] args)
Last edited by keppo; Dec 2, 2016 @ 5:30pm
dino_inc Dec 2, 2016 @ 5:50pm 
Ah, delete startup_preferences.
(Should work, it's worked every other time)
Last edited by dino_inc; Dec 2, 2016 @ 5:50pm
keppo Dec 2, 2016 @ 6:06pm 
Originally posted by dino_inc:
Ah, delete startup_preferences.
(Should work, it's worked every other time)

ugh that was confusing. but hey it worked! Thank you so much. I really appreciate the help!!!!
dino_inc Dec 2, 2016 @ 6:35pm 
Originally posted by keppo:
Originally posted by dino_inc:
Ah, delete startup_preferences.
(Should work, it's worked every other time)

ugh that was confusing. but hey it worked! Thank you so much. I really appreciate the help!!!!
No problem.
KittenButtonAJ May 8, 2018 @ 8:51pm 
It didn't work for me...
KittenButtonAJ May 8, 2018 @ 8:52pm 
Message: Cannot access a disposed object.
Object name: 'Texture2D'.
InnerException:
Stack Trace: at Microsoft.Xna.Framework.Helpers.CheckDisposed(Object obj, IntPtr pComPtr)
at Microsoft.Xna.Framework.Graphics.TextureCollection.set_Item(Int32 index, Texture value)
at Microsoft.Xna.Framework.Graphics.SpriteBatch.RenderBatch(Texture2D texture, SpriteInfo[] sprites, Int32 offset, Int32 count)
at Microsoft.Xna.Framework.Graphics.SpriteBatch.Flush()
at Microsoft.Xna.Framework.Graphics.SpriteBatch.End()
at StardewValley.Game1.Draw(GameTime gameTime)
at Microsoft.Xna.Framework.Game.DrawFrame()
at Microsoft.Xna.Framework.Game.Tick()
at Microsoft.Xna.Framework.Game.HostIdle(Object sender, EventArgs e)
at Microsoft.Xna.Framework.GameHost.OnIdle()
at Microsoft.Xna.Framework.WindowsGameHost.RunOneFrame()
at Microsoft.Xna.Framework.WindowsGameHost.ApplicationIdle(Object sender, EventArgs e)
at System.Windows.Forms.Application.ThreadContext.System.Windows.Forms.UnsafeNativeMethods.IMsoComponent.FDoIdle(Int32 grfidlef)
at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.Run(Form mainForm)
at Microsoft.Xna.Framework.WindowsGameHost.Run()
at Microsoft.Xna.Framework.Game.RunGame(Boolean useBlockingRun)
at StardewValley.Program.Main(String[] args)
< >
Showing 1-15 of 15 comments
Per page: 1530 50

Date Posted: Nov 29, 2016 @ 10:36pm
Posts: 15