Can't run AGS Editor in Linux

Started by Eastwing, Mon 09/06/2014 05:49:07

Previous topic - Next topic

Eastwing

Hi everybody! Sorry my English.

Can't run Editor in Linux Mint 13. Wine and mono are both installed, but when I'm trying to start AGS, there is an error:

Code: bash

/home/eastwing/AGS-Editor/AGSEditor.exe
Method '<Module>:<CrtImplementationDetails>.DoDllLanguageSupportValidation ()' in assembly '/home/eastwing/AGS-Editor/AGS.Native.dll' contains native code that cannot be executed by Mono on this platform. The assembly was probably created using C++/CLI.

Method '<Module>:<CrtImplementationDetails>.ThrowModuleLoadException (string,System.Exception)' in assembly '/home/eastwing/AGS-Editor/AGS.Native.dll' contains native code that cannot be executed by Mono on this platform. The assembly was probably created using C++/CLI.

[ERROR] FATAL UNHANDLED EXCEPTION: System.EntryPointNotFoundException: CreateNamedPipe
  at (wrapper managed-to-native) AGS.Editor.NamedPipesServer:CreateNamedPipe (string,uint,uint,uint,uint,uint,uint,intptr)
  at AGS.Editor.NamedPipesServer.ListenForClients (System.Object currentServer) [0x00000] in <filename unknown>:0 
  at System.Threading.Thread.StartInternal () [0x00000] in <filename unknown>:0 


I wonder if anyone knows solution for this problem?

Problem

#1
The AGS Editor doesn't work with Mono, but you can use Winetricks to install .NET 2.0, that should work. Linux Mint is based on Ubuntu, so there should be a winetricks package in the repositories.

http://appdb.winehq.org/objectManager.php?sClass=version&iId=28117
http://wiki.winehq.org/winetricks

Eastwing

Quote from: Problem on Mon 09/06/2014 06:47:37
The AGS Editor doesn't work with Mono, but you can use Winetricks to install .NET 2.0, that should work. Linux Mint is based on Ubuntu, so there should be a winetricks package in the repositories.

http://appdb.winehq.org/objectManager.php?sClass=version&iId=28117
http://wiki.winehq.org/winetricks

Yes, I install dotnet and editor finally starts.

Thank you!

Eastwing

Well... There is a next problem

When I try to edit some script, I see this:



Problem

Strange, I don't have this problem. Maybe try to resize the window, or try different window manager settings in Wine. If all else fails, you can always edit the script files with an external editor.

Eastwing

Thanks, I'll try it.

Is there any external editors with AGS syntax highlighting? Maybe someone make template for Gedit (for example)?

Adeel

Close the editor. Open it again and it'll work fine (hopefully). I recently got this 'bug' on my system too (I use Windows). Restarting the editor fixed it. :)

Eastwing

Quote from: Problem on Mon 09/06/2014 08:56:19
Strange, I don't have this problem. Maybe try to resize the window, or try different window manager settings in Wine. If all else fails, you can always edit the script files with an external editor.

Quote from: Adeel S. Ahmed on Mon 09/06/2014 19:38:16
Close the editor. Open it again and it'll work fine (hopefully). I recently got this 'bug' on my system too (I use Windows). Restarting the editor fixed it. :)

Thanks all but it's don't work. So, I think I'll just use external editor

Eastwing

#8
I think it may be useful.

Problem was atomaticly solved when I add the Wine PPA from WiheHQ and update Wine.

Like this:
Code: bash

sudo add-apt-repository  ppa:ubuntu-wine/ppa
sudo apt-get update
sudo apt-get upgrade

SMF spam blocked by CleanTalk