Page 1 of 3

.exe won't run

Posted: Fri Sep 04, 2015 11:01 pm
by Saddletank
I installed the SDK okay but double clicking the scenarioeditor.exe does nothing. I get an egg timer for 5 seconds then... that's it. I deleted and redownloaded it and checking with a friend the file sizes are correct. It looks like some other file permission is needed that I don't have.

Any ideas?

Re: .exe won't run

Posted: Fri Sep 04, 2015 11:43 pm
by RebBugler
Possibly a .NET Framework issue. One of the testers of this app had to upgrade their OS before it would open. Which version I don't recall since I didn't have the issue, we'll have to wait on Pakfront for further info regarding this.

Re: .exe won't run

Posted: Sat Sep 05, 2015 1:04 am
by Little Powell
.NET 4.5 should do the job.

Re: .exe won't run

Posted: Sat Sep 05, 2015 1:48 am
by Saddletank
Thanks guys, I'll go grab it and report back.

EDIT: Yes, that fixed it, thanks. Net Framework 4.5 is needed for the scenario Generator to work.

Re: .exe won't run

Posted: Sat Sep 05, 2015 4:15 pm
by remus
Tried to open exe. I have windows 8 so net framework 4.5 is already installed. Enclosed log file report. Tried to attach the whole file without success.

Remus


ERR SOWScenarioEditorWindow Please attach this log your bug report
ERR Dispatcher at System.Windows.Markup.WpfXamlLoader.Load(XamlReader xamlReader, IXamlObjectWriterFactory writerFactory, Boolean skipJournaledProperties, Object rootObject, XamlObjectWriterSettings settings, Uri baseUri)
at System.Windows.Markup.WpfXamlLoader.LoadBaml(XamlReader xamlReader, Boolean skipJournaledProperties, Object rootObject, XamlAccessLevel accessLevel, Uri baseUri)
at System.Windows.Markup.XamlReader.LoadBaml(Stream stream, ParserContext parserContext, Object parent, Boolean closeStream)
at System.Windows.Application.LoadBamlStreamWithSyncInfo(Stream stream, ParserContext pc)
at System.Windows.Application.LoadComponent(Uri resourceLocator, Boolean bSkipJournaledProperties)
at System.Windows.Application.DoStartup()
at System.Windows.Application.<.ctor>b__1(Object unused)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
ERR Dispatcher 'The invocation of the constructor on type 'ScenarioEditor.SOWScenarioEditorWindow' that matches the specified binding constraints threw an exception.' Line number '10' and line position '5'.
ERR ArgumentException at System.IO.Path.CheckInvalidPathChars(String path, Boolean checkAdditional)
at System.Security.Permissions.FileIOPermission.CheckIllegalCharacters(String[] str)
at System.Security.Permissions.FileIOPermission.AddPathList(FileIOPermissionAccess access, AccessControlActions control, String[] pathListOrig, Boolean checkForDuplicates, Boolean needFullPath, Boolean copyPathList)
at System.Security.Permissions.FileIOPermission..ctor(FileIOPermissionAccess access, String[] pathList, Boolean checkForDuplicates, Boolean needFullPath)
at System.IO.DirectoryInfo.Init(String path, Boolean checkHost)
at System.IO.DirectoryInfo..ctor(String path)
at NorbSoftDev.SOW.Mod..ctor(String dirpath)
at NorbSoftDev.SOW.UserMod..ctor(String dirpath)
at NorbSoftDev.SOW.Config.ReadGameIni(String filepath)
at NorbSoftDev.SOW.Config..ctor(String SOWDir, String sowgameiniPath, String resourcesDir)
at NorbSoftDev.SOW.Config..ctor(String SOWDir, String sowgameiniPath)
at NorbSoftDev.SOW.Config.AutoFind(String path, String configiniName)
at ScenarioEditor.SOWScenarioEditorWindow.InitializeSOW(Boolean loadModsFromGame)
at ScenarioEditor.SOWScenarioEditorWindow.SOWScenarioEditorWindowInit()
at ScenarioEditor.SOWScenarioEditorWindow..ctor()
ERR ArgumentException Illegal characters in path.

Re: .exe won't run

Posted: Sat Sep 05, 2015 6:56 pm
by Pom
Hi Guys, I'm getting the same thing as Remus...

