mmtrt / cncra2yr-snap

Unofficial C&C: Red Alert 2 Yuri's Revenge soaked in WINE and Snapped for Linux
https://snapcraft.io/cncra2yr
GNU Lesser General Public License v2.1
82 stars 5 forks source link

Fails to launch/install on Ubuntu 18.10 #5

Closed Vilasamuni closed 5 years ago

Vilasamuni commented 5 years ago

Every time I run the snap I'm prompted to check I've got the game files in place (I have), I click install and CnCNet5_YR.Installer.exe is downloaded, The CnCNet installer/updater runs, but then I get an error message titled CnCNetYRLauncher.exe -.NET Framework: Unable to find a version of the runtime to run this application. I click OK, and try to run the snap again but the whole cycle starts again. Am I missing something obvious?

I've attached a log of the output in the commandline - cncra2yr.log

Hope you can help, really looking forward to playing this old game! Thanks in advance.

mmtrt commented 5 years ago

looks like game setup was not completed so snap can not find exe file to run. Make sure you have correct game files in place $HOME/snap/cncra2yr/common/.wine/drive_c/Westwood/RA2 folder.

/snap/cncra2yr/30/bin/sommelier: line 114: cd: /home/ben/snap/cncra2yr/common/.wine/drive_c/Westwood/RA2/Updater/Resources/clientxna.exe
/home/ben/snap/cncra2yr/common/.wine/drive_c/Westwood/RA2/Resources: No such file or directory
wine: cannot find '/home/ben/snap/cncra2yr/common/.wine/drive_c/Westwood/RA2/Updater/Resources/clientxna.exe
/home/ben/snap/cncra2yr/common/.wine/drive_c/Westwood/RA2/Resources/clientxna.exe'
Vilasamuni commented 5 years ago

Woops, sorry for wasting your time.

I had an old copy of the game on Windows which I hadn't used in ages... no idea how it got corrupted, but reinstalling the files into the appropriate snap directory made it work.

Thanks!