Launcher linux support?

If you need support, you can get help here!
ssdff
Warder
 
Posts: 50
Joined: Dec 20, 2012 19:58

Postby ssdff » May 11, 2016 19:48

Has anyone been successful in setup of launcher in a linux environment? I have a friend attempting to play but he is running ubuntu, np I can probably get it working for him with wine and maybe some other work arounds but was curious if someone has already went through these steps? If not I can document the steps I take if I'm able to get it working for him.

norlin
Myrmidon
 
Posts: 104
Joined: Aug 25, 2013 22:56

Postby norlin » May 11, 2016 19:51


thursa
Myrmidon
 
Posts: 83
Joined: Sep 23, 2012 23:35

Postby thursa » Oct 07, 2016 21:30

This is a showstopper for me as I don't run Windows natively anywhere.
(Note: Mac OS X runs DAoC the same way Linux does, via WINE that you install via Homebrew)

Any way to run the Uthgard patcher/launcher without the .NET 4.61 requirement?

thursa
Myrmidon
 
Posts: 83
Joined: Sep 23, 2012 23:35

Postby thursa » Oct 09, 2016 12:45

OK I did the following:

* I installed Wine Mono from here: http://dl.winehq.org/wine/wine-mono/4.6.3/
* I installed Wine Gecko from here: http://dl.winehq.org/wine/wine-gecko/2. ... 40-x86.msi (because I'm running WINE 1.8.4)
* Imported/Synced SSL certificates with: ne mozroots.exe --import --sync --url https://hg.mozilla.org/mozilla-central/ ... rtdata.txt from .wine/drive_c/windows/mono/mono-2.0/lib/mono/4.5

I go to Play button and copy the uthgard:// URL and I plug it into:
Code: Select all
wine uthgard.exe --url uthgard://.....


I get the error:
Code: Select all
Failed to contact authentication server:Could not connect to the authentication server. Please check your firewall settings.


Checked firewall, it's allowing all traffic to server.uthgard.net. I see SYN, ACK, SYN+ACK TCP handshake, followed immediately by FIN.. which means the client closed the connection immediately.

Guessing it won't run under WINE yet?

