Ags, Osx and Wine

Started by , Fri 21/04/2017 23:08:04

Previous topic - Next topic

Neo_One

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.

Crimson Wizard

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

Neo_One

VC yes but not .Net :/ i'll try now and tell you.
Thanks  :)

Neo_One

It works at last. Thanks  ;-D

Neo_One

#4
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.


Khris

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

Neo_One

Definitely is impossible to work with Ags out of Windows. I found this https://appdb.winehq.org/objectManager.php?sClass=version&iId=26575.

Crimson Wizard

#8
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.

SMF spam blocked by CleanTalk