SOWWL ScenarioEditor Log Started 05/09/2015 15:52:58
C:\Matrix Games\Scourge of War Waterloo\SDK\SowScenarioEditor\ScenarioEditor.exe
INF SOWScenarioEditorWindow FrameWork:CDF SP:0
INF SOWScenarioEditorWindow FrameWork:v2.0.50727 SP:2
INF SOWScenarioEditorWindow FrameWork:v3.0 SP:2
INF SOWScenarioEditorWindow FrameWork:v3.5 SP:1
INF SOWScenarioEditorWindow FrameWork:v4 SP:0
INF SOWScenarioEditorWindow FrameWork:v4.0 SP:0
INF SOWScenarioEditorWindow Culture: en-GB
INF String Tested C:\Matrix Games\Scourge of War Waterloo\SDK\SowScenarioEditor
INF String Tested SDK
INF String Found Game Dir: C:\Matrix Games\Scourge of War Waterloo
INF Config Found Resources Dir: C:\Matrix Games\Scourge of War Waterloo\SDK\SowScenarioEditor\Resources
INF Config SOWDir: C:\Matrix Games\Scourge of War Waterloo
INF Headers No headers found in C:\Matrix Games\Scourge of War Waterloo\SDK\SowScenarioEditor\Resources\Headers
INF Headers No headers found in C:\Users\Pom\Documents\SOWWL\ScenarioEditor\Headers
INF Config Documents: C:\Users\Pom\Documents
INF DefaultMod Found Mod "SDK" "C:\Matrix Games\Scourge of War Waterloo\SDK\Base"
INF DefaultMod Found Mod "Game" "C:\Matrix Games\Scourge of War Waterloo\Base"
INF DefaultMod Found Mod "User" "C:\Users\Pom\Documents\SOWWL"
INF Config [GameIni] Reading "C:\Users\Pom\Documents\SOWWL\ScenarioEditor.ini"
INF Config [GameIni] Using Mod "C:\Matrix Games\Scourge of War Waterloo\Mods\Chasseurs a Cheval Garde"
ERR SOWScenarioEditorWindow Please attach this log your bug report
ERR Dispatcher at System.Windows.Markup.WpfXamlLoader.Load(XamlReader xamlReader, IXamlObjectWriterFactory writerFactory, Boolean skipJournaledProperties, Object rootObject, XamlObjectWriterSettings settings, Uri baseUri)
at System.Windows.Markup.WpfXamlLoader.LoadBaml(XamlReader xamlReader, Boolean skipJournaledProperties, Object rootObject, XamlAccessLevel accessLevel, Uri baseUri)
at System.Windows.Markup.XamlReader.LoadBaml(Stream stream, ParserContext parserContext, Object parent, Boolean closeStream)
at System.Windows.Application.LoadBamlStreamWithSyncInfo(Stream stream, ParserContext pc)
at System.Windows.Application.LoadComponent(Uri resourceLocator, Boolean bSkipJournaledProperties)
at System.Windows.Application.DoStartup()
at System.Windows.Application.<.ctor>b__1(Object unused)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
ERR Dispatcher 'The invocation of the constructor on type 'ScenarioEditor.SOWScenarioEditorWindow' that matches the specified binding constraints threw an exception.' Line number '10' and line position '5'.
ERR ArgumentException at System.IO.Path.CheckInvalidPathChars(String path, Boolean checkAdditional)
at System.Security.Permissions.FileIOPermission.CheckIllegalCharacters(String[] str)
at System.Security.Permissions.FileIOPermission.AddPathList(FileIOPermissionAccess access, AccessControlActions control, String[] pathListOrig, Boolean checkForDuplicates, Boolean needFullPath, Boolean copyPathList)
at System.Security.Permissions.FileIOPermission..ctor(FileIOPermissionAccess access, String[] pathList, Boolean checkForDuplicates, Boolean needFullPath)
at System.IO.DirectoryInfo.Init(String path, Boolean checkHost)
at System.IO.DirectoryInfo..ctor(String path)
at NorbSoftDev.SOW.Mod..ctor(String dirpath)
at NorbSoftDev.SOW.UserMod..ctor(String dirpath)
at NorbSoftDev.SOW.Config.ReadGameIni(String filepath)
at NorbSoftDev.SOW.Config..ctor(String SOWDir, String sowgameiniPath, String resourcesDir)
at NorbSoftDev.SOW.Config..ctor(String SOWDir, String sowgameiniPath)
at NorbSoftDev.SOW.Config.AutoFind(String path, String configiniName)
at ScenarioEditor.SOWScenarioEditorWindow.InitializeSOW(Boolean loadModsFromGame)
at ScenarioEditor.SOWScenarioEditorWindow.SOWScenarioEditorWindowInit()
at ScenarioEditor.SOWScenarioEditorWindow..ctor()
ERR ArgumentException Illegal characters in path.

Re: .exe won't run

