Last active
November 6, 2021 09:30
-
-
Save fritschy/d55c55effd23d03347a7ba00b6623815 to your computer and use it in GitHub Desktop.
Run Anno 1602 on Linux with Wine
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
export WINEPREFIX=$PWD | |
case "$1" in | |
setup) | |
mkdir -p ~/Games/anno-1602 | |
cd ~/Games/anno-1602 | |
winetricks winxp | |
winetricks ddr=gdi # do I need this? | |
winetricks directplay directmusic | |
winetricks vd=1024x768 | |
case "$2" in | |
*setup_anno_1602*) | |
setup="$2" | |
;; | |
*) | |
setup=~/setup_anno_1602_2.0.0.6.exe | |
;; | |
esac | |
wine "$setup" | |
;; | |
edit) | |
wine start /affinity 1 /wait /unix drive_c/GOG\ Games/Anno\ 1602\ -\ Creation\ of\ a\ New\ World/1602Edit.exe | |
;; | |
*) | |
wine start /affinity 1 /wait /unix drive_c/GOG\ Games/Anno\ 1602\ -\ Creation\ of\ a\ New\ World/1602.exe | |
;; | |
esac |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Install, run (game or scenario editor) Anno 1602 from GOG with wine.