Don't Starve Together

Don't Starve Together

ptomkowicz Dec 20, 2023 @ 1:51pm
GAME NOT WORKING
I can't play don't starve together bc i always have the same warning:"unable to write to files in the config directory.Please make sure you have permissions for your Klei save folder" my brother tried to help me with it we also tried the steps but we cant fully understand them and the uninstaling is not working I also want to keep my worlds but i dont know how to do that can someone help please? love from Polen

update: the 7) helped thankyou all for the ideas that i was able to try
Last edited by ptomkowicz; Dec 21, 2023 @ 12:26pm
< >
Showing 1-3 of 3 comments
That Fish Guy Dec 20, 2023 @ 4:02pm 
Maybe running as admin would give it permission?
Niwoh Dec 20, 2023 @ 7:04pm 
Well, did you check the perms on the folder?
drinkmetogrow Dec 20, 2023 @ 10:43pm 
Generally, this error message shows up because something on the computer is blocking the game application from being able to fully start dedicated servers, especially when loading a world with caves enabled.
-------------------

If you are encountering this dedicated server error, please ensure that the following Don't Starve Together .exe files have been added to your security software and/or Windows Security's allowed/trusted program list:

\Steam\steamapps\common\Don't Starve Together\bin64\dontstarve_steam_x64.exe
\Steam\steamapps\common\Don't Starve Together\bin64\dontstarve_dedicated_server_nullrenderer_x64.exe
\Steam\steamapps\common\Don't Starve Together\bin\dontstarve_steam.exe
\Steam\steamapps\common\Don't Starve Together\bin\dontstarve_dedicated_server_nullrenderer.exe
Controlled Folder Access
----------

If you currently have Windows Ransomware Protection enabled, it may block the game from being able to access, read, or write files on the hard drive. If that is the case, you will need to allow/add the game’s .exe file (dontstarve_steam.exe) through Controlled Folder Access, in order for the game to be able to do so. Here’s how to do this:

Select Start > Settings > Update & Security > Windows Security > Virus & threat protection;In Virus & threat protection, scroll down to Ransomware Protection, click on “Manage ransomware protection”
Check to see if Controlled folder access is ON, if it is, click on “Allow an App through Controlled folder access”

Click on + Add an allowed app > choose “Recently Blocked Apps” if Don't Starve Together was blocked previously or “Browse All Apps” and manually add Don't Starve Together. Each of these options will add the .exe file(s) to the controlled folder access. If you are not sure where the file is located, generally it is within your Steam folders at \steam\steamapps\common\Don't Starve Together\

Specifically, these files:
\Steam\steamapps\common\Don't Starve Together\bin64\dontstarve_steam_x64.exe
\Steam\steamapps\common\Don't Starve Together\bin64\dontstarve_dedicated_server_nullrenderer_x64.exe
\Steam\steamapps\common\Don't Starve Together\bin\dontstarve_steam.exe
\Steam\steamapps\common\Don't Starve Together\bin\dontstarve_dedicated_server_nullrenderer.exe
Mod-Related Issues
--------------------

There are times when the dedicated server is not able to start due to failed or crashing mods.

If you have enabled mods for your dedicated server, please try to disable all mods in case you have any enabled (or installed) that may interfere with the dedicated server's ability to initialize.
-------------------

Things to try if all of the above fail to fix the error:

1) Run the Steam client as an Administrator
- Fully close out of Steam and restart your computer.
- After restarting your computer, right-click on the Steam icon > select "Run as Administrator"
- If that does not work, go to step #2.

2) Run Don't Starve Together as an Administrator
- Run Don't Starve Together dontstarve_steam.exe as an administrator in your game folders (Steam\steamapps\common\Don't Starve Together\bin\dontstarve_steam.exe)
- Right-click on it and select "Run as Administrator"

If Steps #1 and Step #2 do not help with the issue, try Step #3, #4, #5, and #6 and these should be able to help resolve the issue.

3) Check your Anti-virus, anti-malware, Firewall, Windows Ransomware Protection and security settings
- Depending on your firewall, security, and antivirus settings, occasionally it may block a program that you want to access. Ensure that your firewall, security settings, and other antivirus software is allowing the game to do so. You can find more information here: https://support.steampowered.com/kb_article.php?ref=9828-SFLZ-9289

- You can also ensure that Don't Starve Together and your Steam client have both been added to your security software's and Windows Security's allowed/trusted programs list. below are a list of executable files that need to be added to your security software's allowed/trusted list:

\Steam\steamapps\common\Don't Starve Together\bin64\dontstarve_steam_x64.exe
\Steam\steamapps\common\Don't Starve Together\bin64\dontstarve_dedicated_server_nullrenderer_x64.exe
\Steam\steamapps\common\Don't Starve Together\bin\dontstarve_steam.exe
\Steam\steamapps\common\Don't Starve Together\bin\dontstarve_dedicated_server_nullrenderer.exe
4) Check for any conflicting 3rd-party software
- Pop-up blockers, ad-blockers, and other types of software running in the background can sometimes cause problems. Turn off anything you have running in the background then try running the game again.

5) Check to see if there are any new updates for your Windows operating system
- Ensure that your Windows operating system has been updated to the latest version: https://support.microsoft.com/en-ca/help/4027667/windows-10-update

6) Controlled Folder Access
If you currently have Windows Ransomware Protection enabled, it may block the game from being able to access, read, or write files on the hard drive. If that is the case, you will need to allow/add the game’s .exe file (dontstarve_steam.exe) through Controlled Folder Access, in order for the game to be able to do so.

Here’s how to do this:

Select Start > Settings > Update & Security > Windows Security > Virus & threat protection;In Virus & threat protection, scroll down to Ransomware Protection, click on “Manage ransomware protection”

Check to see if Controlled folder access is ON, if it is, click on “Allow an App through Controlled folder access”

Click on + Add an allowed app > choose “Recently Blocked Apps” if Don't Starve Together was blocked previously or “Browse All Apps” and manually add Don't Starve Together. Each of these options will add dontstarve_steam.exe to the controlled folder access. If you are not sure where the file is located, generally it is within your Steam folders at \steam\steamapps\common\Don't Starve Together\

Once added, launch Don't Starve Together once more.

7) Create a new save directory folder for the game
If all of the above troubleshooting steps fail, try creating another save directory, separate from your current one (say somewhere else such as c:\DontStarveTogether) and then launch the game with that as the save directory:

- In steam right-click the game in your library
- Select ‘properties’
- Click ‘Set launch options’
- Enter ‘-persistent_storage_root c:\DontStarveTogether’ (without the quotes)
- Close dialog.
- And the next one
- Launch the game.

*sources:
https://support.klei.com/hc/en-us/articles/4407489414548-Getting-a-Dedicated-Server-Failed-To-Start-Error-Message
https://support.klei.com/hc/en-us/articles/360029882171-Getting-a-Unable-to-write-to-files-in-the-config-directory-Error-Message
< >
Showing 1-3 of 3 comments
Per page: 1530 50

Date Posted: Dec 20, 2023 @ 1:51pm
Posts: 3