Duck Game

Duck Game

View Stats:
BOY. May 17, 2018 @ 3:46pm
Game won't start due to mscorlib error
Crash Source: mscorlib
Mods apparently were not responsible for this crash.

System.IO.DirectoryNotFoundException: Could not find a part of the path 'E:\DuckGame\Mods\mods.conf'.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
at System.Xml.XmlDocument.Save(String filename)
at DuckGame.ModLoader.LoadConfig() in E:\gamedev\DuckGame_Steam\duckgame\DuckGame\src\MonoTime\Modding\ModLoader\ModLoader.cs:line 410
at DuckGame.ModLoader.LoadMods(String dir) in E:\gamedev\DuckGame_Steam\duckgame\DuckGame\src\MonoTime\Modding\ModLoader\ModLoader.cs:line 501
at DuckGame.ManagedContent.InitializeMods() in E:\gamedev\DuckGame_Steam\duckgame\DuckGame\src\MonoTime\Modding\ManagedContent.cs:line 37
at DuckGame.MonoMain.InitializeSystems() in E:\gamedev\DuckGame_Steam\duckgame\DuckGame\src\MonoTime\MonoMain.cs:line 615
at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()

Date: 05/17/2018
Version: 1.0.6451.27778
Platform: Windows 10
Online: FALSE
Editor: False
Time Played: 00:00:01
Special Code:
Code: 0
Adapter Resolution: 1280x720
Game Resolution: 1280x720
Fullscreen: False
Device: False
Level: null
Mods: 0 (0 enabled)
Command Line:





I've done a bunch of the troubleshooting that the forums discussed and nothings working. I disabled my audio devices, verified the integrity of the files and even ran the game in admin and still nothing....i don't know what to do.
Originally posted by Killer-Fackur:
E:\DuckGame\Mods\mods.conf - first
C:\DuckGame\Mods\mods.conf - last

This should be: C:\Users\xxxxxx\Documents\DuckGame\Mods\mods.conf

It appears as if windows cant find a My Documents folder in either of those drives.
You can try to create a new folder in the C drive called DuckGame and see if that works.

Otherwise you can make sure that the My documents folder is correctly assigned: https://support.microsoft.com/en-us/help/310746/configuration-of-the-my-documents-folder
< >
Showing 1-8 of 8 comments
Killer-Fackur May 17, 2018 @ 4:31pm 
Originally posted by Killer-Fackur:
wrong documents path, use:
http://www.thewindowsclub.com/change-default-save-location-windows-10
to change it to your windows drive
Last edited by Killer-Fackur; May 17, 2018 @ 4:32pm
BOY. May 18, 2018 @ 4:26pm 
That didn't fix it. My steam games are installed on my E drive since my C drive is for my OS only.
Killer-Fackur May 19, 2018 @ 6:46am 
what crash message do you get now?
BOY. May 20, 2018 @ 6:24pm 
Same error. I took out my dead 1tb and tried installing it onto my c drive(where windows is on my ssd) and still get the same error.
BOY. May 20, 2018 @ 6:25pm 
Crash Source: mscorlib
Mods apparently were not responsible for this crash.

System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\DuckGame\Mods\mods.conf'.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
at System.Xml.XmlDocument.Save(String filename)
at DuckGame.ModLoader.LoadConfig() in E:\gamedev\DuckGame_Steam\duckgame\DuckGame\src\MonoTime\Modding\ModLoader\ModLoader.cs:line 410
at DuckGame.ModLoader.LoadMods(String dir) in E:\gamedev\DuckGame_Steam\duckgame\DuckGame\src\MonoTime\Modding\ModLoader\ModLoader.cs:line 501
at DuckGame.ManagedContent.InitializeMods() in E:\gamedev\DuckGame_Steam\duckgame\DuckGame\src\MonoTime\Modding\ManagedContent.cs:line 37
at DuckGame.MonoMain.InitializeSystems() in E:\gamedev\DuckGame_Steam\duckgame\DuckGame\src\MonoTime\MonoMain.cs:line 615
at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()

Date: 05/20/2018
Version: 1.0.6451.27778
Platform: Windows 8(I'm on windows 10 idk why this is like that)
Online: FALSE
Editor: False
Time Played: 00:00:01
Special Code:
Code: 0
Adapter Resolution: 1280x720
Game Resolution: 1280x720
Fullscreen: False
Device: False
Level: null
Mods: 0 (0 enabled)
Command Line:


here just in case anything is different
The author of this thread has indicated that this post answers the original topic.
Killer-Fackur May 21, 2018 @ 11:48am 
E:\DuckGame\Mods\mods.conf - first
C:\DuckGame\Mods\mods.conf - last

This should be: C:\Users\xxxxxx\Documents\DuckGame\Mods\mods.conf

It appears as if windows cant find a My Documents folder in either of those drives.
You can try to create a new folder in the C drive called DuckGame and see if that works.

Otherwise you can make sure that the My documents folder is correctly assigned: https://support.microsoft.com/en-us/help/310746/configuration-of-the-my-documents-folder
Last edited by Killer-Fackur; May 21, 2018 @ 11:49am
BOY. May 21, 2018 @ 2:13pm 
Huh I guess when that hard drive died it did something to the documents and everything... reset the defaults and everything works. Thank you!
meat Dec 4, 2018 @ 11:48am 
I has an issue with bitdefender and "safe files" grant access via that
< >
Showing 1-8 of 8 comments
Per page: 1530 50

Date Posted: May 17, 2018 @ 3:46pm
Posts: 8