Jesteś tutaj

Knives Out

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: 1182
Wine:

Feedbacks

Description

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

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

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.

Installation tricks:

  • installation language might display as chinese, do just click the yellow default buttons (Y).
  • you will perhaps need to select the folder where to install (you have to browse to: 'C:').

For more Wine infos, test reports (without using POL) : 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 versions 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)
#                                              439485-hyxd-1.0.22-overseas-setup.exe (2020-08)
#
# Game based on: DirectX 9 (v43) and 10 (v43), Visual C++ 2010.
#
#
# 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 (seems useless)
# [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).
# [Dadu042] (2020-06-17 18-00)
#   Keyboard issue again on the same computer. The game does not use vcrun2008 but vcrun2010.
#   Remove vcrun2008
# [Dadu042] (2020-07-02 12-00)
#   Add argument '-d3d9' (seems to remove the few debug lines about DirextX 11). Wrong: it was because of DXVK.
# [Dadu042] (2020-09-08 12-00)
#   Wine 5.0.1 -> 5.0.2. Same 'no keyboard issue'.
#   Note: I reinstalled with OS set as 'winxp' instead of 'win7', after confirming login (window displayed on a black background), the screen does freeze. Tried: Gecko, xmllite.
# [Dadu042] (2020-10-07 12-00)
#   Wine 5.0.2 -> system, because the keyboard issue seems impossible to workaround.

#
#
# KNOWN ISSUES: 
# - wine 4.0.4, 5.0.2, 5.12, 5.18: Each time the game does launch, user has to approve the 'Privacy and user agreement'.
# - wine 4.0.4, 4.21-staging 5.0, 5.7, 5.0.1, 5.0.2, 5.10, 5.13-staging, 5.16, 5.17-staging, 5.18: once the game is started (waiting for new users), keyboard does not work anymore. Tried: xact.
# - 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:
# - wine 4.0.4: Launcher does not launch anything. Workaround: run Hyxd.exe instead.
# - (2019-07) Wine 4.0.1, 4.8, 4.11: When starting the game for the first time, the little window where to login (trough Google/Facebook) does not respond. Note: it is possible to workaround the little window by clicking fast at the button at the top right ('Log in via Browser'). 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=""
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 "winxp"

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


################
#      GPU     #
################
            
# Asking about memory size of graphic card
POL_SetupWindow_VMS $GAME_VMS
             
# Set Graphic Card information keys for wine
POL_Wine_SetVideoDriver
              
# Useful for Nvidia GPUs
# POL_Call POL_Install_physx   # I'm not sure if it works fine (Dadu042, 2020-06)

###############
# Main part   #
###############
      
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 "launcher.exe" "$TITLE - Launcher (do not use: it fail to run)" ""  "-d3d9" "Game;Shooter;"
POL_Shortcut "hyxd.exe" "$TITLE (Hyxd.exe)"  "" "" "Game;Shooter;"
 
# POL_Shortcut_Document "$TITLE" "doc.pdf"

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

POL_System_TmpDelete
POL_SetupWindow_Close
exit 0

Contributions

Filters:

Contribute
Member Wiadmości
Dadu042 Wednesday 7 October 2020 at 17:11
Dadu042
Moderator

Information

This update has been approved by the team.

Differences

@@ -36,13 +36,16 @@
 # [Dadu042] (2020-07-02 12-00)
 #   Add argument '-d3d9' (seems to remove the few debug lines about DirextX 11). Wrong: it was because of DXVK.
 # [Dadu042] (2020-09-08 12-00)
-#   Wine 5.0.1 -> 5.0.2. Same 'no keyboard issue'.
-#   Note: I reinstalled with OS set as 'winxp' instead of 'win7', after confirming login (window displayed on a black background), the screen does freeze. Tried: Gecko, xmllite.
+#   Wine 5.0.1 -> 5.0.2. Same 'no keyboard issue'.
+#   Note: I reinstalled with OS set as 'winxp' instead of 'win7', after confirming login (window displayed on a black background), the screen does freeze. Tried: Gecko, xmllite.
+# [Dadu042] (2020-10-07 12-00)
+#   Wine 5.0.2 -> system, because the keyboard issue seems impossible to workaround.
+
 #
 #
 # KNOWN ISSUES: 
