mmtrt / cnctsun-snap

Unofficial C&C: Tiberian Sun soaked in WINE and Snapped for Linux
https://snapcraft.io/cnctsun
GNU Lesser General Public License v2.1
17 stars 1 forks source link

C&C: Tiberian Sun
C&C: Tiberian Sun

This is the snap for C&C: Tiberian Sun. It works on Ubuntu, Fedora, Debian, and other major Linux distributions.

Published for with :gift_heart: by Snapcrafters

Install

snap install cnctsun

(Don't have snapd installed?)

C&C: Tiberian Sun

Reusing this snap

You can use this snap as a reference for creating snaps of other WINE compatible 32-bit Windows applications or games. Here are the main things you'll need to modify:

Here's an example environment: that shows how to use some of the capabilities outlined above:

    environment:
      WINEPREFIX: "$SNAP_USER_COMMON/.wine"
      DLLOVERRIDES: "mscoree,mshtml=" # Prevent pop-ups about Wine Mono and Wine Gecko
      INSTALL_URL: "https://www.xyz.com/setup.exe"
      TRICKS: "winxp corefonts d3dx9_43"
      VIRTDESKTOP: 1
      LC_ALL: "C.UTF-8"

One other point of interest is that yad is staged in the snap and a faux zenity script is included that execs yad. We do this because yad is argument compatible with zenity but pulls far fewer package dependencies.

If you have any questions about creating snaps of WINE compatible Windows applications then post in the Snapcraft forum.