Anno 1602
Informations
Creator | Message |
---|---|
marco_g
|
InformationThis installer has been approved by the team. InformationsPlatforms: Feedbacks1 1 Source code#!/bin/bash # Date : 2017-11-21 17:34 # Latest revision: 2018-02-10 11:25 # Wine version used : 3.0 # Distribution used to test : Ubuntu 17.04, Ubuntu 18.04 x64 # Author : LinuxScripter [ "$PLAYONLINUX" = "" ] && exit 0 source "$PLAYONLINUX/lib/sources" TITLE="Anno 1602" PREFIX="Anno1602" WORKING_WINE_VERSION="3.0" EDITOR="SunFlowers" GAME_URL="http://anno.uk.ubi.com/pc/history1602.php" AUTHOR="LinuxScripter" POL_SetupWindow_Init POL_Debug_Init POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX" POL_Wine_SelectPrefix "$PREFIX" POL_Wine_PrefixCreate "$WORKING_WINE_VERSION" POL_SetupWindow_InstallMethod "LOCAL,CD" if [ "$INSTALL_METHOD" == "CD" ];then POL_SetupWindow_cdrom POL_SetupWindow_check_cdrom "autorun.cdd" POL_Wine start /unix "$CDROM/Anno1602.EXE" POL_Wine_WaitExit "Anno1602.EXE" else POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run.')" "$TITLE" POL_Wine start /unix "$APP_ANSWER" POL_Wine_WaitExit "$TITLE" fi POL_Shortcut "START.exe" "$TITLE" "1602.ico" POL_SetupWindow_Close exit |
Contributions
Filters:
ContributeMember | Message |
LinuxScripter | Saturday 10 February 2018 at 11:29 |
LinuxScripter
|
InformationThis update has been approved by the team. MessageI tested this game with latest stable wine as of writing this. Downloading smackw32.dll is no longer needed - the intro and credits are playing just fine. Differences@@ -1,81 +1,41 @@ #!/bin/bash -# Date : (2010-05-29 ??-??) -# Last revision : (2013-12-10 09-03) -# Distribution used to test : Ubuntu 10.04 -# Author : Marco Gerards - -# CHANGELOG -# [Quentin PARIS] (2011-10-29 19-09) -# Updated translations, -# Updated for POL 4 -# Wine changed to 1.2.3 -# [SuperPlumus] (2013-12-10 09-03) -# Update gettext messages -# Update $TITLE -# Clean code - +# Date : 2017-11-21 17:34 +# Latest revision: 2018-02-10 11:25 +# Wine version used : 3.0 +# Distribution used to test : Ubuntu 17.04, Ubuntu 18.04 x64 +# Author : LinuxScripter + [ "$PLAYONLINUX" = "" ] && exit 0 source "$PLAYONLINUX/lib/sources" - + TITLE="Anno 1602" PREFIX="Anno1602" -WORKING_WINE_VERSION="1.2.3" -AUTHOR="Marco Gerards" - +WORKING_WINE_VERSION="3.0" +EDITOR="SunFlowers" +GAME_URL="http://anno.uk.ubi.com/pc/history1602.php" +AUTHOR="LinuxScripter" + POL_SetupWindow_Init POL_Debug_Init - -POL_SetupWindow_presentation "$TITLE" "Sunflowers" "http://anno.uk.ubi.com/pc/history1602.php" "$AUTHOR" "$PREFIX" - + +POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX" + POL_Wine_SelectPrefix "$PREFIX" POL_Wine_PrefixCreate "$WORKING_WINE_VERSION" - -POL_System_TmpCreate "$PREFIX" - -POL_SetupWindow_InstallMethod "CD,LOCAL" - -if [ "$INSTALL_METHOD" = "CD" ]; then + +POL_SetupWindow_InstallMethod "LOCAL,CD" +if [ "$INSTALL_METHOD" == "CD" ];then POL_SetupWindow_cdrom - POL_SetupWindow_check_cdrom "Anno1602/1602.exe" - - POL_SetupWindow_wait "$(eval_gettext 'Please wait...')" "$TITLE" - - # Installation using Setup.exe does not work, manual installation does - # work. See http://www.capsu.org/1602/7.html for details - mkdir -p "$WINEPREFIX/drive_c/Anno1602" - cd "$WINEPREFIX/drive_c/Anno1602" || POL_Debug_Fatal "Unable to go to $WINEPREFIX/drive_c/Anno1602" - cp -r "$CDROM/Anno1602/"* . - chmod -R a+rw * - rm -r "MUSIC8" - rm -r "VideoSmk" -elif [ "$INSTALL_METHOD" = "LOCAL" ]; then - cd "$HOME" - POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE" - POL_Wine_WaitBefore "$TITLE" - POL_Wine "$APP_ANSWER" - POL_Wine_WaitExit "$TITLE" + POL_SetupWindow_check_cdrom "autorun.cdd" + POL_Wine start /unix "$CDROM/Anno1602.EXE" + POL_Wine_WaitExit "Anno1602.EXE" +else + POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run.')" "$TITLE" + POL_Wine start /unix "$APP_ANSWER" + POL_Wine_WaitExit "$TITLE" fi - -cd "$POL_System_TmpDir" -cat <<EOF >> "$POL_System_TmpDir/anno.reg" -[HKEY_CURRENT_USER\Software\Anno1602] -"INSTALL_DIR"="C:\\" -"CDROM_DIR"="D:\\" -"INSTALL_SIZE"="MAX" -"VIDEO_QUALITAET"="H" -"MAUS_TYP"="S" -"MUSIK_FLAG"="E" -"SOUND_FLAG"="E" -"SCREENMODE"=dword:00000320 -"VERSION"="EDIT" -EOF -POL_Wine regedit "$POL_System_TmpDir/anno.reg" - -POL_System_TmpDelete - -POL_Shortcut "1602.exe" "$TITLE" - -POL_SetupWindow_message "$(eval_gettext 'Installation finished.')" "$TITLE" - + +POL_Shortcut "START.exe" "$TITLE" "1602.ico" + POL_SetupWindow_Close exit \ No newline at end of file New source code#!/bin/bash # Date : 2017-11-21 17:34 # Latest revision: 2018-02-10 11:25 # Wine version used : 3.0 # Distribution used to test : Ubuntu 17.04, Ubuntu 18.04 x64 # Author : LinuxScripter [ "$PLAYONLINUX" = "" ] && exit 0 source "$PLAYONLINUX/lib/sources" TITLE="Anno 1602" PREFIX="Anno1602" WORKING_WINE_VERSION="3.0" EDITOR="SunFlowers" GAME_URL="http://anno.uk.ubi.com/pc/history1602.php" AUTHOR="LinuxScripter" POL_SetupWindow_Init POL_Debug_Init POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX" POL_Wine_SelectPrefix "$PREFIX" POL_Wine_PrefixCreate "$WORKING_WINE_VERSION" POL_SetupWindow_InstallMethod "LOCAL,CD" if [ "$INSTALL_METHOD" == "CD" ];then POL_SetupWindow_cdrom POL_SetupWindow_check_cdrom "autorun.cdd" POL_Wine start /unix "$CDROM/Anno1602.EXE" POL_Wine_WaitExit "Anno1602.EXE" else POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run.')" "$TITLE" POL_Wine start /unix "$APP_ANSWER" POL_Wine_WaitExit "$TITLE" fi POL_Shortcut "START.exe" "$TITLE" "1602.ico" POL_SetupWindow_Close exit RepliesMonday 3 June 2019 at 13:15
|
LinuxScripter | Wednesday 22 November 2017 at 13:35 |
LinuxScripter
|
WarningThis update has not been approved yet by the team. MessageI rewrote this script. There are two .exe files. You need to use the START.exe or else you will get a "insert disc" error when selecting missions. The Smackw32.dll file that comes with the game does not work and makes the cutscenes unplayable. So I found a diffirent one. Differences@@ -1,81 +1,47 @@ #!/bin/bash -# Date : (2010-05-29 ??-??) -# Last revision : (2013-12-10 09-03) -# Distribution used to test : Ubuntu 10.04 -# Author : Marco Gerards - -# CHANGELOG -# [Quentin PARIS] (2011-10-29 19-09) -# Updated translations, -# Updated for POL 4 -# Wine changed to 1.2.3 -# [SuperPlumus] (2013-12-10 09-03) -# Update gettext messages -# Update $TITLE -# Clean code - +# Date : 2017-11-21 17:34 +# Wine version used : 2.0.3 +# Distribution used to test : Ubuntu 17.04 +# Author : LinuxScripter + [ "$PLAYONLINUX" = "" ] && exit 0 source "$PLAYONLINUX/lib/sources" - + TITLE="Anno 1602" PREFIX="Anno1602" -WORKING_WINE_VERSION="1.2.3" -AUTHOR="Marco Gerards" - +WORKING_WINE_VERSION="2.0.3" +EDITOR="SunFlowers" +GAME_URL="http://anno.uk.ubi.com/pc/history1602.php" +AUTHOR="LinuxScripter" + POL_SetupWindow_Init POL_Debug_Init - -POL_SetupWindow_presentation "$TITLE" "Sunflowers" "http://anno.uk.ubi.com/pc/history1602.php" "$AUTHOR" "$PREFIX" - + +POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX" + POL_Wine_SelectPrefix "$PREFIX" POL_Wine_PrefixCreate "$WORKING_WINE_VERSION" - -POL_System_TmpCreate "$PREFIX" - -POL_SetupWindow_InstallMethod "CD,LOCAL" - -if [ "$INSTALL_METHOD" = "CD" ]; then - POL_SetupWindow_cdrom - POL_SetupWindow_check_cdrom "Anno1602/1602.exe" - - POL_SetupWindow_wait "$(eval_gettext 'Please wait...')" "$TITLE" - - # Installation using Setup.exe does not work, manual installation does - # work. See http://www.capsu.org/1602/7.html for details - mkdir -p "$WINEPREFIX/drive_c/Anno1602" - cd "$WINEPREFIX/drive_c/Anno1602" || POL_Debug_Fatal "Unable to go to $WINEPREFIX/drive_c/Anno1602" - cp -r "$CDROM/Anno1602/"* . - chmod -R a+rw * - rm -r "MUSIC8" - rm -r "VideoSmk" -elif [ "$INSTALL_METHOD" = "LOCAL" ]; then - cd "$HOME" - POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE" - POL_Wine_WaitBefore "$TITLE" - POL_Wine "$APP_ANSWER" - POL_Wine_WaitExit "$TITLE" + +POL_SetupWindow_InstallMethod "LOCAL,CD" +if [ "$INSTALL_METHOD" == "CD" ];then + POL_SetupWindow_cdrom + POL_SetupWindow_check_cdrom "autorun.cdd" + POL_Wine start /unix "$CDROM/Anno1602.EXE" + POL_Wine_WaitExit "Anno1602.EXE" +else + POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run.')" "$TITLE" + POL_Wine start /unix "$APP_ANSWER" + POL_Wine_WaitExit "$TITLE" fi +POL_System_TmpCreate "$PREFIX" cd "$POL_System_TmpDir" -cat <<EOF >> "$POL_System_TmpDir/anno.reg" -[HKEY_CURRENT_USER\Software\Anno1602] -"INSTALL_DIR"="C:\\" -"CDROM_DIR"="D:\\" -"INSTALL_SIZE"="MAX" -"VIDEO_QUALITAET"="H" -"MAUS_TYP"="S" -"MUSIK_FLAG"="E" -"SOUND_FLAG"="E" -"SCREENMODE"=dword:00000320 -"VERSION"="EDIT" -EOF -POL_Wine regedit "$POL_System_TmpDir/anno.reg" - +POL_Download http://s2.pliki.info/28088/smackw32.dll +cp "$POL_System_TmpDir/smackw32.dll" "$WINEPREFIX/drive_c/Program Files/Anno 1602" +rm "$WINEPREFIX/drive_c/Program Files/Anno 1602/Smackw32.dll" POL_System_TmpDelete - -POL_Shortcut "1602.exe" "$TITLE" - -POL_SetupWindow_message "$(eval_gettext 'Installation finished.')" "$TITLE" - + +POL_Shortcut "START.exe" "$TITLE" "1602.ico" + POL_SetupWindow_Close exit \ No newline at end of file New source code#!/bin/bash # Date : 2017-11-21 17:34 # Wine version used : 2.0.3 # Distribution used to test : Ubuntu 17.04 # Author : LinuxScripter [ "$PLAYONLINUX" = "" ] && exit 0 source "$PLAYONLINUX/lib/sources" TITLE="Anno 1602" PREFIX="Anno1602" WORKING_WINE_VERSION="2.0.3" EDITOR="SunFlowers" GAME_URL="http://anno.uk.ubi.com/pc/history1602.php" AUTHOR="LinuxScripter" POL_SetupWindow_Init POL_Debug_Init POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX" POL_Wine_SelectPrefix "$PREFIX" POL_Wine_PrefixCreate "$WORKING_WINE_VERSION" POL_SetupWindow_InstallMethod "LOCAL,CD" if [ "$INSTALL_METHOD" == "CD" ];then POL_SetupWindow_cdrom POL_SetupWindow_check_cdrom "autorun.cdd" POL_Wine start /unix "$CDROM/Anno1602.EXE" POL_Wine_WaitExit "Anno1602.EXE" else POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run.')" "$TITLE" POL_Wine start /unix "$APP_ANSWER" POL_Wine_WaitExit "$TITLE" fi POL_System_TmpCreate "$PREFIX" cd "$POL_System_TmpDir" POL_Download http://s2.pliki.info/28088/smackw32.dll cp "$POL_System_TmpDir/smackw32.dll" "$WINEPREFIX/drive_c/Program Files/Anno 1602" rm "$WINEPREFIX/drive_c/Program Files/Anno 1602/Smackw32.dll" POL_System_TmpDelete POL_Shortcut "START.exe" "$TITLE" "1602.ico" POL_SetupWindow_Close exit Replies |
alexnanni16 | Friday 17 March 2017 at 13:41 |
alexnanni16
|
MessageHI, I can't download the file...can u help me please? Replies |
LinuxScripter | Wednesday 6 January 2016 at 19:22 |
LinuxScripter
|
WarningThis update has not been approved yet by the team. MessageUpdated the script. If you got the "insert game disc" error use START.exe Differences@@ -1,8 +1,8 @@ #!/bin/bash # Date : (2010-05-29 ??-??) -# Last revision : (2013-12-10 09-03) -# Distribution used to test : Ubuntu 10.04 -# Author : Marco Gerards +# Last revision : (2016-01-16 19-12) +# Distribution used to test : Ubuntu 15.10 +# Author : Marco Gerards, LinuxScripter # CHANGELOG # [Quentin PARIS] (2011-10-29 19-09) @@ -13,13 +13,16 @@ # Update gettext messages # Update $TITLE # Clean code +#[LinuxScripter] (2016-01-16 19-12) +# Wine changed to 1.9.0 +# Added d3dx9 to fix music not being played [ "$PLAYONLINUX" = "" ] && exit 0 source "$PLAYONLINUX/lib/sources" TITLE="Anno 1602" PREFIX="Anno1602" -WORKING_WINE_VERSION="1.2.3" +WORKING_WINE_VERSION="1.9.0" AUTHOR="Marco Gerards" POL_SetupWindow_Init @@ -30,6 +33,9 @@ POL_Wine_SelectPrefix "$PREFIX" POL_Wine_PrefixCreate "$WORKING_WINE_VERSION" +POL_Call POL_Install_d3dx9 +POL_Call POL_Install_directmusic + POL_System_TmpCreate "$PREFIX" POL_SetupWindow_InstallMethod "CD,LOCAL" @@ -74,6 +80,7 @@ POL_System_TmpDelete POL_Shortcut "1602.exe" "$TITLE" +POL_Shortcut "START.exe" "$TITLE" POL_SetupWindow_message "$(eval_gettext 'Installation finished.')" "$TITLE" New source code#!/bin/bash # Date : (2010-05-29 ??-??) # Last revision : (2016-01-16 19-12) # Distribution used to test : Ubuntu 15.10 # Author : Marco Gerards, LinuxScripter # CHANGELOG # [Quentin PARIS] (2011-10-29 19-09) # Updated translations, # Updated for POL 4 # Wine changed to 1.2.3 # [SuperPlumus] (2013-12-10 09-03) # Update gettext messages # Update $TITLE # Clean code #[LinuxScripter] (2016-01-16 19-12) # Wine changed to 1.9.0 # Added d3dx9 to fix music not being played [ "$PLAYONLINUX" = "" ] && exit 0 source "$PLAYONLINUX/lib/sources" TITLE="Anno 1602" PREFIX="Anno1602" WORKING_WINE_VERSION="1.9.0" AUTHOR="Marco Gerards" POL_SetupWindow_Init POL_Debug_Init POL_SetupWindow_presentation "$TITLE" "Sunflowers" "http://anno.uk.ubi.com/pc/history1602.php" "$AUTHOR" "$PREFIX" POL_Wine_SelectPrefix "$PREFIX" POL_Wine_PrefixCreate "$WORKING_WINE_VERSION" POL_Call POL_Install_d3dx9 POL_Call POL_Install_directmusic POL_System_TmpCreate "$PREFIX" POL_SetupWindow_InstallMethod "CD,LOCAL" if [ "$INSTALL_METHOD" = "CD" ]; then POL_SetupWindow_cdrom POL_SetupWindow_check_cdrom "Anno1602/1602.exe" POL_SetupWindow_wait "$(eval_gettext 'Please wait...')" "$TITLE" # Installation using Setup.exe does not work, manual installation does # work. See http://www.capsu.org/1602/7.html for details mkdir -p "$WINEPREFIX/drive_c/Anno1602" cd "$WINEPREFIX/drive_c/Anno1602" || POL_Debug_Fatal "Unable to go to $WINEPREFIX/drive_c/Anno1602" cp -r "$CDROM/Anno1602/"* . chmod -R a+rw * rm -r "MUSIC8" rm -r "VideoSmk" elif [ "$INSTALL_METHOD" = "LOCAL" ]; then cd "$HOME" POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE" POL_Wine_WaitBefore "$TITLE" POL_Wine "$APP_ANSWER" POL_Wine_WaitExit "$TITLE" fi cd "$POL_System_TmpDir" cat <<EOF >> "$POL_System_TmpDir/anno.reg" [HKEY_CURRENT_USER\Software\Anno1602] "INSTALL_DIR"="C:\\" "CDROM_DIR"="D:\\" "INSTALL_SIZE"="MAX" "VIDEO_QUALITAET"="H" "MAUS_TYP"="S" "MUSIK_FLAG"="E" "SOUND_FLAG"="E" "SCREENMODE"=dword:00000320 "VERSION"="EDIT" EOF POL_Wine regedit "$POL_System_TmpDir/anno.reg" POL_System_TmpDelete POL_Shortcut "1602.exe" "$TITLE" POL_Shortcut "START.exe" "$TITLE" POL_SetupWindow_message "$(eval_gettext 'Installation finished.')" "$TITLE" POL_SetupWindow_Close exit RepliesWednesday 6 January 2016 at 21:44
Thursday 7 January 2016 at 14:40
Thursday 7 January 2016 at 18:50
Edited by petch |
This site allows content generated by members, and we promptly remove any content that infringes copyright according to our Terms of Service. To report copyright infringement, please send a notice to dmca-notice@playonlinux.com