Revelation Online

Informations

Creator Message
Dadu042
Moderator

Warning

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

Informations

Platforms:
Downloads: 22
Wine: 4.21-staging

Feedbacks

Description

MMO RPG, 2017. Website. Game size: 30 GB.

Warning: after clicking the yellow button Play, error 'Game start error. General failure'.

Warning: this game can not run without the 'MY.GAMES GamesCenter' (that currently fail to pass the Login window, as of 2020-09). Workaround: Wine 4.21-staging

PCGamingWiki, Appdb.winehq.org

Screenshots

MiniatureMiniature

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:
#        - RevelationOnlineLoader_cd2a61df604870163855d2fbec38df4a__en.exe on the Gamecenter: 'Version 1129.52a of 13.09.2020').
#
# Software based on: X
#
#
#
# CHANGELOG
# [Dadu042] (2019-09-16 10-00)
#   Initial writting.
# [Dadu042] (2019-09-17 18-00)
#   Wine 5.0.2 -> 4.21-staging (should allow to login and to play, like in the Allods script).
#
# KNOWN ISSUES:
#   Wine amd64 4.21-staging: after clicking the yellow button Play, error 'Game start error. General failure. File name: ... tianyu.exe'. Tried: running manually 'tianyu64.exe' (I get a chinese error message).
#   Wine amd64 5.8-staging, 5.9-staging: after clicking the yellow button Play the Game Center does freeze.
#                        Note: the current POL's staging releases 5.10 and 5.11 does fail to run (0214:err:ntdll:RtlpWaitForCriticalSection section 0xxxxxxx "../../../dlls/ntdll/heap.c: main process heap section" wait timed out).
#   Wine amd64 5.0.2, 5.16, 4.21: after accepting the EULA, the Login window that appears is empty and freeze.
#   Wine amd64 5.0.2, 5.16, 4.21: some characters are missing (ie: in the yellow box).
#
#
# KNOWN ISSUES (FIXED):
 
 
[ -z "$PLAYONLINUX" ] && exit 0
source "$PLAYONLINUX/lib/sources"
   
TITLE="Revelation Online"
PREFIX="Revelation_Online"
EDITOR="My.games"
WORKING_WINE_VERSION="4.21-staging"
AUTHOR="Dadu042"
GAME_VMS="512"
GAME_URL="https://www.pcgamingwiki.com/wiki/Revelation_Online"
      
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  #
#######################################

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 "GameCenter.exe" "$TITLE" "" "" "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

Contributions

Filters:

Contribute
Member Message
Dadu042 Monday 21 September 2020 at 18:31
Dadu042
Moderator

Information

This update has been approved by the team.

Differences

@@ -22,6 +22,8 @@
 #
 # KNOWN ISSUES:
 #   Wine amd64 4.21-staging: after clicking the yellow button Play, error 'Game start error. General failure. File name: ... tianyu.exe'. Tried: running manually 'tianyu64.exe' (I get a chinese error message).
+#   Wine amd64 5.8-staging, 5.9-staging: after clicking the yellow button Play the Game Center does freeze.
+#                        Note: the current POL's staging releases 5.10 and 5.11 does fail to run (0214:err:ntdll:RtlpWaitForCriticalSection section 0xxxxxxx "../../../dlls/ntdll/heap.c: main process heap section" wait timed out).
 #   Wine amd64 5.0.2, 5.16, 4.21: after accepting the EULA, the Login window that appears is empty and freeze.
 #   Wine amd64 5.0.2, 5.16, 4.21: some characters are missing (ie: in the yellow box).
 #

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:
#        - RevelationOnlineLoader_cd2a61df604870163855d2fbec38df4a__en.exe on the Gamecenter: 'Version 1129.52a of 13.09.2020').
#
# Software based on: X
#
#
#
# CHANGELOG
# [Dadu042] (2019-09-16 10-00)
#   Initial writting.
# [Dadu042] (2019-09-17 18-00)
#   Wine 5.0.2 -> 4.21-staging (should allow to login and to play, like in the Allods script).
#
# KNOWN ISSUES:
#   Wine amd64 4.21-staging: after clicking the yellow button Play, error 'Game start error. General failure. File name: ... tianyu.exe'. Tried: running manually 'tianyu64.exe' (I get a chinese error message).
#   Wine amd64 5.8-staging, 5.9-staging: after clicking the yellow button Play the Game Center does freeze.
#                        Note: the current POL's staging releases 5.10 and 5.11 does fail to run (0214:err:ntdll:RtlpWaitForCriticalSection section 0xxxxxxx "../../../dlls/ntdll/heap.c: main process heap section" wait timed out).
#   Wine amd64 5.0.2, 5.16, 4.21: after accepting the EULA, the Login window that appears is empty and freeze.
#   Wine amd64 5.0.2, 5.16, 4.21: some characters are missing (ie: in the yellow box).
#
#
# KNOWN ISSUES (FIXED):
 
 
[ -z "$PLAYONLINUX" ] && exit 0
source "$PLAYONLINUX/lib/sources"
   
