Rules Of Survival

Informations

Creator Message
Dadu042

Information

This installer has been approved by the team.

Informations

Platforms:
Downloads: 4455
Wine: 5.0.3

Feedbacks

Description

Battle Royale game (FPS), 2018. Freemium, inspired by PUBG. 'Rules of Survival is a TPS/FPS survival competitive game which allows up to 300 players to battle in a deathmatch'. Wikipedia, Website.

Note about light ressources required: This game was first developed for tablets, then ported to Windows. This makes it light on ressources : CPU, GPU (run OK on Intel HD Graphics 4400), and HDD space (< 5 GB).

Warning : the embedded web browser does crash when trying to login via Gmail. Workaround: fast click 'Log in via Browser' button at the top right of the window.

Note: component DXVK_161, tested successfully with Wine 5.0.0.

PCGamingWiki. AppDB.winehq.org

Screenshots

MiniatureMiniatureMiniatureMiniature

Source code

#!/bin/bash
# Date : (2019-06-07)
# Last revision : See changelog
# Wine version used : see below
# Distribution used to test : Ubuntu 18.04 x64
# Script licence : GPL3
# Program licence : Retail
# Playonlinux version used : 4.3.4
#
# Software version used to write this script: ros_publish_244_publish_1.278513.283332-1c
#                                             ros_publish_358_publish_1.451991.453174 (2020)
#
# Software based on: DirectX 9.
#
# CHANGELOG
# [Dadu042] (2019-06-07 01-35)
#   Initial writting.
# [Dadu042] (2020-06-03 20-00)
#   Wine 4.0.1 -> 5.0
# [Dadu042] (2020-06-10 20-00)
#   Wine 5.0.0 -> 5.0.1
# [Dadu042] (2020-09-11 20-00)
#   Wine 5.0.1 -> 5.0.2
#   Add shortcut to ros_launcher.exe (it freeze 100% of my tries)
#
# KNOWN ISSUES:
#   Wine amd64 5.0, 5.0.1 (2020-09): the embedded web browser does crash when trying to login via Gmail. Workaround: click 'Open browser' quick at the top right of the window. Note: installing Gecko did not help.
#
# KNOWN ISSUES (FIXED):
#   Wine amd64 4.0.1: this script does not allow to pass the login screen !... (as of june 2019).


[ -z "$PLAYONLINUX" ] && exit 0
source "$PLAYONLINUX/lib/sources"
  
TITLE="Rules of Survival"
PREFIX="rules-of-survival"
EDITOR="NetEase Games"
WORKING_WINE_VERSION="5.0.3"
AUTHOR="Dadu042"
GAME_VMS="512"
GAME_URL="https://en.wikipedia.org/wiki/Rules_of_Survival"
     
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 "x86"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
POL_System_TmpCreate "$TITLE"

Set_OS "win7"

#######################################
#  Installing mandatory dependencies  #
#######################################
  
# Required ?: (no as of 2020-09-12).
# POL_Call POL_Install_d3dx9_43
# POL_Call POL_Install_d3dcompiler_43
# POL_Call POL_Install_d3dx10
# POL_Call POL_Install_d3dx11

################
#      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_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 "... .exe"
        INSTALLER="$POL_System_TmpDir/setup.exe"
fi
   
POL_Shortcut "ros.exe" "$TITLE" "" "" "Game;Shooter;"
POL_Shortcut "ros_launcher.exe" "$TITLE - Launcher (unreliable)" "" "" "Game;Shooter;"
 
POL_System_TmpDelete
POL_SetupWindow_Close
exit 0

Contributions

Filters:

Contribute
Member Message
Dadu042 Wednesday 23 December 2020 at 23:09
Dadu042

Information

This update has been approved by the team.

Differences

@@ -36,7 +36,7 @@
 TITLE="Rules of Survival"
 PREFIX="rules-of-survival"
 EDITOR="NetEase Games"
-WORKING_WINE_VERSION="5.0.2"
+WORKING_WINE_VERSION="5.0.3"
 AUTHOR="Dadu042"
 GAME_VMS="512"
 GAME_URL="https://en.wikipedia.org/wiki/Rules_of_Survival"