-# - wine 4.0.4, 5.0.2, 5.12: Each time the game does launch, user has to approve the 'Privacy and user agreement'.
-# - wine 4.0.4, 4.21-staging 5.0, 5.7, 5.0.1, 5.0.2, 5.10, 5.13-staging, 5.16, 5.17-staging: once the game is started (waiting for new users), keyboard does not work anymore. Tried: xact.
+# - wine 4.0.4, 5.0.2, 5.12, 5.18: Each time the game does launch, user has to approve the 'Privacy and user agreement'.
+# - wine 4.0.4, 4.21-staging 5.0, 5.7, 5.0.1, 5.0.2, 5.10, 5.13-staging, 5.16, 5.17-staging, 5.18: once the game is started (waiting for new users), keyboard does not work anymore. Tried: xact.
 # - 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.
 # 
 #
@@ -50,8 +53,7 @@
 #       issue related to ?: https://bugs.winehq.org/show_bug.cgi?id=37868
 #
 # KNOWN ISSUES FIXED:
-
-# - wine 4.0.4: Launcher does not launch anything. Run Hyxd.exe instead.
+# - wine 4.0.4: Launcher does not launch anything. Workaround: run Hyxd.exe instead.
 # - (2019-07) Wine 4.0.1, 4.8, 4.11: When starting the game for the first time, the little window where to login (trough Google/Facebook) does not respond. Note: it is possible to workaround the little window by clicking fast at the button at the top right ('Log in via Browser'). Fix (2020-05): Wine 4.0.4, 4.21, 5.0
 #
 [ -z "$PLAYONLINUX" ] && exit 0
@@ -59,7 +61,7 @@
       
 TITLE="Knives Out"
 PREFIX="knives_out"
-WORKING_WINE_VERSION="5.0.2"
+WORKING_WINE_VERSION=""
 AUTHOR="Dadu042"
 EDITOR="NetEase Games"
 GAME_URL="http://knivesout.163.com"

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 versions 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)
#                                              439485-hyxd-1.0.22-overseas-setup.exe (2020-08)
#
# Game based on: DirectX 9 (v43) and 10 (v43), Visual C++ 2010.
#
#
# 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 (seems useless)
# [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).
# [Dadu042] (2020-06-17 18-00)
#   Keyboard issue again on the same computer. The game does not use vcrun2008 but vcrun2010.
#   Remove vcrun2008
# [Dadu042] (2020-07-02 12-00)
#   Add argument '-d3d9' (seems to remove the few debug lines about DirextX 11). Wrong: it was because of DXVK.
# [Dadu042] (2020-09-08 12-00)
#   Wine 5.0.1 -> 5.0.2. Same 'no keyboard issue'.
#   Note: I reinstalled with OS set as 'winxp' instead of 'win7', after confirming login (window displayed on a black background), the screen does freeze. Tried: Gecko, xmllite.
# [Dadu042] (2020-10-07 12-00)
#   Wine 5.0.2 -> system, because the keyboard issue seems impossible to workaround.

#
#
# KNOWN ISSUES: 
# - wine 4.0.4, 5.0.2, 5.12, 5.18: Each time the game does launch, user has to approve the 'Privacy and user agreement'.
# - wine 4.0.4, 4.21-staging 5.0, 5.7, 5.0.1, 5.0.2, 5.10, 5.13-staging, 5.16, 5.17-staging, 5.18: once the game is started (waiting for new users), keyboard does not work anymore. Tried: xact.
# - 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:
# - wine 4.0.4: Launcher does not launch anything. Workaround: run Hyxd.exe instead.
# - (2019-07) Wine 4.0.1, 4.8, 4.11: When starting the game for the first time, the little window where to login (trough Google/Facebook) does not respond. Note: it is possible to workaround the little window by clicking fast at the button at the top right ('Log in via Browser'). 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=""
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 "winxp"

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


################
#      GPU     #
################
            
# Asking about memory size of graphic card
POL_SetupWindow_VMS $GAME_VMS
             
# Set Graphic Card information keys for wine
POL_Wine_SetVideoDriver
              
# Useful for Nvidia GPUs
# POL_Call POL_Install_physx   # I'm not sure if it works fine (Dadu042, 2020-06)

###############
# Main part   #
###############
      
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 "launcher.exe" "$TITLE - Launcher (do not use: it fail to run)" ""  "-d3d9" "Game;Shooter;"
POL_Shortcut "hyxd.exe" "$TITLE (Hyxd.exe)"  "" "" "Game;Shooter;"
 
