diff --git a/engines/vanilla-conquer/assets/run-vanilla-conquer-ra-original.sh b/engines/vanilla-conquer/assets/run-vanilla-conquer-ra-original.sh new file mode 100755 index 000000000..71179d2dc --- /dev/null +++ b/engines/vanilla-conquer/assets/run-vanilla-conquer-ra-original.sh @@ -0,0 +1,19 @@ +#!/bin/bash + +if [ ! -d linuxdata-ra ]; then + mkdir -p linuxdata-ra/aftermath + mkdir -p linuxdata-ra/allied + mkdir -p linuxdata-ra/counterstrike + mkdir -p linuxdata-ra/soviet + LD_PRELOAD="" ln -rsf MAIN1.MIX ./linuxdata-ra/allied/MAIN.MIX + LD_PRELOAD="" ln -rsf MAIN2.MIX ./linuxdata-ra/soviet/MAIN.MIX + LD_PRELOAD="" ln -rsf MAIN3.MIX ./linuxdata-ra/counterstrike/MAIN.MIX + LD_PRELOAD="" ln -rsf MAIN4.MIX ./linuxdata-ra/aftermath/MAIN.MIX + LD_PRELOAD="" ln -rsf EXPAND.MIX ./linuxdata-ra/EXPAND.MIX + LD_PRELOAD="" ln -rsf EXPAND2.MIX ./linuxdata-ra/EXPAND2.MIX + LD_PRELOAD="" ln -rsf REDALERT.MIX ./linuxdata-ra/REDALERT.MIX +fi + +ln -rsf ./vanillara ./linuxdata-ra/vanillara +cd linuxdata-ra +./vanillara "$@" diff --git a/metadata/packagessniper_v2.json b/metadata/packagessniper_v2.json index 5e3c8c70b..02f84351d 100644 --- a/metadata/packagessniper_v2.json +++ b/metadata/packagessniper_v2.json @@ -7597,7 +7597,7 @@ "choices": [ { "name": "Vanilla Conquer", - "command": "./vanillara", + "command": "./run-vanilla-conquer-ra-original.sh", "download": [ "vanilla-conquer" ],