New source code

#!/bin/bash
# Date : (2019-06-07)
# Last revision : See changelog
# Wine version used : see below
# Distribution used to test : Ubuntu 18.04 x64
# Script licence : GPL3
# Program licence : Retail
# Playonlinux version used : 4.3.4
#
# Software version used to write this script: ros_publish_244_publish_1.278513.283332-1c
#                                             ros_publish_358_publish_1.451991.453174 (2020)
#
# Software based on: DirectX 9.
#
# CHANGELOG
# [Dadu042] (2019-06-07 01-35)
#   Initial writting.
# [Dadu042] (2020-06-03 20-00)
#   Wine 4.0.1 -> 5.0
# [Dadu042] (2020-06-10 20-00)
#   Wine 5.0.0 -> 5.0.1
# [Dadu042] (2020-09-11 20-00)
#   Wine 5.0.1 -> 5.0.2
#   Add shortcut to ros_launcher.exe (it freeze 100% of my tries)
#
# KNOWN ISSUES:
#   Wine amd64 5.0, 5.0.1 (2020-09): the embedded web browser does crash when trying to login via Gmail. Workaround: click 'Open browser' quick at the top right of the window. Note: installing Gecko did not help.
#
# KNOWN ISSUES (FIXED):
#   Wine amd64 4.0.1: this script does not allow to pass the login screen !... (as of june 2019).


[ -z "$PLAYONLINUX" ] && exit 0
source "$PLAYONLINUX/lib/sources"
  
TITLE="Rules of Survival"
PREFIX="rules-of-survival"
EDITOR="NetEase Games"
WORKING_WINE_VERSION="5.0.3"
AUTHOR="Dadu042"
GAME_VMS="512"
GAME_URL="https://en.wikipedia.org/wiki/Rules_of_Survival"
     
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 "x86"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
POL_System_TmpCreate "$TITLE"

Set_OS "win7"

#######################################
#  Installing mandatory dependencies  #
#######################################
  
# Required ?: (no as of 2020-09-12).
# POL_Call POL_Install_d3dx9_43
# POL_Call POL_Install_d3dcompiler_43
# POL_Call POL_Install_d3dx10
# POL_Call POL_Install_d3dx11

################
#      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_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 "... .exe"
        INSTALLER="$POL_System_TmpDir/setup.exe"
fi
   
POL_Shortcut "ros.exe" "$TITLE" "" "" "Game;Shooter;"
POL_Shortcut "ros_launcher.exe" "$TITLE - Launcher (unreliable)" "" "" "Game;Shooter;"
 
POL_System_TmpDelete
POL_SetupWindow_Close
exit 0

Replies

Dadu042 Saturday 12 September 2020 at 10:34
Dadu042

Warning

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

Message

Played 15 min.

Differences

@@ -8,19 +8,26 @@
 # Playonlinux version used : 4.3.4
 #
 # Software version used to write this script: ros_publish_244_publish_1.278513.283332-1c
-# Software based on: ?
+#                                             ros_publish_358_publish_1.451991.453174 (2020)
+#
+# Software based on: DirectX 9.
 #
 # CHANGELOG
 # [Dadu042] (2019-06-07 01-35)
 #   Initial writting.
 # [Dadu042] (2020-06-03 20-00)
 #   Wine 4.0.1 -> 5.0
+# [Dadu042] (2020-06-10 20-00)
+#   Wine 5.0.0 -> 5.0.1
+# [Dadu042] (2020-09-11 20-00)
+#   Wine 5.0.1 -> 5.0.2
+#   Add shortcut to ros_launcher.exe (it freeze 100% of my tries)
 #
 # KNOWN ISSUES:
-#   Wine amd64 4.0.1: this script does not allow to pass the login screen !... (as of june 2019).
-#   Wine amd64 5.0 (2020-06): the embedded web browser crash when trying to login via Gmail. Workaround: click 'Open browser' quick at the top right of the window. Note: installing Gecko did not help.
+#   Wine amd64 5.0, 5.0.1 (2020-09): the embedded web browser does crash when trying to login via Gmail. Workaround: click 'Open browser' quick at the top right of the window. Note: installing Gecko did not help.
 #
 # KNOWN ISSUES (FIXED):
