DOL on Linux with Mono3

Discussions on various DOL development features

Moderator: Support Team

Re: DOL on Linux with Mono3

Postby Leodagan » Sun Nov 09, 2014 2:36 pm

New DOL SVN revision : 3386, now include "special cases" for Unix Typed system when running Xbuild !

Should work with a fully managed SQLite.DLL because most of unix'es provide their own sqlite3.so...

No more fixes are needed to build Dawn of Light.sln, you can launch your shard straight away, just fixing the ColoredConsoleAppender from log4net ;)
User avatar
Leodagan
Developer
 
Posts: 1350
Joined: Tue May 01, 2012 9:30 am
Website: https://daoc.freyad.net
Location: Lyon

Re: DOL on Linux with Mono3

Postby Graveen » Sun Nov 09, 2014 3:46 pm

yay :)
Image
* pm me to contribute in Dawn of Light: code, database *
User avatar
Graveen
Project Leader
 
Posts: 12660
Joined: Fri Oct 19, 2007 9:22 pm
Location: France

Re: DOL on Linux with Mono3

Postby Leodagan » Mon Nov 10, 2014 7:51 am

Updated the First post to match the steps required for this new Revision. (I would kill for Wiki on dolserver.net...)

Added a small explanation on how to install "Windows Code Page 1252" charset, this error come back on most of my "First Setup", so I think this should be needed for most Linux Users...

After some try outs on Mono 3.2 with SQLite library it looks like the latest Mono only advertise .NET 4.5 capabilities, so we should be careful around using 4.5.1 or 4.5.2 (that doesn't apply to third-party libraries which mostly have mono compatible versions...)
User avatar
Leodagan
Developer
 
Posts: 1350
Joined: Tue May 01, 2012 9:30 am
Website: https://daoc.freyad.net
Location: Lyon

Re: DOL on Linux with Mono3

Postby Xanth » Mon Nov 10, 2014 3:39 pm

Leodagan great work :) :!:
User avatar
Xanth
DOL Acolyte
 
Posts: 141
Joined: Tue Sep 30, 2014 7:01 pm
Location: Germany

Re: DOL on Linux with Mono3

Postby Leodagan » Sat Dec 13, 2014 2:10 pm

SVN Update 3407 (and Previous)

Conditional Framework requirement for Unix systems (Mono doesn't understand 4.5.1 and doesn't need it for the SQLite driver as it use an other DLL in managedOnly that was build for it...)
Fixed GameServerScript Compiler catching its own "obj" temporary folder to recompile file in there after a fresh start !
Update in the "copy" command at the end of GameServerScript build script to copy needed XML auto package in the proper directory.
User avatar
Leodagan
Developer
 
Posts: 1350
Joined: Tue May 01, 2012 9:30 am
Website: https://daoc.freyad.net
Location: Lyon

Re: DOL on Linux with Mono3

Postby Leodagan » Sat Apr 25, 2015 11:03 am

For those having trouble checking their Locale on DOL + Mono (you really need to mimic Windows CP1252 to have a working server for fresh DAOC Client...)

Using this command you can check that your Mono Runtime is correctly obeying the LANG setting you use :
Code: Select all
LANG=en_US.CP1252 csharp -e 'Console.WriteLine("Current Culture : {0}, Current Charset : {1}", System.Globalization.CultureInfo.CurrentCulture, System.Text.Encoding.Default);'
Should return
Code: Select all
Current Culture : en-US, Current Charset : I18N.West.CP1252
User avatar
Leodagan
Developer
 
Posts: 1350
Joined: Tue May 01, 2012 9:30 am
Website: https://daoc.freyad.net
Location: Lyon


Return to “%s” DOL Development Discussion

Who is online

Users browsing this forum: No registered users and 1 guest