Posted: Sun Sep 06, 2015 1:04 am
by uxbridge
I'm afraid I also get an error on trying to run the Scenario Editor exe with the following log:
SOWWL ScenarioEditor Log Started 05/09/2015 22:01:03
C:\Games\Matrix Games\Scourge of War Waterloo\SDK\SowScenarioEditor\ScenarioEditor.exe
INF SOWScenarioEditorWindow FrameWork:CDF SP:0
INF SOWScenarioEditorWindow FrameWork:v2.0.50727 SP:2
INF SOWScenarioEditorWindow FrameWork:v3.0 SP:2
INF SOWScenarioEditorWindow FrameWork:v3.5 SP:1
INF SOWScenarioEditorWindow FrameWork:v4 SP:0
INF SOWScenarioEditorWindow FrameWork:v4.0 SP:0
INF SOWScenarioEditorWindow Culture: en-GB
INF String Tested C:\Games\Matrix Games\Scourge of War Waterloo\SDK\SowScenarioEditor
INF String Tested SDK
INF String Found Game Dir: C:\Games\Matrix Games\Scourge of War Waterloo
INF Config Found Resources Dir: C:\Games\Matrix Games\Scourge of War Waterloo\SDK\SowScenarioEditor\Resources
INF Config SOWDir: C:\Games\Matrix Games\Scourge of War Waterloo
INF Headers No headers found in C:\Games\Matrix Games\Scourge of War Waterloo\SDK\SowScenarioEditor\Resources\Headers
INF Headers No headers found in C:\Users\Anthony\Documents\SOWWL\ScenarioEditor\Headers
INF Config Documents: C:\Users\Anthony\Documents
INF DefaultMod Found Mod "SDK" "C:\Games\Matrix Games\Scourge of War Waterloo\SDK\Base"
INF DefaultMod Found Mod "Game" "C:\Games\Matrix Games\Scourge of War Waterloo\Base"
INF DefaultMod Found Mod "User" "C:\Users\Anthony\Documents\SOWWL"
INF Config [GameIni] Reading "C:\Users\Anthony\Documents\SOWWL\SowWL.ini"
INF Config [GameIni] Using Mod "C:\Games\Matrix Games\Scourge of War Waterloo\Mods\Realistic Smoke"
INF Config [GameIni] Using Mod "C:\Games\Matrix Games\Scourge of War Waterloo\Mods\Expanded Toolbar - Grog High_Rez"
INF Config [GameIni] Using Mod "C:\Games\Matrix Games\Scourge of War Waterloo\Mods\montana sagrada"
INF Config [GameIni] Using Mod "C:\Games\Matrix Games\Scourge of War Waterloo\Mods\Rio Espanol"
INF Config [GameIni] 1 deactivated mods
INF Config [NorbSoftDev.SOW.Graphic] Reading "C:\Games\Matrix Games\Scourge of War Waterloo\SDK\Base\Logistics\gfx.csv"
INF Config [NorbSoftDev.SOW.Graphic] count 115
INF Config [NorbSoftDev.SOW.Graphic] Reading "C:\Games\Matrix Games\Scourge of War Waterloo\Mods\montana sagrada\Logistics\gfx.csv"
ERR String [ToInt32] Unable to convert value "Width"
ERR Graphic read failed on 'Name'' column: 2 'Width' value:'Width'
ERR Config [NorbSoftDev.SOW.Graphic] Read failed on "Name"
ERR SOWScenarioEditorWindow Please attach this log your bug report
ERR Dispatcher at System.Windows.Markup.WpfXamlLoader.Load(XamlReader xamlReader, IXamlObjectWriterFactory writerFactory, Boolean skipJournaledProperties, Object rootObject, XamlObjectWriterSettings settings, Uri baseUri)
at System.Windows.Markup.WpfXamlLoader.LoadBaml(XamlReader xamlReader, Boolean skipJournaledProperties, Object rootObject, XamlAccessLevel accessLevel, Uri baseUri)
at System.Windows.Markup.XamlReader.LoadBaml(Stream stream, ParserContext parserContext, Object parent, Boolean closeStream)
at System.Windows.Application.LoadBamlStreamWithSyncInfo(Stream stream, ParserContext pc)
at System.Windows.Application.LoadComponent(Uri resourceLocator, Boolean bSkipJournaledProperties)
at System.Windows.Application.DoStartup()
at System.Windows.Application.<.ctor>b__1(Object unused)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
ERR Dispatcher 'The invocation of the constructor on type 'ScenarioEditor.SOWScenarioEditorWindow' that matches the specified binding constraints threw an exception.' Line number '10' and line position '5'.
ERR FormatException at NorbSoftDev.SOW.Config.ReadCSVIntoDictionary[T,S](String filepath, Dictionary`2 dict)
at NorbSoftDev.SOW.Config..ctor(String SOWDir, String sowgameiniPath, String resourcesDir)
at NorbSoftDev.SOW.Config..ctor(String SOWDir, String sowgameiniPath)
at NorbSoftDev.SOW.Config.AutoFind(String path, String configiniName)
at NorbSoftDev.SOW.Config.AutoFind()
at ScenarioEditor.SOWScenarioEditorWindow.InitializeSOW(Boolean loadModsFromGame)
at ScenarioEditor.SOWScenarioEditorWindow.SOWScenarioEditorWindowInit()
at ScenarioEditor.SOWScenarioEditorWindow..ctor()
ERR FormatException Input string was not in a correct format.

Re: .exe won't run

Posted: Sun Sep 06, 2015 4:14 am
by pakfront
Seems like You have a mod that is breaking the game. Try moving them to another folder and relaunching. If that works, send let is know what mods you have, exact spelling is important. Thanks.

Re: .exe won't run

Posted: Sun Sep 06, 2015 2:02 pm
by Pom
Hi pakfront I emptied the mod folder, still getting the same message.

Re: .exe won't run

Posted: Sun Sep 06, 2015 2:57 pm
by remus
Hi Pakfront

Same as Pom. Put all mods into a new folder and took it out of the game same problem. Is it a Windows 8 issue?

Remus