+#   Wine amd64 4.0.1: this script does not allow to pass the login screen !... (as of june 2019).
 
 
 [ -z "$PLAYONLINUX" ] && exit 0
@@ -29,7 +36,7 @@
 TITLE="Rules of Survival"
 PREFIX="rules-of-survival"
 EDITOR="NetEase Games"
-WORKING_WINE_VERSION="5.0.1"
+WORKING_WINE_VERSION="5.0.2"
 AUTHOR="Dadu042"
 GAME_VMS="512"
 GAME_URL="https://en.wikipedia.org/wiki/Rules_of_Survival"
@@ -52,7 +59,7 @@
 #  Installing mandatory dependencies  #
 #######################################
   
-# Required ?: (no as of 2020-06-03).
+# Required ?: (no as of 2020-09-12).
 # POL_Call POL_Install_d3dx9_43
 # POL_Call POL_Install_d3dcompiler_43
 # POL_Call POL_Install_d3dx10
@@ -78,7 +85,7 @@
 
 POL_SetupWindow_InstallMethod "LOCAL"
 
-# POL_SetupWindow_message "IMPORTANT: End the installation before to try to play." "$TITLE"
+# POL_SetupWindow_message "IMPORTANT: do finish the installation before to try to play." "$TITLE"
 
 if [ "$INSTALL_METHOD" = "LOCAL" ]
 then
@@ -97,7 +104,7 @@
 fi
    
 POL_Shortcut "ros.exe" "$TITLE" "" "" "Game;Shooter;"
-# POL_Shortcut_Document "$TITLE" "readme.txt"
+POL_Shortcut "ros_launcher.exe" "$TITLE - Launcher (unreliable)" "" "" "Game;Shooter;"
  
 POL_System_TmpDelete
 POL_SetupWindow_Close

New source code

#!/bin/bash
# Date : (2019-06-07)
# Last revision : See changelog
# Wine version used : see below
# Distribution used to test : Ubuntu 18.04 x64
# Script licence : GPL3
# Program licence : Retail
# Playonlinux version used : 4.3.4
#
# Software version used to write this script: ros_publish_244_publish_1.278513.283332-1c
#                                             ros_publish_358_publish_1.451991.453174 (2020)
#
# Software based on: DirectX 9.
#
# CHANGELOG
# [Dadu042] (2019-06-07 01-35)
#   Initial writting.
# [Dadu042] (2020-06-03 20-00)
#   Wine 4.0.1 -> 5.0
# [Dadu042] (2020-06-10 20-00)
#   Wine 5.0.0 -> 5.0.1
# [Dadu042] (2020-09-11 20-00)
#   Wine 5.0.1 -> 5.0.2
#   Add shortcut to ros_launcher.exe (it freeze 100% of my tries)
#
# KNOWN ISSUES:
#   Wine amd64 5.0, 5.0.1 (2020-09): the embedded web browser does crash when trying to login via Gmail. Workaround: click 'Open browser' quick at the top right of the window. Note: installing Gecko did not help.
#
# KNOWN ISSUES (FIXED):
#   Wine amd64 4.0.1: this script does not allow to pass the login screen !... (as of june 2019).


[ -z "$PLAYONLINUX" ] && exit 0
source "$PLAYONLINUX/lib/sources"
  
TITLE="Rules of Survival"
PREFIX="rules-of-survival"
EDITOR="NetEase Games"
WORKING_WINE_VERSION="5.0.2"
AUTHOR="Dadu042"
GAME_VMS="512"
GAME_URL="https://en.wikipedia.org/wiki/Rules_of_Survival"
     
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 "x86"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
POL_System_TmpCreate "$TITLE"

Set_OS "win7"

#######################################
#  Installing mandatory dependencies  #
#######################################
  
# Required ?: (no as of 2020-09-12).
# POL_Call POL_Install_d3dx9_43
# POL_Call POL_Install_d3dcompiler_43
# POL_Call POL_Install_d3dx10
# POL_Call POL_Install_d3dx11

################
#      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_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 "... .exe"
        INSTALLER="$POL_System_TmpDir/setup.exe"
