Crusaders of Light

Informations

Creator Message
Dadu042

Information

This installer has been approved by the team.

Informations

Platforms:
Downloads: 2283
Wine: 6.0.1

Feedbacks

Description

Freemium MMO RPG, 2016. Website.

PCGamingWiki, Appdb.winehq.org. Crossover.

Screenshots

Miniature

Source code

#!/bin/bash
# Date : (2019-09-16)
# Last revision : See changelog
# Wine version used : see below
# Distribution used to test : Ubuntu 18.04 x64 (Linux kernel v5.4)
# Script licence : GPL3
# Program licence : Retail
# Playonlinux version used : 4.3.4
#
# Software version used to write this script:
#        - .exe (2020-09-16): not tested because not downlodable anymore.
#        - CrusasersOfLight_release_v2.zip (2020-11-12).
#
# Software based on: DirectX 9 v43.
#
#
#
# CHANGELOG
# [Dadu042] (2019-09-16 14-00)
#   Initial writting.  Currently the download link for PC it break.
# [Dadu042] (2020-11-12 16-00)
#   Change install process (.EXE -> .ZIP).
#
# KNOWN ISSUES:
#   Wine amd64 5.0.2: A part of the 3D world is black (the ground). Fix: d3dx9_43 + compiler.
#
#
# KNOWN ISSUES (FIXED):
  
  
[ -z "$PLAYONLINUX" ] && exit 0
source "$PLAYONLINUX/lib/sources"
    
TITLE="Crusaders of Light"
PREFIX="Crusaders_of_Light"
EDITOR="NetEase Games"
WORKING_WINE_VERSION="6.0.1"
AUTHOR="Dadu042"
GAME_VMS="512"
GAME_URL="https://www.pcgamingwiki.com/wiki/Crusaders_of_Light"
       
POL_SetupWindow_Init
POL_Debug_Init
      
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
      
POL_RequiredVersion 4.3.0 || POL_Debug_Fatal "$TITLE won't work with $APPLICATION_TITLE $VERSION\nPlease update."
      
POL_Wine_SelectPrefix "$PREFIX"
# POL_System_SetArch "auto"
POL_System_SetArch "amd64"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
POL_System_TmpCreate "$TITLE"
  
Set_OS "win7"
  
#######################################
#  Installing mandatory dependencies  #
#######################################
 
POL_Call POL_Install_d3dx9_43
POL_Call POL_Install_d3dcompiler_43
 
################
#      GPU     #
################
            
# Asking about memory size of graphic card
# POL_SetupWindow_VMS $GAME_VMS
             
# Set Graphic Card information keys for wine
POL_Wine_SetVideoDriver
              
# Useful for Nvidia GPUs
# POL_Call POL_Install_physx
  
  
#######################################
#  Main part of this script           #
#######################################
 
POL_SetupWindow_InstallMethod "LOCAL"
# POL_SetupWindow_InstallMethod "LOCAL"
  
# POL_SetupWindow_message "IMPORTANT: Do finish the installation before to try to play." "$TITLE"
  
if [ "$INSTALL_METHOD" = "LOCAL" ]
then
        cd "$HOME"
        # POL_SetupWindow_message "$(eval_gettext '\n\nWARNING: the file name must not have SPACES in its name !.')" "$TITLE"
        POL_SetupWindow_browse "$(eval_gettext 'Please select the .ZIP file')" "$TITLE"
        cd "$POL_System_TmpDir"
        POL_SetupWindow_wait_next_signal "$(eval_gettext 'Extracting the archive...')" "$TITLE"
        POL_System_unzip "$APP_ANSWER" -d "$WINEPREFIX/drive_c/"
            
#        POL_Shortcut "$SHORTCUT_FILENAME" "$TITLE" "" "" "$SOFTWARE_CATEGORIES"
          
elif [ "$INSTALL_METHOD" = "DOWNLOAD" ]
then
        cd "$POL_System_TmpDir"
        POL_Download "https://static.gc.my.games/RevelationOnlineLoader_en.exe"
