Knives Out

Informations

Creator Message
Dadu042
Moderator

Warning

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

Informations

Platforms:
Downloads: 831
Wine: 5.10

Feedbacks

Description

FPS battle royale, freemium (website), 2017 ?. Chinese game 'inspired' from PUBG. Game size: > 8 GB.

WARNING: The game is not playable yet with POL, because of no keyboard access (as of 2020-06, last tested with Wine v5.10).

Note: installation language might display as chinese, do just click the default buttons (Y).

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

Test reports (without using POL) : on http://appdb.winehq.org

Screenshots

MiniatureMiniature

Source code

#!/usr/bin/env playonlinux-bash
# Date : (2019-05-22 12-38)
# Last revision : see changelog
# Wine version used : see below
# Distribution used to test : XUbuntu 18.04.4 (64 bits)
# Script licence : GPL3
# Program licence : Retail
# Playonlinux version used : 4.3.4
#
# Software version used to write this script: 427385-hyxd-1.0.19-overseas-setup.exe (2019-07)
#                                             439464-hyxd-1.0.21-overseas-setup.exe (2020-05)
#
# Game based on: DirectX 9 (v43) and 10 (v43), Visual C++ 2008.
#
#
# CHANGELOG:
# [Dadu042] (2019-05-22 20-50)
#   Installation does start (it download 5 Gb). Not tried further. Software installer is in chinese.
# [Dadu042] (2019-07-02 10-07)
#   Remove WORKING_WINE_VERSION because the current problem is to manage to pass the freezed login window.
# [Dadu042] (2020-05-24 18-00)
#   Wine system version -> 5.0
#   Game does launch but is unplayable because of no keyboard access. Not tried: a gamepad.
#   Note (languages): the installer is Chinese only, user licences too, then in the game multiple languages are available.
# [Dadu042] (2020-06-10 18-00)
#   64 bits -> 32 bits
#   Wine 5.0 -> 5.0.1
#   Disable wininet and vcrun2010
# [Dadu042] (2020-06-17 17-00)
#   Wine 5.0.1 -> 5.10
#   Add vcrun2008, to fix the 'no keyboard' issue (does not work with Wine 5.0.1).

# KNOWN ISSUES: 
# - This game seems impossible to run without login to Google/Facebook). Note: installing these components did not fix the issue: msxml4.
# - Launcher does not launch anything (Wine 4.11). Run Hyxd.exe instead.
# - wine 4.0.4: Each time the game does launch, user has to approve the 'Privacy and user agreement'.
# - wine 4.0.4, 5.0, 5.7, 5.0.1, 5.10: once the game is started (waiting for new users), keyboard does not work anymore.
# - wine 4.0.4, 5.0, 5.7: lot of these lines in the debug log ' :fixme:d3d_shader:shader_sm4_read_instruction_modifier Unhandled modifier ...'. Tried: POL_Install_d3dx9_43 + compiler.
# 
#
# Log:  007a:err:ole:CoGetClassObject class {745057c7-f353-4f2d-a7ee-58434477730e} not registered
#       issue related to ?: https://bugs.winehq.org/show_bug.cgi?id=37868

# KNOWN ISSUES FIXED:
# - (2019-07) Wine 4.0.1, 4.8, 4.11: When starting the game for the first time, the little window where to login (with Google or Facebook) does not respond. Note: it is possible to close the little window by clicking fast at the top right, a checkbox will appear. Fix (2020-05): Wine 4.0.4, 4.21, 5.0

[ -z "$PLAYONLINUX" ] && exit 0
source "$PLAYONLINUX/lib/sources"
      
TITLE="Knives Out"
PREFIX="knives_out"
WORKING_WINE_VERSION="5.10"
AUTHOR="Dadu042"
EDITOR="NetEase Games"
GAME_URL="http://knivesout.163.com"
GAME_VMS="256"
 
POL_SetupWindow_Init
POL_Debug_Init
      
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
 
POL_RequiredVersion 4.3.4 || POL_Debug_Fatal "$TITLE won't work with $APPLICATION_TITLE $VERSION\nPlease update."
 
POL_Wine_SelectPrefix "$PREFIX"
# POL_System_SetArch "amd64"
POL_System_SetArch "x86"
# POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
POL_Wine_PrefixCreate $WORKING_WINE_VERSION
POL_System_TmpCreate "$TITLE"
 
Set_OS "win7"
 
# Asking about memory size of graphic card
POL_SetupWindow_VMS $GAME_VMS
 
# Useful when there is 2 GPU on the same computer (ie: Intel HD + Nvidia).
POL_Call POL_Install_VideoDriver


# Inspired from the Lutris script (2019-07-03)
# POL_Call POL_Install_vcrun2010
# POL_Call POL_Install_wininet

# Required for Wine 5.0.1 to get the keyboard running
POL_Call POL_Install_vcrun2008
 
# To add if necessary (not tested yet because the game block on the freezed login window) :
# POL_Call POL_Install_d3dx9_43
# POL_Call POL_Install_d3dcompiler_43
 
###############
# 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
 
# Don't know which one is the right one :
POL_Shortcut "launcher.exe" "$TITLE - Launcher (do not use: it fail to run)" ""  "" "Game;Shooter;"
POL_Shortcut "hyxd.exe" "$TITLE (Hyxd.exe)"  "" "" "Game;Shooter;"
 
# POL_Shortcut_Document "$TITLE" "doc.pdf"
  
POL_System_TmpDelete
POL_SetupWindow_Close
exit 0

Contributions

Filters:

Contribute
Member Message
Dadu042 Wednesday 17 June 2020 at 17:17
Dadu042
Moderator

Information

This update has been approved by the team.

Message


 

Differences

@@ -27,7 +27,8 @@
 #   Wine 5.0 -> 5.0.1
 #   Disable wininet and vcrun2010
 # [Dadu042] (2020-06-17 17-00)
-#   Add vcrun2008, to fix the 'no keyboard' issue.
+#   Wine 5.0.1 -> 5.10
+#   Add vcrun2008, to fix the 'no keyboard' issue (does not work with Wine 5.0.1).
 
 # KNOWN ISSUES: 
 # - This game seems impossible to run without login to Google/Facebook). Note: installing these components did not fix the issue: msxml4.
@@ -48,7 +49,7 @@
       
 TITLE="Knives Out"
 PREFIX="knives_out"
-WORKING_WINE_VERSION="5.0.1"
+WORKING_WINE_VERSION="5.10"
 AUTHOR="Dadu042"
 EDITOR="NetEase Games"
 GAME_URL="http://knivesout.163.com"
@@ -105,7 +106,7 @@
  
 # Don't know which one is the right one :
 POL_Shortcut "launcher.exe" "$TITLE - Launcher (do not use: it fail to run)" ""  "" "Game;Shooter;"
-POL_Shortcut "hyxd.exe" "$TITLE - Hyxd.exe"  "" "" "Game;Shooter;"
+POL_Shortcut "hyxd.exe" "$TITLE (Hyxd.exe)"  "" "" "Game;Shooter;"
  
 # POL_Shortcut_Document "$TITLE" "doc.pdf"
   

New source code

