Jesteś tutaj

Rules Of Survival

Informations

Creator Wiadmości
Dadu042
Moderator

Warning

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

Informations

Platforms:
Downloads: 653
Wine: 4.0.1

Feedbacks

Description

Battle Royal game with up to 120 players in solo or squad modes. 2018. Freemium. It is inspired by PUBG.

 

Warning : this script does not allow to pass the login screen !... (as of june 2019).

 

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).

 

PCGamingWiki. AppDB.winehq.org

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

Contributions

Filters:

Contribute
Member Wiadmości
Dadu042 Friday 7 June 2019 at 1:47
Dadu042
Moderator

Information

This update has been approved by the team.

Wiadmości

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

Odpowiedzi

Edytowane przez Dadu042

Tutul Friday 2 February 2018 at 1:01
Tutul
Moderator

Wiadmości

No script ?

Odpowiedzi

Anonymous
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