#        INSTALLER="$POL_System_TmpDir/RevelationOnlineLoader_en.exe"
        POL_Wine start /unix "RevelationOnlineLoader_en.exe"
        POL_Wine_WaitExit "$TITLE"
fi
     
POL_Shortcut "col.exe" "$TITLE" "" "" "Game;RolePlaying;"
# POL_Shortcut_Document "$TITLE" "$DOCUMENT_FILE"


# POL_SetupWindow_message "$(eval_gettext 'WARNING: to avoid to get a huge log file, you should type \ninto Debug flags: fixme-all')" "$TITLE"
 
POL_System_TmpDelete
POL_SetupWindow_Close
exit 0

Contributions

Filters:

Contribute
Member Message
Dadu042 Saturday 19 March 2022 at 16:39
Dadu042

Information

This update has been approved by the team.

Message

Should work.

Differences

@@ -34,7 +34,7 @@
 TITLE="Crusaders of Light"
 PREFIX="Crusaders_of_Light"
 EDITOR="NetEase Games"
-WORKING_WINE_VERSION="5.0.2"
+WORKING_WINE_VERSION="6.0.1"
 AUTHOR="Dadu042"
 GAME_VMS="512"
 GAME_URL="https://www.pcgamingwiki.com/wiki/Crusaders_of_Light"

New source code

#!/bin/bash
# Date : (2019-09-16)
# Last revision : See changelog
# Wine version used : see below
# Distribution used to test : Ubuntu 18.04 x64 (Linux kernel v5.4)
# Script licence : GPL3
# Program licence : Retail
# Playonlinux version used : 4.3.4
#
# Software version used to write this script:
#        - .exe (2020-09-16): not tested because not downlodable anymore.
#        - CrusasersOfLight_release_v2.zip (2020-11-12).
#
# Software based on: DirectX 9 v43.
#
#
#
# CHANGELOG
# [Dadu042] (2019-09-16 14-00)
#   Initial writting.  Currently the download link for PC it break.
# [Dadu042] (2020-11-12 16-00)
#   Change install process (.EXE -> .ZIP).
#
# KNOWN ISSUES:
#   Wine amd64 5.0.2: A part of the 3D world is black (the ground). Fix: d3dx9_43 + compiler.
#
#
# KNOWN ISSUES (FIXED):
  
  
[ -z "$PLAYONLINUX" ] && exit 0
source "$PLAYONLINUX/lib/sources"
    
TITLE="Crusaders of Light"
PREFIX="Crusaders_of_Light"
EDITOR="NetEase Games"
WORKING_WINE_VERSION="6.0.1"
AUTHOR="Dadu042"
GAME_VMS="512"
GAME_URL="https://www.pcgamingwiki.com/wiki/Crusaders_of_Light"
       
POL_SetupWindow_Init
POL_Debug_Init
      
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
      
POL_RequiredVersion 4.3.0 || POL_Debug_Fatal "$TITLE won't work with $APPLICATION_TITLE $VERSION\nPlease update."
      
POL_Wine_SelectPrefix "$PREFIX"
# POL_System_SetArch "auto"
POL_System_SetArch "amd64"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
POL_System_TmpCreate "$TITLE"
  
Set_OS "win7"
  
#######################################
#  Installing mandatory dependencies  #
#######################################
 
POL_Call POL_Install_d3dx9_43
POL_Call POL_Install_d3dcompiler_43
 
################
#      GPU     #
################
            
# Asking about memory size of graphic card
# POL_SetupWindow_VMS $GAME_VMS
             
# Set Graphic Card information keys for wine
POL_Wine_SetVideoDriver
              
# Useful for Nvidia GPUs
# POL_Call POL_Install_physx
  
  
#######################################
#  Main part of this script           #
#######################################
 
POL_SetupWindow_InstallMethod "LOCAL"
# POL_SetupWindow_InstallMethod "LOCAL"
  
