Shaiya Online

Informations

Creator Message
Quentin PÂRIS
Admin

Warning

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

Informations

Platforms:
Downloads: 15247
Wine: " POL_SetupWindow_message

Feedbacks

Description

A Fantasy MMORPG.  Editor websiteTest reports on winehq.org.

Screenshots

Miniature

Source code

#!/bin/bash
# Last revision : (see changelog)
# Tested : Debian 6.0, Mac OSX
# Author : Tinou
# Script licence : GPLv3
#
# This script is designed for PlayOnLinux and PlayOnMac.
#
# CHANGELOG
# [Tinou] (2011-08-20 13-00)
#   Update for POL/POM 4.
# [Dadu042] (2019-05-10 20-36)
#   Fix broken download URL.
# [Dadu042] (2019-12-08)
#   Wine 4.0.1 -> System's Wine.
#   dotnet30sp1 -> dotnet40

[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
  
TITLE="Shaiya Online"
  
POL_Debug_Init
POL_SetupWindow_Init
POL_SetupWindow_presentation "$TITLE" "Aeria Games" "http://www.aeriagames.com/" "Tinou" "Shaiya"

# Because POL v4.2.12 only support Wine 4.0 maximum as of 2019-05-20.
POL_RequiredVersion 4.3.4 || POL_Debug_Fatal "$TITLE won't work with $APPLICATION_TITLE $VERSION\nPlease update."

# Prepare Wine
POL_Wine_SelectPrefix "Shaiya"
POL_Wine_PrefixCreate ""

POL_SetupWindow_message "We will open the web browser to let you download the game client." "$TITLE"
[ "$POL_LANG" = "fr" ] && link="https://fr.shaiya.aeriagames.com" || link="shaiya.aeriagames.com"
POL_Browser "$link"

Set_OS "win7"

POL_Call POL_Install_vcrun2008 
POL_Call POL_Install_dotnet40

if [ "$POL_SELECTED_FILE" = "" ]
 then
 POL_SetupWindow_browse "Where is the installation file of $TITLE?" "$TITLE"
 CHEMIN="$APP_ANSWER"
else
 CHEMIN="$POL_SELECTED_FILE"
fi

POL_SetupWindow_wait "Installing $TITLE" "$TITLE" "Game;"
  
# POL_SetupWindow_message "Debug: $CHEMIN" "$TITLE"
POL_Wine "$CHEMIN"
POL_Wine_WaitExit "$TITLE" --allow-kill
 
#CREATION LANCEUR
POL_Shortcut "game.exe" "$TITLE"
 
POL_SetupWindow_message "$TITLE has been successfully installed" "$TITLE"
POL_SetupWindow_Close
exit

Contributions

Filters:

Contribute
Member Message
Dadu042 Sunday 8 December 2019 at 0:18
Dadu042
Moderator

Information

This update has been approved by the team.

Differences

@@ -6,12 +6,14 @@
 #
 # This script is designed for PlayOnLinux and PlayOnMac.
 #
-# CHANGELOG
-# [Dadu042] (2019-05-10 20-36)
-#   Fix broken download URL.
+# CHANGELOG
 # [Tinou] (2011-08-20 13-00)
 #   Update for POL/POM 4.
-
+# [Dadu042] (2019-05-10 20-36)
+#   Fix broken download URL.
+# [Dadu042] (2019-12-08)
+#   Wine 4.0.1 -> System's Wine.
+#   dotnet30sp1 -> dotnet40
 
 [ "$PLAYONLINUX" = "" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
@@ -22,12 +24,12 @@
 POL_SetupWindow_Init
 POL_SetupWindow_presentation "$TITLE" "Aeria Games" "http://www.aeriagames.com/" "Tinou" "Shaiya"
 
-# Because POL v4.2.12 only support Wine 4.0 maximum as of 2019-05-20.
+# Because POL v4.2.12 only support Wine 4.0 maximum as of 2019-05-20.
 POL_RequiredVersion 4.3.4 || POL_Debug_Fatal "$TITLE won't work with $APPLICATION_TITLE $VERSION\nPlease update."
 
 # Prepare Wine
 POL_Wine_SelectPrefix "Shaiya"
-POL_Wine_PrefixCreate "4.0.1"
+POL_Wine_PrefixCreate ""
 
 POL_SetupWindow_message "We will open the web browser to let you download the game client." "$TITLE"
 [ "$POL_LANG" = "fr" ] && link="https://fr.shaiya.aeriagames.com" || link="shaiya.aeriagames.com"
@@ -36,7 +38,7 @@
 Set_OS "win7"
 
 POL_Call POL_Install_vcrun2008 
-POL_Call POL_Install_dotnet30sp1
+POL_Call POL_Install_dotnet40
 
 if [ "$POL_SELECTED_FILE" = "" ]
  then
@@ -48,7 +50,7 @@
 
 POL_SetupWindow_wait "Installing $TITLE" "$TITLE" "Game;"
   
-# POL_SetupWindow_message "Debug: $CHEMIN" "$TITLE"
+# POL_SetupWindow_message "Debug: $CHEMIN" "$TITLE"
 POL_Wine "$CHEMIN"
 POL_Wine_WaitExit "$TITLE" --allow-kill
  

New source code

#!/bin/bash
# Last revision : (see changelog)
# Tested : Debian 6.0, Mac OSX
# Author : Tinou
# Script licence : GPLv3
#
# This script is designed for PlayOnLinux and PlayOnMac.
#
# CHANGELOG
# [Tinou] (2011-08-20 13-00)
#   Update for POL/POM 4.
# [Dadu042] (2019-05-10 20-36)
#   Fix broken download URL.
# [Dadu042] (2019-12-08)
#   Wine 4.0.1 -> System's Wine.
#   dotnet30sp1 -> dotnet40

[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
  
TITLE="Shaiya Online"
  
POL_Debug_Init
POL_SetupWindow_Init
POL_SetupWindow_presentation "$TITLE" "Aeria Games" "http://www.aeriagames.com/" "Tinou" "Shaiya"

# Because POL v4.2.12 only support Wine 4.0 maximum as of 2019-05-20.
POL_RequiredVersion 4.3.4 || POL_Debug_Fatal "$TITLE won't work with $APPLICATION_TITLE $VERSION\nPlease update."

# Prepare Wine
POL_Wine_SelectPrefix "Shaiya"
POL_Wine_PrefixCreate ""

POL_SetupWindow_message "We will open the web browser to let you download the game client." "$TITLE"
[ "$POL_LANG" = "fr" ] && link="https://fr.shaiya.aeriagames.com" || link="shaiya.aeriagames.com"
POL_Browser "$link"

Set_OS "win7"

POL_Call POL_Install_vcrun2008 
POL_Call POL_Install_dotnet40

if [ "$POL_SELECTED_FILE" = "" ]
 then
 POL_SetupWindow_browse "Where is the installation file of $TITLE?" "$TITLE"
 CHEMIN="$APP_ANSWER"
else
 CHEMIN="$POL_SELECTED_FILE"
fi

POL_SetupWindow_wait "Installing $TITLE" "$TITLE" "Game;"
  
# POL_SetupWindow_message "Debug: $CHEMIN" "$TITLE"
POL_Wine "$CHEMIN"
POL_Wine_WaitExit "$TITLE" --allow-kill
 
#CREATION LANCEUR
POL_Shortcut "game.exe" "$TITLE"
 
POL_SetupWindow_message "$TITLE has been successfully installed" "$TITLE"
POL_SetupWindow_Close
exit

Replies

Dadu042 Thursday 23 May 2019 at 9:29
Dadu042
Moderator

Warning

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

Message

I've updated the script, but the installer still does crash when installing the game (seems related to Dotnet30).

Differences

@@ -6,14 +6,12 @@
 #
 # This script is designed for PlayOnLinux and PlayOnMac.
 #
-# CHANGELOG
-# [Tinou] (2011-08-20 13-00)
-#   Update for POL/POM 4.
+# CHANGELOG
 # [Dadu042] (2019-05-10 20-36)
 #   Fix broken download URL.
-# [Dadu042] (2019-12-08)
-#   Wine 4.0.1 -> System's Wine.
-#   dotnet30sp1 -> dotnet40
+# [Tinou] (2011-08-20 13-00)
+#   Update for POL/POM 4.
+
 
 [ "$PLAYONLINUX" = "" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
@@ -24,12 +22,12 @@
 POL_SetupWindow_Init
 POL_SetupWindow_presentation "$TITLE" "Aeria Games" "http://www.aeriagames.com/" "Tinou" "Shaiya"
 
-# Because POL v4.2.12 only support Wine 4.0 maximum as of 2019-05-20.
+# Because POL v4.2.12 only support Wine 4.0 maximum as of 2019-05-20.
 POL_RequiredVersion 4.3.4 || POL_Debug_Fatal "$TITLE won't work with $APPLICATION_TITLE $VERSION\nPlease update."
 
 # Prepare Wine
 POL_Wine_SelectPrefix "Shaiya"
-POL_Wine_PrefixCreate ""
+POL_Wine_PrefixCreate "4.0.1"
 
 POL_SetupWindow_message "We will open the web browser to let you download the game client." "$TITLE"
 [ "$POL_LANG" = "fr" ] && link="https://fr.shaiya.aeriagames.com" || link="shaiya.aeriagames.com"
@@ -38,7 +36,7 @@
 Set_OS "win7"
 
 POL_Call POL_Install_vcrun2008 
-POL_Call POL_Install_dotnet40
+POL_Call POL_Install_dotnet30sp1
 
 if [ "$POL_SELECTED_FILE" = "" ]
  then
@@ -50,7 +48,7 @@
 
 POL_SetupWindow_wait "Installing $TITLE" "$TITLE" "Game;"
   
-# POL_SetupWindow_message "Debug: $CHEMIN" "$TITLE"
+# POL_SetupWindow_message "Debug: $CHEMIN" "$TITLE"
 POL_Wine "$CHEMIN"
 POL_Wine_WaitExit "$TITLE" --allow-kill
  

New source code

#!/bin/bash
# Last revision : (see changelog)
# Tested : Debian 6.0, Mac OSX
# Author : Tinou
# Script licence : GPLv3
#
# This script is designed for PlayOnLinux and PlayOnMac.
#
# CHANGELOG
# [Dadu042] (2019-05-10 20-36)
#   Fix broken download URL.
# [Tinou] (2011-08-20 13-00)
#   Update for POL/POM 4.


[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
  
TITLE="Shaiya Online"
  
POL_Debug_Init
POL_SetupWindow_Init
POL_SetupWindow_presentation "$TITLE" "Aeria Games" "http://www.aeriagames.com/" "Tinou" "Shaiya"

# Because POL v4.2.12 only support Wine 4.0 maximum as of 2019-05-20.
POL_RequiredVersion 4.3.4 || POL_Debug_Fatal "$TITLE won't work with $APPLICATION_TITLE $VERSION\nPlease update."

# Prepare Wine
POL_Wine_SelectPrefix "Shaiya"
POL_Wine_PrefixCreate "4.0.1"

POL_SetupWindow_message "We will open the web browser to let you download the game client." "$TITLE"
[ "$POL_LANG" = "fr" ] && link="https://fr.shaiya.aeriagames.com" || link="shaiya.aeriagames.com"
POL_Browser "$link"

Set_OS "win7"

POL_Call POL_Install_vcrun2008 
POL_Call POL_Install_dotnet30sp1

if [ "$POL_SELECTED_FILE" = "" ]
 then
 POL_SetupWindow_browse "Where is the installation file of $TITLE?" "$TITLE"
 CHEMIN="$APP_ANSWER"
else
 CHEMIN="$POL_SELECTED_FILE"
fi

POL_SetupWindow_wait "Installing $TITLE" "$TITLE" "Game;"
  
# POL_SetupWindow_message "Debug: $CHEMIN" "$TITLE"
POL_Wine "$CHEMIN"
POL_Wine_WaitExit "$TITLE" --allow-kill
 
#CREATION LANCEUR
POL_Shortcut "game.exe" "$TITLE"
 
POL_SetupWindow_message "$TITLE has been successfully installed" "$TITLE"
POL_SetupWindow_Close
exit

Replies

Edited by Dadu042