# POL_Shortcut_Document "$TITLE" "doc.pdf"

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

POL_System_TmpDelete
POL_SetupWindow_Close
exit 0

Odpowiedzi

Friday 20 November 2020 at 18:52
I had success playing on Wine 5.21, os win7 32bit, game v1.0.26 + DXVK (v1.7.2).
Dadu042 Tuesday 22 September 2020 at 18:35
Dadu042
Moderator

Warning

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

Differences

@@ -37,12 +37,12 @@
 #   Add argument '-d3d9' (seems to remove the few debug lines about DirextX 11). Wrong: it was because of DXVK.
 # [Dadu042] (2020-09-08 12-00)
 #   Wine 5.0.1 -> 5.0.2. Same 'no keyboard issue'.
-#   Note: I reinstall with OS set as 'winxp' instead of 'win7', after confirming login (window displayed on a black background), the screen does freeze. Tried: Gecko, xmllite.
+#   Note: I reinstalled with OS set as 'winxp' instead of 'win7', after confirming login (window displayed on a black background), the screen does freeze. Tried: Gecko, xmllite.
 #
 #
 # KNOWN ISSUES: 
 # - wine 4.0.4, 5.0.2, 5.12: 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.0.2, 5.10, 5.16: once the game is started (waiting for new users), keyboard does not work anymore. Tried: xact.
+# - wine 4.0.4, 4.21-staging 5.0, 5.7, 5.0.1, 5.0.2, 5.10, 5.13-staging, 5.16, 5.17-staging: once the game is started (waiting for new users), keyboard does not work anymore. Tried: xact.
 # - 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.
 # 
 #
@@ -52,7 +52,7 @@
 # KNOWN ISSUES FIXED:
 
 # - wine 4.0.4: Launcher does not launch anything. Run Hyxd.exe instead.
-# - (2019-07) Wine 4.0.1, 4.8, 4.11: When starting the game for the first time, the little window where to login (trough Google/Facebook) does not respond. Note: it is possible to workaround the little window by clicking fast at the top right, a browser window 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 (trough Google/Facebook) does not respond. Note: it is possible to workaround the little window by clicking fast at the button at the top right ('Log in via Browser'). Fix (2020-05): Wine 4.0.4, 4.21, 5.0
 #
 [ -z "$PLAYONLINUX" ] && exit 0
 source "$PLAYONLINUX/lib/sources"

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 versions 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)
#                                              439485-hyxd-1.0.22-overseas-setup.exe (2020-08)
#
# Game based on: DirectX 9 (v43) and 10 (v43), Visual C++ 2010.
#
#
# 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 (seems useless)
# [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).
# [Dadu042] (2020-06-17 18-00)
#   Keyboard issue again on the same computer. The game does not use vcrun2008 but vcrun2010.
#   Remove vcrun2008
# [Dadu042] (2020-07-02 12-00)
#   Add argument '-d3d9' (seems to remove the few debug lines about DirextX 11). Wrong: it was because of DXVK.
# [Dadu042] (2020-09-08 12-00)
#   Wine 5.0.1 -> 5.0.2. Same 'no keyboard issue'.
#   Note: I reinstalled with OS set as 'winxp' instead of 'win7', after confirming login (window displayed on a black background), the screen does freeze. Tried: Gecko, xmllite.
#
#
# KNOWN ISSUES: 
# - wine 4.0.4, 5.0.2, 5.12: Each time the game does launch, user has to approve the 'Privacy and user agreement'.
# - wine 4.0.4, 4.21-staging 5.0, 5.7, 5.0.1, 5.0.2, 5.10, 5.13-staging, 5.16, 5.17-staging: once the game is started (waiting for new users), keyboard does not work anymore. Tried: xact.
# - 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:

# - wine 4.0.4: Launcher does not launch anything. Run Hyxd.exe instead.
# - (2019-07) Wine 4.0.1, 4.8, 4.11: When starting the game for the first time, the little window where to login (trough Google/Facebook) does not respond. Note: it is possible to workaround the little window by clicking fast at the button at the top right ('Log in via Browser'). 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.2"
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 "winxp"

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


################
#      GPU     #
################
            
# Asking about memory size of graphic card
POL_SetupWindow_VMS $GAME_VMS
             
# Set Graphic Card information keys for wine
POL_Wine_SetVideoDriver
              