# POL_SetupWindow_message "IMPORTANT: Do finish the installation before to try to play." "$TITLE"
  
if [ "$INSTALL_METHOD" = "LOCAL" ]
then
        cd "$HOME"
        # POL_SetupWindow_message "$(eval_gettext '\n\nWARNING: the file name must not have SPACES in its name !.')" "$TITLE"
        POL_SetupWindow_browse "$(eval_gettext 'Please select the .ZIP file')" "$TITLE"
        cd "$POL_System_TmpDir"
        POL_SetupWindow_wait_next_signal "$(eval_gettext 'Extracting the archive...')" "$TITLE"
        POL_System_unzip "$APP_ANSWER" -d "$WINEPREFIX/drive_c/"
            
#        POL_Shortcut "$SHORTCUT_FILENAME" "$TITLE" "" "" "$SOFTWARE_CATEGORIES"
          
elif [ "$INSTALL_METHOD" = "DOWNLOAD" ]
then
        cd "$POL_System_TmpDir"
        POL_Download "https://static.gc.my.games/RevelationOnlineLoader_en.exe"
#        INSTALLER="$POL_System_TmpDir/RevelationOnlineLoader_en.exe"
        POL_Wine start /unix "RevelationOnlineLoader_en.exe"
        POL_Wine_WaitExit "$TITLE"
fi
     
POL_Shortcut "col.exe" "$TITLE" "" "" "Game;RolePlaying;"
# POL_Shortcut_Document "$TITLE" "$DOCUMENT_FILE"


# POL_SetupWindow_message "$(eval_gettext 'WARNING: to avoid to get a huge log file, you should type \ninto Debug flags: fixme-all')" "$TITLE"
 
POL_System_TmpDelete
POL_SetupWindow_Close
exit 0

Replies

Dadu042 Thursday 12 November 2020 at 17:39
Dadu042

Warning

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

Message

Played 2 min.

Differences

@@ -8,26 +8,29 @@
 # Playonlinux version used : 4.3.4
 #
 # Software version used to write this script:
-#        - .exe (2020-09-16)
+#        - .exe (2020-09-16): not tested because not downlodable anymore.
+#        - CrusasersOfLight_release_v2.zip (2020-11-12).
 #
-# Software based on: X
+# Software based on: DirectX 9 v43.
 #
 #
 #
 # CHANGELOG
 # [Dadu042] (2019-09-16 14-00)
 #   Initial writting.  Currently the download link for PC it break.
+# [Dadu042] (2020-11-12 16-00)
+#   Change install process (.EXE -> .ZIP).
 #
 # KNOWN ISSUES:
-#   Wine amd64 5.0.2: X
+#   Wine amd64 5.0.2: A part of the 3D world is black (the ground). Fix: d3dx9_43 + compiler.
 #
 #
 # KNOWN ISSUES (FIXED):
