Author: Scott_NZ
Author Website:

Requirements: .NET Framework 4 Client Profile, Arma 2 beta 87640

Version: 2.3

Short description: Arma2NET is a wrapper used for communicating between managed code and SQF code used in the game Arma 2, adding significant functionality to SQF scripting.

Date: 2012-12-03 09:18


Comments: (0)
Rating:



 



Arma2NET

by
Scott_NZ


Description:
Arma2NET is a wrapper used for communicating between managed code and SQF code used in the game Arma 2, adding significant functionality to SQF scripting.

Arma2NET gives you the ability to use the .NET Framework from Arma 2. It is designed to be an alternative for those who don't want to use C or C++ with callExtension or Java and the JVM.

There is a wide range of language implementations that target the Common Language Runtime, so you can use C#, Python, VB.NET, F#, Ruby code and more, directly from Arma 2.

A list of languages that you can use can be found here.


Features:
- Call managed functions and manipulate the return value from SQF.
- Check the status of long-running managed functions from SQF using callbacks.
- Convert SQF literals (lists, strings, numbers etc) to .NET objects and back.
- Extend the functionality of Arma2NET by writing plugins written in any language that compiles to .NET bytecode, such as C#, F# or VB.NET.

Included plugins:
- BaseFunctions
- CommandLine (get command line used to start Arma 2)
- DateTime (get system time/UTC time)

More plugins:
- IronPython code executor/evaluator. Run .py script files and more from your system.
- IronRuby


Installation:
Requirements:
The .NET Framework 4 Client Profile is required to use Arma2NET: http://www.microsoft.com/download/en....aspx?id=24872
Because the callExtension function (introduced after 1.60) is used to invoke Arma2NET, you must use Arma 2 beta version 87640 or later.

Mono runtime:
If you would like to use the Mono runtime instead of the .NET runtime (this should work fine on Windows 8, if not let me know)!

Download and install Mono 2.11.3 from here (make sure you use 2.11.3, there is a bug in the stable version which will prevent Arma2NET from functioning correctly)
Rename Arma2Net.Unmanaged.Mono.dll to Arma2Net.Unmanaged.dll and back up the old Arma2Net.Unmanaged.dll in case you want to revert.
Append the path to Mono's bin folder to your %PATH% environment variable.
Edit MonoPaths.txt to point to Mono's lib and etc folders.

Arma2NET should function almost exactly the same on Mono as it does on .NET.


Usage:
Wiki home: https://bitbucket.org/Scott_NZ/arma2net/wiki/Home
Getting started with Arma2NET: https://bitbucket.org/Scott_NZ/arma2net/wiki/Getting_started
Introductory tutorial: https://bitbucket.org/Scott_NZ/arma2net/wiki/Tutorial
Documentation about the new scripting system can be found here: https://bitbucket.org/Scott_NZ/arma2net/wiki/Scripts

Dev-Heaven: https://dev-heaven.net/projects/a2n

Please create a ticket for bugs/features at https://dev-heaven.net/projects/a2n/issues or https://bitbucket.org/Scott_NZ/arma2net/issues


Changelog:
v2.3
- Added SetClipboardText <text> and GetClipboardText functions for manipulating the clipboard.
- Improved the startup time.
- Added AsyncActionAddIn and AsyncFuncAddIn for high performance asynchronous calls.



Forum topic:
- BI forums



- .NET Framework 4 Client Profile
- Because the callExtension function (introduced after 1.60) is used to invoke Arma2NET, you must use Arma 2 beta version 87640 or later.




Enable javascript to be able to download from Armaholic please!



Tags: No tags