fi
   
POL_Shortcut "ros.exe" "$TITLE" "" "" "Game;Shooter;"
POL_Shortcut "ros_launcher.exe" "$TITLE - Launcher (unreliable)" "" "" "Game;Shooter;"
 
POL_System_TmpDelete
POL_SetupWindow_Close
exit 0

Replies

Dadu042 Tuesday 9 June 2020 at 16:06
Dadu042

Warning

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

Differences

@@ -29,9 +29,9 @@
 TITLE="Rules of Survival"
 PREFIX="rules-of-survival"
 EDITOR="NetEase Games"
-WORKING_WINE_VERSION="5.0"
+WORKING_WINE_VERSION="5.0.1"
 AUTHOR="Dadu042"
-GAME_VMS="256"
+GAME_VMS="512"
 GAME_URL="https://en.wikipedia.org/wiki/Rules_of_Survival"
      
 POL_SetupWindow_Init

New source code

#!/bin/bash
# Date : (2019-06-07)
# Last revision : See changelog
# Wine version used : see below
# Distribution used to test : Ubuntu 18.04 x64
# Script licence : GPL3
# Program licence : Retail
# Playonlinux version used : 4.3.4
#
# Software version used to write this script: ros_publish_244_publish_1.278513.283332-1c
# Software based on: ?
#
# CHANGELOG
# [Dadu042] (2019-06-07 01-35)
#   Initial writting.
# [Dadu042] (2020-06-03 20-00)
#   Wine 4.0.1 -> 5.0
#
# KNOWN ISSUES:
#   Wine amd64 4.0.1: this script does not allow to pass the login screen !... (as of june 2019).
#   Wine amd64 5.0 (2020-06): the embedded web browser crash when trying to login via Gmail. Workaround: click 'Open browser' quick at the top right of the window. Note: installing Gecko did not help.
#
# KNOWN ISSUES (FIXED):


[ -z "$PLAYONLINUX" ] && exit 0
source "$PLAYONLINUX/lib/sources"
  
TITLE="Rules of Survival"
PREFIX="rules-of-survival"
EDITOR="NetEase Games"
WORKING_WINE_VERSION="5.0.1"
AUTHOR="Dadu042"
GAME_VMS="512"
GAME_URL="https://en.wikipedia.org/wiki/Rules_of_Survival"
     
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 "x86"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
POL_System_TmpCreate "$TITLE"

Set_OS "win7"

#######################################
#  Installing mandatory dependencies  #
#######################################
  
# Required ?: (no as of 2020-06-03).
# POL_Call POL_Install_d3dx9_43
# POL_Call POL_Install_d3dcompiler_43
# POL_Call POL_Install_d3dx10
# POL_Call POL_Install_d3dx11

################
#      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_message "IMPORTANT: End 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 "... .exe"
        INSTALLER="$POL_System_TmpDir/setup.exe"
fi
   
POL_Shortcut "ros.exe" "$TITLE" "" "" "Game;Shooter;"
# POL_Shortcut_Document "$TITLE" "readme.txt"
 
POL_System_TmpDelete
POL_SetupWindow_Close
exit 0

Replies

Dadu042 Thursday 4 June 2020 at 20:33
Dadu042

Warning

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

Differences

@@ -16,19 +16,21 @@
 # [Dadu042] (2020-06-03 20-00)
 #   Wine 4.0.1 -> 5.0
 #
-# Known issues:
+# KNOWN ISSUES:
 #   Wine amd64 4.0.1: this script does not allow to pass the login screen !... (as of june 2019).