# Useful for Nvidia GPUs
# POL_Call POL_Install_physx   # I'm not sure if it works fine (Dadu042, 2020-06)

###############
# Main part   #
###############
      
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 "launcher.exe" "$TITLE - Launcher (do not use: it fail to run)" ""  "-d3d9" "Game;Shooter;"
POL_Shortcut "hyxd.exe" "$TITLE (Hyxd.exe)"  "" "" "Game;Shooter;"
 
# POL_Shortcut_Document "$TITLE" "doc.pdf"

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

POL_System_TmpDelete
POL_SetupWindow_Close
exit 0

Odpowiedzi

Dadu042 Wednesday 9 September 2020 at 18:49
Dadu042
Moderator

Warning

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

Differences

@@ -36,7 +36,8 @@
 # [Dadu042] (2020-07-02 12-00)
 #   Add argument '-d3d9' (seems to remove the few debug lines about DirextX 11). Wrong: it was because of DXVK.
 # [Dadu042] (2020-09-08 12-00)
-#   Wine 5.0.1 -> 5.0.2. Same 'no keyboard issue'. To try: reinstall with OS set as 'winxp' instead of 'win7'.
+#   Wine 5.0.1 -> 5.0.2. Same 'no keyboard issue'.
+#   Note: I reinstall with OS set as 'winxp' instead of 'win7', after confirming login (window displayed on a black background), the screen does freeze. Tried: Gecko, xmllite.
 #
 #
 # KNOWN ISSUES: 

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 versions 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)
#                                              439485-hyxd-1.0.22-overseas-setup.exe (2020-08)
#
# Game based on: DirectX 9 (v43) and 10 (v43), Visual C++ 2010.
#
#
# 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 (seems useless)
# [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).
# [Dadu042] (2020-06-17 18-00)
#   Keyboard issue again on the same computer. The game does not use vcrun2008 but vcrun2010.
#   Remove vcrun2008
# [Dadu042] (2020-07-02 12-00)
#   Add argument '-d3d9' (seems to remove the few debug lines about DirextX 11). Wrong: it was because of DXVK.
# [Dadu042] (2020-09-08 12-00)
#   Wine 5.0.1 -> 5.0.2. Same 'no keyboard issue'.
#   Note: I reinstall with OS set as 'winxp' instead of 'win7', after confirming login (window displayed on a black background), the screen does freeze. Tried: Gecko, xmllite.
#
#
# KNOWN ISSUES: 
# - wine 4.0.4, 5.0.2, 5.12: 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.0.2, 5.10, 5.16: once the game is started (waiting for new users), keyboard does not work anymore. Tried: xact.
# - 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:

# - wine 4.0.4: Launcher does not launch anything. Run Hyxd.exe instead.
# - (2019-07) Wine 4.0.1, 4.8, 4.11: When starting the game for the first time, the little window where to login (trough Google/Facebook) does not respond. Note: it is possible to workaround the little window by clicking fast at the top right, a browser window 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.2"
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 "winxp"

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


################
#      GPU     #
################
            
# Asking about memory size of graphic card
POL_SetupWindow_VMS $GAME_VMS
             
# Set Graphic Card information keys for wine
POL_Wine_SetVideoDriver
              
# Useful for Nvidia GPUs
# POL_Call POL_Install_physx   # I'm not sure if it works fine (Dadu042, 2020-06)

###############
# Main part   #
###############
      
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 "launcher.exe" "$TITLE - Launcher (do not use: it fail to run)" ""  "-d3d9" "Game;Shooter;"
POL_Shortcut "hyxd.exe" "$TITLE (Hyxd.exe)"  "" "" "Game;Shooter;"
 
# POL_Shortcut_Document "$TITLE" "doc.pdf"

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

POL_System_TmpDelete
POL_SetupWindow_Close
exit 0

Odpowiedzi

Dadu042 Wednesday 9 September 2020 at 15:50
Dadu042
Moderator

Warning

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

Differences

@@ -36,22 +36,23 @@
 # [Dadu042] (2020-07-02 12-00)
 #   Add argument '-d3d9' (seems to remove the few debug lines about DirextX 11). Wrong: it was because of DXVK.
 # [Dadu042] (2020-09-08 12-00)
-#   Wine 5.0.1 -> 5.0.2 (not yet tested)
-
+#   Wine 5.0.1 -> 5.0.2. Same 'no keyboard issue'. To try: reinstall with OS set as 'winxp' instead of 'win7'.
+#
+#
 # KNOWN ISSUES: 
