summarylogtreecommitdiffstats
path: root/heroes-of-might-and-magic-3-complete-edition
diff options
context:
space:
mode:
Diffstat (limited to 'heroes-of-might-and-magic-3-complete-edition')
-rwxr-xr-xheroes-of-might-and-magic-3-complete-edition13
1 files changed, 13 insertions, 0 deletions
diff --git a/heroes-of-might-and-magic-3-complete-edition b/heroes-of-might-and-magic-3-complete-edition
new file mode 100755
index 000000000000..64d8387f7b19
--- /dev/null
+++ b/heroes-of-might-and-magic-3-complete-edition
@@ -0,0 +1,13 @@
+#!/bin/bash
+unset WINEPREFIX
+export WINEPREFIX="$HOME"/.gog-heroes-of-might-and-magic-3-complete-edition
+export WINEDEBUG=-all
+if [ ! -d "$WINEPREFIX" ]
+then
+ mkdir -p "$WINEPREFIX"
+ wineboot -i
+ regedit /usr/share/gog-heroes-of-might-and-magic-3-complete-edition/local_machine.reg
+fi
+cd /opt/gog/heroes-of-might-and-magic-3-complete-edition
+#wine Heroes3.exe "$@"
+wine HD3_Launcher.exe "$@"