#!/usr/bin/env playonlinux-bash
# Date : (2019-05-22 12-38)
# Last revision : see changelog
# Wine version used : see below
# Distribution used to test : XUbuntu 18.04.4 (64 bits)
# Script licence : GPL3
# Program licence : Retail
# Playonlinux version used : 4.3.4
#
# Software version used to write this script: 427385-hyxd-1.0.19-overseas-setup.exe (2019-07)
#                                             439464-hyxd-1.0.21-overseas-setup.exe (2020-05)
#
# Game based on: DirectX 9 (v43) and 10 (v43), Visual C++ 2008.
#
#
# CHANGELOG:
# [Dadu042] (2019-05-22 20-50)
#   Installation does start (it download 5 Gb). Not tried further. Software installer is in chinese.
# [Dadu042] (2019-07-02 10-07)
#   Remove WORKING_WINE_VERSION because the current problem is to manage to pass the freezed login window.
# [Dadu042] (2020-05-24 18-00)
#   Wine system version -> 5.0
#   Game does launch but is unplayable because of no keyboard access. Not tried: a gamepad.
#   Note (languages): the installer is Chinese only, user licences too, then in the game multiple languages are available.
# [Dadu042] (2020-06-10 18-00)
#   64 bits -> 32 bits
#   Wine 5.0 -> 5.0.1
#   Disable wininet and vcrun2010
# [Dadu042] (2020-06-17 17-00)
#   Wine 5.0.1 -> 5.10
#   Add vcrun2008, to fix the 'no keyboard' issue (does not work with Wine 5.0.1).

# KNOWN ISSUES: 
# - This game seems impossible to run without login to Google/Facebook). Note: installing these components did not fix the issue: msxml4.
# - Launcher does not launch anything (Wine 4.11). Run Hyxd.exe instead.
# - wine 4.0.4: Each time the game does launch, user has to approve the 'Privacy and user agreement'.
# - wine 4.0.4, 5.0, 5.7, 5.0.1, 5.10: once the game is started (waiting for new users), keyboard does not work anymore.
# - wine 4.0.4, 5.0, 5.7: lot of these lines in the debug log ' :fixme:d3d_shader:shader_sm4_read_instruction_modifier Unhandled modifier ...'. Tried: POL_Install_d3dx9_43 + compiler.
# 
#
# Log:  007a:err:ole:CoGetClassObject class {745057c7-f353-4f2d-a7ee-58434477730e} not registered
#       issue related to ?: https://bugs.winehq.org/show_bug.cgi?id=37868

# KNOWN ISSUES FIXED:
# - (2019-07) Wine 4.0.1, 4.8, 4.11: When starting the game for the first time, the little window where to login (with Google or Facebook) does not respond. Note: it is possible to close the little window by clicking fast at the top right, a checkbox will appear. Fix (2020-05): Wine 4.0.4, 4.21, 5.0

[ -z "$PLAYONLINUX" ] && exit 0
source "$PLAYONLINUX/lib/sources"
      
TITLE="Knives Out"
PREFIX="knives_out"
WORKING_WINE_VERSION="5.10"
AUTHOR="Dadu042"
EDITOR="NetEase Games"
GAME_URL="http://knivesout.163.com"
GAME_VMS="256"
 
POL_SetupWindow_Init
POL_Debug_Init
      
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
 
POL_RequiredVersion 4.3.4 || POL_Debug_Fatal "$TITLE won't work with $APPLICATION_TITLE $VERSION\nPlease update."
 
POL_Wine_SelectPrefix "$PREFIX"
# POL_System_SetArch "amd64"
POL_System_SetArch "x86"
# POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
POL_Wine_PrefixCreate $WORKING_WINE_VERSION
POL_System_TmpCreate "$TITLE"
 
Set_OS "win7"
 
# Asking about memory size of graphic card
POL_SetupWindow_VMS $GAME_VMS
 
# Useful when there is 2 GPU on the same computer (ie: Intel HD + Nvidia).
POL_Call POL_Install_VideoDriver


# Inspired from the Lutris script (2019-07-03)
# POL_Call POL_Install_vcrun2010
# POL_Call POL_Install_wininet

# Required for Wine 5.0.1 to get the keyboard running
POL_Call POL_Install_vcrun2008
 
# To add if necessary (not tested yet because the game block on the freezed login window) :
# POL_Call POL_Install_d3dx9_43
# POL_Call POL_Install_d3dcompiler_43
 
###############
# 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
 
# Don't know which one is the right one :
POL_Shortcut "launcher.exe" "$TITLE - Launcher (do not use: it fail to run)" ""  "" "Game;Shooter;"
POL_Shortcut "hyxd.exe" "$TITLE (Hyxd.exe)"  "" "" "Game;Shooter;"
 
# POL_Shortcut_Document "$TITLE" "doc.pdf"
  
POL_System_TmpDelete
POL_SetupWindow_Close
exit 0

Replies

Dadu042 Wednesday 17 June 2020 at 17:08
Dadu042
Moderator

Warning

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

Message

Finally found how to make the keyboard run.

Differences

@@ -10,7 +10,7 @@
 # Software version used to write this script: 427385-hyxd-1.0.19-overseas-setup.exe (2019-07)
 #                                             439464-hyxd-1.0.21-overseas-setup.exe (2020-05)
 #
-# Game based on: DirectX 9 (v43) and 10 (v43).
+# Game based on: DirectX 9 (v43) and 10 (v43), Visual C++ 2008.
 #
 #
 # CHANGELOG:
@@ -26,6 +26,8 @@
 #   64 bits -> 32 bits
 #   Wine 5.0 -> 5.0.1
 #   Disable wininet and vcrun2010
+# [Dadu042] (2020-06-17 17-00)
+#   Add vcrun2008, to fix the 'no keyboard' issue.
 
 # KNOWN ISSUES: 
 # - This game seems impossible to run without login to Google/Facebook). Note: installing these components did not fix the issue: msxml4.
@@ -39,7 +41,7 @@
 #       issue related to ?: https://bugs.winehq.org/show_bug.cgi?id=37868
 
 # KNOWN ISSUES FIXED:
-# - (2019-07) Wine 4.0.1, 4.8, 4.11: When starting the game for the first time, the little window where to login (with Google or Facebook) does not respond. Note: it is possible to close the little window by clicking at the top right, a checkbox will appear. Fix (2020-05): Wine 4.0.4, 4.21, 5.0
+# - (2019-07) Wine 4.0.1, 4.8, 4.11: When starting the game for the first time, the little window where to login (with Google or Facebook) does not respond. Note: it is possible to close the little window by clicking fast at the top right, a checkbox will appear. Fix (2020-05): Wine 4.0.4, 4.21, 5.0
 
 [ -z "$PLAYONLINUX" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
@@ -73,10 +75,14 @@
  
 # Useful when there is 2 GPU on the same computer (ie: Intel HD + Nvidia).
 POL_Call POL_Install_VideoDriver
- 
+
+
 # Inspired from the Lutris script (2019-07-03)
 # POL_Call POL_Install_vcrun2010
 # POL_Call POL_Install_wininet
+
+# Required for Wine 5.0.1 to get the keyboard running
+POL_Call POL_Install_vcrun2008
  
 # To add if necessary (not tested yet because the game block on the freezed login window) :
 # POL_Call POL_Install_d3dx9_43

New source code

#!/usr/bin/env playonlinux-bash
# Date : (2019-05-22 12-38)
# Last revision : see changelog
# Wine version used : see below
# Distribution used to test : XUbuntu 18.04.4 (64 bits)
# Script licence : GPL3
# Program licence : Retail
# Playonlinux version used : 4.3.4
#
# Software version used to write this script: 427385-hyxd-1.0.19-overseas-setup.exe (2019-07)
#                                             439464-hyxd-1.0.21-overseas-setup.exe (2020-05)
#
# Game based on: DirectX 9 (v43) and 10 (v43), Visual C++ 2008.
#
#
# CHANGELOG:
# [Dadu042] (2019-05-22 20-50)
#   Installation does start (it download 5 Gb). Not tried further. Software installer is in chinese.
# [Dadu042] (2019-07-02 10-07)
#   Remove WORKING_WINE_VERSION because the current problem is to manage to pass the freezed login window.
# [Dadu042] (2020-05-24 18-00)
#   Wine system version -> 5.0
#   Game does launch but is unplayable because of no keyboard access. Not tried: a gamepad.
#   Note (languages): the installer is Chinese only, user licences too, then in the game multiple languages are available.
# [Dadu042] (2020-06-10 18-00)
#   64 bits -> 32 bits
#   Wine 5.0 -> 5.0.1
#   Disable wininet and vcrun2010
# [Dadu042] (2020-06-17 17-00)
#   Add vcrun2008, to fix the 'no keyboard' issue.

# KNOWN ISSUES: 
# - This game seems impossible to run without login to Google/Facebook). Note: installing these components did not fix the issue: msxml4.
# - Launcher does not launch anything (Wine 4.11). Run Hyxd.exe instead.
# - wine 4.0.4: Each time the game does launch, user has to approve the 'Privacy and user agreement'.
# - wine 4.0.4, 5.0, 5.7, 5.0.1, 5.10: once the game is started (waiting for new users), keyboard does not work anymore.
# - wine 4.0.4, 5.0, 5.7: lot of these lines in the debug log ' :fixme:d3d_shader:shader_sm4_read_instruction_modifier Unhandled modifier ...'. Tried: POL_Install_d3dx9_43 + compiler.
# 
#
# Log:  007a:err:ole:CoGetClassObject class {745057c7-f353-4f2d-a7ee-58434477730e} not registered
#       issue related to ?: https://bugs.winehq.org/show_bug.cgi?id=37868

# KNOWN ISSUES FIXED:
# - (2019-07) Wine 4.0.1, 4.8, 4.11: When starting the game for the first time, the little window where to login (with Google or Facebook) does not respond. Note: it is possible to close the little window by clicking fast at the top right, a checkbox will appear. Fix (2020-05): Wine 4.0.4, 4.21, 5.0

[ -z "$PLAYONLINUX" ] && exit 0
source "$PLAYONLINUX/lib/sources"
      
TITLE="Knives Out"
PREFIX="knives_out"
WORKING_WINE_VERSION="5.0.1"
AUTHOR="Dadu042"
EDITOR="NetEase Games"
GAME_URL="http://knivesout.163.com"
GAME_VMS="256"
 
POL_SetupWindow_Init
POL_Debug_Init
      
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
 
POL_RequiredVersion 4.3.4 || POL_Debug_Fatal "$TITLE won't work with $APPLICATION_TITLE $VERSION\nPlease update."
 
POL_Wine_SelectPrefix "$PREFIX"
# POL_System_SetArch "amd64"
POL_System_SetArch "x86"
# POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
POL_Wine_PrefixCreate $WORKING_WINE_VERSION
POL_System_TmpCreate "$TITLE"
 
Set_OS "win7"
 
# Asking about memory size of graphic card
POL_SetupWindow_VMS $GAME_VMS
 
# Useful when there is 2 GPU on the same computer (ie: Intel HD + Nvidia).
POL_Call POL_Install_VideoDriver


# Inspired from the Lutris script (2019-07-03)
# POL_Call POL_Install_vcrun2010
# POL_Call POL_Install_wininet

# Required for Wine 5.0.1 to get the keyboard running
POL_Call POL_Install_vcrun2008
 
# To add if necessary (not tested yet because the game block on the freezed login window) :
# POL_Call POL_Install_d3dx9_43
# POL_Call POL_Install_d3dcompiler_43
 
###############
# 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
 
# Don't know which one is the right one :
POL_Shortcut "launcher.exe" "$TITLE - Launcher (do not use: it fail to run)" ""  "" "Game;Shooter;"
POL_Shortcut "hyxd.exe" "$TITLE - Hyxd.exe"  "" "" "Game;Shooter;"
 
# POL_Shortcut_Document "$TITLE" "doc.pdf"
  
POL_System_TmpDelete
POL_SetupWindow_Close
exit 0

Replies

Wednesday 17 June 2020 at 17:09
I remove this text from the description: WARNING: The game does not work yet with POL, because of no keyboard access (as of 2020-06, last tested with Wine v5.10).
Dadu042 Wednesday 17 June 2020 at 15:52
Dadu042
Moderator

Warning

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

Message

Not yet tested.

Differences

@@ -20,14 +20,18 @@
 #   Remove WORKING_WINE_VERSION because the current problem is to manage to pass the freezed login window.
 # [Dadu042] (2020-05-24 18-00)
 #   Wine system version -> 5.0
-#   Game does launch but is unplayable because of no keyboard access. Not tried: gamepad.
+#   Game does launch but is unplayable because of no keyboard access. Not tried: a gamepad.
 #   Note (languages): the installer is Chinese only, user licences too, then in the game multiple languages are available.
+# [Dadu042] (2020-06-10 18-00)
+#   64 bits -> 32 bits
+#   Wine 5.0 -> 5.0.1
+#   Disable wininet and vcrun2010
 
 # KNOWN ISSUES: 
 # - This game seems impossible to run without login to Google/Facebook). Note: installing these components did not fix the issue: msxml4.
 # - Launcher does not launch anything (Wine 4.11). Run Hyxd.exe instead.
-# - wine 4.0.4: Each time the game does launch, user has to click the Privacy and user agreement.
-# - wine 4.0.4, 5.0, 5.7: once the game is started (waiting for new users), keyboard does not work anymore.
+# - wine 4.0.4: Each time the game does launch, user has to approve the 'Privacy and user agreement'.
+# - wine 4.0.4, 5.0, 5.7, 5.0.1, 5.10: once the game is started (waiting for new users), keyboard does not work anymore.
 # - wine 4.0.4, 5.0, 5.7: lot of these lines in the debug log ' :fixme:d3d_shader:shader_sm4_read_instruction_modifier Unhandled modifier ...'. Tried: POL_Install_d3dx9_43 + compiler.
 # 
 #
@@ -42,9 +46,9 @@
       
 TITLE="Knives Out"
 PREFIX="knives_out"
-WORKING_WINE_VERSION="5.0"
+WORKING_WINE_VERSION="5.0.1"
 AUTHOR="Dadu042"
-EDITOR=""
+EDITOR="NetEase Games"
 GAME_URL="http://knivesout.163.com"
 GAME_VMS="256"
  
@@ -56,8 +60,8 @@
 POL_RequiredVersion 4.3.4 || POL_Debug_Fatal "$TITLE won't work with $APPLICATION_TITLE $VERSION\nPlease update."
  
 POL_Wine_SelectPrefix "$PREFIX"
-POL_System_SetArch "amd64"
-# POL_System_SetArch "x86"
+# POL_System_SetArch "amd64"
+POL_System_SetArch "x86"
 # POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
 POL_Wine_PrefixCreate $WORKING_WINE_VERSION
 POL_System_TmpCreate "$TITLE"
@@ -71,8 +75,8 @@
 POL_Call POL_Install_VideoDriver
  
 # Inspired from the Lutris script (2019-07-03)
-POL_Call POL_Install_vcrun2010
-POL_Call POL_Install_wininet
+# POL_Call POL_Install_vcrun2010
+# POL_Call POL_Install_wininet
  
 # To add if necessary (not tested yet because the game block on the freezed login window) :
 # POL_Call POL_Install_d3dx9_43

New source code

#!/usr/bin/env playonlinux-bash
# Date : (2019-05-22 12-38)
# Last revision : see changelog
# Wine version used : see below
# Distribution used to test : XUbuntu 18.04.4 (64 bits)
# Script licence : GPL3
# Program licence : Retail
# Playonlinux version used : 4.3.4
#
# Software version used to write this script: 427385-hyxd-1.0.19-overseas-setup.exe (2019-07)
#                                             439464-hyxd-1.0.21-overseas-setup.exe (2020-05)
#
# Game based on: DirectX 9 (v43) and 10 (v43).
#
#
# CHANGELOG:
# [Dadu042] (2019-05-22 20-50)
#   Installation does start (it download 5 Gb). Not tried further. Software installer is in chinese.
# [Dadu042] (2019-07-02 10-07)
#   Remove WORKING_WINE_VERSION because the current problem is to manage to pass the freezed login window.
# [Dadu042] (2020-05-24 18-00)
#   Wine system version -> 5.0
#   Game does launch but is unplayable because of no keyboard access. Not tried: a gamepad.
#   Note (languages): the installer is Chinese only, user licences too, then in the game multiple languages are available.
# [Dadu042] (2020-06-10 18-00)
#   64 bits -> 32 bits
#   Wine 5.0 -> 5.0.1
#   Disable wininet and vcrun2010

# KNOWN ISSUES: 
# - This game seems impossible to run without login to Google/Facebook). Note: installing these components did not fix the issue: msxml4.
# - Launcher does not launch anything (Wine 4.11). Run Hyxd.exe instead.
# - wine 4.0.4: Each time the game does launch, user has to approve the 'Privacy and user agreement'.
# - wine 4.0.4, 5.0, 5.7, 5.0.1, 5.10: once the game is started (waiting for new users), keyboard does not work anymore.
# - wine 4.0.4, 5.0, 5.7: lot of these lines in the debug log ' :fixme:d3d_shader:shader_sm4_read_instruction_modifier Unhandled modifier ...'. Tried: POL_Install_d3dx9_43 + compiler.
# 
#
# Log:  007a:err:ole:CoGetClassObject class {745057c7-f353-4f2d-a7ee-58434477730e} not registered
#       issue related to ?: https://bugs.winehq.org/show_bug.cgi?id=37868

# KNOWN ISSUES FIXED:
# - (2019-07) Wine 4.0.1, 4.8, 4.11: When starting the game for the first time, the little window where to login (with Google or Facebook) does not respond. Note: it is possible to close the little window by clicking at the top right, a checkbox will appear. Fix (2020-05): Wine 4.0.4, 4.21, 5.0

[ -z "$PLAYONLINUX" ] && exit 0
source "$PLAYONLINUX/lib/sources"
      
TITLE="Knives Out"
PREFIX="knives_out"
WORKING_WINE_VERSION="5.0.1"
AUTHOR="Dadu042"
EDITOR="NetEase Games"
GAME_URL="http://knivesout.163.com"
GAME_VMS="256"
 
POL_SetupWindow_Init
POL_Debug_Init
      
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
 
POL_RequiredVersion 4.3.4 || POL_Debug_Fatal "$TITLE won't work with $APPLICATION_TITLE $VERSION\nPlease update."
 
POL_Wine_SelectPrefix "$PREFIX"
# POL_System_SetArch "amd64"
POL_System_SetArch "x86"
# POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
POL_Wine_PrefixCreate $WORKING_WINE_VERSION
POL_System_TmpCreate "$TITLE"
 
Set_OS "win7"
 
# Asking about memory size of graphic card
POL_SetupWindow_VMS $GAME_VMS
 
# Useful when there is 2 GPU on the same computer (ie: Intel HD + Nvidia).
POL_Call POL_Install_VideoDriver
 
# Inspired from the Lutris script (2019-07-03)
# POL_Call POL_Install_vcrun2010
# POL_Call POL_Install_wininet
 
# To add if necessary (not tested yet because the game block on the freezed login window) :
# POL_Call POL_Install_d3dx9_43
# POL_Call POL_Install_d3dcompiler_43
 
###############
# 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
 
# Don't know which one is the right one :
POL_Shortcut "launcher.exe" "$TITLE - Launcher (do not use: it fail to run)" ""  "" "Game;Shooter;"
POL_Shortcut "hyxd.exe" "$TITLE - Hyxd.exe"  "" "" "Game;Shooter;"
 
# POL_Shortcut_Document "$TITLE" "doc.pdf"
  
POL_System_TmpDelete
POL_SetupWindow_Close
exit 0

Replies

Wednesday 17 June 2020 at 16:02
Note: the "{745057c7-f353-4f2d-a7ee-58434477730e}" in the debug log file seems related to the voice audio capture feature.
Wednesday 17 June 2020 at 16:37
Same keyboard issue in 32 bits...   Tried: vcrun2008
Dadu042 Sunday 24 May 2020 at 18:11
Dadu042
Moderator

Warning

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

Differences

@@ -1,35 +1,48 @@
 #!/usr/bin/env playonlinux-bash
 # Date : (2019-05-22 12-38)
-# Last revision : (2019-07-02 10-04)
+# Last revision : see changelog
 # Wine version used : see below
-# Distribution used to test : Ubuntu 18.04 x64
+# Distribution used to test : XUbuntu 18.04.4 (64 bits)
 # Script licence : GPL3
 # Program licence : Retail
 # Playonlinux version used : 4.3.4
 #
-# Software version used to write this script: 427385-hyxd-1.0.19-overseas-setup.exe (2019)
+# Software version used to write this script: 427385-hyxd-1.0.19-overseas-setup.exe (2019-07)
+#                                             439464-hyxd-1.0.21-overseas-setup.exe (2020-05)
 #
 # Game based on: DirectX 9 (v43) and 10 (v43).
 #
-# KNOWN ISSUES: 
-# - Wine 4.0.1, 4.8, 4.11: When starting the game for the first time, the little window where to login (with Google or Facebook) does not respond. Note: it is possible to close the little window by clicking at the top right, a checkbox will appear.
-# - This game seems impossible to run without login to Google/Facebook). Note: installing these components did not fix the issue: msxml4.
-# - Launcher does not launch anything (Wine 4.11). Run Hyxd.exe instead.
 #
 # CHANGELOG:
 # [Dadu042] (2019-05-22 20-50)
 #   Installation does start (it download 5 Gb). Not tried further. Software installer is in chinese.
 # [Dadu042] (2019-07-02 10-07)
-#   - Remove WORKING_WINE_VERSION because the current problem is to manage to pass the freezed login window.
-# [Dadu042] (2020-05-23)
-#  Wine 3.21 -> 4.0.4
+#   Remove WORKING_WINE_VERSION because the current problem is to manage to pass the freezed login window.
+# [Dadu042] (2020-05-24 18-00)
+#   Wine system version -> 5.0
+#   Game does launch but is unplayable because of no keyboard access. Not tried: gamepad.
+#   Note (languages): the installer is Chinese only, user licences too, then in the game multiple languages are available.
+
+# KNOWN ISSUES: 
+# - This game seems impossible to run without login to Google/Facebook). Note: installing these components did not fix the issue: msxml4.
+# - Launcher does not launch anything (Wine 4.11). Run Hyxd.exe instead.
+# - wine 4.0.4: Each time the game does launch, user has to click the Privacy and user agreement.
+# - wine 4.0.4, 5.0, 5.7: once the game is started (waiting for new users), keyboard does not work anymore.
+# - wine 4.0.4, 5.0, 5.7: lot of these lines in the debug log ' :fixme:d3d_shader:shader_sm4_read_instruction_modifier Unhandled modifier ...'. Tried: POL_Install_d3dx9_43 + compiler.
+# 
+#
+# Log:  007a:err:ole:CoGetClassObject class {745057c7-f353-4f2d-a7ee-58434477730e} not registered
+#       issue related to ?: https://bugs.winehq.org/show_bug.cgi?id=37868
+
+# KNOWN ISSUES FIXED:
+# - (2019-07) Wine 4.0.1, 4.8, 4.11: When starting the game for the first time, the little window where to login (with Google or Facebook) does not respond. Note: it is possible to close the little window by clicking at the top right, a checkbox will appear. Fix (2020-05): Wine 4.0.4, 4.21, 5.0
 
 [ -z "$PLAYONLINUX" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
       
 TITLE="Knives Out"
 PREFIX="knives_out"
-WORKING_WINE_VERSION="4.0.4"
+WORKING_WINE_VERSION="5.0"
 AUTHOR="Dadu042"
 EDITOR=""
 GAME_URL="http://knivesout.163.com"
@@ -46,12 +59,11 @@
 POL_System_SetArch "amd64"
 # POL_System_SetArch "x86"
 # POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
-POL_Wine_PrefixCreate
+POL_Wine_PrefixCreate $WORKING_WINE_VERSION
 POL_System_TmpCreate "$TITLE"
  
 Set_OS "win7"
  
- 
 # Asking about memory size of graphic card
 POL_SetupWindow_VMS $GAME_VMS
  
@@ -82,7 +94,7 @@
 fi
  
 # Don't know which one is the right one :
-POL_Shortcut "launcher.exe" "$TITLE - Launcher (do not use. It fail to run)" ""  "" "Game;Shooter;"
+POL_Shortcut "launcher.exe" "$TITLE - Launcher (do not use: it fail to run)" ""  "" "Game;Shooter;"
 POL_Shortcut "hyxd.exe" "$TITLE - Hyxd.exe"  "" "" "Game;Shooter;"
  
 # POL_Shortcut_Document "$TITLE" "doc.pdf"

New source code

#!/usr/bin/env playonlinux-bash
# Date : (2019-05-22 12-38)
# Last revision : see changelog
# Wine version used : see below
# Distribution used to test : XUbuntu 18.04.4 (64 bits)
# Script licence : GPL3
# Program licence : Retail
# Playonlinux version used : 4.3.4
#
# Software version used to write this script: 427385-hyxd-1.0.19-overseas-setup.exe (2019-07)
#                                             439464-hyxd-1.0.21-overseas-setup.exe (2020-05)
#
# Game based on: DirectX 9 (v43) and 10 (v43).
#
#
# CHANGELOG:
# [Dadu042] (2019-05-22 20-50)
#   Installation does start (it download 5 Gb). Not tried further. Software installer is in chinese.
# [Dadu042] (2019-07-02 10-07)
#   Remove WORKING_WINE_VERSION because the current problem is to manage to pass the freezed login window.
# [Dadu042] (2020-05-24 18-00)
#   Wine system version -> 5.0
#   Game does launch but is unplayable because of no keyboard access. Not tried: gamepad.
#   Note (languages): the installer is Chinese only, user licences too, then in the game multiple languages are available.

# KNOWN ISSUES: 
# - This game seems impossible to run without login to Google/Facebook). Note: installing these components did not fix the issue: msxml4.
# - Launcher does not launch anything (Wine 4.11). Run Hyxd.exe instead.
# - wine 4.0.4: Each time the game does launch, user has to click the Privacy and user agreement.
# - wine 4.0.4, 5.0, 5.7: once the game is started (waiting for new users), keyboard does not work anymore.
# - wine 4.0.4, 5.0, 5.7: lot of these lines in the debug log ' :fixme:d3d_shader:shader_sm4_read_instruction_modifier Unhandled modifier ...'. Tried: POL_Install_d3dx9_43 + compiler.
# 
#
# Log:  007a:err:ole:CoGetClassObject class {745057c7-f353-4f2d-a7ee-58434477730e} not registered
#       issue related to ?: https://bugs.winehq.org/show_bug.cgi?id=37868

# KNOWN ISSUES FIXED:
# - (2019-07) Wine 4.0.1, 4.8, 4.11: When starting the game for the first time, the little window where to login (with Google or Facebook) does not respond. Note: it is possible to close the little window by clicking at the top right, a checkbox will appear. Fix (2020-05): Wine 4.0.4, 4.21, 5.0

[ -z "$PLAYONLINUX" ] && exit 0
source "$PLAYONLINUX/lib/sources"
      
TITLE="Knives Out"
PREFIX="knives_out"
WORKING_WINE_VERSION="5.0"
AUTHOR="Dadu042"
EDITOR=""
GAME_URL="http://knivesout.163.com"
GAME_VMS="256"
 
POL_SetupWindow_Init
POL_Debug_Init
      
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
 
POL_RequiredVersion 4.3.4 || POL_Debug_Fatal "$TITLE won't work with $APPLICATION_TITLE $VERSION\nPlease update."
 
POL_Wine_SelectPrefix "$PREFIX"
POL_System_SetArch "amd64"
# POL_System_SetArch "x86"
# POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
POL_Wine_PrefixCreate $WORKING_WINE_VERSION
POL_System_TmpCreate "$TITLE"
 
Set_OS "win7"
 
# Asking about memory size of graphic card
POL_SetupWindow_VMS $GAME_VMS
 
# Useful when there is 2 GPU on the same computer (ie: Intel HD + Nvidia).
POL_Call POL_Install_VideoDriver
 
# Inspired from the Lutris script (2019-07-03)
POL_Call POL_Install_vcrun2010
POL_Call POL_Install_wininet
 
# To add if necessary (not tested yet because the game block on the freezed login window) :
# POL_Call POL_Install_d3dx9_43
# POL_Call POL_Install_d3dcompiler_43
 
###############
# 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
 
# Don't know which one is the right one :
POL_Shortcut "launcher.exe" "$TITLE - Launcher (do not use: it fail to run)" ""  "" "Game;Shooter;"
POL_Shortcut "hyxd.exe" "$TITLE - Hyxd.exe"  "" "" "Game;Shooter;"
 
# POL_Shortcut_Document "$TITLE" "doc.pdf"
  
POL_System_TmpDelete
POL_SetupWindow_Close
exit 0

Replies

Dadu042 Saturday 23 May 2020 at 16:32
Dadu042
Moderator

Warning

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

Message

WIP

Differences

@@ -11,65 +11,67 @@
 #
 # Game based on: DirectX 9 (v43) and 10 (v43).
 #
-# KNOWN ISSUES: 
-# - Wine 4.0.1, 4.8, 4.11: When starting the game for the first time, the little window where to login (with Google or Facebook) does not respond. Note: it is possible to close the little window by clicking at the top right, a checkbox will appear.
-# - This game seems impossible to run without login to Google/Facebook). Note: installing these components did not fix the issue: msxml4.
+# KNOWN ISSUES: 
+# - Wine 4.0.1, 4.8, 4.11: When starting the game for the first time, the little window where to login (with Google or Facebook) does not respond. Note: it is possible to close the little window by clicking at the top right, a checkbox will appear.
+# - This game seems impossible to run without login to Google/Facebook). Note: installing these components did not fix the issue: msxml4.
 # - Launcher does not launch anything (Wine 4.11). Run Hyxd.exe instead.
 #
 # CHANGELOG:
 # [Dadu042] (2019-05-22 20-50)
-#   Installation does start (it download 5 Gb). Not tried further. Software installer is in chinese.
+#   Installation does start (it download 5 Gb). Not tried further. Software installer is in chinese.
 # [Dadu042] (2019-07-02 10-07)
-#   - Remove WORKING_WINE_VERSION because the current problem is to manage to pass the freezed login window.
+#   - Remove WORKING_WINE_VERSION because the current problem is to manage to pass the freezed login window.
+# [Dadu042] (2020-05-23)
+#  Wine 3.21 -> 4.0.4
 
 [ -z "$PLAYONLINUX" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
-     
+      
 TITLE="Knives Out"
-PREFIX="knivesout"
-WORKING_WINE_VERSION="3.21"
+PREFIX="knives_out"
+WORKING_WINE_VERSION="4.0.4"
 AUTHOR="Dadu042"
 EDITOR=""
 GAME_URL="http://knivesout.163.com"
 GAME_VMS="256"
-
+ 
 POL_SetupWindow_Init
 POL_Debug_Init
-     
+      
 POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
-
+ 
 POL_RequiredVersion 4.3.4 || POL_Debug_Fatal "$TITLE won't work with $APPLICATION_TITLE $VERSION\nPlease update."
-
+ 
 POL_Wine_SelectPrefix "$PREFIX"
 POL_System_SetArch "amd64"
 # POL_System_SetArch "x86"
-# POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
+# POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
 POL_Wine_PrefixCreate
 POL_System_TmpCreate "$TITLE"
-
+ 
 Set_OS "win7"
-
-# 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
-
-
+ 
+# Useful when there is 2 GPU on the same computer (ie: Intel HD + Nvidia).
+POL_Call POL_Install_VideoDriver
+ 
 # Inspired from the Lutris script (2019-07-03)
 POL_Call POL_Install_vcrun2010
 POL_Call POL_Install_wininet
-
-# To add if necessary (not tested yet because the game block on the freezed login window) :
-# POL_Call POL_Install_d3dx9_43
-# POL_Call POL_Install_d3dcompiler_43
-
+ 
+# To add if necessary (not tested yet because the game block on the freezed login window) :
+# POL_Call POL_Install_d3dx9_43
+# POL_Call POL_Install_d3dcompiler_43
+ 
 ###############
 # 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"
@@ -78,13 +80,13 @@
         POL_Wine_WaitExit "$TITLE"
         cd "$POL_System_TmpDir"
 fi
-
-# Don't know which one is the right one :
-POL_Shortcut "launcher.exe" "$TITLE - Launcher (fail to run)" ""  "Game;Shooter;"
-POL_Shortcut "hyxd.exe" "$TITLE - Hyxd.exe" ""  "Game;Shooter;"
-
-# POL_Shortcut_Document "$TITLE" "doc.pdf"
  
+# Don't know which one is the right one :
+POL_Shortcut "launcher.exe" "$TITLE - Launcher (do not use. It fail to run)" ""  "" "Game;Shooter;"
+POL_Shortcut "hyxd.exe" "$TITLE - Hyxd.exe"  "" "" "Game;Shooter;"
+ 
+# POL_Shortcut_Document "$TITLE" "doc.pdf"
+  
 POL_System_TmpDelete
 POL_SetupWindow_Close
 exit 0
\ No newline at end of file

New source code

#!/usr/bin/env playonlinux-bash
# Date : (2019-05-22 12-38)
# Last revision : (2019-07-02 10-04)
# 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: 427385-hyxd-1.0.19-overseas-setup.exe (2019)
#
# Game based on: DirectX 9 (v43) and 10 (v43).
#
# KNOWN ISSUES: 
# - Wine 4.0.1, 4.8, 4.11: When starting the game for the first time, the little window where to login (with Google or Facebook) does not respond. Note: it is possible to close the little window by clicking at the top right, a checkbox will appear.
# - This game seems impossible to run without login to Google/Facebook). Note: installing these components did not fix the issue: msxml4.
# - Launcher does not launch anything (Wine 4.11). Run Hyxd.exe instead.
#
# CHANGELOG:
# [Dadu042] (2019-05-22 20-50)
#   Installation does start (it download 5 Gb). Not tried further. Software installer is in chinese.
# [Dadu042] (2019-07-02 10-07)
#   - Remove WORKING_WINE_VERSION because the current problem is to manage to pass the freezed login window.
# [Dadu042] (2020-05-23)
#  Wine 3.21 -> 4.0.4

[ -z "$PLAYONLINUX" ] && exit 0
source "$PLAYONLINUX/lib/sources"
      
TITLE="Knives Out"
PREFIX="knives_out"
WORKING_WINE_VERSION="4.0.4"
AUTHOR="Dadu042"
EDITOR=""
GAME_URL="http://knivesout.163.com"
GAME_VMS="256"
 
POL_SetupWindow_Init
POL_Debug_Init
      
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
 
POL_RequiredVersion 4.3.4 || POL_Debug_Fatal "$TITLE won't work with $APPLICATION_TITLE $VERSION\nPlease update."
 
POL_Wine_SelectPrefix "$PREFIX"
POL_System_SetArch "amd64"
# POL_System_SetArch "x86"
# POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
POL_Wine_PrefixCreate
POL_System_TmpCreate "$TITLE"
 
Set_OS "win7"
 
 
# Asking about memory size of graphic card
POL_SetupWindow_VMS $GAME_VMS
 
# Useful when there is 2 GPU on the same computer (ie: Intel HD + Nvidia).
POL_Call POL_Install_VideoDriver
 
# Inspired from the Lutris script (2019-07-03)
POL_Call POL_Install_vcrun2010
POL_Call POL_Install_wininet
 
# To add if necessary (not tested yet because the game block on the freezed login window) :
# POL_Call POL_Install_d3dx9_43
# POL_Call POL_Install_d3dcompiler_43
 
###############
# 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
 
# Don't know which one is the right one :
POL_Shortcut "launcher.exe" "$TITLE - Launcher (do not use. It fail to run)" ""  "" "Game;Shooter;"
POL_Shortcut "hyxd.exe" "$TITLE - Hyxd.exe"  "" "" "Game;Shooter;"
 
# POL_Shortcut_Document "$TITLE" "doc.pdf"
  
POL_System_TmpDelete
POL_SetupWindow_Close
exit 0

Replies

Dadu042 Monday 3 February 2020 at 22:12
Dadu042
Moderator

Warning

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

Differences

@@ -38,7 +38,7 @@
      
 POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
 
-# POL_RequiredVersion 4.3.4 || POL_Debug_Fatal "$TITLE won't work with $APPLICATION_TITLE $VERSION\nPlease update."
+POL_RequiredVersion 4.3.4 || POL_Debug_Fatal "$TITLE won't work with $APPLICATION_TITLE $VERSION\nPlease update."
 
 POL_Wine_SelectPrefix "$PREFIX"
 POL_System_SetArch "amd64"

New source code

#!/usr/bin/env playonlinux-bash
# Date : (2019-05-22 12-38)
# Last revision : (2019-07-02 10-04)
# 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: 427385-hyxd-1.0.19-overseas-setup.exe (2019)
#
# Game based on: DirectX 9 (v43) and 10 (v43).
#
# KNOWN ISSUES: 
# - Wine 4.0.1, 4.8, 4.11: When starting the game for the first time, the little window where to login (with Google or Facebook) does not respond. Note: it is possible to close the little window by clicking at the top right, a checkbox will appear.
# - This game seems impossible to run without login to Google/Facebook). Note: installing these components did not fix the issue: msxml4.
# - Launcher does not launch anything (Wine 4.11). Run Hyxd.exe instead.
#
# CHANGELOG:
# [Dadu042] (2019-05-22 20-50)
#   Installation does start (it download 5 Gb). Not tried further. Software installer is in chinese.
# [Dadu042] (2019-07-02 10-07)
#   - Remove WORKING_WINE_VERSION because the current problem is to manage to pass the freezed login window.

[ -z "$PLAYONLINUX" ] && exit 0
source "$PLAYONLINUX/lib/sources"
     
TITLE="Knives Out"
PREFIX="knivesout"
WORKING_WINE_VERSION="3.21"
AUTHOR="Dadu042"
EDITOR=""
GAME_URL="http://knivesout.163.com"
GAME_VMS="256"

POL_SetupWindow_Init
POL_Debug_Init
     
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"

POL_RequiredVersion 4.3.4 || POL_Debug_Fatal "$TITLE won't work with $APPLICATION_TITLE $VERSION\nPlease update."

POL_Wine_SelectPrefix "$PREFIX"
POL_System_SetArch "amd64"
# POL_System_SetArch "x86"
# POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
POL_Wine_PrefixCreate
POL_System_TmpCreate "$TITLE"

Set_OS "win7"

# 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


# Inspired from the Lutris script (2019-07-03)
POL_Call POL_Install_vcrun2010
POL_Call POL_Install_wininet

# To add if necessary (not tested yet because the game block on the freezed login window) :
# POL_Call POL_Install_d3dx9_43
# POL_Call POL_Install_d3dcompiler_43

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

# Don't know which one is the right one :
POL_Shortcut "launcher.exe" "$TITLE - Launcher (fail to run)" ""  "Game;Shooter;"
POL_Shortcut "hyxd.exe" "$TITLE - Hyxd.exe" ""  "Game;Shooter;"

# POL_Shortcut_Document "$TITLE" "doc.pdf"
 
POL_System_TmpDelete
POL_SetupWindow_Close
exit 0

Replies

Dadu042 Wednesday 3 July 2019 at 10:11
Dadu042
Moderator

Warning

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

Differences

@@ -1,6 +1,6 @@
 #!/usr/bin/env playonlinux-bash
 # Date : (2019-05-22 12-38)
-# Last revision : (2019-05-22 20-50)
+# Last revision : (2019-07-02 10-04)
 # Wine version used : see below
 # Distribution used to test : Ubuntu 18.04 x64
 # Script licence : GPL3
@@ -9,22 +9,25 @@
 #
 # Software version used to write this script: 427385-hyxd-1.0.19-overseas-setup.exe (2019)
 #
-# KNOWN ISSUES: 
-# Wine 4.0.1 and 4.8: When starting the game for the first time, the little window where to login (with Google or Facebook) does not repond. Note: it is possible to close the little window by clicking at the top right, a checkbox will appear.
-# This game seems impossible to possible without login to Google/Facebook).
-# Note: installing these components did not fix the issue: msxml4
+# Game based on: DirectX 9 (v43) and 10 (v43).
 #
+# KNOWN ISSUES: 
+# - Wine 4.0.1, 4.8, 4.11: When starting the game for the first time, the little window where to login (with Google or Facebook) does not respond. Note: it is possible to close the little window by clicking at the top right, a checkbox will appear.
+# - This game seems impossible to run without login to Google/Facebook). Note: installing these components did not fix the issue: msxml4.
+# - Launcher does not launch anything (Wine 4.11). Run Hyxd.exe instead.
 #
 # CHANGELOG:
 # [Dadu042] (2019-05-22 20-50)
 #   Installation does start (it download 5 Gb). Not tried further. Software installer is in chinese.
+# [Dadu042] (2019-07-02 10-07)
+#   - Remove WORKING_WINE_VERSION because the current problem is to manage to pass the freezed login window.
 
 [ -z "$PLAYONLINUX" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
      
 TITLE="Knives Out"
 PREFIX="knivesout"
-WORKING_WINE_VERSION="4.8"
+WORKING_WINE_VERSION="3.21"
 AUTHOR="Dadu042"
 EDITOR=""
 GAME_URL="http://knivesout.163.com"
@@ -36,21 +39,31 @@
 POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
 
 # POL_RequiredVersion 4.3.4 || POL_Debug_Fatal "$TITLE won't work with $APPLICATION_TITLE $VERSION\nPlease update."
-     
+
 POL_Wine_SelectPrefix "$PREFIX"
 POL_System_SetArch "amd64"
 # POL_System_SetArch "x86"
-POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
+# POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
+POL_Wine_PrefixCreate
 POL_System_TmpCreate "$TITLE"
 
 Set_OS "win7"
 
 # 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
 
+
+# Inspired from the Lutris script (2019-07-03)
+POL_Call POL_Install_vcrun2010
+POL_Call POL_Install_wininet
+
+# To add if necessary (not tested yet because the game block on the freezed login window) :
+# POL_Call POL_Install_d3dx9_43
+# POL_Call POL_Install_d3dcompiler_43
+
 ###############
 # Go          #
 ###############
@@ -67,8 +80,8 @@
 fi
 
 # Don't know which one is the right one :
-POL_Shortcut "launcher.exe" "$TITLE - Launcher" ""  "Game;Shooter;"
-POL_Shortcut "hyxd.exe" "$TITLE - Hyxd" ""  "Game;Shooter;"
+POL_Shortcut "launcher.exe" "$TITLE - Launcher (fail to run)" ""  "Game;Shooter;"
+POL_Shortcut "hyxd.exe" "$TITLE - Hyxd.exe" ""  "Game;Shooter;"
 
 # POL_Shortcut_Document "$TITLE" "doc.pdf"
  

New source code

#!/usr/bin/env playonlinux-bash
# Date : (2019-05-22 12-38)
# Last revision : (2019-07-02 10-04)
# 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: 427385-hyxd-1.0.19-overseas-setup.exe (2019)
#
# Game based on: DirectX 9 (v43) and 10 (v43).
#
# KNOWN ISSUES: 
# - Wine 4.0.1, 4.8, 4.11: When starting the game for the first time, the little window where to login (with Google or Facebook) does not respond. Note: it is possible to close the little window by clicking at the top right, a checkbox will appear.
# - This game seems impossible to run without login to Google/Facebook). Note: installing these components did not fix the issue: msxml4.
# - Launcher does not launch anything (Wine 4.11). Run Hyxd.exe instead.
#
# CHANGELOG:
# [Dadu042] (2019-05-22 20-50)
#   Installation does start (it download 5 Gb). Not tried further. Software installer is in chinese.
# [Dadu042] (2019-07-02 10-07)
#   - Remove WORKING_WINE_VERSION because the current problem is to manage to pass the freezed login window.

[ -z "$PLAYONLINUX" ] && exit 0
source "$PLAYONLINUX/lib/sources"
     
TITLE="Knives Out"
PREFIX="knivesout"
WORKING_WINE_VERSION="3.21"
AUTHOR="Dadu042"
EDITOR=""
GAME_URL="http://knivesout.163.com"
GAME_VMS="256"

POL_SetupWindow_Init
POL_Debug_Init
     
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"

# POL_RequiredVersion 4.3.4 || POL_Debug_Fatal "$TITLE won't work with $APPLICATION_TITLE $VERSION\nPlease update."

POL_Wine_SelectPrefix "$PREFIX"
POL_System_SetArch "amd64"
# POL_System_SetArch "x86"
# POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
POL_Wine_PrefixCreate
POL_System_TmpCreate "$TITLE"

Set_OS "win7"

# 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


# Inspired from the Lutris script (2019-07-03)
POL_Call POL_Install_vcrun2010
POL_Call POL_Install_wininet

# To add if necessary (not tested yet because the game block on the freezed login window) :
# POL_Call POL_Install_d3dx9_43
# POL_Call POL_Install_d3dcompiler_43

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

# Don't know which one is the right one :
POL_Shortcut "launcher.exe" "$TITLE - Launcher (fail to run)" ""  "Game;Shooter;"
POL_Shortcut "hyxd.exe" "$TITLE - Hyxd.exe" ""  "Game;Shooter;"

# POL_Shortcut_Document "$TITLE" "doc.pdf"
 
POL_System_TmpDelete
POL_SetupWindow_Close
exit 0

Replies

Dadu042 Wednesday 22 May 2019 at 12:37
Dadu042
Moderator

Warning

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

Message

Read the changelog ! (in the script).  Help wanted to go further.

Differences

@@ -1,6 +1,6 @@
 #!/usr/bin/env playonlinux-bash
 # Date : (2019-05-22 12-38)
-# Last revision : (2019-05-22 12-38)
+# Last revision : (2019-05-22 20-50)
 # Wine version used : see below
 # Distribution used to test : Ubuntu 18.04 x64
 # Script licence : GPL3
@@ -9,48 +9,54 @@
 #
 # Software version used to write this script: 427385-hyxd-1.0.19-overseas-setup.exe (2019)
 #
-# Changelog:
-# 2019-05-22 Dadu042: installation seems to start (downloading 5 Gb). Not tried further. Software is in chinese.
+# KNOWN ISSUES: 
+# Wine 4.0.1 and 4.8: When starting the game for the first time, the little window where to login (with Google or Facebook) does not repond. Note: it is possible to close the little window by clicking at the top right, a checkbox will appear.
+# This game seems impossible to possible without login to Google/Facebook).
+# Note: installing these components did not fix the issue: msxml4
+#
+#
+# CHANGELOG:
+# [Dadu042] (2019-05-22 20-50)
+#   Installation does start (it download 5 Gb). Not tried further. Software installer is in chinese.
 
 [ -z "$PLAYONLINUX" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
-    
+     
 TITLE="Knives Out"
 PREFIX="knivesout"
-WORKING_WINE_VERSION="4.0.1"
+WORKING_WINE_VERSION="4.8"
 AUTHOR="Dadu042"
 EDITOR=""
 GAME_URL="http://knivesout.163.com"
 GAME_VMS="256"
 
-Set_OS "win7"
- 
 POL_SetupWindow_Init
 POL_Debug_Init
-    
+     
 POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
 
-POL_RequiredVersion 4.3.4 || POL_Debug_Fatal "$TITLE won't work with $APPLICATION_TITLE $VERSION\nPlease update."
-    
+# POL_RequiredVersion 4.3.4 || POL_Debug_Fatal "$TITLE won't work with $APPLICATION_TITLE $VERSION\nPlease update."
+     
 POL_Wine_SelectPrefix "$PREFIX"
 POL_System_SetArch "amd64"
+# POL_System_SetArch "x86"
 POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
 POL_System_TmpCreate "$TITLE"
 
+Set_OS "win7"
 
-# Useful when there is 2 GPU on the same computer (ie: Intel HD + Nvidia).
+# 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"
@@ -59,12 +65,13 @@
         POL_Wine_WaitExit "$TITLE"
         cd "$POL_System_TmpDir"
 fi
-    
-POL_Shortcut "knivesout.exe" "$TITLE" ""
-  
-# POL_Shortcut_Document "$TITLE" "doc.pdf"
 
+# Don't know which one is the right one :
+POL_Shortcut "launcher.exe" "$TITLE - Launcher" ""  "Game;Shooter;"
+POL_Shortcut "hyxd.exe" "$TITLE - Hyxd" ""  "Game;Shooter;"
 
+# POL_Shortcut_Document "$TITLE" "doc.pdf"
+ 
 POL_System_TmpDelete
 POL_SetupWindow_Close
 exit 0
\ No newline at end of file

New source code

#!/usr/bin/env playonlinux-bash
# Date : (2019-05-22 12-38)
# Last revision : (2019-05-22 20-50)
# 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: 427385-hyxd-1.0.19-overseas-setup.exe (2019)
#
# KNOWN ISSUES: 
# Wine 4.0.1 and 4.8: When starting the game for the first time, the little window where to login (with Google or Facebook) does not repond. Note: it is possible to close the little window by clicking at the top right, a checkbox will appear.
# This game seems impossible to possible without login to Google/Facebook).
# Note: installing these components did not fix the issue: msxml4
#
#
# CHANGELOG:
# [Dadu042] (2019-05-22 20-50)
#   Installation does start (it download 5 Gb). Not tried further. Software installer is in chinese.

[ -z "$PLAYONLINUX" ] && exit 0
source "$PLAYONLINUX/lib/sources"
     
TITLE="Knives Out"
PREFIX="knivesout"
WORKING_WINE_VERSION="4.8"
AUTHOR="Dadu042"
EDITOR=""
GAME_URL="http://knivesout.163.com"
GAME_VMS="256"

POL_SetupWindow_Init
POL_Debug_Init
     
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"

# POL_RequiredVersion 4.3.4 || POL_Debug_Fatal "$TITLE won't work with $APPLICATION_TITLE $VERSION\nPlease update."
     
POL_Wine_SelectPrefix "$PREFIX"
POL_System_SetArch "amd64"
# POL_System_SetArch "x86"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
POL_System_TmpCreate "$TITLE"

Set_OS "win7"

# 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

# Don't know which one is the right one :
POL_Shortcut "launcher.exe" "$TITLE - Launcher" ""  "Game;Shooter;"
POL_Shortcut "hyxd.exe" "$TITLE - Hyxd" ""  "Game;Shooter;"

# POL_Shortcut_Document "$TITLE" "doc.pdf"
 
POL_System_TmpDelete
POL_SetupWindow_Close
exit 0

Replies

Edited by Dadu042