Adventure Game Studio

Community => General Discussion => Topic started by: on Fri 21/04/2017 23:08:04

Title: Ags, Osx and Wine
Post by: on Fri 21/04/2017 23:08:04
I try to run Ags in Osx with Wine, but it crashes in splash screen. Other soft run (like Blender) but not Ags.
I'm doing something wrong?
Thanks.
Title: Re: Ags, Osx and Wine
Post by: Crimson Wizard on Sun 23/04/2017 02:23:38
Have you installed all the requirements, like .NET 2.0 and VC Redistributable?
Requirements for Wine are same as for Windows, and listed on download page: https://www.adventuregamestudio.co.uk/site/ags/

Also, recently someone posted a solution for running on Linux, maybe that can help too:
http://www.adventuregamestudio.co.uk/forums/index.php?topic=54390.msg636552893#msg636552893
Title: Re: Ags, Osx and Wine
Post by: on Sun 23/04/2017 09:08:55
VC yes but not .Net :/ i'll try now and tell you.
Thanks  :)
Title: Re: Ags, Osx and Wine
Post by: on Sun 23/04/2017 10:30:06
It works at last. Thanks  ;-D
Title: Re: Ags, Osx and Wine
Post by: on Mon 24/04/2017 12:07:44
There are error screen that appears some times:

Error: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
Version: AGS 3.3.5.7

System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
   at System.Windows.Forms.UnsafeNativeMethods.OleGetClipboard(IDataObject& data)
   at System.Windows.Forms.Clipboard.GetDataObject(Int32 retryTimes, Int32 retryDelay)
   at System.Windows.Forms.Clipboard.GetDataObject()
   at System.Windows.Forms.Clipboard.ContainsText(TextDataFormat format)
   at System.Windows.Forms.Clipboard.ContainsText()
   at AGS.Editor.ScintillaWrapper.CanPaste()
   at AGS.Editor.ScriptEditor.UpdateToolbarButtonsIfNecessary()
   at AGS.Editor.ScriptEditor.scintilla_UpdateUI(Object sender, EventArgs e)
   at AGS.Editor.ScintillaWrapper.OnUpdateUI(Object sender, EventArgs e)
   at Scintilla.ScintillaControl.DispatchScintillaEvent(SCNotification notification)
   at Scintilla.ScintillaControl.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 param)

Apparently nothing happens, click in ok button and i keep on working. This is normal or can affect to my work?

Edit. Close the ide too. I forget say that i use Winebottler to run Ags in Osx.
Title: Re: Ags, Osx and Wine
Post by: BunnyDeFluff on Wed 26/04/2017 16:04:49
Did you try asking in the Advanced Technical Forum http://www.adventuregamestudio.co.uk/forums/index.php?board=2.0
Title: Re: Ags, Osx and Wine
Post by: Khris on Wed 26/04/2017 23:30:15
Don't cross-post. This issue is not really an AGS technical issue anyway, in the sense that knowledge about AGS / scripting is required to fix it.

UnsafeNativeMethods sounds like it should crash Wine :P
Title: Re: Ags, Osx and Wine
Post by: on Sat 27/05/2017 08:11:09
Definitely is impossible to work with Ags out of Windows. I found this https://appdb.winehq.org/objectManager.php?sClass=version&iId=26575.
Title: Re: Ags, Osx and Wine
Post by: Crimson Wizard on Sat 27/05/2017 08:47:40
Quote from: Neo_One on Sat 27/05/2017 08:11:09
Definitely is impossible to work with Ags out of Windows. I found this https://appdb.winehq.org/objectManager.php?sClass=version&iId=26575.

The information you found is about testing AGS 3.2, which is like 10 years old now.

We had couple of people posting about success this year:
https://www.adventuregamestudio.co.uk/forums/index.php?topic=54390.msg636552893#msg636552893
https://www.adventuregamestudio.co.uk/forums/index.php?topic=54631.msg636558648#msg636558648

In the other news, ChamberOfFear (aka persn on github) is currently experimenting building AGS Editor for Unix using Mono, but that's WIP for now.