TITLE="Revelation Online"
PREFIX="Revelation_Online"
EDITOR="My.games"
WORKING_WINE_VERSION="4.21-staging"
AUTHOR="Dadu042"
GAME_VMS="512"
GAME_URL="https://www.pcgamingwiki.com/wiki/Revelation_Online"
      
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  #
#######################################

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 "GameCenter.exe" "$TITLE" "" "" "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

Dadu042 Thursday 17 September 2020 at 18:33
Dadu042
Moderator

Warning

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

Differences

@@ -18,9 +18,10 @@
 # [Dadu042] (2019-09-16 10-00)
 #   Initial writting.
 # [Dadu042] (2019-09-17 18-00)
-#   Wine 5.0.2 -> 4.21-staging (should allow to login and to play, like in Allods script).
+#   Wine 5.0.2 -> 4.21-staging (should allow to login and to play, like in the Allods script).
 #
 # KNOWN ISSUES:
+#   Wine amd64 4.21-staging: after clicking the yellow button Play, error 'Game start error. General failure. File name: ... tianyu.exe'. Tried: running manually 'tianyu64.exe' (I get a chinese error message).
 #   Wine amd64 5.0.2, 5.16, 4.21: after accepting the EULA, the Login window that appears is empty and freeze.
 #   Wine amd64 5.0.2, 5.16, 4.21: some characters are missing (ie: in the yellow box).
 #

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:
#        - RevelationOnlineLoader_cd2a61df604870163855d2fbec38df4a__en.exe on the Gamecenter: 'Version 1129.52a of 13.09.2020').
#
# Software based on: X
#
#
#
# CHANGELOG
# [Dadu042] (2019-09-16 10-00)
#   Initial writting.
# [Dadu042] (2019-09-17 18-00)
#   Wine 5.0.2 -> 4.21-staging (should allow to login and to play, like in the Allods script).
#
# KNOWN ISSUES:
#   Wine amd64 4.21-staging: after clicking the yellow button Play, error 'Game start error. General failure. File name: ... tianyu.exe'. Tried: running manually 'tianyu64.exe' (I get a chinese error message).
#   Wine amd64 5.0.2, 5.16, 4.21: after accepting the EULA, the Login window that appears is empty and freeze.
#   Wine amd64 5.0.2, 5.16, 4.21: some characters are missing (ie: in the yellow box).
#
#
# KNOWN ISSUES (FIXED):
 
 
[ -z "$PLAYONLINUX" ] && exit 0
source "$PLAYONLINUX/lib/sources"
   
TITLE="Revelation Online"
PREFIX="Revelation_Online"
EDITOR="My.games"
WORKING_WINE_VERSION="4.21-staging"
AUTHOR="Dadu042"
GAME_VMS="512"
GAME_URL="https://www.pcgamingwiki.com/wiki/Revelation_Online"
      
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  #
#######################################

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 "GameCenter.exe" "$TITLE" "" "" "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

