mmtrt/cncra2yr-snap

Does not install Ubuntu 18.04

Closed this issue · 6 comments

$ cncra2yr
You need to connect this snap to the wine-platform snap.

snap disconnect cncra2yr:wine-platform-plug
snap install wine-platform
snap connect cncra2yr:wine-platform-plug wine-platform:wine-base-stable
mmtrt commented

did you tried these three commands then running the snap.

snap disconnect cncra2yr:wine-platform-plug
snap install wine-platform
snap connect cncra2yr:wine-platform-plug wine-platform:wine-base-stable

Yes. I get a dialog that says "Could not find a Direct3D device that supports the XNA Framework Reach profile."

The client does render though, but there is no mouse cursor.

Did you know that the client will run with mono directly from Linux and it will execute wine-dta.sh rather than gamemd-spawn.exe when it's running on Linux?

env MONO_IOMAP=all  mono --debug Resources/clientogl.exe

Here are some scripts that can be used to launch the game that work for me.

$ cat ~/bin/snapyr 
#!/bin/sh
cd ${HOME}/snap/cncra2yr/common/.wine/drive_c/Westwood/RA2/
cp -a Updater/* ./
env MONO_IOMAP=all PATH=$PATH:${HOME}/snap/cncra2yr/common/.wine/drive_c/Westwood/RA2/bin mono --debug Resources/clientogl.exe  >/dev/null 2>&1 &
$ cat bin/wine-dta.sh 
#!/bin/sh

export WINEPREFIX=${HOME}/snap/cncra2yr/common/.wine/
cd $WINEPREFIX/drive_c/Westwood/RA2

wine gamemd-spawn.exe -SPAWN

I think you should also override ddraw. I know wine ddraw works for some people but not everyone. The included ts-ddraw works for almost everyone.

mmtrt commented

Yeah I did tried these three clients before selecting right one though I did forgot about ddraw dlloverride, thanks I'll retry ogl client atm I'm fixing wine issue on i386 systems failing to launch snaps though I'll implement that changes.

mmtrt commented

Tried mono with ogl client it is not playing nice with snap env so with current xna client it is working fine now.

mmtrt commented

closing this as the game works fine.