Sorry, even when I go back to a version of the .NET Framework, It’s still not opening the program anywhere.
I restarted twice for every version I could go back to. SOBBING
I will investigate what could cause this issue. I am unsure of any alternative solutions at present or what could cause this. I know other applications written in any other language can have similar issues, and it may be isolated to certain Windows related setups. Can you go into your Event Log and see if there are any issues there that Windows may have reported?
Also see if reinstalling Story Creator helps. It may be that a configuration file got corrupted the last time the app exited.
Application: StoryDev.exe Framework Version: v4.0.30319 Description: The process was terminated due to an unhandled exception. Exception Info: System.IO.FileNotFoundException at System.IO.__Error.WinIOError(Int32, System.String) at System.IO.FileStream.Init(System.String, System.IO.FileMode, System.IO.FileAccess, Int32, Boolean, System.IO.FileShare, Int32, System.IO.FileOptions, SECURITY_ATTRIBUTES, System.String, Boolean, Boolean, Boolean) at System.IO.FileStream..ctor(System.String, System.IO.FileMode, System.IO.FileAccess, System.IO.FileShare, Int32, System.IO.FileOptions, System.String, Boolean, Boolean, Boolean) at System.IO.StreamReader..ctor(System.String, System.Text.Encoding, Boolean, Int32, Boolean) at System.IO.File.InternalReadAllText(System.String, System.Text.Encoding, Boolean) at StoryDev.Globals.GlobalInit() at StoryDev.Program.Main()</Data>
</EventData>
</Event>
In Windows Explorer, if you navigate to the following:
%LocalAppData%/StoryDev/
And tell me if,
The likelihood is that "settings.json" cannot be found, based on the supplied error.
If it does exist, please open the file properties and add full access permissions to the file and try re-opening Story Creator.
Let me know how you get on.
There is nothing inside??
And as soon as I delete it and try again open the application Story Creator once more IT OPEN?!?!?
Ah, the code is poorly written for it's time. So, what was happening was Story Creator was detecting if the folder existed or if the file existed, but if the folder existed and the settings file didn't exist, it would still attempt to read the settings.json file, hence the error.
I don't think this is a major issue, however, as the only code pertaining to this file is literally one global setting to determine if word-wrapping should be enabled in the dialogue editor.
However, I realise this has caused an inconvenience for you and this shouldn't be the case. If it happens again, simply delete the folder as you have done and start up the application again.