Anno 1701

Informations

Creator Message
GNU_Raziel

Information

This installer has been approved by the team.

Informations

Platforms:
Downloads: 36457
Wine: System

Feedbacks

Description

Source code

#!/bin/bash
# Date : (2011-03-23 10-00)
# Last revision : 
# Wine version used : 1.3.16
# Distribution used to test : Kubuntu 10.10 64bits
# Author : Benji64 & GNU_Raziel
# Licence : Retail
# Only for : http://www.playonlinux.com

# CHANGELOG
# [Benji64 & GNU_Raziel] (2011-03-23 10-00)
#   First script.
# [Dadu042] (2019-12-31)
#   Some updates.

[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
TITLE="Anno 1701"
PREFIX="Anno1701"
 
if [ "$POL_LANG" == "fr" ]; then
LNG_ANNO_INSTALL="Anno 1701 est en cours d'installation..."
LNG_FIN="Installation terminée !\n\n\nScript créé d'après les informations tirées du site de Wine :\nhttp://appdb.winehq.org/objectManager.php?sClass=version&iId=6822\n\nINFORMATION : vous devez contourner les protections anti-piratage pour faire fonctionner ce jeu."
else
LNG_ANNO_INSTALL="Installing Anno 1701..."
LNG_FIN="Installation complete !\n\n\nThis script has been d from Wine Website information :\nhttp://appdb.winehq.org/objectManager.php?sClass=version&iId=3775\n\nINFORMATION : you'll have to disable anti-piracy protections to run this game."
fi
 
# Présentation
POL_SetupWindow_Init
POL_SetupWindow_presentation "$TITLE" "Related Designs" "http://www.related-designs.de/" "Benji64 & GNU_Raziel" "$PREFIX"
 
POL_Wine_SelectPrefix "$PREFIX"

POL_Wine_PrefixCreate
 
# Installation de Anno 1701
POL_SetupWindow_cdrom
POL_SetupWindow_check_cdrom "setup.exe"
POL_SetupWindow_wait_next_signal "$LNG_ANNO_INSTALL" "$TITLE"
wine $CDROM/setup.exe
INSTALL_ON="1"
until [ "$INSTALL_ON" == "" ]; do
sleep 5
INSTALL_ON=`ps aux | grep "wineserver" | grep -v "grep"`
done
POL_SetupWindow_detect_exit
 
# Fix for this game
cd "$POL_USER_ROOT/tmp"
cat << EOF > anno_fix.reg
[HKEY_CURRENT_USER\Software\Wine\Direct3D]
"OffscreenRenderingMode"="fbo"
"UseGLSL"="enable"
EOF
regedit anno_fix.reg
POL_Call POL_Function_OverrideDLL "native" "dbghelp"
 
#cleaning temp
if [ -e "$WINEPREFIX/drive_c/windows/temp/" ]; then
rm -rf "$WINEPREFIX/drive_c/windows/temp/*"
chmod -R 777 "$POL_USER_ROOT/tmp/"
rm -rf "$POL_USER_ROOT/tmp/*"
fi
 
# Fin de l'installation
POL_SetupWindow_auto_shortcut "$PREFIX" "Anno1701.exe" "$TITLE" "" "Game;"
 
POL_SetupWindow_message "$LNG_FIN" "$TITLE"
 
POL_SetupWindow_Close
exit

Contributions

Filters:

Contribute
Member Message
Dadu042 Tuesday 31 December 2019 at 14:02
Dadu042

Information

This update has been approved by the team.

Differences

@@ -6,7 +6,13 @@
 # Author : Benji64 & GNU_Raziel
 # Licence : Retail
 # Only for : http://www.playonlinux.com
- 
+
+# CHANGELOG
+# [Benji64 & GNU_Raziel] (2011-03-23 10-00)
+#   First script.
+# [Dadu042] (2019-12-31)
+#   Some updates.
+
 [ "$PLAYONLINUX" = "" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
  
@@ -18,14 +24,16 @@
 LNG_FIN="Installation terminée !\n\n\nScript créé d'après les informations tirées du site de Wine :\nhttp://appdb.winehq.org/objectManager.php?sClass=version&iId=6822\n\nINFORMATION : vous devez contourner les protections anti-piratage pour faire fonctionner ce jeu."
 else
 LNG_ANNO_INSTALL="Installing Anno 1701..."
-LNG_FIN="Installation complete !\n\n\nThis script has been created from Wine Website information :\nhttp://appdb.winehq.org/objectManager.php?sClass=version&iId=3775\n\nINFORMATION : you'll have to disable anti-piracy protections to run this game."
+LNG_FIN="Installation complete !\n\n\nThis script has been d from Wine Website information :\nhttp://appdb.winehq.org/objectManager.php?sClass=version&iId=3775\n\nINFORMATION : you'll have to disable anti-piracy protections to run this game."
 fi
  
 # Présentation
 POL_SetupWindow_Init
 POL_SetupWindow_presentation "$TITLE" "Related Designs" "http://www.related-designs.de/" "Benji64 & GNU_Raziel" "$PREFIX"
  
-select_prefix "$POL_USER_ROOT/wineprefix/$PREFIX"
+POL_Wine_SelectPrefix "$PREFIX"
+
+POL_Wine_PrefixCreate
  
 # Installation de Anno 1701
 POL_SetupWindow_cdrom
@@ -57,7 +65,7 @@
 fi
  
 # Fin de l'installation
-POL_SetupWindow_auto_shortcut "$PREFIX" "Anno1701.exe" "$TITLE" "" ""
+POL_SetupWindow_auto_shortcut "$PREFIX" "Anno1701.exe" "$TITLE" "" "Game;"
  
 POL_SetupWindow_message "$LNG_FIN" "$TITLE"
  

New source code

#!/bin/bash
# Date : (2011-03-23 10-00)
# Last revision : 
# Wine version used : 1.3.16
# Distribution used to test : Kubuntu 10.10 64bits
# Author : Benji64 & GNU_Raziel
# Licence : Retail
# Only for : http://www.playonlinux.com

# CHANGELOG
# [Benji64 & GNU_Raziel] (2011-03-23 10-00)
#   First script.
# [Dadu042] (2019-12-31)
#   Some updates.

[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
TITLE="Anno 1701"
PREFIX="Anno1701"
 
if [ "$POL_LANG" == "fr" ]; then
LNG_ANNO_INSTALL="Anno 1701 est en cours d'installation..."
LNG_FIN="Installation terminée !\n\n\nScript créé d'après les informations tirées du site de Wine :\nhttp://appdb.winehq.org/objectManager.php?sClass=version&iId=6822\n\nINFORMATION : vous devez contourner les protections anti-piratage pour faire fonctionner ce jeu."
else
LNG_ANNO_INSTALL="Installing Anno 1701..."
LNG_FIN="Installation complete !\n\n\nThis script has been d from Wine Website information :\nhttp://appdb.winehq.org/objectManager.php?sClass=version&iId=3775\n\nINFORMATION : you'll have to disable anti-piracy protections to run this game."
fi
 
# Présentation
POL_SetupWindow_Init
POL_SetupWindow_presentation "$TITLE" "Related Designs" "http://www.related-designs.de/" "Benji64 & GNU_Raziel" "$PREFIX"
 
POL_Wine_SelectPrefix "$PREFIX"

POL_Wine_PrefixCreate
 
# Installation de Anno 1701
POL_SetupWindow_cdrom
POL_SetupWindow_check_cdrom "setup.exe"
POL_SetupWindow_wait_next_signal "$LNG_ANNO_INSTALL" "$TITLE"
wine $CDROM/setup.exe
INSTALL_ON="1"
until [ "$INSTALL_ON" == "" ]; do
sleep 5
INSTALL_ON=`ps aux | grep "wineserver" | grep -v "grep"`
done
POL_SetupWindow_detect_exit
 
# Fix for this game
cd "$POL_USER_ROOT/tmp"
cat << EOF > anno_fix.reg
[HKEY_CURRENT_USER\Software\Wine\Direct3D]
"OffscreenRenderingMode"="fbo"
"UseGLSL"="enable"
EOF
regedit anno_fix.reg
POL_Call POL_Function_OverrideDLL "native" "dbghelp"
 
#cleaning temp
if [ -e "$WINEPREFIX/drive_c/windows/temp/" ]; then
rm -rf "$WINEPREFIX/drive_c/windows/temp/*"
chmod -R 777 "$POL_USER_ROOT/tmp/"
rm -rf "$POL_USER_ROOT/tmp/*"
fi
 
# Fin de l'installation
POL_SetupWindow_auto_shortcut "$PREFIX" "Anno1701.exe" "$TITLE" "" "Game;"
 
POL_SetupWindow_message "$LNG_FIN" "$TITLE"
 
POL_SetupWindow_Close
exit

Replies

happyreacer Saturday 26 November 2016 at 12:41
happyreacer Anonymous

Message

and here the program error:

Unhandled exception: page fault on write access to 0x00000090 in 32-bit code (0x0105c5c6).
Register dump:
 CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b
 EIP:0105c5c6 ESP:0032fe34 EBP:00b68d23 EFLAGS:00010282(  R- --  I S - - - )
 EAX:00000090 EBX:7b639000 ECX:000001a8 EDX:ffe41308
 ESI:0105784f EDI:0105c5c0
Stack dump:
0x0032fe34:  01054577 7ffdf000 0032fe68 0032fe54
0x0032fe44:  7b639000 00400100 7b7e17d0 00000000
0x0032fe54:  7b460b4c 7ffdf000 7b639000 7ffdf000
0x0032fe64:  01054577 0032fe98 7b461b1a 7ffdf000
0x0032fe74:  01054577 00000000 00000000 00000000
0x0032fe84:  7b461ad6 0032feb0 7bcda000 7bcda000
000c: sel=0067 base=00000000 limit=00000000 32-bit r-x
Backtrace:
=>0 0x0105c5c6 in anno1701 (+0xc5c5c6) (0x00b68d23)
0x0105c5c6: addb    %al,0x0(%eax)
Modules:
Module    Address            Debug info    Name (14 modules)
PE      400000- 12c2000    Export          anno1701
ELF    7b400000-7b7e2000    Deferred        kernel32<elf>
  \-PE    7b420000-7b7e2000    \               kernel32
ELF    7bc00000-7bcf7000    Deferred        ntdll<elf>
  \-PE    7bc10000-7bcf7000    \               ntdll
ELF    7c000000-7c004000    Deferred        <wine-loader>
ELF    7ef59000-7ef6c000    Deferred        libnss_files.so.2
ELF    7ef6c000-7efc1000    Deferred        libm.so.6
ELF    f73e1000-f73e6000    Deferred        libdl.so.2
ELF    f7425000-f75de000    Deferred        libc.so.6
ELF    f75de000-f75fb000    Deferred        libpthread.so.0
ELF    f75fb000-f77b2000    Dwarf           libwine.so.1
ELF    f77b4000-f77d8000    Deferred        ld-linux.so.2
ELF    f77da000-f77db000    Deferred        [vdso].so
Threads:
process  tid      prio (all id:s are in hex)
00000008 (D) C:\Program Files (x86)\Anno 1701\Anno1701.exe
    00000009    0 <==
0000000e services.exe
    00000030    0
    0000002f    0
    00000026    0
    0000001e    0
    00000017    0
    00000016    0
    00000014    0
    00000010    0
    0000000f    0
00000012 winedevice.exe
    0000001b    0
    0000001a    0
    00000019    0
    00000018    0
    00000013    0
0000001c winedevice.exe
    00000023    0
    00000022    0
    00000021    0
    00000020    0
    0000001d    0
00000024 winedevice.exe
    0000002e    0
    0000002b    0
    0000002a    0
    00000029    0
    00000028    0
    00000025    0
0000002c plugplay.exe
    00000032    0
    00000031    0
    0000002d    0
00000035 explorer.exe
    0000003a    0
    00000039    0
    00000038    0
    00000037    0
    00000036    0
System information:
    Wine build: wine-1.9.23
    Platform: i386 (WOW64)
    Version: Windows XP
    Host system: Linux
    Host version: 4.4.33-1-MANJARO

 

Replies

Sunday 26 May 2019 at 11:22
Inernal crash inside wine-1.9.23. The script was wrote (tested) with Wine 1.3.16. Try to force a other version.
happyreacer Saturday 26 November 2016 at 11:49
happyreacer Anonymous

Message

I have installed Anno 1701 with orginal cd an playonlinux but i have errors and cant start the game:

can everybody help?

[11/26/16 11:41:19] - ----- Starting function POL_Function_OverrideDLL -----
[11/26/16 11:41:20] - Running wine- regedit /home/familie/.PlayOnLinux//tmp/override-dll.reg (Working directory : /home/familie/.PlayOnLinux/tmp)
[11/26/16 11:41:20] - Content of /home/familie/.PlayOnLinux//tmp/override-dll.reg
-----------
REGEDIT4

[HKEY_CURRENT_USER\Software\Wine\DllOverrides]
"*dbghelp"="native"
-----------
[11/26/16 11:41:20] - ----- Ending function POL_Function_OverrideDLL -----
[11/26/16 11:41:20] - Running wine- winepath -u C:\\users\\familie\\Desktop (Working directory : /home/familie/.PlayOnLinux/tmp)
/home/familie/.PlayOnLinux//wineprefix/Anno1701/dosdevices/c:/users/familie/Desktop
[11/26/16 11:41:37] - Running wine- Anno1701.exe (Working directory : /home/familie/.PlayOnLinux/wineprefix/Anno1701/drive_c/Program Files (x86)/Anno 1701)
wine: Unhandled page fault on write access to 0x00000090 at address 0x105c5c6 (thread 0009), starting debugger...
err:module:import_dll Library dbghelp.dll (which is needed by L"C:\\windows\\system32\\winedbg.exe") not found
err:module:LdrInitializeThunk Main exe initialization for L"C:\\windows\\system32\\winedbg.exe" failed, status c0000135
[11/26/16 11:41:49] - Running wine- Anno1701.exe (Working directory : /home/familie/.PlayOnLinux/wineprefix/Anno1701/drive_c/Program Files (x86)/Anno 1701)
fixme:ntoskrnl:KeInitializeTimerEx stub: 0x13960 0
wine: Unhandled page fault on write access to 0x00000090 at address 0x105c5c6 (thread 0009), starting debugger...
err:module:import_dll Library dbghelp.dll (which is needed by L"C:\\windows\\system32\\winedbg.exe") not found
err:module:LdrInitializeThunk Main exe initialization for L"C:\\windows\\system32\\winedbg.exe" failed, status c0000135

Replies

Sunday 26 May 2019 at 11:23
Wine version ?

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