Red Alert 2 on Linux

Wine, native

The following almost got the game running. I was able to get the game to open in full screen mode - which wreaks havoc on your display config - however it doesn’t show any of the menu items.

WINEARCH=win32 WINEPREFIX=$HOME/.wine_ra2 winecfg
WINEPREFIX=$HOME/.wine_ra2 winetricks dotnet35
WINEPREFIX=$HOME/.wine_ra2 winetricks vcrun2008 dotnet20sp2
wget -O ~/Downloads https://ia601804.us.archive.org/15/items/command-and-conquer-red-alert-2-incl-yuris-revenge-win-rip-en/Command_and_Conquer_Red_Alert_2_Incl_Yuris_Revenge_Win_RIP_EN.zip
cd ~/Downloads ; unzip Command_and_Conquer_Red_Alert_2_Incl_Yuris_Revenge_Win_RIP_EN.zip
cd Command_and_Conquer_Red_Alert_2_Incl_Yuris_Revenge_Win_RIP_EN/Game\ Files
WINEPREFIX=$HOME/.wine_ra2 wine Red\ Alert\ 2\ Yuri\'s\ Revenge.exe

wget -O ~/Downloads/ddrwapper.zip http://www.bitpatch.com/downloads/ddwrapper.zip
unzip -o ~/Downloads/ddrwapper.zip -d ~/.wine_ra2/drive_c/Program\ Files/Red\ Alert\ 2\ Yuri\'s\ Revenge/

WINEPREFIX=$HOME/.wine_ra2 winecfg # Mount the Z: drive to your Red Alert game files. Removes an error message but didn't fix my issue of buttons not detecting

Lutris

Installing via lutris is very hit-or-miss, but if you run through the error log you can typically find your way through.

I found pre-downloading the game files is the best way to go, as archive.org will limit lutris downloads to 0.1MB/s where-as Chrome downloaded it at around 6MB/s (on 100Mb).

Lutris gets the game to open and it comes bundles with a bunch of mods from the community, which makes it run at 4k very nicely. During the install you might run into issues where it stalls on ‘install base game’ or installing the cncnet client; the virtual desktop window will just be black. Maximize the window or span it across multiple monitors to make the install window appear.

That said, the game still struggled during matches that took more than about 10-20 minutes. The game would freeze and I’d have to reboot to get everything to shut off properly.

QEMU

This would be your best bet. If Windows didn’t suck these days, I guess.

Install QEMU/KVM with libvirt and virt-manager. Create a new VM via virt-manager, open it and add a TPM module. I had to use passthrough because it was easier.

Info on qemu setup: https://wiki.archlinux.org/title/QEMU#Bridged_networking_using_qemu-bridge-helper

I also ran these, idk why or if they helped:

sudo modprobe -r kvm_amd
sudo modprobe kvm_amd nested=1
echo "options kvm-amd nested=1" | sudo tee /etc/modprobe.d/kvm-amd.conf

Getting networking going is a bit of a pain as I run off wifi. I can’t bridge a wifi device, so I was kind-of SOOL at this point. I can’t install Windows because it requires internet, I can’t get internet because.. well.. I don’t really know yet.

I made sure network forwarding was enabled:

sysctl net.ipv4.ip_forward=1

Then created a tap device:

ip tuntap add dev tap0 mode tap