-# - This game seems impossible to run without login to Google/Facebook). Tried: msxml4.
-# - 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. Tried: xact
+# - wine 4.0.4, 5.0.2, 5.12: 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.0.2, 5.10, 5.16: once the game is started (waiting for new users), keyboard does not work anymore. Tried: xact.
 # - 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:
-# - wine 4.0.4: Launcher does not launch anything. Run Hyxd.exe instead.
-# - (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
 
+# - wine 4.0.4: Launcher does not launch anything. Run Hyxd.exe instead.
+# - (2019-07) Wine 4.0.1, 4.8, 4.11: When starting the game for the first time, the little window where to login (trough Google/Facebook) does not respond. Note: it is possible to workaround the little window by clicking fast at the top right, a browser window will appear. Fix (2020-05): Wine 4.0.4, 4.21, 5.0
+#
 [ -z "$PLAYONLINUX" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
       
@@ -77,7 +78,7 @@
 POL_Wine_PrefixCreate $WORKING_WINE_VERSION
 POL_System_TmpCreate "$TITLE"
  
-Set_OS "win7"
+Set_OS "winxp"
 
 #######################################
 #  Installing mandatory dependencies  #
@@ -120,7 +121,9 @@
 POL_Shortcut "hyxd.exe" "$TITLE (Hyxd.exe)"  "" "" "Game;Shooter;"
  
 # POL_Shortcut_Document "$TITLE" "doc.pdf"
-  
+
+POL_SetupWindow_message "$(eval_gettext 'WARNING: to avoid to have a huge log file, you should type \ninto Debug flags: fixme-all')" "$TITLE"
+
 POL_System_TmpDelete
 POL_SetupWindow_Close
 exit 0
\ No newline at end of file

New source code

#!/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 versions 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)
#                                              439485-hyxd-1.0.22-overseas-setup.exe (2020-08)
#
# Game based on: DirectX 9 (v43) and 10 (v43), Visual C++ 2010.
#
#
# 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 (seems useless)
# [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).
# [Dadu042] (2020-06-17 18-00)
#   Keyboard issue again on the same computer. The game does not use vcrun2008 but vcrun2010.
#   Remove vcrun2008
# [Dadu042] (2020-07-02 12-00)
#   Add argument '-d3d9' (seems to remove the few debug lines about DirextX 11). Wrong: it was because of DXVK.
# [Dadu042] (2020-09-08 12-00)
#   Wine 5.0.1 -> 5.0.2. Same 'no keyboard issue'. To try: reinstall with OS set as 'winxp' instead of 'win7'.
#
#
# KNOWN ISSUES: 
# - wine 4.0.4, 5.0.2, 5.12: 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.0.2, 5.10, 5.16: once the game is started (waiting for new users), keyboard does not work anymore. Tried: xact.
# - 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:

# - wine 4.0.4: Launcher does not launch anything. Run Hyxd.exe instead.
# - (2019-07) Wine 4.0.1, 4.8, 4.11: When starting the game for the first time, the little window where to login (trough Google/Facebook) does not respond. Note: it is possible to workaround the little window by clicking fast at the top right, a browser window 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.2"
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 "winxp"

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


################
#      GPU     #
################
            
# Asking about memory size of graphic card
POL_SetupWindow_VMS $GAME_VMS
             
# Set Graphic Card information keys for wine
POL_Wine_SetVideoDriver
              
# Useful for Nvidia GPUs
# POL_Call POL_Install_physx   # I'm not sure if it works fine (Dadu042, 2020-06)

###############
# Main part   #
###############
      
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 "launcher.exe" "$TITLE - Launcher (do not use: it fail to run)" ""  "-d3d9" "Game;Shooter;"
POL_Shortcut "hyxd.exe" "$TITLE (Hyxd.exe)"  "" "" "Game;Shooter;"
 
# POL_Shortcut_Document "$TITLE" "doc.pdf"

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

POL_System_TmpDelete
POL_SetupWindow_Close
exit 0

Odpowiedzi

Dadu042 Tuesday 8 September 2020 at 10:15
Dadu042
Moderator

Warning

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

Wiadmości

Update from Wine 5.0.1 to 5.0.2, not tested (i'm starting to).

Differences

@@ -7,8 +7,9 @@
 # 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)
+# Software versions 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)
+#                                              439485-hyxd-1.0.22-overseas-setup.exe (2020-08)
 #
 # Game based on: DirectX 9 (v43) and 10 (v43), Visual C++ 2010.
 #
@@ -34,7 +35,8 @@
 #   Remove vcrun2008
 # [Dadu042] (2020-07-02 12-00)
 #   Add argument '-d3d9' (seems to remove the few debug lines about DirextX 11). Wrong: it was because of DXVK.
-
+# [Dadu042] (2020-09-08 12-00)
+#   Wine 5.0.1 -> 5.0.2 (not yet tested)
 
 # KNOWN ISSUES: 
 # - This game seems impossible to run without login to Google/Facebook). Tried: msxml4.
@@ -55,7 +57,7 @@
       
 TITLE="Knives Out"
 PREFIX="knives_out"
-WORKING_WINE_VERSION="5.0.1"
+WORKING_WINE_VERSION="5.0.2"
 AUTHOR="Dadu042"
 EDITOR="NetEase Games"
 GAME_URL="http://knivesout.163.com"

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 versions 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)
#                                              439485-hyxd-1.0.22-overseas-setup.exe (2020-08)
#
# Game based on: DirectX 9 (v43) and 10 (v43), Visual C++ 2010.
#
#
# 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 (seems useless)
# [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).
# [Dadu042] (2020-06-17 18-00)
#   Keyboard issue again on the same computer. The game does not use vcrun2008 but vcrun2010.
#   Remove vcrun2008
# [Dadu042] (2020-07-02 12-00)
#   Add argument '-d3d9' (seems to remove the few debug lines about DirextX 11). Wrong: it was because of DXVK.
# [Dadu042] (2020-09-08 12-00)
#   Wine 5.0.1 -> 5.0.2 (not yet tested)

# KNOWN ISSUES: 
# - This game seems impossible to run without login to Google/Facebook). Tried: msxml4.
# - 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. Tried: xact
# - 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:
# - wine 4.0.4: Launcher does not launch anything. Run Hyxd.exe instead.
# - (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.2"
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"

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


################
#      GPU     #
################
            
# Asking about memory size of graphic card
POL_SetupWindow_VMS $GAME_VMS
             
# Set Graphic Card information keys for wine
POL_Wine_SetVideoDriver
              
# Useful for Nvidia GPUs
# POL_Call POL_Install_physx   # I'm not sure if it works fine (Dadu042, 2020-06)

###############
# Main part   #
###############
      
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 "launcher.exe" "$TITLE - Launcher (do not use: it fail to run)" ""  "-d3d9" "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

Odpowiedzi

Dadu042 Thursday 2 July 2020 at 17:05
Dadu042
Moderator

Warning

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

Wiadmości

Still unplayable for me.

Differences

@@ -33,7 +33,7 @@
 #   Keyboard issue again on the same computer. The game does not use vcrun2008 but vcrun2010.
 #   Remove vcrun2008
 # [Dadu042] (2020-07-02 12-00)
-#   Add argument '-d3d9' (seems to remove the few debug lines about DirextX 11)
+#   Add argument '-d3d9' (seems to remove the few debug lines about DirextX 11). Wrong: it was because of DXVK.
 
 
 # KNOWN ISSUES: 

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++ 2010.
#
#
# 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 (seems useless)
# [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).
# [Dadu042] (2020-06-17 18-00)
#   Keyboard issue again on the same computer. The game does not use vcrun2008 but vcrun2010.
#   Remove vcrun2008
# [Dadu042] (2020-07-02 12-00)
#   Add argument '-d3d9' (seems to remove the few debug lines about DirextX 11). Wrong: it was because of DXVK.


# KNOWN ISSUES: 
# - This game seems impossible to run without login to Google/Facebook). Tried: msxml4.
# - 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. Tried: xact
# - 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:
# - wine 4.0.4: Launcher does not launch anything. Run Hyxd.exe instead.
# - (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"

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


################
#      GPU     #
################
            
# Asking about memory size of graphic card
POL_SetupWindow_VMS $GAME_VMS
             
# Set Graphic Card information keys for wine
POL_Wine_SetVideoDriver
              
# Useful for Nvidia GPUs
# POL_Call POL_Install_physx   # I'm not sure if it works fine (Dadu042, 2020-06)

###############
# Main part   #
###############
      
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 "launcher.exe" "$TITLE - Launcher (do not use: it fail to run)" ""  "-d3d9" "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

Odpowiedzi

Thursday 2 July 2020 at 17:06
I tried: vcrun2008, 2010, wine 5.7, 5.9, 5.10-staging, proton 4.2. .....
Dadu042 Thursday 2 July 2020 at 13:35
Dadu042
Moderator

Warning

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

Wiadmości

Same keyboard issue with Wine 5.11, this is why I switch back to 5.0.1 ...

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), Visual C++ 2008.
+# Game based on: DirectX 9 (v43) and 10 (v43), Visual C++ 2010.
 #
 #
 # CHANGELOG:
@@ -25,16 +25,21 @@
 # [Dadu042] (2020-06-10 18-00)
 #   64 bits -> 32 bits
 #   Wine 5.0 -> 5.0.1
-#   Disable wininet and vcrun2010
+#   Disable wininet and vcrun2010 (seems useless)
 # [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).
+# [Dadu042] (2020-06-17 18-00)
+#   Keyboard issue again on the same computer. The game does not use vcrun2008 but vcrun2010.
+#   Remove vcrun2008
+# [Dadu042] (2020-07-02 12-00)
+#   Add argument '-d3d9' (seems to remove the few debug lines about DirextX 11)
+
 
 # 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.
+# - This game seems impossible to run without login to Google/Facebook). Tried: msxml4.
 # - 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, 5.0.1, 5.10: once the game is started (waiting for new users), keyboard does not work anymore. Tried: xact
 # - 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,6 +47,7 @@
 #       issue related to ?: https://bugs.winehq.org/show_bug.cgi?id=37868
 
 # KNOWN ISSUES FIXED:
+# - wine 4.0.4: Launcher does not launch anything. Run Hyxd.exe instead.
 # - (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
@@ -49,7 +55,7 @@
       
 TITLE="Knives Out"
 PREFIX="knives_out"
-WORKING_WINE_VERSION="5.10"
+WORKING_WINE_VERSION="5.0.1"
 AUTHOR="Dadu042"
 EDITOR="NetEase Games"
 GAME_URL="http://knivesout.163.com"
