GOG.com - ANNO 1602 A.D.

Informations

Creator Message
Okto Anonymous

Information

This installer has been approved by the team.

Informations

Platforms:
Downloads: 5925
Wine: 1.6.2

Feedbacks

Description

The first game in the Anno series, released in 1998.

Source code

#!/bin/bash
# Date : (2015-08-05 18-29)
# Wine version used : 1.6.2
# Distribution used to test : OpenSUSE 13.2
# Author : Benjamin Hardy

[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
TITLE="GOG.com - ANNO 1602 A.D."
PREFIX="ANNO1602"
WINEVERSION="1.6.2"
SHORTCUT_NAME="ANNO 1602 A.D."
GOGID="anno_1602_ad"

POL_SetupWindow_Init
POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "Max Design GesMBH" "http://www.gog.com/gamecard/$GOGID" "Benjamin Hardy" "$PREFIX" 

POL_Call POL_GoG_setup "$GOGID" "ef641bc8dc3d434d8bbb6ff752df6ba7"

POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WINEVERSION"

POL_Call POL_GoG_install

# virtual desktop required to avoid crash on launch
Set_Desktop On 640 480

POL_Wine_reboot

POL_Shortcut "1602.exe" "$SHORTCUT_NAME" "" "" "Game;StrategyGame;"
POL_Shortcut "1602Edit.exe" "$SHORTCUT_NAME Editor" "" "" "Game;StrategyGame;"
POL_Shortcut "Config.exe" "$SHORTCUT_NAME Config" "" "" "Game;StrategyGame;"
POL_Shortcut_Document "$SHORTCUT_NAME" "$WINEPREFIX/drive_c/GOG Games/Anno 1602 - Creation of a New World/Manual.PDF"

POL_SetupWindow_Close

exit 0

Contributions

Filters:

Contribute
Member Message
Andreabont Saturday 20 January 2018 at 18:39
Andreabont Anonymous

Message

The game crash at the startup with this dump:

 

Unhandled exception: page fault on read access to 0x00005726 in 32-bit code (0x00005726).
Register dump:
 CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b
 EIP:00005726 ESP:0032ec1c EBP:00000002 EFLAGS:00010246(  R- --  I  Z- -P- )
 EAX:7a3b9495 EBX:7a3ec000 ECX:00000000 EDX:7a3ee31c
 ESI:00000001 EDI:00000000
Stack dump:
0x0032ec1c:  7a353806 7a3b9495 0032edc8 f779d59f
0x0032ec2c:  0032edf8 00000001 f73d8000 00000000
0x0032ec3c:  f744c48c f779b2e0 0032edc8 f779d59f
0x0032ec4c:  f77affd8 0032eda4 7c638648 00000020
0x0032ec5c:  f757e448 0032ecc8 00002710 00000019
0x0032ec6c:  00000004 00000030 00000004 00000000
Backtrace:
=>0 0x00005726 (0x00000002)
0x00005726: -- no code accessible --
Modules:
Module    Address            Debug info    Name (136 modules)
PE      330000-  34b000    Deferred        smackw32
PE      350000-  39c000    Deferred        language
PE      400000-  72e000    Deferred        1602
PE    10000000-10028000    Deferred        maxnet
PE    28100000-2810e000    Deferred        maxsound
ELF    7a15e000-7a18a000    Deferred        libvorbis.so.0
ELF    7a18a000-7a302000    Deferred        libvorbisenc.so.2
ELF    7a302000-7a343000    Deferred        libflac.so.8
ELF    7a343000-7a3ef000    Deferred        libgcrypt.so.20
ELF    7a3ef000-7a465000    Deferred        libsndfile.so.1
ELF    7a465000-7a4f6000    Deferred        libsystemd.so.0
ELF    7a4f6000-7a57b000    Deferred        libpulsecommon-9.0.so
ELF    7a57b000-7a67b000    Deferred        libasound.so.2
ELF    7b800000-7ba4b000    Deferred        kernel32<elf>
  \-PE    7b810000-7ba4b000    \               kernel32
ELF    7ba67000-7ba94000    Deferred        liblzma.so.5
ELF    7ba94000-7bae8000    Deferred        libpulse.so.0
ELF    7bae8000-7bc00000    Deferred        oleaut32<elf>
  \-PE    7bb00000-7bc00000    \               oleaut32
ELF    7bc00000-7bcc8000    Deferred        ntdll<elf>
  \-PE    7bc10000-7bcc8000    \               ntdll
ELF    7bcd4000-7bcdc000    Deferred        libogg.so.0
ELF    7bcdc000-7bcf4000    Deferred        libspeex.so.1
ELF    7bcf4000-7bd00000    Deferred        libjson-c.so.2
ELF    7bf00000-7bf03000    Deferred        <wine-loader>
ELF    7bf07000-7bf0b000    Deferred        libgpg-error.so.0
ELF    7bf48000-7bf50000    Deferred        libasound_module_pcm_pulse.so
ELF    7bf50000-7bf7d000    Deferred        winealsa<elf>
  \-PE    7bf60000-7bf7d000    \               winealsa
ELF    7bf7d000-7bf9d000    Deferred        mmdevapi<elf>
  \-PE    7bf80000-7bf9d000    \               mmdevapi
ELF    7c89f000-7c8d7000    Deferred        libtxc_dxtn.so
ELF    7c9d7000-7c9e2000    Deferred        libpciaccess.so.0
ELF    7cb63000-7cb86000    Deferred        libdrm_intel.so.1
ELF    7cb86000-7d1eb000    Deferred        i965_dri.so
ELF    7d369000-7d376000    Deferred        libdrm_radeon.so.1
ELF    7d376000-7d399000    Deferred        libudev.so.1
ELF    7d399000-7d400000    Deferred        libgl.so.1
ELF    7d507000-7d510000    Deferred        libdrm_nouveau.so.2
ELF    7d510000-7d516000    Deferred        libcap.so.2
ELF    7d516000-7d527000    Deferred        libdrm.so.2
ELF    7d527000-7d52d000    Deferred        libxcb-dri2.so.0
ELF    7d52d000-7d547000    Deferred        libxcb-glx.so.0
ELF    7d547000-7d563000    Deferred        libglapi.so.0
ELF    7d563000-7d57f000    Deferred        libgcc_s.so.1
ELF    7d5bc000-7d631000    Deferred        libpcre.so.1
ELF    7d631000-7d658000    Deferred        libselinux.so.1
ELF    7d658000-7d670000    Deferred        libresolv.so.2
ELF    7d670000-7d675000    Deferred        libkeyutils.so.1
ELF    7d675000-7d6c2000    Deferred        libdbus-1.so.3
ELF    7d6c2000-7d6d0000    Deferred        libkrb5support.so.0
ELF    7d6d0000-7d702000    Deferred        libk5crypto.so.3
ELF    7d702000-7d7c7000    Deferred        libkrb5.so.3
ELF    7d7c7000-7d7d9000    Deferred        libavahi-client.so.3
ELF    7d7d9000-7d7e7000    Deferred        libavahi-common.so.3
ELF    7d7e7000-7d9c8000    Deferred        libcrypto.so.1.0.0
ELF    7d9c8000-7da2c000    Deferred        libssl.so.1.0.0
ELF    7da2c000-7da74000    Deferred        libgssapi_krb5.so.2
ELF    7da74000-7daf6000    Deferred        libcups.so.2
ELF    7dafb000-7dafe000    Deferred        libx11-xcb.so.1
ELF    7dafe000-7db02000    Deferred        libxdamage.so.1
ELF    7db02000-7db09000    Deferred        libxcb-sync.so.1
ELF    7db09000-7db0d000    Deferred        libxcb-present.so.0
ELF    7db0d000-7db11000    Deferred        libxcb-dri3.so.0
ELF    7db11000-7db33000    Deferred        imm32<elf>
  \-PE    7db20000-7db33000    \               imm32
ELF    7db33000-7db39000    Deferred        libxfixes.so.3
ELF    7db39000-7db45000    Deferred        libxcursor.so.1
ELF    7db45000-7db56000    Deferred        libxi.so.6
ELF    7db56000-7db5a000    Deferred        libxcomposite.so.1
ELF    7db5a000-7db66000    Deferred        libxrandr.so.2
ELF    7db66000-7db71000    Deferred        libxrender.so.1
ELF    7db71000-7db78000    Deferred        libxxf86vm.so.1
ELF    7db78000-7db7c000    Deferred        libxinerama.so.1
ELF    7db7c000-7db80000    Deferred        libxau.so.6
ELF    7db80000-7dba4000    Deferred        libxcb.so.1
ELF    7dba4000-7dce0000    Deferred        libx11.so.6
ELF    7dce0000-7dcf3000    Deferred        libxext.so.6
ELF    7dcf3000-7dcf6000    Deferred        libxshmfence.so.1
ELF    7dcf6000-7dcfb000    Deferred        libcom_err.so.2
ELF    7dcfb000-7dd2e000    Deferred        uxtheme<elf>
  \-PE    7dd00000-7dd2e000    \               uxtheme
ELF    7dd30000-7ddba000    Deferred        winex11<elf>
  \-PE    7dd40000-7ddba000    \               winex11
ELF    7dec9000-7def2000    Deferred        libexpat.so.1
ELF    7def2000-7df30000    Deferred        libfontconfig.so.1
ELF    7df30000-7df6c000    Deferred        libpng16.so.16
ELF    7df6c000-7df7b000    Deferred        libbz2.so.1
ELF    7df7b000-7df8f000    Deferred        libz.so.1
ELF    7df8f000-7e027000    Deferred        libfreetype.so.6
ELF    7e064000-7e0a9000    Deferred        dsound<elf>
  \-PE    7e070000-7e0a9000    \               dsound
ELF    7e0a9000-7e144000    Deferred        msvcrt<elf>
  \-PE    7e0c0000-7e144000    \               msvcrt
ELF    7e144000-7e16c000    Deferred        msacm32<elf>
  \-PE    7e150000-7e16c000    \               msacm32
ELF    7e16c000-7e1e4000    Deferred        rpcrt4<elf>
  \-PE    7e180000-7e1e4000    \               rpcrt4
ELF    7e1e4000-7e2f9000    Deferred        ole32<elf>
  \-PE    7e200000-7e2f9000    \               ole32
ELF    7e2f9000-7e3ae000    Deferred        winmm<elf>
  \-PE    7e300000-7e3ae000    \               winmm
ELF    7e3ae000-7e3eb000    Deferred        dplayx<elf>
  \-PE    7e3b0000-7e3eb000    \               dplayx
ELF    7e40e000-7e4f3000    Deferred        opengl32<elf>
  \-PE    7e430000-7e4f3000    \               opengl32
ELF    7e4f3000-7e626000    Deferred        wined3d<elf>
  \-PE    7e500000-7e626000    \               wined3d
ELF    7e626000-7e68e000    Deferred        ddraw<elf>
  \-PE    7e630000-7e68e000    \               ddraw
ELF    7e68e000-7e6cb000    Deferred        winspool<elf>
  \-PE    7e6a0000-7e6cb000    \               winspool
ELF    7e6cb000-7e7c3000    Deferred        comctl32<elf>
  \-PE    7e6d0000-7e7c3000    \               comctl32
ELF    7e7c3000-7e832000    Deferred        shlwapi<elf>
  \-PE    7e7d0000-7e832000    \               shlwapi
ELF    7e832000-7ea4e000    Deferred        shell32<elf>
  \-PE    7e840000-7ea4e000    \               shell32
ELF    7ea4e000-7eb33000    Deferred        comdlg32<elf>
  \-PE    7ea50000-7eb33000    \               comdlg32
ELF    7eb33000-7eb4b000    Deferred        version<elf>
  \-PE    7eb40000-7eb4b000    \               version
ELF    7eb4b000-7ebb1000    Deferred        advapi32<elf>
  \-PE    7eb60000-7ebb1000    \               advapi32
ELF    7ebb1000-7ecbe000    Deferred        gdi32<elf>
  \-PE    7ebc0000-7ecbe000    \               gdi32
ELF    7ecbe000-7ee05000    Deferred        user32<elf>
  \-PE    7ecd0000-7ee05000    \               user32
ELF    7ef7c000-7efc3000    Deferred        libm.so.6
ELF    f73d3000-f73d8000    Deferred        libdl.so.2
ELF    f73d9000-f7582000    Deferred        libc.so.6
ELF    f7582000-f759e000    Deferred        libpthread.so.0
ELF    f75d2000-f75db000    Deferred        librt.so.1
ELF    f75db000-f778d000    Dwarf           libwine.so.1
ELF    f778e000-f77b1000    Deferred        ld-linux.so.2
ELF    f77b4000-f77b5000    Deferred        [vdso].so
Threads:
process  tid      prio (all id:s are in hex)
00000008 (D) C:\GOG Games\Anno 1602 - Creation of a New World\1602.exe
    00000027    0
    00000026    0
    00000009    0 <==
0000000e services.exe
    0000001f    0
    0000001e    0
    00000019    0
    00000018    0
    00000016    0
    00000014    0
    00000010    0
    0000000f    0
00000012 winedevice.exe
    0000001d    0
    0000001a    0
    00000017    0
    00000013    0
0000001b plugplay.exe
    00000021    0
    00000020    0
    0000001c    0
00000023 explorer.exe
    00000025    0
    00000024    0
System information:
    Wine build: wine-1.6.2
    Platform: i386
    Host system: Linux
    Host version: 4.4.104-18.44-default

 

Replies

Maki Saturday 15 August 2015 at 12:23
Maki Anonymous

Message

The program does not run. Please see bug #5129.

Replies

Okto Wednesday 5 August 2015 at 19:38
Okto Anonymous

Information

This update has been approved by the team.

Message

Added shortcuts to the game's config tool and map editor

Differences

@@ -8,7 +8,7 @@
 source "$PLAYONLINUX/lib/sources"
  
 TITLE="GOG.com - ANNO 1602 A.D."
-PREFIX="ANNO 1602"
+PREFIX="ANNO1602"
 WINEVERSION="1.6.2"
 SHORTCUT_NAME="ANNO 1602 A.D."
 GOGID="anno_1602_ad"

New source code

#!/bin/bash
# Date : (2015-08-05 18-29)
# Wine version used : 1.6.2
# Distribution used to test : OpenSUSE 13.2
# Author : Benjamin Hardy

[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
TITLE="GOG.com - ANNO 1602 A.D."
PREFIX="ANNO1602"
WINEVERSION="1.6.2"
SHORTCUT_NAME="ANNO 1602 A.D."
GOGID="anno_1602_ad"

POL_SetupWindow_Init
POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "Max Design GesMBH" "http://www.gog.com/gamecard/$GOGID" "Benjamin Hardy" "$PREFIX" 

POL_Call POL_GoG_setup "$GOGID" "ef641bc8dc3d434d8bbb6ff752df6ba7"

POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WINEVERSION"

POL_Call POL_GoG_install

# virtual desktop required to avoid crash on launch
Set_Desktop On 640 480

POL_Wine_reboot

POL_Shortcut "1602.exe" "$SHORTCUT_NAME" "" "" "Game;StrategyGame;"
POL_Shortcut "1602Edit.exe" "$SHORTCUT_NAME Editor" "" "" "Game;StrategyGame;"
POL_Shortcut "Config.exe" "$SHORTCUT_NAME Config" "" "" "Game;StrategyGame;"
POL_Shortcut_Document "$SHORTCUT_NAME" "$WINEPREFIX/drive_c/GOG Games/Anno 1602 - Creation of a New World/Manual.PDF"

POL_SetupWindow_Close

exit 0

Replies

Edited by petch

Okto Tuesday 4 August 2015 at 9:57
Okto Anonymous

Warning

This update has not been approved yet by the team.
Use it at your own risk

Message

Removed space in prefix

Differences

@@ -0,0 +1,38 @@
+#!/bin/bash
+# Date : (2015-08-04 08-55)
+# Wine version used : 1.6.2
+# Distribution used to test : OpenSUSE 13.2
+# Author : Benjamin Hardy
+ 
+[ "$PLAYONLINUX" = "" ] && exit 0
+source "$PLAYONLINUX/lib/sources"
+  
+TITLE="GOG.com - ANNO 1602 A.D."
+PREFIX="ANNO1602"
+WINEVERSION="1.6.2"
+SHORTCUT_NAME="ANNO 1602 A.D."
+GOGID="anno_1602_ad"
+ 
+POL_SetupWindow_Init
+POL_Debug_Init
+ 
+POL_SetupWindow_presentation "$TITLE" "Max Design GesMBH" "http://www.gog.com/gamecard/$GOGID" "Benjamin Hardy" "$PREFIX"
+ 
+POL_Call POL_GoG_setup "$GOGID" "ef641bc8dc3d434d8bbb6ff752df6ba7"
+ 
+POL_Wine_SelectPrefix "$PREFIX"
+POL_Wine_PrefixCreate "$WINEVERSION"
+ 
+POL_Call POL_GoG_install
+ 
+# virtual desktop required to avoid crash on launch
+Set_Desktop On 640 480
+ 
+POL_Wine_reboot
+ 
+POL_Shortcut "1602.exe" "$SHORTCUT_NAME" "" "" "Game;StrategyGame;ANNO 1602 A.D.;"
+POL_Shortcut_Document "$SHORTCUT_NAME" "$WINEPREFIX/drive_c/GOG Games/Anno 1602 - Creation of a New World/Manual.PDF"
+ 
+POL_SetupWindow_Close
+ 
+exit 0
\ No newline at end of file

New source code

#!/bin/bash
# Date : (2015-08-04 08-55)
# Wine version used : 1.6.2
# Distribution used to test : OpenSUSE 13.2
# Author : Benjamin Hardy
 
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
  
TITLE="GOG.com - ANNO 1602 A.D."
PREFIX="ANNO1602"
WINEVERSION="1.6.2"
SHORTCUT_NAME="ANNO 1602 A.D."
GOGID="anno_1602_ad"
 
POL_SetupWindow_Init
POL_Debug_Init
 
POL_SetupWindow_presentation "$TITLE" "Max Design GesMBH" "http://www.gog.com/gamecard/$GOGID" "Benjamin Hardy" "$PREFIX"
 
POL_Call POL_GoG_setup "$GOGID" "ef641bc8dc3d434d8bbb6ff752df6ba7"
 
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WINEVERSION"
 
POL_Call POL_GoG_install
 
# virtual desktop required to avoid crash on launch
Set_Desktop On 640 480
 
POL_Wine_reboot
 
POL_Shortcut "1602.exe" "$SHORTCUT_NAME" "" "" "Game;StrategyGame;ANNO 1602 A.D.;"
POL_Shortcut_Document "$SHORTCUT_NAME" "$WINEPREFIX/drive_c/GOG Games/Anno 1602 - Creation of a New World/Manual.PDF"
 
POL_SetupWindow_Close
 
exit 0

Replies

Okto Monday 3 August 2015 at 22:15
Okto Anonymous

Warning

This update has not been approved yet by the team.
Use it at your own risk

Differences

@@ -0,0 +1,38 @@
+#!/bin/bash
+# Date : (2015-08-03 20-59)
+# Wine version used : 1.6.2
+# Distribution used to test : OpenSUSE 13.2
+# Author : Benjamin Hardy
+
+[ "$PLAYONLINUX" = "" ] && exit 0
+source "$PLAYONLINUX/lib/sources"
+ 
+TITLE="GOG.com - ANNO 1602 A.D."
+PREFIX="ANNO 1602"
+WINEVERSION="1.6.2"
+SHORTCUT_NAME="ANNO 1602 A.D."
+GOGID="anno_1602_ad"
+
+POL_SetupWindow_Init
+POL_Debug_Init
+
+POL_SetupWindow_presentation "$TITLE" "Max Design GesMBH" "http://www.gog.com/gamecard/$GOGID" "Benjamin Hardy" "$PREFIX" 
+
+POL_Call POL_GoG_setup "$GOGID" "ef641bc8dc3d434d8bbb6ff752df6ba7"
+
+POL_Wine_SelectPrefix "$PREFIX"
+POL_Wine_PrefixCreate "$WINEVERSION"
+
+POL_Call POL_GoG_install
+
+# virtual desktop required to avoid crash on launch
+Set_Desktop On 640 480
+
+POL_Wine_reboot
+
+POL_Shortcut "1602.exe" "$SHORTCUT_NAME" "" "" "Game;StrategyGame;ANNO 1602 A.D.;"
+POL_Shortcut_Document "$SHORTCUT_NAME" "$WINEPREFIX/drive_c/GOG Games/Anno 1602 - Creation of a New World/Manual.PDF"
+
+POL_SetupWindow_Close
+
+exit 0
\ No newline at end of file

New source code

#!/bin/bash
# Date : (2015-08-03 20-59)
# Wine version used : 1.6.2
# Distribution used to test : OpenSUSE 13.2
# Author : Benjamin Hardy

[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
TITLE="GOG.com - ANNO 1602 A.D."
PREFIX="ANNO 1602"
WINEVERSION="1.6.2"
SHORTCUT_NAME="ANNO 1602 A.D."
GOGID="anno_1602_ad"

POL_SetupWindow_Init
POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "Max Design GesMBH" "http://www.gog.com/gamecard/$GOGID" "Benjamin Hardy" "$PREFIX" 

POL_Call POL_GoG_setup "$GOGID" "ef641bc8dc3d434d8bbb6ff752df6ba7"

POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WINEVERSION"

POL_Call POL_GoG_install

# virtual desktop required to avoid crash on launch
Set_Desktop On 640 480

POL_Wine_reboot

POL_Shortcut "1602.exe" "$SHORTCUT_NAME" "" "" "Game;StrategyGame;ANNO 1602 A.D.;"
POL_Shortcut_Document "$SHORTCUT_NAME" "$WINEPREFIX/drive_c/GOG Games/Anno 1602 - Creation of a New World/Manual.PDF"

POL_SetupWindow_Close

exit 0

Replies

Tuesday 4 August 2015 at 0:00
Hi, caution there, spaces are not allowed in prefix names; PlayOnLinux/PlayOnMac will "fix" it on their own, converting it to ANNO1602 I think, but still, this is not very clean...
Anonymous
Tuesday 4 August 2015 at 9:54
Thanks petch, I didn't think about the space before. PlayOnLinux converted it to ANNO_1602 on my computer. I'll fix the script.
Anonymous
Monday 5 February 2018 at 9:22
I think this is an informative post and it is very useful and knowledgeable. therefore, I would like to thank you for the efforts you have made in writing this article