05 December 2024

678. Steam and cross-platform play, Linux vs Windows, Halo:MCC and Ghost Recon Wildlands

 I use Linux, my son uses windows. We sometimes want to play computer games together.

We both have Halo: MCC and Ghost Recon Wildlands, and we can't play together in either game without a bit of work.


Halo: MCC

See this post

Basically, copy 

C:\Windows\System32\ucrtbase.dll
C:\Windows\SysWOW64\ucrtbase.dll 

from the windows install, and place them in 

steamapps/compatdata/976730/pfx/drive_c/windows/system32/ 
steamapps/compatdata/976730/pfx/drive_c/windows/syswow64/

on the linux computer.

Ghost Recon Wildlands

Firstly, you need to 'make friends' using the UBIsoft app.

Playing together will then fail with 'Kicked by EAC' for the linux player.
One solution if you're only playing with your friends (which for a game this age probably will be the case anyway), see this video or this post.

In brief, download the Wildlands mod SayNotoEAC from here: page

Go to SteamLibrary\steamapps\common\Wildlands\EasyAntiCheat

Make backups of EasyAntiCheat_x86.dll and EasyAntiCheat_x64.dll (e.g. rename them to *.bak)

Copy the two dlls from the downloaded mod

03 March 2024

677. Cisco Anyconnect on debian 12.5 -- certificate issues

 If you're getting

"AnyConnect was not able to establish a connection to the specified secure gateway. Please try connecting again."

and

"The certificate on the secure gateway is invalid. A VPN connection will not be established"

when you're using Cisco AnyConnect on Debian 12 and over, it's because of read permissions (you can confirm by running vpnui with gksu)). The solution is given here: Link

In brief, you'll need to edit /opt/cisco/anyconnect/AnyConnectLocalPolicy.xml and change 

<BypassDownloader>false</BypassDownloader><ExcludeFirefoxNSSCertStore>false</ExcludeFirefoxNSSCertStore><ExcludePemFileCertStore>false</ExcludePemFileCertStore>

to

<BypassDownloader>false</BypassDownloader>
<ExcludeFirefoxNSSCertStore>true</ExcludeFirefoxNSSCertStore>
<ExcludePemFileCertStore>false</ExcludePemFileCertStore>


09 October 2023

676. Mixed basis set with gaussian when continuing from a chk-file

 I'm currently working with computations on paramagnetic species, so being able to read the geometry from the chk-file is important in order to avoid having to define the multiplicities of all the segments of the molecule. 

I also can't use def2-tzvp for the entire molecule since the .chk files during freq cals become too big for my current storage allocation (>500 gb). The work is exploratory at the moment, so compromises are OK.

I first run a calc with a small basis set:


%nprocshared=28
%Mem=24gb
%Chk=I1_hs.chk
#P uPBE1PBE/def2svp 5D 7F Punch=(MO) Pop=() guess=(fragment=8,only) nosymm

intermediate 1, pbe0/def-svp.

0 9 -2 1 0 1 0 1 -3 1 -1 1 0 1 4 4 2 6 
S(fragment=1)          -7.953777000    -0.003180000    -2.912460000
O(fragment=1)          -3.008379000    -0.432531000    -1.322496000
...

--Link1--
%nprocshared=28
%mem=24gb
%chk=I1_hs.chk
#P uPBE1PBE/chkbasis 5D 7F Opt=() SCRF=(PCM,Solvent=water)  Punch=(MO) Pop=() guess=read geom=allcheck nosymm
I then want to optimise the structure obtained at def2-svp using a mixed basis set where I use def2-tzvp for all the cobalt centres, and def2-svp for the organic bits.

%nprocshared=28
%Mem=24gb
%oldChk=I1_hs.chk
%chk=I1_hs_tzvp.chk
#P uPBE1PBE/genecp 5D 7F Opt=() SCRF=(PCM,Solvent=water)  Punch=(MO) Pop=() guess=read geom=allcheck nosymm

C H N O 0
def2svp
****

Co 0
def2tzvp
****

Co 0
def2



The basis set definitions are in blue, and the ecp bit is in red.