@@ -70,27 +76,31 @@
 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
-
 
+#######################################
+#  Installing mandatory dependencies  #
+#######################################
+ 
 # 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
- 
+
+################
+#      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   # I'm not sure if it works fine (Dadu042, 2020-06)
+
 ###############
-# Go          #
+# Main part   #
 ###############
       
 POL_SetupWindow_InstallMethod "LOCAL"
@@ -104,8 +114,7 @@
         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 "launcher.exe" "$TITLE - Launcher (do not use: it fail to run)" ""  "-d3d9" "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++ 2010.
#
#
# 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 (seems useless)
# [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).
# [Dadu042] (2020-06-17 18-00)
#   Keyboard issue again on the same computer. The game does not use vcrun2008 but vcrun2010.
#   Remove vcrun2008
# [Dadu042] (2020-07-02 12-00)
#   Add argument '-d3d9' (seems to remove the few debug lines about DirextX 11)


# KNOWN ISSUES: 
# - This game seems impossible to run without login to Google/Facebook). Tried: msxml4.
# - 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. Tried: xact
# - 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:
# - wine 4.0.4: Launcher does not launch anything. Run Hyxd.exe instead.
# - (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"

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


################
#      GPU     #
################
            
# Asking about memory size of graphic card
POL_SetupWindow_VMS $GAME_VMS
             
# Set Graphic Card information keys for wine
POL_Wine_SetVideoDriver
              
# Useful for Nvidia GPUs
# POL_Call POL_Install_physx   # I'm not sure if it works fine (Dadu042, 2020-06)

###############
# Main part   #
###############
      
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 "launcher.exe" "$TITLE - Launcher (do not use: it fail to run)" ""  "-d3d9" "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

Odpowiedzi

Dadu042 Wednesday 17 June 2020 at 17:17
Dadu042
Moderator

Warning

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

Wiadmości


 

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

Odpowiedzi

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

Wiadmości

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

Odpowiedzi

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

Wiadmości

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

Odpowiedzi

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

Odpowiedzi

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

Wiadmości

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

Odpowiedzi

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

Odpowiedzi

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

Odpowiedzi

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

Wiadmości

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

Odpowiedzi

Edytowane przez Dadu042