Jesteś tutaj

Shaiya Online

Informations

Creator Wiadmości
Quentin PÂRIS
Admin

Warning

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

Informations

Platforms:
Downloads: 15245
Wine: 4.0.1

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
# [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

Contributions

Filters:

Contribute
Member Wiadmości
Dadu042 Thursday 23 May 2019 at 9:29
Dadu042
Moderator

Information

This update has been approved by the team.

Wiadmości

I tried to update the script, but the installer still does crash when installing the game (seems related to Donet30).

Differences

@@ -1,46 +1,60 @@
 #!/bin/bash
-# Last revision : (2011-08-20 15-00)
+# Last revision : (see changelog)
 # Tested : Debian 6.0, Mac OSX
 # Author : Tinou
 # Script licence : GPLv3
 #
 # This script is designed for PlayOnLinux and PlayOnMac.
 #
-# * Revision (2011-08-20 13-00)
-#  - Update for POL/POM 4
- 
+# 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"
 
-[ "$POL_LANG" = "fr" ] && link="http://fr.shaiya.aeriagames.com/download" || link="http://us.shaiya.aeriagames.com/download"
-POL_Browser "$link"
- 
-#Préparation de Wine
+# 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 "1.5.2"
+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_message "$TITLE setup file is needed before to continue....\n\nDownload it here:\n\n$link" "$TITLE"
-POL_SetupWindow_browse "Where is the installation file of $TITLE?" "$TITLE"
-CHEMIN="$APP_ANSWER"
+ then
+ POL_SetupWindow_browse "Where is the installation file of $TITLE?" "$TITLE"
+ CHEMIN="$APP_ANSWER"
 else
-CHEMIN="$POL_SELECTED_FILE"
+ CHEMIN="$POL_SELECTED_FILE"
 fi
-POL_SetupWindow_wait "Installing $TITLE" "$TITLE"
- 
+
+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
\ No newline at end of file

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

Odpowiedzi