summarylogtreecommitdiffstats
path: root/heroes-of-might-and-magic-3-complete-edition-map-editor
diff options
context:
space:
mode:
Diffstat (limited to 'heroes-of-might-and-magic-3-complete-edition-map-editor')
-rwxr-xr-xheroes-of-might-and-magic-3-complete-edition-map-editor11
1 files changed, 11 insertions, 0 deletions
diff --git a/heroes-of-might-and-magic-3-complete-edition-map-editor b/heroes-of-might-and-magic-3-complete-edition-map-editor
new file mode 100755
index 000000000000..4cc7f85127d7
--- /dev/null
+++ b/heroes-of-might-and-magic-3-complete-edition-map-editor
@@ -0,0 +1,11 @@
+#!/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
+wine /opt/gog/heroes-of-might-and-magic-3-complete-edition/h3maped.exe "$@"