Guild Wars

Informations

Creator Message
Quentin PÂRIS
Admin

Information

This installer has been approved by the team.

Informations

Platforms:
Downloads: 53073
Wine: 2.22

Feedbacks

Description

Guild Wars is an episodic series of multiplayer online role-playing games created by ArenaNet, a Seattle game development studio and a subsidiary of the South Korean game publisher NCsoft.

Screenshots

Miniature

Source code

#!/bin/bash
# Author : Tinou/MulX
# 
# Changelog
#
# [MulX] (2010-08-17)
#         Syntax error
# [Quentin PÂRIS] (2012-05-12 13:48)
#         Update to PlayOnLinux V4
#         CD-ROM support is removed because it's broken
# [Quentin PÂRIS] (2012-05-24 21:05)
#         Download from Guild Wars's website
# [Quentin PÂRIS] (2015-08-09)
#         Changed Donwload link to match new link from offical site and checksum
# [Dadu042] (2019-07-03 16:24)
#         Upgrade from Wine 1.7.39 to 2.22 according to appdb.winehq.org and my trouble with the GUI (windows reduced) of the installer (POL 4.3.4, XUbuntu 18.04).
#         Update the checksum of GwSetup.exe

[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
  
TITLE="Guild Wars"
WINEVERSION="2.22"
PREFIX="GuildWars"
 
POL_SetupWindow_Init
POL_Debug_Init
POL_SetupWindow_presentation "Guild Wars" "NCsoft" "http://www.guildwars.com" "Quentin PÂRIS, MulX" "$PREFIX"
 
# Use current wine
 
POL_Wine_SelectPrefix "GuildWars"
POL_Wine_PrefixCreate "$WINEVERSION"
[ "$POL_OS" = "Mac" ] && Set_Managed Off
 
POL_SetupWindow_InstallMethod "DVD,DOWNLOAD"
 
mkdir -p "$WINEPREFIX/drive_c/GW"
cd "$WINEPREFIX/drive_c/GW" || POL_Debug_Fatal "Unable to change directory"

POL_Download "http://cloudfront.guildwars2.com/client/GwSetup.exe" "c40f85e2a44d44bdbee81406d7570b90"

POL_Wine_WaitBefore "$TITLE"
unzip gwsetup.zip
POL_Wine --ignore-errors "GwSetup.exe"
 
 
#POL_Wine regedit Gw.reg
 
if [ "$INSTALL_METHOD" = "CD" ]; then
        # TO do
        echo "Not supported yet"
fi
 
if [ "$INSTALL_METHOD" = "DVD" ]; then
        POL_SetupWindow_message "$(eval_gettext 'Please insert the DVD-ROM')" "$TITLE"
        POL_SetupWindow_cdrom
        POL_System_cp "$CDROM/Data/Gw/Gw.dat" "$WINEPREFIX/drive_c/$PROGRAMFILES/GUILD WARS/Gw.dat"
fi
 
 
# Fix a bug of the next command when answer is no.
touch "$WINEPREFIX/drive_c/$PROGRAMFILES/GUILD WARS/Gw.dat"
# Fix a bug when file created is not rw 
chmod +rw "$WINEPREFIX/drive_c/$PROGRAMFILES/GUILD WARS/Gw.dat"
 
POL_Shortcut "Gw.exe" "$TITLE"
POL_Wine_SetVideoDriver
 
POL_SetupWindow_Close
exit 0

Contributions

Filters:

Contribute
Member Message
Dadu042 Wednesday 3 July 2019 at 16:38
Dadu042
Moderator

Information

This update has been approved by the team.

Message

See changelog in the script.

Differences

@@ -4,64 +4,68 @@
 # Changelog
 #
 # [MulX] (2010-08-17)
-# 	Syntax error
+#         Syntax error
 # [Quentin PÂRIS] (2012-05-12 13:48)
-# 	Update to PlayOnLinux V4
-# 	CD-ROM support is removed because it's broken
+#         Update to PlayOnLinux V4
+#         CD-ROM support is removed because it's broken
 # [Quentin PÂRIS] (2012-05-24 21:05)
-# 	Download from Guild Wars's website
+#         Download from Guild Wars's website
+# [Quentin PÂRIS] (2015-08-09)
+#         Changed Donwload link to match new link from offical site and checksum
+# [Dadu042] (2019-07-03 16:24)
+#         Upgrade from Wine 1.7.39 to 2.22 according to appdb.winehq.org and my trouble with the GUI (windows reduced) of the installer (POL 4.3.4, XUbuntu 18.04).
+#         Update the checksum of GwSetup.exe
 
 [ "$PLAYONLINUX" = "" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
- 
+  
 TITLE="Guild Wars"
-WINEVERSION="1.7.39"
+WINEVERSION="2.22"
 PREFIX="GuildWars"
-
+ 
 POL_SetupWindow_Init
 POL_Debug_Init
-POL_SetupWindow_presentation "Guild Wars" "NCsoft" "http://www.guildwars.com" "Quentin PÂRIS, MulX" "$PREFIX" 
-
+POL_SetupWindow_presentation "Guild Wars" "NCsoft" "http://www.guildwars.com" "Quentin PÂRIS, MulX" "$PREFIX"
+ 
 # Use current wine
-
+ 
 POL_Wine_SelectPrefix "GuildWars"
 POL_Wine_PrefixCreate "$WINEVERSION"
 [ "$POL_OS" = "Mac" ] && Set_Managed Off
-
+ 
 POL_SetupWindow_InstallMethod "DVD,DOWNLOAD"
-
+ 
 mkdir -p "$WINEPREFIX/drive_c/GW"
 cd "$WINEPREFIX/drive_c/GW" || POL_Debug_Fatal "Unable to change directory"
 
-# Changed Donwload link to match new link from offical site and checksum
-POL_Download "http://cloudfront.guildwars2.com/client/GwSetup.exe" "da05b7ee3e299e6ef471f29c73be0e83"
+POL_Download "http://cloudfront.guildwars2.com/client/GwSetup.exe" "c40f85e2a44d44bdbee81406d7570b90"
 
 POL_Wine_WaitBefore "$TITLE"
 unzip gwsetup.zip
 POL_Wine --ignore-errors "GwSetup.exe"
-
-
+ 
+ 
 #POL_Wine regedit Gw.reg
-
+ 
 if [ "$INSTALL_METHOD" = "CD" ]; then
-	# TO do
-	echo "Not supported yet"
+        # TO do
+        echo "Not supported yet"
 fi
-
+ 
 if [ "$INSTALL_METHOD" = "DVD" ]; then
-	POL_SetupWindow_message "$(eval_gettext 'Please insert the DVD-ROM')" "$TITLE"
-	POL_SetupWindow_cdrom 
-	POL_System_cp "$CDROM/Data/Gw/Gw.dat" "$WINEPREFIX/drive_c/$PROGRAMFILES/GUILD WARS/Gw.dat"
+        POL_SetupWindow_message "$(eval_gettext 'Please insert the DVD-ROM')" "$TITLE"
+        POL_SetupWindow_cdrom
+        POL_System_cp "$CDROM/Data/Gw/Gw.dat" "$WINEPREFIX/drive_c/$PROGRAMFILES/GUILD WARS/Gw.dat"
 fi
-
-
-#fix a bug of the next command when answer is no.
+ 
+ 
+# Fix a bug of the next command when answer is no.
 touch "$WINEPREFIX/drive_c/$PROGRAMFILES/GUILD WARS/Gw.dat"
-#fix a bug when file created is not rw 
+# Fix a bug when file created is not rw 
 chmod +rw "$WINEPREFIX/drive_c/$PROGRAMFILES/GUILD WARS/Gw.dat"
-
+ 
 POL_Shortcut "Gw.exe" "$TITLE"
-POL_Wine_SetVideoDriver 
-
+POL_Wine_SetVideoDriver
+ 
 POL_SetupWindow_Close
-exit
\ No newline at end of file
+exit 0
\ No newline at end of file

New source code

#!/bin/bash
# Author : Tinou/MulX
# 
# Changelog
#
# [MulX] (2010-08-17)
#         Syntax error
# [Quentin PÂRIS] (2012-05-12 13:48)
#         Update to PlayOnLinux V4
#         CD-ROM support is removed because it's broken
# [Quentin PÂRIS] (2012-05-24 21:05)
#         Download from Guild Wars's website
# [Quentin PÂRIS] (2015-08-09)
#         Changed Donwload link to match new link from offical site and checksum
# [Dadu042] (2019-07-03 16:24)
#         Upgrade from Wine 1.7.39 to 2.22 according to appdb.winehq.org and my trouble with the GUI (windows reduced) of the installer (POL 4.3.4, XUbuntu 18.04).
#         Update the checksum of GwSetup.exe

[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
  
TITLE="Guild Wars"
WINEVERSION="2.22"
PREFIX="GuildWars"
 
POL_SetupWindow_Init
POL_Debug_Init
POL_SetupWindow_presentation "Guild Wars" "NCsoft" "http://www.guildwars.com" "Quentin PÂRIS, MulX" "$PREFIX"
 
# Use current wine
 
POL_Wine_SelectPrefix "GuildWars"
POL_Wine_PrefixCreate "$WINEVERSION"
[ "$POL_OS" = "Mac" ] && Set_Managed Off
 
POL_SetupWindow_InstallMethod "DVD,DOWNLOAD"
 
mkdir -p "$WINEPREFIX/drive_c/GW"
cd "$WINEPREFIX/drive_c/GW" || POL_Debug_Fatal "Unable to change directory"

POL_Download "http://cloudfront.guildwars2.com/client/GwSetup.exe" "c40f85e2a44d44bdbee81406d7570b90"

POL_Wine_WaitBefore "$TITLE"
unzip gwsetup.zip
POL_Wine --ignore-errors "GwSetup.exe"
 
 
#POL_Wine regedit Gw.reg
 
if [ "$INSTALL_METHOD" = "CD" ]; then
        # TO do
        echo "Not supported yet"
fi
 
if [ "$INSTALL_METHOD" = "DVD" ]; then
        POL_SetupWindow_message "$(eval_gettext 'Please insert the DVD-ROM')" "$TITLE"
        POL_SetupWindow_cdrom
        POL_System_cp "$CDROM/Data/Gw/Gw.dat" "$WINEPREFIX/drive_c/$PROGRAMFILES/GUILD WARS/Gw.dat"
fi
 
 
# Fix a bug of the next command when answer is no.
touch "$WINEPREFIX/drive_c/$PROGRAMFILES/GUILD WARS/Gw.dat"
# Fix a bug when file created is not rw 
chmod +rw "$WINEPREFIX/drive_c/$PROGRAMFILES/GUILD WARS/Gw.dat"
 
POL_Shortcut "Gw.exe" "$TITLE"
POL_Wine_SetVideoDriver
 
POL_SetupWindow_Close
exit 0

Replies

Daviot Monday 4 July 2016 at 1:16
Daviot Anonymous

Message

Using current installer script from within PlayOnLinux program, installs and runs with no further modification needed.  Slight graphical quirks (similar to old analogue TV "snow") during loading screens, but gameplay functions smoothly with no issues.

System: Linux Mint 18.0 w/ kernel 4.4.0-21

Replies

Quentin PÂRIS Sunday 9 August 2015 at 13:09
Quentin PÂRIS
Admin

Warning

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

Differences

@@ -15,7 +15,7 @@
 source "$PLAYONLINUX/lib/sources"
  
 TITLE="Guild Wars"
-WINEVERSION="1.5.3"
+WINEVERSION="1.7.39"
 PREFIX="GuildWars"
 
 POL_SetupWindow_Init
@@ -23,8 +23,6 @@
 POL_SetupWindow_presentation "Guild Wars" "NCsoft" "http://www.guildwars.com" "Quentin PÂRIS, MulX" "$PREFIX" 
 
 # Use current wine
-POL_SetupWindow_install_wine "1.5.3"
-Set_WineVersion_Session "1.5.3"
 
 POL_Wine_SelectPrefix "GuildWars"
 POL_Wine_PrefixCreate "$WINEVERSION"

New source code

#!/bin/bash
# Author : Tinou/MulX
# 
# Changelog
#
# [MulX] (2010-08-17)
#         Syntax error
# [Quentin PÂRIS] (2012-05-12 13:48)
#         Update to PlayOnLinux V4
#         CD-ROM support is removed because it's broken
# [Quentin PÂRIS] (2012-05-24 21:05)
#         Download from Guild Wars's website

[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
TITLE="Guild Wars"
WINEVERSION="1.7.39"
PREFIX="GuildWars"

POL_SetupWindow_Init
POL_Debug_Init
POL_SetupWindow_presentation "Guild Wars" "NCsoft" "http://www.guildwars.com" "Quentin PÂRIS, MulX" "$PREFIX" 

# Use current wine

POL_Wine_SelectPrefix "GuildWars"
POL_Wine_PrefixCreate "$WINEVERSION"
[ "$POL_OS" = "Mac" ] && Set_Managed Off

POL_SetupWindow_InstallMethod "DVD,DOWNLOAD"

mkdir -p "$WINEPREFIX/drive_c/GW"
cd "$WINEPREFIX/drive_c/GW" || POL_Debug_Fatal "Unable to change directory"

# Changed Donwload link to match new link from offical site and checksum
POL_Download "http://cloudfront.guildwars2.com/client/GwSetup.exe" "da05b7ee3e299e6ef471f29c73be0e83"

POL_Wine_WaitBefore "$TITLE"
unzip gwsetup.zip
POL_Wine --ignore-errors "GwSetup.exe"


#POL_Wine regedit Gw.reg

if [ "$INSTALL_METHOD" = "CD" ]; then
        # TO do
        echo "Not supported yet"
fi

if [ "$INSTALL_METHOD" = "DVD" ]; then
        POL_SetupWindow_message "$(eval_gettext 'Please insert the DVD-ROM')" "$TITLE"
        POL_SetupWindow_cdrom 
        POL_System_cp "$CDROM/Data/Gw/Gw.dat" "$WINEPREFIX/drive_c/$PROGRAMFILES/GUILD WARS/Gw.dat"
fi


#fix a bug of the next command when answer is no.
touch "$WINEPREFIX/drive_c/$PROGRAMFILES/GUILD WARS/Gw.dat"
#fix a bug when file created is not rw 
chmod +rw "$WINEPREFIX/drive_c/$PROGRAMFILES/GUILD WARS/Gw.dat"

POL_Shortcut "Gw.exe" "$TITLE"
POL_Wine_SetVideoDriver 

POL_SetupWindow_Close
exit

Replies

dellintosh Friday 7 August 2015 at 4:52
dellintosh Anonymous

Warning

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

Message

Version 1.5.3 fails to load the installer due to missing window libraries.  Updating to 1.7.39 works fine!

Differences

@@ -15,7 +15,7 @@
 source "$PLAYONLINUX/lib/sources"
  
 TITLE="Guild Wars"
-WINEVERSION="1.5.3"
+WINEVERSION="1.7.39"
 PREFIX="GuildWars"
 
 POL_SetupWindow_Init
@@ -23,8 +23,8 @@
 POL_SetupWindow_presentation "Guild Wars" "NCsoft" "http://www.guildwars.com" "Quentin PÂRIS, MulX" "$PREFIX" 
 
 # Use current wine
-POL_SetupWindow_install_wine "1.5.3"
-Set_WineVersion_Session "1.5.3"
+POL_SetupWindow_install_wine "1.7.39"
+Set_WineVersion_Session "1.7.39"
 
 POL_Wine_SelectPrefix "GuildWars"
 POL_Wine_PrefixCreate "$WINEVERSION"

New source code

#!/bin/bash
# Author : Tinou/MulX
# 
# Changelog
#
# [MulX] (2010-08-17)
#         Syntax error
# [Quentin PÂRIS] (2012-05-12 13:48)
#         Update to PlayOnLinux V4
#         CD-ROM support is removed because it's broken
# [Quentin PÂRIS] (2012-05-24 21:05)
#         Download from Guild Wars's website

[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
TITLE="Guild Wars"
WINEVERSION="1.7.39"
PREFIX="GuildWars"

POL_SetupWindow_Init
POL_Debug_Init
POL_SetupWindow_presentation "Guild Wars" "NCsoft" "http://www.guildwars.com" "Quentin PÂRIS, MulX" "$PREFIX" 

# Use current wine
POL_SetupWindow_install_wine "1.7.39"
Set_WineVersion_Session "1.7.39"

POL_Wine_SelectPrefix "GuildWars"
POL_Wine_PrefixCreate "$WINEVERSION"
[ "$POL_OS" = "Mac" ] && Set_Managed Off

POL_SetupWindow_InstallMethod "DVD,DOWNLOAD"

mkdir -p "$WINEPREFIX/drive_c/GW"
cd "$WINEPREFIX/drive_c/GW" || POL_Debug_Fatal "Unable to change directory"

# Changed Donwload link to match new link from offical site and checksum
POL_Download "http://cloudfront.guildwars2.com/client/GwSetup.exe" "da05b7ee3e299e6ef471f29c73be0e83"

POL_Wine_WaitBefore "$TITLE"
unzip gwsetup.zip
POL_Wine --ignore-errors "GwSetup.exe"


#POL_Wine regedit Gw.reg

if [ "$INSTALL_METHOD" = "CD" ]; then
        # TO do
        echo "Not supported yet"
fi

if [ "$INSTALL_METHOD" = "DVD" ]; then
        POL_SetupWindow_message "$(eval_gettext 'Please insert the DVD-ROM')" "$TITLE"
        POL_SetupWindow_cdrom 
        POL_System_cp "$CDROM/Data/Gw/Gw.dat" "$WINEPREFIX/drive_c/$PROGRAMFILES/GUILD WARS/Gw.dat"
fi


#fix a bug of the next command when answer is no.
touch "$WINEPREFIX/drive_c/$PROGRAMFILES/GUILD WARS/Gw.dat"
#fix a bug when file created is not rw 
chmod +rw "$WINEPREFIX/drive_c/$PROGRAMFILES/GUILD WARS/Gw.dat"

POL_Shortcut "Gw.exe" "$TITLE"
POL_Wine_SetVideoDriver 

POL_SetupWindow_Close
exit

Replies

Friday 7 August 2015 at 20:12
Can you update the script so that it does no longer use deprecated (and not supported in the couple of next versions)? Thanks :)
AFK_Roger Wednesday 17 December 2014 at 20:01
AFK_Roger Anonymous

Warning

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

Message

The download link used to download the installer is invalid this script has the fixed link and checksum.

New Link: http://cloudfront.guildwars2.com/client/GwSetup.exe

New Checksum = da05b7ee3e299e6ef471f29c73be0e83

Differences

@@ -35,7 +35,8 @@
 mkdir -p "$WINEPREFIX/drive_c/GW"
 cd "$WINEPREFIX/drive_c/GW" || POL_Debug_Fatal "Unable to change directory"
 
-POL_Download "http://www.guildwars.com/downloads/gwsetup.zip" "38ba9f03dce96df5991ffff7c555ecd5"
+# Changed Donwload link to match new link from offical site and checksum
+POL_Download "http://cloudfront.guildwars2.com/client/GwSetup.exe" "da05b7ee3e299e6ef471f29c73be0e83"
 
 POL_Wine_WaitBefore "$TITLE"
 unzip gwsetup.zip

New source code

#!/bin/bash
# Author : Tinou/MulX
# 
# Changelog
#
# [MulX] (2010-08-17)
#         Syntax error
# [Quentin PÂRIS] (2012-05-12 13:48)
#         Update to PlayOnLinux V4
#         CD-ROM support is removed because it's broken
# [Quentin PÂRIS] (2012-05-24 21:05)
#         Download from Guild Wars's website

[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
TITLE="Guild Wars"
WINEVERSION="1.5.3"
PREFIX="GuildWars"

POL_SetupWindow_Init
POL_Debug_Init
POL_SetupWindow_presentation "Guild Wars" "NCsoft" "http://www.guildwars.com" "Quentin PÂRIS, MulX" "$PREFIX" 

# Use current wine
POL_SetupWindow_install_wine "1.5.3"
Set_WineVersion_Session "1.5.3"

POL_Wine_SelectPrefix "GuildWars"
POL_Wine_PrefixCreate "$WINEVERSION"
[ "$POL_OS" = "Mac" ] && Set_Managed Off

POL_SetupWindow_InstallMethod "DVD,DOWNLOAD"

mkdir -p "$WINEPREFIX/drive_c/GW"
cd "$WINEPREFIX/drive_c/GW" || POL_Debug_Fatal "Unable to change directory"

# Changed Donwload link to match new link from offical site and checksum
POL_Download "http://cloudfront.guildwars2.com/client/GwSetup.exe" "da05b7ee3e299e6ef471f29c73be0e83"

POL_Wine_WaitBefore "$TITLE"
unzip gwsetup.zip
POL_Wine --ignore-errors "GwSetup.exe"


#POL_Wine regedit Gw.reg

if [ "$INSTALL_METHOD" = "CD" ]; then
        # TO do
        echo "Not supported yet"
fi

if [ "$INSTALL_METHOD" = "DVD" ]; then
        POL_SetupWindow_message "$(eval_gettext 'Please insert the DVD-ROM')" "$TITLE"
        POL_SetupWindow_cdrom 
        POL_System_cp "$CDROM/Data/Gw/Gw.dat" "$WINEPREFIX/drive_c/$PROGRAMFILES/GUILD WARS/Gw.dat"
fi


#fix a bug of the next command when answer is no.
touch "$WINEPREFIX/drive_c/$PROGRAMFILES/GUILD WARS/Gw.dat"
#fix a bug when file created is not rw 
chmod +rw "$WINEPREFIX/drive_c/$PROGRAMFILES/GUILD WARS/Gw.dat"

POL_Shortcut "Gw.exe" "$TITLE"
POL_Wine_SetVideoDriver 

POL_SetupWindow_Close
exit

Replies