-#   Wine amd64 5.0 (2020-06): the embedded web browser crash when trying to login via Gmail. Workaround: click 'Open browser' quick at the top right of the window.
- 
+#   Wine amd64 5.0 (2020-06): the embedded web browser crash when trying to login via Gmail. Workaround: click 'Open browser' quick at the top right of the window. Note: installing Gecko did not help.
+#
+# KNOWN ISSUES (FIXED):
+
+
 [ -z "$PLAYONLINUX" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
   
 TITLE="Rules of Survival"
 PREFIX="rules-of-survival"
-EDITOR=""
+EDITOR="NetEase Games"
 WORKING_WINE_VERSION="5.0"
 AUTHOR="Dadu042"
-EDITOR="NetEase Games"
 GAME_VMS="256"
 GAME_URL="https://en.wikipedia.org/wiki/Rules_of_Survival"
      
@@ -50,7 +52,7 @@
 #  Installing mandatory dependencies  #
 #######################################
   
-# Required ?
+# Required ?: (no as of 2020-06-03).
 # POL_Call POL_Install_d3dx9_43
 # POL_Call POL_Install_d3dcompiler_43
 # POL_Call POL_Install_d3dx10
@@ -76,7 +78,7 @@
 
 POL_SetupWindow_InstallMethod "LOCAL"
 
-# POL_SetupWindow_message "IMPORTANT:\n#1 At the end of the installation, unselect 'Run Online'.\n#2 You will probably see the error 'Certificate import failed: Unable to add certificate to certificate store', just ignore it." "$TITLE"
+# POL_SetupWindow_message "IMPORTANT: End the installation before to try to play." "$TITLE"
 
 if [ "$INSTALL_METHOD" = "LOCAL" ]
 then

New source code

#!/bin/bash
# Date : (2019-06-07)
# Last revision : See changelog
# Wine version used : see below
# Distribution used to test : Ubuntu 18.04 x64
# Script licence : GPL3
# Program licence : Retail
# Playonlinux version used : 4.3.4
#
# Software version used to write this script: ros_publish_244_publish_1.278513.283332-1c
# Software based on: ?
#
# CHANGELOG
# [Dadu042] (2019-06-07 01-35)
#   Initial writting.
# [Dadu042] (2020-06-03 20-00)
#   Wine 4.0.1 -> 5.0
#
# KNOWN ISSUES:
#   Wine amd64 4.0.1: this script does not allow to pass the login screen !... (as of june 2019).
#   Wine amd64 5.0 (2020-06): the embedded web browser crash when trying to login via Gmail. Workaround: click 'Open browser' quick at the top right of the window. Note: installing Gecko did not help.
#
# KNOWN ISSUES (FIXED):


[ -z "$PLAYONLINUX" ] && exit 0
source "$PLAYONLINUX/lib/sources"
  
TITLE="Rules of Survival"
PREFIX="rules-of-survival"
EDITOR="NetEase Games"
WORKING_WINE_VERSION="5.0"
AUTHOR="Dadu042"
GAME_VMS="256"
GAME_URL="https://en.wikipedia.org/wiki/Rules_of_Survival"
     
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 "x86"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
POL_System_TmpCreate "$TITLE"

Set_OS "win7"

#######################################
#  Installing mandatory dependencies  #
#######################################
  
# Required ?: (no as of 2020-06-03).
# POL_Call POL_Install_d3dx9_43
# POL_Call POL_Install_d3dcompiler_43
# POL_Call POL_Install_d3dx10
# POL_Call POL_Install_d3dx11

################
#      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_message "IMPORTANT: End 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 "... .exe"
        INSTALLER="$POL_System_TmpDir/setup.exe"
fi
   
POL_Shortcut "ros.exe" "$TITLE" "" "" "Game;Shooter;"
# POL_Shortcut_Document "$TITLE" "readme.txt"
 
POL_System_TmpDelete
POL_SetupWindow_Close
exit 0

Replies

Dadu042 Thursday 4 June 2020 at 20:28
Dadu042

Warning

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

Message

Played 25 min (logged via a external browser, not the one of the game).

Differences

@@ -13,13 +13,13 @@
 # CHANGELOG
 # [Dadu042] (2019-06-07 01-35)
 #   Initial writting.
-# [Dadu042] (2020-06-03 17-00)
-#   Wine 4.0.1 -> 5.0 (not tested)
+# [Dadu042] (2020-06-03 20-00)
+#   Wine 4.0.1 -> 5.0
 #
 # Known issues:
 #   Wine amd64 4.0.1: this script does not allow to pass the login screen !... (as of june 2019).
-  
-    
+#   Wine amd64 5.0 (2020-06): the embedded web browser crash when trying to login via Gmail. Workaround: click 'Open browser' quick at the top right of the window.
+ 
 [ -z "$PLAYONLINUX" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
   
@@ -29,6 +29,7 @@
 WORKING_WINE_VERSION="5.0"
 AUTHOR="Dadu042"
 EDITOR="NetEase Games"
+GAME_VMS="256"
 GAME_URL="https://en.wikipedia.org/wiki/Rules_of_Survival"
      
 POL_SetupWindow_Init
@@ -80,7 +81,7 @@
 if [ "$INSTALL_METHOD" = "LOCAL" ]
 then
         cd "$HOME"
-        POL_SetupWindow_browse "Please select the setup .EXE:" "$TITLE"
+        POL_SetupWindow_browse "Please select the .EXE file:" "$TITLE"
         SETUP_EXE="$APP_ANSWER"
         POL_Wine start /unix "$SETUP_EXE"
         POL_Wine_WaitExit "$TITLE"

New source code

#!/bin/bash
# Date : (2019-06-07)
# Last revision : See changelog
# Wine version used : see below
# Distribution used to test : Ubuntu 18.04 x64
# Script licence : GPL3
# Program licence : Retail
# Playonlinux version used : 4.3.4
#
# Software version used to write this script: ros_publish_244_publish_1.278513.283332-1c
# Software based on: ?
#
# CHANGELOG
# [Dadu042] (2019-06-07 01-35)
#   Initial writting.
# [Dadu042] (2020-06-03 20-00)
#   Wine 4.0.1 -> 5.0
#
# Known issues:
#   Wine amd64 4.0.1: this script does not allow to pass the login screen !... (as of june 2019).
#   Wine amd64 5.0 (2020-06): the embedded web browser crash when trying to login via Gmail. Workaround: click 'Open browser' quick at the top right of the window.
 
[ -z "$PLAYONLINUX" ] && exit 0
source "$PLAYONLINUX/lib/sources"
  
TITLE="Rules of Survival"
PREFIX="rules-of-survival"
EDITOR=""
WORKING_WINE_VERSION="5.0"
AUTHOR="Dadu042"
EDITOR="NetEase Games"
GAME_VMS="256"
GAME_URL="https://en.wikipedia.org/wiki/Rules_of_Survival"
     
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 "x86"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
POL_System_TmpCreate "$TITLE"

Set_OS "win7"

#######################################
#  Installing mandatory dependencies  #
#######################################
  
# Required ?
# POL_Call POL_Install_d3dx9_43
# POL_Call POL_Install_d3dcompiler_43
# POL_Call POL_Install_d3dx10
# POL_Call POL_Install_d3dx11

################
#      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_message "IMPORTANT:\n#1 At the end of the installation, unselect 'Run Online'.\n#2 You will probably see the error 'Certificate import failed: Unable to add certificate to certificate store', just ignore it." "$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 "... .exe"
        INSTALLER="$POL_System_TmpDir/setup.exe"
fi
   
POL_Shortcut "ros.exe" "$TITLE" "" "" "Game;Shooter;"
# POL_Shortcut_Document "$TITLE" "readme.txt"
 
POL_System_TmpDelete
POL_SetupWindow_Close
exit 0

Replies

Dadu042 Thursday 4 June 2020 at 17:17
Dadu042

Warning

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

Message

Not tested.

Differences

@@ -13,66 +13,89 @@
 # CHANGELOG
 # [Dadu042] (2019-06-07 01-35)
 #   Initial writting.
+# [Dadu042] (2020-06-03 17-00)
+#   Wine 4.0.1 -> 5.0 (not tested)
 #
 # Known issues:
-#   None... yet
- 
-   
+#   Wine amd64 4.0.1: this script does not allow to pass the login screen !... (as of june 2019).
+  
+    
 [ -z "$PLAYONLINUX" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
- 
+  
 TITLE="Rules of Survival"
 PREFIX="rules-of-survival"
-WORKING_WINE_VERSION="4.0.1"
+EDITOR=""
+WORKING_WINE_VERSION="5.0"
 AUTHOR="Dadu042"
 EDITOR="NetEase Games"
 GAME_URL="https://en.wikipedia.org/wiki/Rules_of_Survival"
-    
+     
 POL_SetupWindow_Init
 POL_Debug_Init
-   
+    
 POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
-   
-POL_RequiredVersion 4.2.12 || POL_Debug_Fatal "$TITLE won't work with $APPLICATION_TITLE $VERSION\nPlease update."
-   
+    
+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 "x86"
 POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
 POL_System_TmpCreate "$TITLE"
-   
+
 Set_OS "win7"
- 
-# Required ?
+
+#######################################
+#  Installing mandatory dependencies  #
+#######################################
+  
+# Required ?
 # POL_Call POL_Install_d3dx9_43
 # POL_Call POL_Install_d3dcompiler_43
 # POL_Call POL_Install_d3dx10
 # POL_Call POL_Install_d3dx11
-   
-# Useful when there is 2 GPU on the same computer (ie: Intel HD + Nvidia).
-POL_Call POL_Install_VideoDriver
 
+################
+#      GPU     #
+################
+          
 # Asking about memory size of graphic card
 POL_SetupWindow_VMS $GAME_VMS
-   
-###############
-# Go          #
-###############
-  
+           
+# 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"
-  
-if [ "$INSTALL_METHOD" == "LOCAL" ]; then
+
+# POL_SetupWindow_message "IMPORTANT:\n#1 At the end of the installation, unselect 'Run Online'.\n#2 You will probably see the error 'Certificate import failed: Unable to add certificate to certificate store', just ignore it." "$TITLE"
+
+if [ "$INSTALL_METHOD" = "LOCAL" ]
+then
         cd "$HOME"
-        POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
+        POL_SetupWindow_browse "Please select the setup .EXE:" "$TITLE"
         SETUP_EXE="$APP_ANSWER"
         POL_Wine start /unix "$SETUP_EXE"
         POL_Wine_WaitExit "$TITLE"
         cd "$POL_System_TmpDir"
-fi
-  
-POL_Shortcut "ros.exe" "$TITLE" "" "Game;ActionGame;"
-     
-# POL_Shortcut_Document "$TITLE" "readme.txt"
 
+elif [ "$INSTALL_METHOD" = "DOWNLOAD" ]
+then
+        cd "$POL_System_TmpDir"
+        POL_Download "... .exe"
+        INSTALLER="$POL_System_TmpDir/setup.exe"
+fi
+   
+POL_Shortcut "ros.exe" "$TITLE" "" "" "Game;Shooter;"
+# POL_Shortcut_Document "$TITLE" "readme.txt"
+ 
 POL_System_TmpDelete
 POL_SetupWindow_Close
 exit 0
\ No newline at end of file

New source code

#!/bin/bash
# Date : (2019-06-07)
# Last revision : See changelog
# Wine version used : see below
# Distribution used to test : Ubuntu 18.04 x64
# Script licence : GPL3
# Program licence : Retail
# Playonlinux version used : 4.3.4
#
# Software version used to write this script: ros_publish_244_publish_1.278513.283332-1c
# Software based on: ?
#
# CHANGELOG
# [Dadu042] (2019-06-07 01-35)
#   Initial writting.
# [Dadu042] (2020-06-03 17-00)
#   Wine 4.0.1 -> 5.0 (not tested)
#
# Known issues:
#   Wine amd64 4.0.1: this script does not allow to pass the login screen !... (as of june 2019).
  
    
[ -z "$PLAYONLINUX" ] && exit 0
source "$PLAYONLINUX/lib/sources"
  
TITLE="Rules of Survival"
PREFIX="rules-of-survival"
EDITOR=""
WORKING_WINE_VERSION="5.0"
AUTHOR="Dadu042"
EDITOR="NetEase Games"
GAME_URL="https://en.wikipedia.org/wiki/Rules_of_Survival"
     
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 "x86"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
POL_System_TmpCreate "$TITLE"

Set_OS "win7"

#######################################
#  Installing mandatory dependencies  #
#######################################
  
# Required ?
# POL_Call POL_Install_d3dx9_43
# POL_Call POL_Install_d3dcompiler_43
# POL_Call POL_Install_d3dx10
# POL_Call POL_Install_d3dx11

################
#      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_message "IMPORTANT:\n#1 At the end of the installation, unselect 'Run Online'.\n#2 You will probably see the error 'Certificate import failed: Unable to add certificate to certificate store', just ignore it." "$TITLE"

if [ "$INSTALL_METHOD" = "LOCAL" ]
then
        cd "$HOME"
        POL_SetupWindow_browse "Please select the setup .EXE:" "$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 "... .exe"
        INSTALLER="$POL_System_TmpDir/setup.exe"
fi
   
POL_Shortcut "ros.exe" "$TITLE" "" "" "Game;Shooter;"
# POL_Shortcut_Document "$TITLE" "readme.txt"
 
POL_System_TmpDelete
POL_SetupWindow_Close
exit 0

Replies

Dadu042 Friday 7 June 2019 at 1:47
Dadu042

Warning

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

Message

Not yet tested.
 

Note: by default the game installs to 'c:\ros'.

 

Can not pass the login screen. Tried Wine 3.21, 4.0.1, 4.9, and many POl functions tricks. 
It seems that Lutris has the same issue.

Differences

@@ -1,4 +1,4 @@
-#!/usr/bin/env playonlinux-bash
+#!/bin/bash
 # Date : (2019-06-07)
 # Last revision : See changelog
 # Wine version used : see below

New source code

#!/bin/bash
# Date : (2019-06-07)
# Last revision : See changelog
# Wine version used : see below
# Distribution used to test : Ubuntu 18.04 x64
# Script licence : GPL3
# Program licence : Retail
# Playonlinux version used : 4.3.4
#
# Software version used to write this script: ros_publish_244_publish_1.278513.283332-1c
# Software based on: ?
#
# CHANGELOG
# [Dadu042] (2019-06-07 01-35)
#   Initial writting.
#
# Known issues:
#   None... yet
 
   
[ -z "$PLAYONLINUX" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
TITLE="Rules of Survival"
PREFIX="rules-of-survival"
WORKING_WINE_VERSION="4.0.1"
AUTHOR="Dadu042"
EDITOR="NetEase Games"
GAME_URL="https://en.wikipedia.org/wiki/Rules_of_Survival"
    
POL_SetupWindow_Init
POL_Debug_Init
   
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
   
POL_RequiredVersion 4.2.12 || POL_Debug_Fatal "$TITLE won't work with $APPLICATION_TITLE $VERSION\nPlease update."
   
POL_Wine_SelectPrefix "$PREFIX"
POL_System_SetArch "x86"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
POL_System_TmpCreate "$TITLE"
   
Set_OS "win7"
 
# Required ?
# POL_Call POL_Install_d3dx9_43
# POL_Call POL_Install_d3dcompiler_43
# POL_Call POL_Install_d3dx10
# POL_Call POL_Install_d3dx11
   
# Useful when there is 2 GPU on the same computer (ie: Intel HD + Nvidia).
POL_Call POL_Install_VideoDriver

# Asking about memory size of graphic card
POL_SetupWindow_VMS $GAME_VMS
   
###############
# Go          #
###############
  
POL_SetupWindow_InstallMethod "LOCAL"
  
if [ "$INSTALL_METHOD" == "LOCAL" ]; then
        cd "$HOME"
        POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
        SETUP_EXE="$APP_ANSWER"
        POL_Wine start /unix "$SETUP_EXE"
        POL_Wine_WaitExit "$TITLE"
        cd "$POL_System_TmpDir"
fi
  
POL_Shortcut "ros.exe" "$TITLE" "" "Game;ActionGame;"
     
# POL_Shortcut_Document "$TITLE" "readme.txt"

POL_System_TmpDelete
POL_SetupWindow_Close
exit 0

Replies

Edited by Dadu042

Tutul Friday 2 February 2018 at 1:01
Tutul

Message

No script ?

Replies

Friday 2 February 2018 at 18:46
New installer not show add script or source code box?
Friday 2 February 2018 at 19:14
You've to add the script using contribution button.

Because script need to be validated by the team

 

This site allows content generated by members, and we promptly remove any content that infringes copyright according to our Terms of Service. To report copyright infringement, please send a notice to dmca-notice@playonlinux.com