Hello everyone, I'm not sure where to post this but it's been bugging me all night.
I'm using AGS 3.4.1.10 and every time I go to test the game I keep getting this error
Could not build target platform _Debug, because the file 'acwin.exe' is unavailable.
Plus the game exe doesn't show up anywhere after it's compiled. Anyone have any idea on what this is or what is causing this?
Thanks in advance
EDIT:
I seem to have fixed this by extracting another acwin.exe in the systems folder but now I have a new error:
Error: Access is denied
Version: AGS 3.4.1.10
System.Exception: Access is denied ---> System.ComponentModel.Win32Exception: Access is denied
at AGS.Editor.Tasks.RunEXEFile(String exeName, String parameter, Boolean raiseEventOnExit)
at AGS.Editor.Tasks.TestGame(Boolean withDebugger)
at AGS.Editor.InteractiveTasks.TestGame(Boolean withDebugger)
--- End of inner exception stack trace ---
at AGS.Editor.InteractiveTasks.TestGame(Boolean withDebugger)
at AGS.Editor.Components.BuildCommandsComponent.TestGame(Boolean withDebugger)
at AGS.Editor.Components.BuildCommandsComponent.CommandClick(String controlID)
at AGS.Editor.ToolBarManager.ToolbarEventHandler(Object sender, EventArgs e)
at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
at System.Windows.Forms.ToolStripButton.OnClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ToolStrip.WndProc(Message& m)
at AGS.Editor.ToolStripExtended.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
Solved: I found the reason after spending all night researching. It was Avast Antivirus not allowing the exe to run and even deleting it. I added the game files to the ignore list and works like a charm. Hope this helps other people who have the same problem.