- 
- 
+  
+  
 [ -z "$PLAYONLINUX" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
-   
+    
 TITLE="Crusaders of Light"
 PREFIX="Crusaders_of_Light"
 EDITOR="NetEase Games"
@@ -35,65 +38,63 @@
 AUTHOR="Dadu042"
 GAME_VMS="512"
 GAME_URL="https://www.pcgamingwiki.com/wiki/Crusaders_of_Light"
-      
+       
 POL_SetupWindow_Init
 POL_Debug_Init
-     
+      
 POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
-     
+      
 POL_RequiredVersion 4.3.0 || POL_Debug_Fatal "$TITLE won't work with $APPLICATION_TITLE $VERSION\nPlease update."
-     
+      
 POL_Wine_SelectPrefix "$PREFIX"
-POL_System_SetArch "auto"
-# POL_System_SetArch "x86"
+# POL_System_SetArch "auto"
+POL_System_SetArch "amd64"
 POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
 POL_System_TmpCreate "$TITLE"
- 
+  
 Set_OS "win7"
- 
+  
 #######################################
 #  Installing mandatory dependencies  #
 #######################################
-
-# Requiered to display the user licence agreement (game: LifeAfter)
-# POL_Call POL_Install_corefonts
-
-# POL_Call POL_Install_d3dx9
-# POL_Call POL_Install_vcrun2010
-# POL_Call POL_Install_wininet
-
+ 
+POL_Call POL_Install_d3dx9_43
+POL_Call POL_Install_d3dcompiler_43
+ 
 ################
 #      GPU     #
 ################
-           
-# Asking about memory size of graphic card
-POL_SetupWindow_VMS $GAME_VMS
             
+# Asking about memory size of graphic card
+# POL_SetupWindow_VMS $GAME_VMS
+             
 # Set Graphic Card information keys for wine
 POL_Wine_SetVideoDriver
-             
+              
 # Useful for Nvidia GPUs
-POL_Call POL_Install_physx
- 
- 
+# POL_Call POL_Install_physx
+  
+  
 #######################################
 #  Main part of this script           #
 #######################################
-
-POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD" 
-# POL_SetupWindow_InstallMethod "LOCAL"
- 
-POL_SetupWindow_message "IMPORTANT: Do finish the installation before to try to play." "$TITLE"
  
+POL_SetupWindow_InstallMethod "LOCAL"
+# POL_SetupWindow_InstallMethod "LOCAL"
+  
+# POL_SetupWindow_message "IMPORTANT: Do finish the installation before to try to play." "$TITLE"
+  
 if [ "$INSTALL_METHOD" = "LOCAL" ]
 then
         cd "$HOME"
-        POL_SetupWindow_browse "Please select the .EXE file:" "$TITLE"
-        SETUP_EXE="$APP_ANSWER"
-        POL_Wine start /unix "$SETUP_EXE"
-        POL_Wine_WaitExit "$TITLE"
+        # POL_SetupWindow_message "$(eval_gettext '\n\nWARNING: the file name must not have SPACES in its name !.')" "$TITLE"
+        POL_SetupWindow_browse "$(eval_gettext 'Please select the .ZIP file')" "$TITLE"
         cd "$POL_System_TmpDir"
- 
+        POL_SetupWindow_wait_next_signal "$(eval_gettext 'Extracting the archive...')" "$TITLE"
+        POL_System_unzip "$APP_ANSWER" -d "$WINEPREFIX/drive_c/"
+            
+#        POL_Shortcut "$SHORTCUT_FILENAME" "$TITLE" "" "" "$SOFTWARE_CATEGORIES"
+          
 elif [ "$INSTALL_METHOD" = "DOWNLOAD" ]
 then
         cd "$POL_System_TmpDir"
@@ -102,11 +103,13 @@
         POL_Wine start /unix "RevelationOnlineLoader_en.exe"
         POL_Wine_WaitExit "$TITLE"
 fi
-    
-POL_Shortcut "launcher.exe" "$TITLE (Launcher)" "" "" "Game;"
+     
+POL_Shortcut "col.exe" "$TITLE" "" "" "Game;RolePlaying;"
+# POL_Shortcut_Document "$TITLE" "$DOCUMENT_FILE"
 
-POL_SetupWindow_message "$(eval_gettext 'WARNING: to avoid to get a huge log file, you should type \ninto Debug flags: fixme-all')" "$TITLE"
 
+# POL_SetupWindow_message "$(eval_gettext 'WARNING: to avoid to get a huge log file, you should type \ninto Debug flags: fixme-all')" "$TITLE"
+ 
 POL_System_TmpDelete
 POL_SetupWindow_Close
 exit 0
\ No newline at end of file

New source code

#!/bin/bash
# Date : (2019-09-16)
# Last revision : See changelog
# Wine version used : see below
# Distribution used to test : Ubuntu 18.04 x64 (Linux kernel v5.4)
# Script licence : GPL3
# Program licence : Retail
# Playonlinux version used : 4.3.4
#
# Software version used to write this script:
#        - .exe (2020-09-16): not tested because not downlodable anymore.
#        - CrusasersOfLight_release_v2.zip (2020-11-12).
#
# Software based on: DirectX 9 v43.
#
#
#
# CHANGELOG
# [Dadu042] (2019-09-16 14-00)
#   Initial writting.  Currently the download link for PC it break.
# [Dadu042] (2020-11-12 16-00)
#   Change install process (.EXE -> .ZIP).
#
# KNOWN ISSUES:
#   Wine amd64 5.0.2: A part of the 3D world is black (the ground). Fix: d3dx9_43 + compiler.
#
#
# KNOWN ISSUES (FIXED):
  
  
[ -z "$PLAYONLINUX" ] && exit 0
source "$PLAYONLINUX/lib/sources"
    
TITLE="Crusaders of Light"
PREFIX="Crusaders_of_Light"
EDITOR="NetEase Games"
WORKING_WINE_VERSION="5.0.2"
AUTHOR="Dadu042"
GAME_VMS="512"
GAME_URL="https://www.pcgamingwiki.com/wiki/Crusaders_of_Light"
       
POL_SetupWindow_Init
POL_Debug_Init
      
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
      
POL_RequiredVersion 4.3.0 || POL_Debug_Fatal "$TITLE won't work with $APPLICATION_TITLE $VERSION\nPlease update."
      
POL_Wine_SelectPrefix "$PREFIX"
# POL_System_SetArch "auto"
POL_System_SetArch "amd64"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
POL_System_TmpCreate "$TITLE"
  
Set_OS "win7"
  
#######################################
#  Installing mandatory dependencies  #
#######################################
 
POL_Call POL_Install_d3dx9_43
POL_Call POL_Install_d3dcompiler_43
 
################
#      GPU     #
################
            
# Asking about memory size of graphic card
# POL_SetupWindow_VMS $GAME_VMS
             
# Set Graphic Card information keys for wine
POL_Wine_SetVideoDriver
              
# Useful for Nvidia GPUs
# POL_Call POL_Install_physx
  
  
#######################################
#  Main part of this script           #
#######################################
 
POL_SetupWindow_InstallMethod "LOCAL"
# POL_SetupWindow_InstallMethod "LOCAL"
  
# POL_SetupWindow_message "IMPORTANT: Do finish the installation before to try to play." "$TITLE"
  
if [ "$INSTALL_METHOD" = "LOCAL" ]
then
        cd "$HOME"
        # POL_SetupWindow_message "$(eval_gettext '\n\nWARNING: the file name must not have SPACES in its name !.')" "$TITLE"
        POL_SetupWindow_browse "$(eval_gettext 'Please select the .ZIP file')" "$TITLE"
        cd "$POL_System_TmpDir"
        POL_SetupWindow_wait_next_signal "$(eval_gettext 'Extracting the archive...')" "$TITLE"
        POL_System_unzip "$APP_ANSWER" -d "$WINEPREFIX/drive_c/"
            
#        POL_Shortcut "$SHORTCUT_FILENAME" "$TITLE" "" "" "$SOFTWARE_CATEGORIES"
          
elif [ "$INSTALL_METHOD" = "DOWNLOAD" ]
then
        cd "$POL_System_TmpDir"
        POL_Download "https://static.gc.my.games/RevelationOnlineLoader_en.exe"
#        INSTALLER="$POL_System_TmpDir/RevelationOnlineLoader_en.exe"
        POL_Wine start /unix "RevelationOnlineLoader_en.exe"
        POL_Wine_WaitExit "$TITLE"
fi
     
POL_Shortcut "col.exe" "$TITLE" "" "" "Game;RolePlaying;"
# POL_Shortcut_Document "$TITLE" "$DOCUMENT_FILE"


# POL_SetupWindow_message "$(eval_gettext 'WARNING: to avoid to get a huge log file, you should type \ninto Debug flags: fixme-all')" "$TITLE"
 
POL_System_TmpDelete
POL_SetupWindow_Close
exit 0

Replies

Dadu042 Wednesday 16 September 2020 at 14:58
Dadu042

Warning

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

Message

 Currently (2020-09-16) the download link (PC) is break.

Differences

@@ -0,0 +1,112 @@
+#!/bin/bash
+# Date : (2019-09-16)
+# Last revision : See changelog
+# Wine version used : see below
+# Distribution used to test : Ubuntu 18.04 x64 (Linux kernel v5.4)
+# Script licence : GPL3
+# Program licence : Retail
+# Playonlinux version used : 4.3.4
+#
+# Software version used to write this script:
+#        - .exe (2020-09-16)
+#
+# Software based on: X
+#
+#
+#
+# CHANGELOG
+# [Dadu042] (2019-09-16 14-00)
+#   Initial writting.  Currently the download link for PC it break.
+#
+# KNOWN ISSUES:
+#   Wine amd64 5.0.2: X
+#
+#
+# KNOWN ISSUES (FIXED):
+ 
+ 
+[ -z "$PLAYONLINUX" ] && exit 0
+source "$PLAYONLINUX/lib/sources"
+   
+TITLE="Crusaders of Light"
+PREFIX="Crusaders_of_Light"
+EDITOR="NetEase Games"
+WORKING_WINE_VERSION="5.0.2"
+AUTHOR="Dadu042"
+GAME_VMS="512"
+GAME_URL="https://www.pcgamingwiki.com/wiki/Crusaders_of_Light"
+      
+POL_SetupWindow_Init
+POL_Debug_Init
+     
+POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
+     
+POL_RequiredVersion 4.3.0 || POL_Debug_Fatal "$TITLE won't work with $APPLICATION_TITLE $VERSION\nPlease update."
+     
+POL_Wine_SelectPrefix "$PREFIX"
+POL_System_SetArch "auto"
+# POL_System_SetArch "x86"
+POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
+POL_System_TmpCreate "$TITLE"
+ 
+Set_OS "win7"
+ 
+#######################################
+#  Installing mandatory dependencies  #
+#######################################
+
+# Requiered to display the user licence agreement (game: LifeAfter)
+# POL_Call POL_Install_corefonts
+
+# POL_Call POL_Install_d3dx9
+# POL_Call POL_Install_vcrun2010
+# POL_Call POL_Install_wininet
+
+################
+#      GPU     #
+################
+           
+# Asking about memory size of graphic card
+POL_SetupWindow_VMS $GAME_VMS
+            
+# Set Graphic Card information keys for wine
+POL_Wine_SetVideoDriver
+             
+# Useful for Nvidia GPUs
+POL_Call POL_Install_physx
+ 
+ 
+#######################################
+#  Main part of this script           #
+#######################################
+
+POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD" 
+# POL_SetupWindow_InstallMethod "LOCAL"
+ 
+POL_SetupWindow_message "IMPORTANT: Do finish the installation before to try to play." "$TITLE"
+ 
+if [ "$INSTALL_METHOD" = "LOCAL" ]
+then
+        cd "$HOME"
+        POL_SetupWindow_browse "Please select the .EXE file:" "$TITLE"
+        SETUP_EXE="$APP_ANSWER"
+        POL_Wine start /unix "$SETUP_EXE"
+        POL_Wine_WaitExit "$TITLE"
+        cd "$POL_System_TmpDir"
+ 
+elif [ "$INSTALL_METHOD" = "DOWNLOAD" ]
+then
+        cd "$POL_System_TmpDir"
+        POL_Download "https://static.gc.my.games/RevelationOnlineLoader_en.exe"
+#        INSTALLER="$POL_System_TmpDir/RevelationOnlineLoader_en.exe"
+        POL_Wine start /unix "RevelationOnlineLoader_en.exe"
+        POL_Wine_WaitExit "$TITLE"
+fi
+    
+POL_Shortcut "launcher.exe" "$TITLE (Launcher)" "" "" "Game;"
+
+POL_SetupWindow_message "$(eval_gettext 'WARNING: to avoid to get a huge log file, you should type \ninto Debug flags: fixme-all')" "$TITLE"
+
+POL_System_TmpDelete
+POL_SetupWindow_Close
+exit 0
\ No newline at end of file

New source code

#!/bin/bash
# Date : (2019-09-16)
# Last revision : See changelog
# Wine version used : see below
# Distribution used to test : Ubuntu 18.04 x64 (Linux kernel v5.4)
# Script licence : GPL3
# Program licence : Retail
# Playonlinux version used : 4.3.4
#
# Software version used to write this script:
#        - .exe (2020-09-16)
#
# Software based on: X
#
#
#
# CHANGELOG
# [Dadu042] (2019-09-16 14-00)
#   Initial writting.  Currently the download link for PC it break.
#
# KNOWN ISSUES:
#   Wine amd64 5.0.2: X
#
#
# KNOWN ISSUES (FIXED):
 
 
[ -z "$PLAYONLINUX" ] && exit 0
source "$PLAYONLINUX/lib/sources"
   
TITLE="Crusaders of Light"
PREFIX="Crusaders_of_Light"
EDITOR="NetEase Games"
WORKING_WINE_VERSION="5.0.2"
AUTHOR="Dadu042"
GAME_VMS="512"
GAME_URL="https://www.pcgamingwiki.com/wiki/Crusaders_of_Light"
      
POL_SetupWindow_Init
POL_Debug_Init
     
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
     
POL_RequiredVersion 4.3.0 || POL_Debug_Fatal "$TITLE won't work with $APPLICATION_TITLE $VERSION\nPlease update."
     
POL_Wine_SelectPrefix "$PREFIX"
POL_System_SetArch "auto"
# POL_System_SetArch "x86"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
POL_System_TmpCreate "$TITLE"
 
Set_OS "win7"
 
#######################################
#  Installing mandatory dependencies  #
#######################################

# Requiered to display the user licence agreement (game: LifeAfter)
# POL_Call POL_Install_corefonts

# POL_Call POL_Install_d3dx9
# POL_Call POL_Install_vcrun2010
# POL_Call POL_Install_wininet

################
#      GPU     #
################
           
# Asking about memory size of graphic card
POL_SetupWindow_VMS $GAME_VMS
            
# Set Graphic Card information keys for wine
POL_Wine_SetVideoDriver
             
# Useful for Nvidia GPUs
POL_Call POL_Install_physx
 
 
#######################################
#  Main part of this script           #
#######################################

POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD" 
# POL_SetupWindow_InstallMethod "LOCAL"
 
POL_SetupWindow_message "IMPORTANT: Do finish the installation before to try to play." "$TITLE"
 
if [ "$INSTALL_METHOD" = "LOCAL" ]
then
        cd "$HOME"
        POL_SetupWindow_browse "Please select the .EXE file:" "$TITLE"
        SETUP_EXE="$APP_ANSWER"
        POL_Wine start /unix "$SETUP_EXE"
        POL_Wine_WaitExit "$TITLE"
        cd "$POL_System_TmpDir"
 
elif [ "$INSTALL_METHOD" = "DOWNLOAD" ]
then
        cd "$POL_System_TmpDir"
        POL_Download "https://static.gc.my.games/RevelationOnlineLoader_en.exe"
#        INSTALLER="$POL_System_TmpDir/RevelationOnlineLoader_en.exe"
        POL_Wine start /unix "RevelationOnlineLoader_en.exe"
        POL_Wine_WaitExit "$TITLE"
fi
    
POL_Shortcut "launcher.exe" "$TITLE (Launcher)" "" "" "Game;"

POL_SetupWindow_message "$(eval_gettext 'WARNING: to avoid to get a huge log file, you should type \ninto Debug flags: fixme-all')" "$TITLE"

POL_System_TmpDelete
POL_SetupWindow_Close
exit 0

Replies