Adventure Game Studio

AGS Development => Engine Development => Topic started by: on Thu 07/12/2017 22:08:47

Title: TRA compile problem in 3.4.1
Post by: on Thu 07/12/2017 22:08:47
Hi CW, I'm getting this error trying to run / compile a game, I don't really know what it means, the corresponding TRS translation file is present, and the filename it's suggesting English.tra - well I thought AGS would be writing that file on compile, not seeking it. Maybe the following error says something to you. Not so sure how to proceed so any advice is appreciated, thank you! (btw it compiles fine under 3.3.4, and I think the same thing happens in 3.4.0. I've tried compiling to Windows only and Windows + Linux and it occurs, but as I say, cannot run the game either with the same error being displayed and right clicking on translations in the editor then "compile" (the translation) also presents this error). Thank you for looking!

Quote
Error: Could not find a part of the path 'C:\Game Work\Tales_RC1\Tales Linux Steam\Tales\Compiled\Data\English.tra'.
Version: AGS 3.4.1.9

System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Game Work\Tales_RC1\Tales Linux Steam\Tales\Compiled\Data\English.tra'.
   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)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access)
   at AGS.Editor.Components.TranslationsComponent.CompileTranslation(Translation translation, CompileMessages errors)
   at AGS.Editor.Components.TranslationsComponent.AGSEditor_PreCompileGame(PreCompileGameEventArgs evArgs)
   at AGS.Editor.AGSEditor.PreCompileGameHandler.Invoke(PreCompileGameEventArgs evArgs)
   at AGS.Editor.AGSEditor.CompileGame(Boolean forceRebuild, Boolean createMiniExeForDebug)
   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)
Title: Re: TRA compile problem in 3.4.1
Post by: Crimson Wizard on Thu 07/12/2017 22:31:13
Hi, this was reported recently, supposedly fixed with the temp build: https://www.dropbox.com/s/enevvalninme7cn/ags-editor-3.4.1--pre-rc3.zip?dl=0

Basically, this is because intermediate output is now stored in the "Compiled/Data" contrary to just "Compiled", but "Data" subfolder was created a bit late.
Title: Re: TRA compile problem in 3.4.1
Post by: on Thu 07/12/2017 22:33:58
Neato thank you, sounds good to me so I'll give that version a go asap if that is the current fix, thanks for that!
Title: Re: TRA compile problem in 3.4.1
Post by: Crimson Wizard on Wed 21/02/2018 16:03:04
Was fixed in 3.4.1.