Wizard 101 (Europe)

Informations

Creator Message
PlayPal Anonymous

Warning

This installer is a beta script. It means that it might not work as expected

Informations

Platforms:
Downloads: 59
Wine: 3.0.3

Feedbacks

Description

Wizard101 is a MMORPG designed to be easy-to-learn, and fun for children and adults of all ages. Wikipedia.

Source code

#!/bin/bash
# Date : 2016-05-02
# Last revision : see changelog
# Wine version used: 3.0.3
# Distribution used to test : Ubuntu 14.04 amd64, OSX Mavericks 10.9.5
# Author: PlayPal

# CHANGELOG
# [mauriciofauth] (2015-05-20)
#   First script.
# [Dadu042] (2019-11-17 19:14)
#   Wine 1.8.1 -> 3.0.3 (according appdb.winehq.org)

[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"

TITLE="Wizard101 Europe"
PREFIX="Wizard101Europe"
EDITOR="Gameforge 4D GmbH | KingsIsle Entertainment, Inc."
GAME_URL="http://www.gameforge.com"
AUTHOR="PlayPal"
POL_ID=2808
WINE_VERSION="3.0.3"

ICON_TOP="http://drsick.net/wizard101/top.png"
ICON_LEFT="http://drsick.net/wizard101/left.png"

POL_GetSetupImages "$ICON_TOP" "$ICON_LEFT" "$TITLE"
POL_SetupWindow_Init
POL_SetupWindow_SetID $POL_ID
POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"

# choose game language
POL_SetupWindow_menu_list "Please choose your language:\n(you need an account for the specified language)" "$TITLE" "English~German~French~Spanish~Italian~Polish~Greek" "~" "English"
if [ "English" = "$APP_ANSWER" ]; then
  download_file="Wizard101_Installer_UK.exe"
  tld="co.uk"
elif [ "German" = "$APP_ANSWER" ]; then
  download_file="Wizard101_Installer_DE.exe"
  tld="de"
elif [ "French" = "$APP_ANSWER" ]; then
  download_file="Wizard101_Installer_FR.exe"
  tld="fr"
elif [ "Spanish" = "$APP_ANSWER" ]; then
  download_file="Wizard101_Installer_ES.exe"
  tld="es"
elif [ "Italian" = "$APP_ANSWER" ]; then
  download_file="Wizard101_Installer_IT.exe"
  tld="it"
elif [ "Polish" = "$APP_ANSWER" ]; then
  download_file="Wizard101_Installer_PL.exe"
  tld="pl"
elif [ "Greek" = "$APP_ANSWER" ]; then
  download_file="Wizard101_Installer_GR.exe"
  tld="gr"
fi

# open browser to register an account
POL_Browser "http://wizard101.$tld"

POL_Wine_SelectPrefix "$PREFIX"
# will not work with amd64:
POL_System_SetArch "x86"
POL_Wine_PrefixCreate "$WINE_VERSION"

POL_System_TmpCreate "$PREFIX"

# download and execute the installer:
cd "$POL_System_TmpDir"
POL_Download "http://dlcl.gfsrv.net/wizard101/clients/$download_file"
POL_Wine_WaitBefore "$TITLE"
POL_Wine "$download_file"
POL_System_TmpDelete

# avoid crash messages (after Wizard101 starts launcher):
POL_Shortcut_QuietDebug "$TITLE"
POL_Shortcut "Wizard101.exe" "$TITLE"

POL_SetupWindow_Close

exit

Contributions

Filters:

Contribute
Member Message
Dadu042 Sunday 17 November 2019 at 19:14
Dadu042
Moderator

Information

This update has been approved by the team.

Differences

@@ -1,10 +1,16 @@
 #!/bin/bash
 # Date : 2016-05-02
-# Last revision : 2016-06-10
-# Wine version used: 1.8.x
+# Last revision : see changelog
+# Wine version used: 3.0.3
 # Distribution used to test : Ubuntu 14.04 amd64, OSX Mavericks 10.9.5
 # Author: PlayPal
 
+# CHANGELOG
+# [mauriciofauth] (2015-05-20)
+#   First script.
+# [Dadu042] (2019-11-17 19:14)
+#   Wine 1.8.1 -> 3.0.3 (according appdb.winehq.org)
+
 [ "$PLAYONLINUX" = "" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
 
@@ -14,7 +20,7 @@
 GAME_URL="http://www.gameforge.com"
 AUTHOR="PlayPal"
 POL_ID=2808
-WINE_VERSION="1.8.1"
+WINE_VERSION="3.0.3"
 
 ICON_TOP="http://drsick.net/wizard101/top.png"
 ICON_LEFT="http://drsick.net/wizard101/left.png"

New source code

#!/bin/bash
# Date : 2016-05-02
# Last revision : see changelog
# Wine version used: 3.0.3
# Distribution used to test : Ubuntu 14.04 amd64, OSX Mavericks 10.9.5
# Author: PlayPal

# CHANGELOG
# [mauriciofauth] (2015-05-20)
#   First script.
# [Dadu042] (2019-11-17 19:14)
#   Wine 1.8.1 -> 3.0.3 (according appdb.winehq.org)

[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"

TITLE="Wizard101 Europe"
PREFIX="Wizard101Europe"
EDITOR="Gameforge 4D GmbH | KingsIsle Entertainment, Inc."
GAME_URL="http://www.gameforge.com"
AUTHOR="PlayPal"
POL_ID=2808
WINE_VERSION="3.0.3"

ICON_TOP="http://drsick.net/wizard101/top.png"
ICON_LEFT="http://drsick.net/wizard101/left.png"

POL_GetSetupImages "$ICON_TOP" "$ICON_LEFT" "$TITLE"
POL_SetupWindow_Init
POL_SetupWindow_SetID $POL_ID
POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"

# choose game language
POL_SetupWindow_menu_list "Please choose your language:\n(you need an account for the specified language)" "$TITLE" "English~German~French~Spanish~Italian~Polish~Greek" "~" "English"
if [ "English" = "$APP_ANSWER" ]; then
  download_file="Wizard101_Installer_UK.exe"
  tld="co.uk"
elif [ "German" = "$APP_ANSWER" ]; then
  download_file="Wizard101_Installer_DE.exe"
  tld="de"
elif [ "French" = "$APP_ANSWER" ]; then
  download_file="Wizard101_Installer_FR.exe"
  tld="fr"
elif [ "Spanish" = "$APP_ANSWER" ]; then
  download_file="Wizard101_Installer_ES.exe"
  tld="es"
elif [ "Italian" = "$APP_ANSWER" ]; then
  download_file="Wizard101_Installer_IT.exe"
  tld="it"
elif [ "Polish" = "$APP_ANSWER" ]; then
  download_file="Wizard101_Installer_PL.exe"
  tld="pl"
elif [ "Greek" = "$APP_ANSWER" ]; then
  download_file="Wizard101_Installer_GR.exe"
  tld="gr"
fi

# open browser to register an account
POL_Browser "http://wizard101.$tld"

POL_Wine_SelectPrefix "$PREFIX"
# will not work with amd64:
POL_System_SetArch "x86"
POL_Wine_PrefixCreate "$WINE_VERSION"

POL_System_TmpCreate "$PREFIX"

# download and execute the installer:
cd "$POL_System_TmpDir"
POL_Download "http://dlcl.gfsrv.net/wizard101/clients/$download_file"
POL_Wine_WaitBefore "$TITLE"
POL_Wine "$download_file"
POL_System_TmpDelete

# avoid crash messages (after Wizard101 starts launcher):
POL_Shortcut_QuietDebug "$TITLE"
POL_Shortcut "Wizard101.exe" "$TITLE"

POL_SetupWindow_Close

exit

Replies

PlayPal Friday 10 June 2016 at 19:15
PlayPal Anonymous

Warning

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

Message

Changes: (minor)

* use wine 1.8.1 (since that works and exists both an Linux and Mac)
* add icons
* remove WaitExit (as suggested)

 

 

Differences

@@ -0,0 +1,77 @@
+#!/bin/bash
+# Date : 2016-05-02
+# Last revision : 2016-06-10
+# Wine version used: 1.8.x
+# Distribution used to test : Ubuntu 14.04 amd64, OSX Mavericks 10.9.5
+# Author: PlayPal
+
+[ "$PLAYONLINUX" = "" ] && exit 0
+source "$PLAYONLINUX/lib/sources"
+
+TITLE="Wizard101 Europe"
+PREFIX="Wizard101Europe"
+EDITOR="Gameforge 4D GmbH | KingsIsle Entertainment, Inc."
+GAME_URL="http://www.gameforge.com"
+AUTHOR="PlayPal"
+POL_ID=2808
+WINE_VERSION="1.8.1"
+
+ICON_TOP="http://drsick.net/wizard101/top.png"
+ICON_LEFT="http://drsick.net/wizard101/left.png"
+
+POL_GetSetupImages "$ICON_TOP" "$ICON_LEFT" "$TITLE"
+POL_SetupWindow_Init
+POL_SetupWindow_SetID $POL_ID
+POL_Debug_Init
+
+POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
+
+# choose game language
+POL_SetupWindow_menu_list "Please choose your language:\n(you need an account for the specified language)" "$TITLE" "English~German~French~Spanish~Italian~Polish~Greek" "~" "English"
+if [ "English" = "$APP_ANSWER" ]; then
+  download_file="Wizard101_Installer_UK.exe"
+  tld="co.uk"
+elif [ "German" = "$APP_ANSWER" ]; then
+  download_file="Wizard101_Installer_DE.exe"
+  tld="de"
+elif [ "French" = "$APP_ANSWER" ]; then
+  download_file="Wizard101_Installer_FR.exe"
+  tld="fr"
+elif [ "Spanish" = "$APP_ANSWER" ]; then
+  download_file="Wizard101_Installer_ES.exe"
+  tld="es"
+elif [ "Italian" = "$APP_ANSWER" ]; then
+  download_file="Wizard101_Installer_IT.exe"
+  tld="it"
+elif [ "Polish" = "$APP_ANSWER" ]; then
+  download_file="Wizard101_Installer_PL.exe"
+  tld="pl"
+elif [ "Greek" = "$APP_ANSWER" ]; then
+  download_file="Wizard101_Installer_GR.exe"
+  tld="gr"
+fi
+
+# open browser to register an account
+POL_Browser "http://wizard101.$tld"
+
+POL_Wine_SelectPrefix "$PREFIX"
+# will not work with amd64:
+POL_System_SetArch "x86"
+POL_Wine_PrefixCreate "$WINE_VERSION"
+
+POL_System_TmpCreate "$PREFIX"
+
+# download and execute the installer:
+cd "$POL_System_TmpDir"
+POL_Download "http://dlcl.gfsrv.net/wizard101/clients/$download_file"
+POL_Wine_WaitBefore "$TITLE"
+POL_Wine "$download_file"
+POL_System_TmpDelete
+
+# avoid crash messages (after Wizard101 starts launcher):
+POL_Shortcut_QuietDebug "$TITLE"
+POL_Shortcut "Wizard101.exe" "$TITLE"
+
+POL_SetupWindow_Close
+
+exit
\ No newline at end of file

New source code

#!/bin/bash
# Date : 2016-05-02
# Last revision : 2016-06-10
# Wine version used: 1.8.x
# Distribution used to test : Ubuntu 14.04 amd64, OSX Mavericks 10.9.5
# Author: PlayPal

[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"

TITLE="Wizard101 Europe"
PREFIX="Wizard101Europe"
EDITOR="Gameforge 4D GmbH | KingsIsle Entertainment, Inc."
GAME_URL="http://www.gameforge.com"
AUTHOR="PlayPal"
POL_ID=2808
WINE_VERSION="1.8.1"

ICON_TOP="http://drsick.net/wizard101/top.png"
ICON_LEFT="http://drsick.net/wizard101/left.png"

POL_GetSetupImages "$ICON_TOP" "$ICON_LEFT" "$TITLE"
POL_SetupWindow_Init
POL_SetupWindow_SetID $POL_ID
POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"

# choose game language
POL_SetupWindow_menu_list "Please choose your language:\n(you need an account for the specified language)" "$TITLE" "English~German~French~Spanish~Italian~Polish~Greek" "~" "English"
if [ "English" = "$APP_ANSWER" ]; then
  download_file="Wizard101_Installer_UK.exe"
  tld="co.uk"
elif [ "German" = "$APP_ANSWER" ]; then
  download_file="Wizard101_Installer_DE.exe"
  tld="de"
elif [ "French" = "$APP_ANSWER" ]; then
  download_file="Wizard101_Installer_FR.exe"
  tld="fr"
elif [ "Spanish" = "$APP_ANSWER" ]; then
  download_file="Wizard101_Installer_ES.exe"
  tld="es"
elif [ "Italian" = "$APP_ANSWER" ]; then
  download_file="Wizard101_Installer_IT.exe"
  tld="it"
elif [ "Polish" = "$APP_ANSWER" ]; then
  download_file="Wizard101_Installer_PL.exe"
  tld="pl"
elif [ "Greek" = "$APP_ANSWER" ]; then
  download_file="Wizard101_Installer_GR.exe"
  tld="gr"
fi

# open browser to register an account
POL_Browser "http://wizard101.$tld"

POL_Wine_SelectPrefix "$PREFIX"
# will not work with amd64:
POL_System_SetArch "x86"
POL_Wine_PrefixCreate "$WINE_VERSION"

POL_System_TmpCreate "$PREFIX"

# download and execute the installer:
cd "$POL_System_TmpDir"
POL_Download "http://dlcl.gfsrv.net/wizard101/clients/$download_file"
POL_Wine_WaitBefore "$TITLE"
POL_Wine "$download_file"
POL_System_TmpDelete

# avoid crash messages (after Wizard101 starts launcher):
POL_Shortcut_QuietDebug "$TITLE"
POL_Shortcut "Wizard101.exe" "$TITLE"

POL_SetupWindow_Close

exit

Replies

Sunday 17 November 2019 at 19:10
Approved.
PlayPal Wednesday 11 May 2016 at 22:26
PlayPal Anonymous

Warning

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

Differences

@@ -0,0 +1,79 @@
+#!/bin/bash
+# Date : 2016-05-02
+# Last revision : 2016-05-02
+# Distribution used to test : Ubuntu 14.04 amd64
+# Author: PlayPal
+
+[ "$PLAYONLINUX" = "" ] && exit 0
+source "$PLAYONLINUX/lib/sources"
+
+TITLE="Wizard101 Europe"
+PREFIX="Wizard101"
+EDITOR="KingsIsle Entertainment, Inc. | Gameforge 4D GmbH"
+GAME_URL="http://www.gameforge.com"
+AUTHOR="PlayPal"
+POL_ID=2808
+
+# ICON_TOP="http://en.wizard101.gameforge.com/wizard101/assets/0.4.80/ctx/assets/game/img/wizard101_logo.png"
+ICON_TOP="http://cdn.slidesharecdn.com/profile-photo-Wizards101-96x96.jpg"
+ICON_LEFT="http://en.wizard101.gameforge.com/wizard101/assets/0.4.80/ctx/assets/game/img/malistaire.png"
+
+# Installer Icons:
+POL_GetSetupImages "$ICON_TOP" "$ICON_LEFT" "$TITLE"
+POL_SetupWindow_Init
+
+# for (i) icon link to PlayOnLinux Page:
+POL_SetupWindow_SetID $POL_ID
+POL_Debug_Init
+
+POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
+
+POL_SetupWindow_menu_list "Please choose your language:\n(you need an account for the specified language)" "$TITLE" "English~German~French~Spanish~Italian~Polish~Greek" "~" "English"
+if [ "English" = "$APP_ANSWER" ]; then
+  download_file="Wizard101_Installer_UK.exe"
+  tld="co.uk"
+elif [ "German" = "$APP_ANSWER" ]; then
+  download_file="Wizard101_Installer_DE.exe"
+  tld="de"
+elif [ "French" = "$APP_ANSWER" ]; then
+  download_file="Wizard101_Installer_FR.exe"
+  tld="fr"
+elif [ "Spanish" = "$APP_ANSWER" ]; then
+  download_file="Wizard101_Installer_ES.exe"
+  tld="es"
+elif [ "Italian" = "$APP_ANSWER" ]; then
+  download_file="Wizard101_Installer_IT.exe"
+  tld="it"
+elif [ "Polish" = "$APP_ANSWER" ]; then
+  download_file="Wizard101_Installer_PL.exe"
+  tld="pl"
+elif [ "Greek" = "$APP_ANSWER" ]; then
+  download_file="Wizard101_Installer_GR.exe"
+  tld="gr"
+fi
+
+POL_Wine_SelectPrefix "$PREFIX"
+# will not work with amd64:
+POL_System_SetArch "x86"
+POL_Wine_PrefixCreate
+
+POL_Browser "http://wizard101.$tld"
+
+POL_System_TmpCreate "$PREFIX"
+
+# download and execute the installer:
+cd "$POL_System_TmpDir"
+POL_Download "http://dlcl.gfsrv.net/wizard101/clients/$download_file" ""
+POL_Wine_WaitBefore "$TITLE"
+POL_Wine "$download_file"
+POL_Wine_WaitExit "$TITLE"
+
+POL_System_TmpDelete
+
+POL_Shortcut "Wizard101.exe" "$TITLE"
+# avoid crash messages:
+POL_Shortcut_QuietDebug "$TITLE"
+
+POL_SetupWindow_Close
+
+exit

New source code

#!/bin/bash
# Date : 2016-05-02
# Last revision : 2016-05-02
# Distribution used to test : Ubuntu 14.04 amd64
# Author: PlayPal

[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"

TITLE="Wizard101 Europe"
PREFIX="Wizard101"
EDITOR="KingsIsle Entertainment, Inc. | Gameforge 4D GmbH"
GAME_URL="http://www.gameforge.com"
AUTHOR="PlayPal"
POL_ID=2808

# ICON_TOP="http://en.wizard101.gameforge.com/wizard101/assets/0.4.80/ctx/assets/game/img/wizard101_logo.png"
ICON_TOP="http://cdn.slidesharecdn.com/profile-photo-Wizards101-96x96.jpg"
ICON_LEFT="http://en.wizard101.gameforge.com/wizard101/assets/0.4.80/ctx/assets/game/img/malistaire.png"

# Installer Icons:
POL_GetSetupImages "$ICON_TOP" "$ICON_LEFT" "$TITLE"
POL_SetupWindow_Init

# for (i) icon link to PlayOnLinux Page:
POL_SetupWindow_SetID $POL_ID
POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"

POL_SetupWindow_menu_list "Please choose your language:\n(you need an account for the specified language)" "$TITLE" "English~German~French~Spanish~Italian~Polish~Greek" "~" "English"
if [ "English" = "$APP_ANSWER" ]; then
  download_file="Wizard101_Installer_UK.exe"
  tld="co.uk"
elif [ "German" = "$APP_ANSWER" ]; then
  download_file="Wizard101_Installer_DE.exe"
  tld="de"
elif [ "French" = "$APP_ANSWER" ]; then
  download_file="Wizard101_Installer_FR.exe"
  tld="fr"
elif [ "Spanish" = "$APP_ANSWER" ]; then
  download_file="Wizard101_Installer_ES.exe"
  tld="es"
elif [ "Italian" = "$APP_ANSWER" ]; then
  download_file="Wizard101_Installer_IT.exe"
  tld="it"
elif [ "Polish" = "$APP_ANSWER" ]; then
  download_file="Wizard101_Installer_PL.exe"
  tld="pl"
elif [ "Greek" = "$APP_ANSWER" ]; then
  download_file="Wizard101_Installer_GR.exe"
  tld="gr"
fi

POL_Wine_SelectPrefix "$PREFIX"
# will not work with amd64:
POL_System_SetArch "x86"
POL_Wine_PrefixCreate

POL_Browser "http://wizard101.$tld"

POL_System_TmpCreate "$PREFIX"

# download and execute the installer:
cd "$POL_System_TmpDir"
POL_Download "http://dlcl.gfsrv.net/wizard101/clients/$download_file" ""
POL_Wine_WaitBefore "$TITLE"
POL_Wine "$download_file"
POL_Wine_WaitExit "$TITLE"

POL_System_TmpDelete

POL_Shortcut "Wizard101.exe" "$TITLE"
# avoid crash messages:
POL_Shortcut_QuietDebug "$TITLE"

POL_SetupWindow_Close

exit

Replies