Monday 21 September 2020 at 18:01
In a video (https://www.youtube.com/watch?v=4WvvtEBe6rg), they recommend to set 'tianyu.exe' as Administrator mode, it's
impossible with POL/POM.
Dadu042 Thursday 17 September 2020 at 18:12
Dadu042
Moderator

Warning

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

Differences

@@ -8,7 +8,7 @@
 # Playonlinux version used : 4.3.4
 #
 # Software version used to write this script:
-#        - RevelationOnlineLoader_cd2a61df604870163855d2fbec38df4a__en.exe (2020-09-16)
+#        - RevelationOnlineLoader_cd2a61df604870163855d2fbec38df4a__en.exe on the Gamecenter: 'Version 1129.52a of 13.09.2020').
 #
 # Software based on: X
 #
@@ -17,9 +17,12 @@
 # CHANGELOG
 # [Dadu042] (2019-09-16 10-00)
 #   Initial writting.
+# [Dadu042] (2019-09-17 18-00)
+#   Wine 5.0.2 -> 4.21-staging (should allow to login and to play, like in Allods script).
 #
 # KNOWN ISSUES:
-#   Wine amd64 5.0.2: X
+#   Wine amd64 5.0.2, 5.16, 4.21: after accepting the EULA, the Login window that appears is empty and freeze.
+#   Wine amd64 5.0.2, 5.16, 4.21: some characters are missing (ie: in the yellow box).
 #
 #
 # KNOWN ISSUES (FIXED):
@@ -30,8 +33,8 @@
    
 TITLE="Revelation Online"
 PREFIX="Revelation_Online"
-EDITOR="NetEase Games"
-WORKING_WINE_VERSION="5.0.2"
+EDITOR="My.games"
+WORKING_WINE_VERSION="4.21-staging"
 AUTHOR="Dadu042"
 GAME_VMS="512"
 GAME_URL="https://www.pcgamingwiki.com/wiki/Revelation_Online"
@@ -55,8 +58,7 @@
 #  Installing mandatory dependencies  #
 #######################################
 
-# Requiered to display the user licence agreement (game: LifeAfter)
-# POL_Call POL_Install_corefonts
+POL_Call POL_Install_corefonts
 
 # POL_Call POL_Install_d3dx9
 # POL_Call POL_Install_vcrun2010

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:
#        - RevelationOnlineLoader_cd2a61df604870163855d2fbec38df4a__en.exe on the Gamecenter: 'Version 1129.52a of 13.09.2020').
#
# Software based on: X
#
#
#
# CHANGELOG
# [Dadu042] (2019-09-16 10-00)
#   Initial writting.
# [Dadu042] (2019-09-17 18-00)
#   Wine 5.0.2 -> 4.21-staging (should allow to login and to play, like in Allods script).
#
# KNOWN ISSUES:
#   Wine amd64 5.0.2, 5.16, 4.21: after accepting the EULA, the Login window that appears is empty and freeze.
#   Wine amd64 5.0.2, 5.16, 4.21: some characters are missing (ie: in the yellow box).
#
#
# KNOWN ISSUES (FIXED):
 
 
[ -z "$PLAYONLINUX" ] && exit 0
source "$PLAYONLINUX/lib/sources"
   
TITLE="Revelation Online"
PREFIX="Revelation_Online"
EDITOR="My.games"
WORKING_WINE_VERSION="4.21-staging"
AUTHOR="Dadu042"
GAME_VMS="512"
GAME_URL="https://www.pcgamingwiki.com/wiki/Revelation_Online"
      
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  #
#######################################

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 "GameCenter.exe" "$TITLE" "" "" "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

Dadu042 Wednesday 16 September 2020 at 15:14
Dadu042
Moderator

Warning

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

Differences

@@ -103,7 +103,7 @@
         POL_Wine_WaitExit "$TITLE"
 fi
     
-POL_Shortcut "launcher.exe" "$TITLE (Launcher)" "" "" "Game;"
+POL_Shortcut "GameCenter.exe" "$TITLE" "" "" "Game;"
 
 POL_SetupWindow_message "$(eval_gettext 'WARNING: to avoid to get a huge log file, you should type \ninto Debug flags: fixme-all')" "$TITLE"
 

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:
#        - RevelationOnlineLoader_cd2a61df604870163855d2fbec38df4a__en.exe (2020-09-16)
#
# Software based on: X
#
#
#
# CHANGELOG
# [Dadu042] (2019-09-16 10-00)
#   Initial writting.
#
# KNOWN ISSUES:
#   Wine amd64 5.0.2: X
#
#
# KNOWN ISSUES (FIXED):
 
 
[ -z "$PLAYONLINUX" ] && exit 0
source "$PLAYONLINUX/lib/sources"
   
TITLE="Revelation Online"
PREFIX="Revelation_Online"
EDITOR="NetEase Games"
WORKING_WINE_VERSION="5.0.2"
AUTHOR="Dadu042"
GAME_VMS="512"
GAME_URL="https://www.pcgamingwiki.com/wiki/Revelation_Online"
      
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 "GameCenter.exe" "$TITLE" "" "" "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

Dadu042 Wednesday 16 September 2020 at 15:02
Dadu042
Moderator

Warning

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

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:
+#        - RevelationOnlineLoader_cd2a61df604870163855d2fbec38df4a__en.exe (2020-09-16)
+#
+# Software based on: X
+#
+#
+#
+# CHANGELOG
+# [Dadu042] (2019-09-16 10-00)
+#   Initial writting.
+#
+# KNOWN ISSUES:
+#   Wine amd64 5.0.2: X
+#
+#
+# KNOWN ISSUES (FIXED):
+ 
+ 
+[ -z "$PLAYONLINUX" ] && exit 0
+source "$PLAYONLINUX/lib/sources"
+   
+TITLE="Revelation Online"
+PREFIX="Revelation_Online"
+EDITOR="NetEase Games"
+WORKING_WINE_VERSION="5.0.2"
+AUTHOR="Dadu042"
+GAME_VMS="512"
+GAME_URL="https://www.pcgamingwiki.com/wiki/Revelation_Online"
+      
+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:
#        - RevelationOnlineLoader_cd2a61df604870163855d2fbec38df4a__en.exe (2020-09-16)
#
# Software based on: X
#
#
#
# CHANGELOG
# [Dadu042] (2019-09-16 10-00)
#   Initial writting.
#
# KNOWN ISSUES:
#   Wine amd64 5.0.2: X
#
#
# KNOWN ISSUES (FIXED):
 
 
[ -z "$PLAYONLINUX" ] && exit 0
source "$PLAYONLINUX/lib/sources"
   
TITLE="Revelation Online"
PREFIX="Revelation_Online"
EDITOR="NetEase Games"
WORKING_WINE_VERSION="5.0.2"
AUTHOR="Dadu042"
GAME_VMS="512"
GAME_URL="https://www.pcgamingwiki.com/wiki/Revelation_Online"
      
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