(Also commented on https://uthgard.org/tracker/issue/7/ )

thursa
Myrmidon
 
Posts: 83
Joined: Sep 23, 2012 23:35

Postby thursa » Oct 09, 2016 17:18

Do I install NDP46-KB3045557-x86-x64-AllOS-ENU.exe (DotNet 4.6 installer) under WINE, or go with the Wine-Mono-4.6.3?
I ran the DotNet 4.6 installer as per: https://appdb.winehq.org/objectManager. ... ngId=92745
(with the /q commandline) and it finished.. but it can't run uthgard.exe properly.

User avatar
rorik
Warder
 
Posts: 20
Joined: Oct 29, 2014 19:23

Postby rorik » Oct 10, 2016 16:00

thursa wrote:Do I install NDP46-KB3045557-x86-x64-AllOS-ENU.exe (DotNet 4.6 installer) under WINE, or go with the Wine-Mono-4.6.3?
I ran the DotNet 4.6 installer as per: https://appdb.winehq.org/objectManager. ... ngId=92745
(with the /q commandline) and it finished.. but it can't run uthgard.exe properly.


I cannot reproduce this error since I run Windows natively but as a middle ground wouldn't it be possible to run DAOC via a Windows virtual machine on your Linux host with GPU passthru enabled?

thursa
Myrmidon
 
Posts: 83
Joined: Sep 23, 2012 23:35

Postby thursa » Dec 09, 2016 16:18

rorik wrote:
thursa wrote:Do I install NDP46-KB3045557-x86-x64-AllOS-ENU.exe (DotNet 4.6 installer) under WINE, or go with the Wine-Mono-4.6.3?
I ran the DotNet 4.6 installer as per: https://appdb.winehq.org/objectManager. ... ngId=92745
(with the /q commandline) and it finished.. but it can't run uthgard.exe properly.


I cannot reproduce this error since I run Windows natively but as a middle ground wouldn't it be possible to run DAOC via a Windows virtual machine on your Linux host with GPU passthru enabled?


Which virtual machines support GPU passthru? Just KVM (a form of XEN?), what about VirtualBox?
Maybe if I had a Windows 7 serial number.. I could :P

User avatar
Liss
Eagle Knight
 
Posts: 535
Joined: May 26, 2009 00:00

Postby Liss » Dec 10, 2016 13:25

Getting it working under wine is currently stalled because there is no support for some of the injections that the launcher does.
(The drawback of using so new dependencies.)

thursa wrote:
rorik wrote:
thursa wrote:Do I install NDP46-KB3045557-x86-x64-AllOS-ENU.exe (DotNet 4.6 installer) under WINE, or go with the Wine-Mono-4.6.3?
I ran the DotNet 4.6 installer as per: https://appdb.winehq.org/objectManager. ... ngId=92745
(with the /q commandline) and it finished.. but it can't run uthgard.exe properly.


I cannot reproduce this error since I run Windows natively but as a middle ground wouldn't it be possible to run DAOC via a Windows virtual machine on your Linux host with GPU passthru enabled?


Which virtual machines support GPU passthru? Just KVM (a form of XEN?), what about VirtualBox?
Maybe if I had a Windows 7 serial number.. I could :P

You need proper 3D support to run it inside a VM.
This means VirtualBox will not work.
VMware I know for sure works, but the fps is flaky.

KVM works with passthrough, not without.
Setting it up can be tricky though, because first your hardware need to support it, and not all do.
It is also very picky with the gpu drivers, and the windows.iso you use.
When you finally have it set up however, then it is as good as dual-booting.

(Check out virt-manager if you are new to it, as it does an okay job.
Feel free to ask if you get stuck.)

thursa
Myrmidon
 
Posts: 83
Joined: Sep 23, 2012 23:35

Postby thursa » Dec 12, 2016 13:12

Liss wrote:You need proper 3D support to run it inside a VM.
This means VirtualBox will not work.
VMware I know for sure works, but the fps is flaky.

KVM works with passthrough, not without.
Setting it up can be tricky though, because first your hardware need to support it, and not all do.
It is also very picky with the gpu drivers, and the windows.iso you use.
When you finally have it set up however, then it is as good as dual-booting.

(Check out virt-manager if you are new to it, as it does an okay job.
Feel free to ask if you get stuck.)


Do I need Intel VT-d support to do the passthrough?
I'm running an i7-3630QM which is only a 3rd gen. i7 and it doesn't support VT-d.

EDIT: Yep, checked around. You do need VT-d to do any Passthrough of video. Oh well, so much for that idea.
Perhaps my next laptop, I'll set up Xen or something similar with a Dom0 and just set up various VMs and passthrough that way.

User avatar
TheKrokodil
Alerion Knight
 
Posts: 2126
Joined: Jan 11, 2005 01:00

Postby TheKrokodil » Dec 13, 2016 22:14

thursa wrote:OK I did the following:

* I installed Wine Mono from here: http://dl.winehq.org/wine/wine-mono/4.6.3/
* I installed Wine Gecko from here: http://dl.winehq.org/wine/wine-gecko/2. ... 40-x86.msi (because I'm running WINE 1.8.4)
* Imported/Synced SSL certificates with: ne mozroots.exe --import --sync --url https://hg.mozilla.org/mozilla-central/ ... rtdata.txt from .wine/drive_c/windows/mono/mono-2.0/lib/mono/4.5

I go to Play button and copy the uthgard:// URL and I plug it into:
Code: Select all
wine uthgard.exe --url uthgard://.....


I get the error:
Code: Select all
Failed to contact authentication server:Could not connect to the authentication server. Please check your firewall settings.


Checked firewall, it's allowing all traffic to server.uthgard.net. I see SYN, ACK, SYN+ACK TCP handshake, followed immediately by FIN.. which means the client closed the connection immediately.

Guessing it won't run under WINE yet?

(Also commented on https://uthgard.org/tracker/issue/7/ )


Make sure https:// works under wine. You might need to update your local certs? I.e. by running "mozroots --import --ask-remove" or similar?
Be nice. :)

thursa
Myrmidon
 
Posts: 83
Joined: Sep 23, 2012 23:35

Postby thursa » Dec 14, 2016 19:10

TheKrokodil wrote:
thursa wrote:OK I did the following:

* I installed Wine Mono from here: http://dl.winehq.org/wine/wine-mono/4.6.3/
* I installed Wine Gecko from here: http://dl.winehq.org/wine/wine-gecko/2. ... 40-x86.msi (because I'm running WINE 1.8.4)
* Imported/Synced SSL certificates with: ne mozroots.exe --import --sync --url https://hg.mozilla.org/mozilla-central/ ... rtdata.txt from .wine/drive_c/windows/mono/mono-2.0/lib/mono/4.5

I go to Play button and copy the uthgard:// URL and I plug it into:
Code: Select all
wine uthgard.exe --url uthgard://.....


I get the error:
Code: Select all
Failed to contact authentication server:Could not connect to the authentication server. Please check your firewall settings.


Checked firewall, it's allowing all traffic to server.uthgard.net. I see SYN, ACK, SYN+ACK TCP handshake, followed immediately by FIN.. which means the client closed the connection immediately.

Guessing it won't run under WINE yet?

(Also commented on https://uthgard.org/tracker/issue/7/ )


Make sure https:// works under wine. You might need to update your local certs? I.e. by running "mozroots --import --ask-remove" or similar?



Hi,

I ran:

wine mozroots.exe --import --sync --url https://hg.mozilla.org/mozilla-central/ ... rtdata.txt to update/import the SSL certificates

Has anything changed since then? Do I need to use a different URL to pull in the certs?

thursa
Myrmidon
 
Posts: 83
Joined: Sep 23, 2012 23:35

Postby thursa » Dec 14, 2016 21:27

Does Uthgard only do OpenID now? I can't see how to log in with Google anymore.

thursa
Myrmidon
 
Posts: 83
Joined: Sep 23, 2012 23:35

Postby thursa » Dec 14, 2016 21:39

OK tried it again.
When I install the Uthgard Launcher setup, it wants to download .NET 4.6.. which fails.
But then when I run:
Code: Select all
wine ./uthgard.exe uthgard://longcode


I get a transparent 'Uthgard' graph pop up in the middle of the screen then get:

Code: Select all
Failed to contact authentication server:Could not connect to the authentication server. Please check your firewall settings.

(error: Error looking up error string)


I guess it doesn't like mono 4.6.3.

EDIT: Doesn't work with mono 4.6.4 either.

thursa
Myrmidon
 
Posts: 83
Joined: Sep 23, 2012 23:35

Postby thursa » Dec 16, 2016 16:33

I tried starting over and installing Dotnet 4.6 (which, I don't think fully works on WINE 1.9.24... anyway)..
When running the Uthgard Launcher, I get:
Code: Select all
err:ole:CoGetContextToken apartment not initialised
err:winsock:WSAIoctl -> SIO_ADDRESS_LIST_CHANGE request failed with status 0x2733
err:winsock:WSAIoctl -> SIO_ADDRESS_LIST_CHANGE request failed with status 0x2733
err:winsock:WSAIoctl -> SIO_ADDRESS_LIST_CHANGE request failed with status 0x2733
err:winsock:WSAIoctl -> SIO_ADDRESS_LIST_CHANGE request failed with status 0x2733
bootstrapper failed; Unhandled Exception in Bootstrapper: An unhandled exception was encountered:

System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.MissingMethodException: Method not found: '!!0[] System.Array.Empty()'.
.. at
(String[] args)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at Uthgard.Bootstrapper.Program.Main(String[] args)


Command line was:
Code: Select all
 wine ./uthgard.exe --root='D:\Uthgard' uthgard://login/really:long:code:from:website


(In winecfg, I set up D: to point to the directory above the Dark Age of Camelot game which is installed in a directory called 'Uthgard'

I'm not sure of DotNet 4.6 actually works with WINE properly, so it might be that Mono is perhaps our only hope.
If only the Uthgard launcher worked with Mono 4!

thursa
Myrmidon
 
Posts: 83
Joined: Sep 23, 2012 23:35

Postby thursa » Dec 16, 2016 16:51

Did some more playing around...
Code: Select all
[00000009:] EXCEPTION handling: System.IO.FileNotFoundException: Could not load file or assembly 'UIAutomationWinforms, Version=1.0.0.0, Culture=neutral, PublicKeyToken=f4ceacb585d99812' or one of its dependencies
[00000009:] EXCEPTION handling: System.ArgumentException: 'CP1252' is not a supported encoding name.
[00000032:] EXCEPTION handling: System.Security.Cryptography.CryptographicException: Store Root doesn't exists.
[00000032:] EXCEPTION handling: System.Security.Cryptography.CryptographicException: Store CA doesn't exists.
[00000032:] EXCEPTION handling: System.Security.Cryptography.CryptographicException: Store CA doesn't exists.
[0000002E:] EXCEPTION handling: System.NotImplementedException: The method or operation is not implemented.
[00000009:] EXCEPTION handling: System.Net.Sockets.SocketException: Error looking up error string
Failed to contact authentication server:Could not connect to the authentication server. Please check your firewall settings.

(error: Error looking up error string)


(Yes, that's after doing a mozroot --import of the 5 MB cert data file.)

Turned on loads of debugging... and..
Code: Select all
[0000002F:] EXCEPTION handling: System.Security.Cryptography.CryptographicException: Store Root doesn't exists.
EXCEPTION: catch found at clause 0 of System.Security.Cryptography.X509Certificates.X509Chain:get_LMRootStore ()
[0000002F:] EXCEPTION handling: System.Security.Cryptography.CryptographicException: Store CA doesn't exists.
EXCEPTION: catch found at clause 0 of System.Security.Cryptography.X509Certificates.X509Chain:get_LMCAStore ()
[0000002F:] EXCEPTION handling: System.Security.Cryptography.CryptographicException: Store CA doesn't exists.
EXCEPTION: catch found at clause 0 of System.Security.Cryptography.X509Certificates.X509Chain:get_UserCAStore ()
[00000034:] EXCEPTION handling: Mono.Security.Protocol.Tls.TlsException: The server stopped the handshake.
EXCEPTION: catch found at clause 2 of Mono.Security.Protocol.Tls.SslClientStream:NegotiateAsyncWorker (System.IAsyncResult)
[00000034:] EXCEPTION handling: System.IO.IOException: The authentication or decryption has failed.
EXCEPTION: catch found at clause 0 of Mono.Security.Protocol.Tls.SslStreamBase:AsyncHandshakeCallback (System.IAsyncResult)
[00000034:] EXCEPTION handling: System.IO.IOException: The authentication or decryption has failed.
EXCEPTION: catch found at clause 1 of Mono.Security.Protocol.Tls.SslStreamBase:AsyncHandshakeCallback (System.IAsyncResult)
[0000002E:] EXCEPTION handling: System.IO.IOException: The authentication or decryption has failed.
EXCEPTION: finally clause 0 of Mono.Net.Security.MonoTlsStream:CreateStream (byte[])
EXCEPTION: catch found at clause 0 of System.Net.WebConnection:CreateStream (System.Net.HttpWebRequest)
[00000009:] EXCEPTION handling: System.Net.WebException: Error: SecureChannelFailure
EXCEPTION: catch found at clause 0 of System.Net.WebClient:DownloadDataInternal (System.Uri,System.Net.WebRequest&)
[00000009:] EXCEPTION handling: System.Net.WebException: Error: SecureChannelFailure
EXCEPTION: finally clause 0 of System.Net.WebClient:DownloadString (System.Uri)
EXCEPTION: catch found at clause 1 of Uthgard.Bootstrapper.Program:Main (string[])
bootstrapper failed; Update Check failed: Could not check for launcher updates:

Error: SecureChannelFailure

Next

Return to Support

Who is online

Users browsing this forum: No registered users and 9 guests

Sunday, 17. November 2024

Artwork and screen shots Copyright © 2001-2004 Mythic Entertainment, Inc. All rights reserved. Used with permission of Mythic Entertainment. Mythic Entertainment, the Mythic Entertainment logo, "Dark Age of Camelot," "Shrouded Isles," "Foundations," "New Frontiers," "Trials of Atlantis," "Catacombs," "Darkness Rising," the Dark Age of Camelot and subsequent logos, and the stylized Celtic knot are trademarks of Mythic Entertainment, Inc.

Valid XHTML & CSS | Original Design by: LernVid.com | Modified by Uthgard Staff