Identity V

Informations

Creator Message
Dadu042
Moderator

Warning

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

Informations

Platforms:
Downloads: 58
Wine: 5.0.2

Feedbacks

Description

Asymmetrical horror (adventure) game with a gothic art style, 2018. Website. Wikipedia. File size: 3 GB.

Screenshots

MiniatureMiniatureMiniature

Source code

#!/bin/bash
# Date : (2019-09-15)
# Last revision : See changelog
# Wine version used : see below
# Distribution used to test : Ubuntu 18.04 x64 (Linux kernel v5.4)
# Script licence : GPL3
# Program licence : Retail
# Playonlinux version used : 4.3.4
#
# Software version used to write this script:
#        - identityv_setup_release_oversea_0828.exe (2020-09, 'Game Version: 1.0.402277')
#
# Software based on: DirectX 9, Messiah Game Engine ?
#
# CHANGELOG
# [Dadu042] (2019-09-15 09-00)
#   Initial writting.
#
# KNOWN ISSUES:
#   Wine amd64 5.0.2: The EULA is not displayed correctly (squares instead of characters). Tried: corefonts, POL_Install_RegisterFonts.
#   Wine amd64 5.0.2: the game fail to launch after login with a Gmail account (via 'Login using a browser'). Fix: login gmail, then select Android.
#   Wine amd64 5.0.2: installing crypt32 component does prevent the game to launch.
#
#
# KNOWN ISSUES (FIXED):
 
 
[ -z "$PLAYONLINUX" ] && exit 0
source "$PLAYONLINUX/lib/sources"
   
TITLE="Identity V"
PREFIX="IdentityV"
EDITOR="NetEase Games"
WORKING_WINE_VERSION="5.0.2"
AUTHOR="Dadu042"
GAME_VMS="1024"
GAME_URL="http://idv.163.com/"
      
POL_SetupWindow_Init
POL_Debug_Init
     
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
     
POL_RequiredVersion 4.3.0 || POL_Debug_Fatal "$TITLE won't work with $APPLICATION_TITLE $VERSION\nPlease update."
     
POL_Wine_SelectPrefix "$PREFIX"
POL_System_SetArch "auto"
# POL_System_SetArch "x86"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
POL_System_TmpCreate "$TITLE"
 
Set_OS "win7"
 
#######################################
#  Installing mandatory dependencies  #
#######################################

# Trying to display the license agreement (otherwise there characters are squares).
#  POL_Call POL_Install_corefonts       # useless
#  POL_Call POL_Install_RegisterFonts   # useless
#  POL_Call POL_Internal_InstallFonts   # useless


# This make more mess than help.
# POL_Call POL_Install_crypt32

# Useless to remove those debug lines:   fixme:d3d9:shader_validator_Instruction iface 
# 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
 
 
#######################################
#  Main part of this script           #
#######################################
 
# POL_SetupWindow_message "IMPORTANT: Do finish the installation before to try to play." "$TITLE"
 
        cd "$HOME"
        POL_SetupWindow_browse "Please select the .EXE file:" "$TITLE"
        SETUP_EXE="$APP_ANSWER"
        POL_Wine start /unix "$SETUP_EXE"
        POL_Wine_WaitExit "$TITLE"
#        cd "$POL_System_TmpDir"

    
POL_Shortcut "dwrg.exe" "$TITLE" "" "" "Game;AdventureGame;"

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

POL_System_TmpDelete
POL_SetupWindow_Close
exit 0

Contributions

Filters:

Contribute
Member Message
Dadu042 Tuesday 15 September 2020 at 21:30
Dadu042
Moderator

Information

This update has been approved by the team.

Differences

@@ -68,10 +68,6 @@
 # POL_Call POL_Install_d3dx9_43
 # POL_Call POL_Install_d3dcompiler_43
 
-# POL_Call POL_Install_d3dx9
-
-# POL_Call POL_Install_vcrun2010
-# POL_Call POL_Install_wininet
 
 ################
 #      GPU     #
@@ -101,7 +97,7 @@
 #        cd "$POL_System_TmpDir"
 
     
-POL_Shortcut "dwrg.exe" "$TITLE" "" "" "Game;ActionGame;"
+POL_Shortcut "dwrg.exe" "$TITLE" "" "" "Game;AdventureGame;"
 
 POL_SetupWindow_message "$(eval_gettext 'WARNING: to avoid to get a huge log file, you should type \ninto Debug flags: fixme-all')" "$TITLE"
 

New source code

#!/bin/bash
# Date : (2019-09-15)
# Last revision : See changelog
# Wine version used : see below
# Distribution used to test : Ubuntu 18.04 x64 (Linux kernel v5.4)
# Script licence : GPL3
# Program licence : Retail
# Playonlinux version used : 4.3.4
#
# Software version used to write this script:
#        - identityv_setup_release_oversea_0828.exe (2020-09, 'Game Version: 1.0.402277')
#
# Software based on: DirectX 9, Messiah Game Engine ?
#
# CHANGELOG
# [Dadu042] (2019-09-15 09-00)
#   Initial writting.
#
# KNOWN ISSUES:
#   Wine amd64 5.0.2: The EULA is not displayed correctly (squares instead of characters). Tried: corefonts, POL_Install_RegisterFonts.
#   Wine amd64 5.0.2: the game fail to launch after login with a Gmail account (via 'Login using a browser'). Fix: login gmail, then select Android.
#   Wine amd64 5.0.2: installing crypt32 component does prevent the game to launch.
#
#
# KNOWN ISSUES (FIXED):
 
 
[ -z "$PLAYONLINUX" ] && exit 0
source "$PLAYONLINUX/lib/sources"
   
TITLE="Identity V"
PREFIX="IdentityV"
EDITOR="NetEase Games"
WORKING_WINE_VERSION="5.0.2"
AUTHOR="Dadu042"
GAME_VMS="1024"
GAME_URL="http://idv.163.com/"
      
POL_SetupWindow_Init
POL_Debug_Init
     
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
     
POL_RequiredVersion 4.3.0 || POL_Debug_Fatal "$TITLE won't work with $APPLICATION_TITLE $VERSION\nPlease update."
     
POL_Wine_SelectPrefix "$PREFIX"
POL_System_SetArch "auto"
# POL_System_SetArch "x86"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
POL_System_TmpCreate "$TITLE"
 
Set_OS "win7"
 
#######################################
#  Installing mandatory dependencies  #
#######################################

# Trying to display the license agreement (otherwise there characters are squares).
#  POL_Call POL_Install_corefonts       # useless
#  POL_Call POL_Install_RegisterFonts   # useless
#  POL_Call POL_Internal_InstallFonts   # useless


# This make more mess than help.
# POL_Call POL_Install_crypt32

# Useless to remove those debug lines:   fixme:d3d9:shader_validator_Instruction iface 
# 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
 
 
#######################################
#  Main part of this script           #
#######################################
 
# POL_SetupWindow_message "IMPORTANT: Do finish the installation before to try to play." "$TITLE"
 
        cd "$HOME"
        POL_SetupWindow_browse "Please select the .EXE file:" "$TITLE"
        SETUP_EXE="$APP_ANSWER"
        POL_Wine start /unix "$SETUP_EXE"
        POL_Wine_WaitExit "$TITLE"
#        cd "$POL_System_TmpDir"

    
POL_Shortcut "dwrg.exe" "$TITLE" "" "" "Game;AdventureGame;"

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

POL_System_TmpDelete
POL_SetupWindow_Close
exit 0

Replies

Dadu042 Tuesday 15 September 2020 at 21:21
Dadu042
Moderator

Warning

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

Message

I have play the tutorial for 15 min.

Differences

@@ -17,8 +17,8 @@
 #   Initial writting.
 #
 # KNOWN ISSUES:
-#   Wine amd64 5.0.2: The EULA is not displayed correctly (squares instead of characters). Tried: corefonts.
-#   Wine amd64 5.0.2: the game fail to launch after login with a Gmail account (via 'Login using a browser').
+#   Wine amd64 5.0.2: The EULA is not displayed correctly (squares instead of characters). Tried: corefonts, POL_Install_RegisterFonts.
+#   Wine amd64 5.0.2: the game fail to launch after login with a Gmail account (via 'Login using a browser'). Fix: login gmail, then select Android.
 #   Wine amd64 5.0.2: installing crypt32 component does prevent the game to launch.
 #
 #
@@ -33,8 +33,8 @@
 EDITOR="NetEase Games"
 WORKING_WINE_VERSION="5.0.2"
 AUTHOR="Dadu042"
-GAME_VMS="512"
-GAME_URL=""
+GAME_VMS="1024"
+GAME_URL="http://idv.163.com/"
       
 POL_SetupWindow_Init
 POL_Debug_Init
@@ -55,16 +55,18 @@
 #  Installing mandatory dependencies  #
 #######################################
 
-# To try to display the license agreement (otherwise there is squares)
-# POL_Call POL_Install_corefonts
-# POL_Call POL_Install_RegisterFonts
+# Trying to display the license agreement (otherwise there characters are squares).
+#  POL_Call POL_Install_corefonts       # useless
+#  POL_Call POL_Install_RegisterFonts   # useless
+#  POL_Call POL_Internal_InstallFonts   # useless
 
 
 # This make more mess than help.
 # POL_Call POL_Install_crypt32
 
-POL_Call POL_Install_d3dx9_43
-POL_Call POL_Install_d3dcompiler_43
+# Useless to remove those debug lines:   fixme:d3d9:shader_validator_Instruction iface 
+# POL_Call POL_Install_d3dx9_43
+# POL_Call POL_Install_d3dcompiler_43
 
 # POL_Call POL_Install_d3dx9
 
@@ -89,7 +91,7 @@
 #  Main part of this script           #
 #######################################
  
-POL_SetupWindow_message "IMPORTANT: Do finish the installation before to try to play." "$TITLE"
+# POL_SetupWindow_message "IMPORTANT: Do finish the installation before to try to play." "$TITLE"
  
         cd "$HOME"
         POL_SetupWindow_browse "Please select the .EXE file:" "$TITLE"

New source code

#!/bin/bash
# Date : (2019-09-15)
# Last revision : See changelog
# Wine version used : see below
# Distribution used to test : Ubuntu 18.04 x64 (Linux kernel v5.4)
# Script licence : GPL3
# Program licence : Retail
# Playonlinux version used : 4.3.4
#
# Software version used to write this script:
#        - identityv_setup_release_oversea_0828.exe (2020-09, 'Game Version: 1.0.402277')
#
# Software based on: DirectX 9, Messiah Game Engine ?
#
# CHANGELOG
# [Dadu042] (2019-09-15 09-00)
#   Initial writting.
#
# KNOWN ISSUES:
#   Wine amd64 5.0.2: The EULA is not displayed correctly (squares instead of characters). Tried: corefonts, POL_Install_RegisterFonts.
#   Wine amd64 5.0.2: the game fail to launch after login with a Gmail account (via 'Login using a browser'). Fix: login gmail, then select Android.
#   Wine amd64 5.0.2: installing crypt32 component does prevent the game to launch.
#
#
# KNOWN ISSUES (FIXED):
 
 
[ -z "$PLAYONLINUX" ] && exit 0
source "$PLAYONLINUX/lib/sources"
   
TITLE="Identity V"
PREFIX="IdentityV"
EDITOR="NetEase Games"
WORKING_WINE_VERSION="5.0.2"
AUTHOR="Dadu042"
GAME_VMS="1024"
GAME_URL="http://idv.163.com/"
      
POL_SetupWindow_Init
POL_Debug_Init
     
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
     
POL_RequiredVersion 4.3.0 || POL_Debug_Fatal "$TITLE won't work with $APPLICATION_TITLE $VERSION\nPlease update."
     
POL_Wine_SelectPrefix "$PREFIX"
POL_System_SetArch "auto"
# POL_System_SetArch "x86"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
POL_System_TmpCreate "$TITLE"
 
Set_OS "win7"
 
#######################################
#  Installing mandatory dependencies  #
#######################################

# Trying to display the license agreement (otherwise there characters are squares).
#  POL_Call POL_Install_corefonts       # useless
#  POL_Call POL_Install_RegisterFonts   # useless
#  POL_Call POL_Internal_InstallFonts   # useless


# This make more mess than help.
# POL_Call POL_Install_crypt32

# Useless to remove those debug lines:   fixme:d3d9:shader_validator_Instruction iface 
# POL_Call POL_Install_d3dx9_43
# POL_Call POL_Install_d3dcompiler_43

# POL_Call POL_Install_d3dx9

# POL_Call POL_Install_vcrun2010
# POL_Call POL_Install_wininet

################
#      GPU     #
################
           
# Asking about memory size of graphic card
POL_SetupWindow_VMS $GAME_VMS
            
# Set Graphic Card information keys for wine
POL_Wine_SetVideoDriver
             
# Useful for Nvidia GPUs
POL_Call POL_Install_physx
 
 
#######################################
#  Main part of this script           #
#######################################
 
# POL_SetupWindow_message "IMPORTANT: Do finish the installation before to try to play." "$TITLE"
 
        cd "$HOME"
        POL_SetupWindow_browse "Please select the .EXE file:" "$TITLE"
        SETUP_EXE="$APP_ANSWER"
        POL_Wine start /unix "$SETUP_EXE"
        POL_Wine_WaitExit "$TITLE"
#        cd "$POL_System_TmpDir"

    
POL_Shortcut "dwrg.exe" "$TITLE" "" "" "Game;ActionGame;"

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

POL_System_TmpDelete
POL_SetupWindow_Close
exit 0

Replies

Dadu042 Tuesday 15 September 2020 at 18:50
Dadu042
Moderator

Warning

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

Differences

@@ -56,10 +56,13 @@
 #######################################
 
 # To try to display the license agreement (otherwise there is squares)
-POL_Call POL_Install_corefonts
+# POL_Call POL_Install_corefonts
+# POL_Call POL_Install_RegisterFonts
 
 
-POL_Call POL_Install_crypt32
+# This make more mess than help.
+# POL_Call POL_Install_crypt32
+
 POL_Call POL_Install_d3dx9_43
 POL_Call POL_Install_d3dcompiler_43
 

New source code

#!/bin/bash
# Date : (2019-09-15)
# Last revision : See changelog
# Wine version used : see below
# Distribution used to test : Ubuntu 18.04 x64 (Linux kernel v5.4)
# Script licence : GPL3
# Program licence : Retail
# Playonlinux version used : 4.3.4
#
# Software version used to write this script:
#        - identityv_setup_release_oversea_0828.exe (2020-09, 'Game Version: 1.0.402277')
#
# Software based on: DirectX 9, Messiah Game Engine ?
#
# CHANGELOG
# [Dadu042] (2019-09-15 09-00)
#   Initial writting.
#
# KNOWN ISSUES:
#   Wine amd64 5.0.2: The EULA is not displayed correctly (squares instead of characters). Tried: corefonts.
#   Wine amd64 5.0.2: the game fail to launch after login with a Gmail account (via 'Login using a browser').
#   Wine amd64 5.0.2: installing crypt32 component does prevent the game to launch.
#
#
# KNOWN ISSUES (FIXED):
 
 
[ -z "$PLAYONLINUX" ] && exit 0
source "$PLAYONLINUX/lib/sources"
   
TITLE="Identity V"
PREFIX="IdentityV"
EDITOR="NetEase Games"
WORKING_WINE_VERSION="5.0.2"
AUTHOR="Dadu042"
GAME_VMS="512"
GAME_URL=""
      
POL_SetupWindow_Init
POL_Debug_Init
     
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
     
POL_RequiredVersion 4.3.0 || POL_Debug_Fatal "$TITLE won't work with $APPLICATION_TITLE $VERSION\nPlease update."
     
POL_Wine_SelectPrefix "$PREFIX"
POL_System_SetArch "auto"
# POL_System_SetArch "x86"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
POL_System_TmpCreate "$TITLE"
 
Set_OS "win7"
 
#######################################
#  Installing mandatory dependencies  #
#######################################

# To try to display the license agreement (otherwise there is squares)
# POL_Call POL_Install_corefonts
# POL_Call POL_Install_RegisterFonts


# This make more mess than help.
# POL_Call POL_Install_crypt32

POL_Call POL_Install_d3dx9_43
POL_Call POL_Install_d3dcompiler_43

# POL_Call POL_Install_d3dx9

# POL_Call POL_Install_vcrun2010
# POL_Call POL_Install_wininet

################
#      GPU     #
################
           
# Asking about memory size of graphic card
POL_SetupWindow_VMS $GAME_VMS
            
# Set Graphic Card information keys for wine
POL_Wine_SetVideoDriver
             
# Useful for Nvidia GPUs
POL_Call POL_Install_physx
 
 
#######################################
#  Main part of this script           #
#######################################
 
POL_SetupWindow_message "IMPORTANT: Do finish the installation before to try to play." "$TITLE"
 
        cd "$HOME"
        POL_SetupWindow_browse "Please select the .EXE file:" "$TITLE"
        SETUP_EXE="$APP_ANSWER"
        POL_Wine start /unix "$SETUP_EXE"
        POL_Wine_WaitExit "$TITLE"
#        cd "$POL_System_TmpDir"

    
POL_Shortcut "dwrg.exe" "$TITLE" "" "" "Game;ActionGame;"

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

POL_System_TmpDelete
POL_SetupWindow_Close
exit 0

Replies

Dadu042 Tuesday 15 September 2020 at 13:04
Dadu042
Moderator

Warning

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

Differences

@@ -17,6 +17,7 @@
 #   Initial writting.
 #
 # KNOWN ISSUES:
+#   Wine amd64 5.0.2: The EULA is not displayed correctly (squares instead of characters). Tried: corefonts.
 #   Wine amd64 5.0.2: the game fail to launch after login with a Gmail account (via 'Login using a browser').
 #   Wine amd64 5.0.2: installing crypt32 component does prevent the game to launch.
 #
@@ -85,25 +86,15 @@
 #  Main part of this script           #
 #######################################
  
-POL_SetupWindow_InstallMethod "LOCAL"
- 
 POL_SetupWindow_message "IMPORTANT: Do finish the installation before to try to play." "$TITLE"
  
-if [ "$INSTALL_METHOD" = "LOCAL" ]
-then
         cd "$HOME"
         POL_SetupWindow_browse "Please select the .EXE file:" "$TITLE"
         SETUP_EXE="$APP_ANSWER"
         POL_Wine start /unix "$SETUP_EXE"
         POL_Wine_WaitExit "$TITLE"
-        cd "$POL_System_TmpDir"
- 
-elif [ "$INSTALL_METHOD" = "DOWNLOAD" ]
-then
-        cd "$POL_System_TmpDir"
-        POL_Download ""
-        INSTALLER="$POL_System_TmpDir/setup.exe"
-fi
+#        cd "$POL_System_TmpDir"
+
     
 POL_Shortcut "dwrg.exe" "$TITLE" "" "" "Game;ActionGame;"
 

New source code

#!/bin/bash
# Date : (2019-09-15)
# Last revision : See changelog
# Wine version used : see below
# Distribution used to test : Ubuntu 18.04 x64 (Linux kernel v5.4)
# Script licence : GPL3
# Program licence : Retail
# Playonlinux version used : 4.3.4
#
# Software version used to write this script:
#        - identityv_setup_release_oversea_0828.exe (2020-09, 'Game Version: 1.0.402277')
#
# Software based on: DirectX 9, Messiah Game Engine ?
#
# CHANGELOG
# [Dadu042] (2019-09-15 09-00)
#   Initial writting.
#
# KNOWN ISSUES:
#   Wine amd64 5.0.2: The EULA is not displayed correctly (squares instead of characters). Tried: corefonts.
#   Wine amd64 5.0.2: the game fail to launch after login with a Gmail account (via 'Login using a browser').
#   Wine amd64 5.0.2: installing crypt32 component does prevent the game to launch.
#
#
# KNOWN ISSUES (FIXED):
 
 
[ -z "$PLAYONLINUX" ] && exit 0
source "$PLAYONLINUX/lib/sources"
   
TITLE="Identity V"
PREFIX="IdentityV"
EDITOR="NetEase Games"
WORKING_WINE_VERSION="5.0.2"
AUTHOR="Dadu042"
GAME_VMS="512"
GAME_URL=""
      
POL_SetupWindow_Init
POL_Debug_Init
     
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
     
POL_RequiredVersion 4.3.0 || POL_Debug_Fatal "$TITLE won't work with $APPLICATION_TITLE $VERSION\nPlease update."
     
POL_Wine_SelectPrefix "$PREFIX"
POL_System_SetArch "auto"
# POL_System_SetArch "x86"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
POL_System_TmpCreate "$TITLE"
 
Set_OS "win7"
 
#######################################
#  Installing mandatory dependencies  #
#######################################

# To try to display the license agreement (otherwise there is squares)
POL_Call POL_Install_corefonts


POL_Call POL_Install_crypt32
POL_Call POL_Install_d3dx9_43
POL_Call POL_Install_d3dcompiler_43

# POL_Call POL_Install_d3dx9

# POL_Call POL_Install_vcrun2010
# POL_Call POL_Install_wininet

################
#      GPU     #
################
           
# Asking about memory size of graphic card
POL_SetupWindow_VMS $GAME_VMS
            
# Set Graphic Card information keys for wine
POL_Wine_SetVideoDriver
             
# Useful for Nvidia GPUs
POL_Call POL_Install_physx
 
 
#######################################
#  Main part of this script           #
#######################################
 
POL_SetupWindow_message "IMPORTANT: Do finish the installation before to try to play." "$TITLE"
 
        cd "$HOME"
        POL_SetupWindow_browse "Please select the .EXE file:" "$TITLE"
        SETUP_EXE="$APP_ANSWER"
        POL_Wine start /unix "$SETUP_EXE"
        POL_Wine_WaitExit "$TITLE"
#        cd "$POL_System_TmpDir"

    
POL_Shortcut "dwrg.exe" "$TITLE" "" "" "Game;ActionGame;"

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

POL_System_TmpDelete
POL_SetupWindow_Close
exit 0

Replies

Dadu042 Tuesday 15 September 2020 at 12:58
Dadu042
Moderator

Warning

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

Message

Can't run it after login.

Differences

@@ -0,0 +1,114 @@
+#!/bin/bash
+# Date : (2019-09-15)
+# Last revision : See changelog
+# Wine version used : see below
+# Distribution used to test : Ubuntu 18.04 x64 (Linux kernel v5.4)
+# Script licence : GPL3
+# Program licence : Retail
+# Playonlinux version used : 4.3.4
+#
+# Software version used to write this script:
+#        - identityv_setup_release_oversea_0828.exe (2020-09, 'Game Version: 1.0.402277')
+#
+# Software based on: DirectX 9, Messiah Game Engine ?
+#
+# CHANGELOG
+# [Dadu042] (2019-09-15 09-00)
+#   Initial writting.
+#
+# KNOWN ISSUES:
+#   Wine amd64 5.0.2: the game fail to launch after login with a Gmail account (via 'Login using a browser').
+#   Wine amd64 5.0.2: installing crypt32 component does prevent the game to launch.
+#
+#
+# KNOWN ISSUES (FIXED):
+ 
+ 
+[ -z "$PLAYONLINUX" ] && exit 0
+source "$PLAYONLINUX/lib/sources"
+   
+TITLE="Identity V"
+PREFIX="IdentityV"
+EDITOR="NetEase Games"
+WORKING_WINE_VERSION="5.0.2"
+AUTHOR="Dadu042"
+GAME_VMS="512"
+GAME_URL=""
+      
+POL_SetupWindow_Init
+POL_Debug_Init
+     
+POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
+     
+POL_RequiredVersion 4.3.0 || POL_Debug_Fatal "$TITLE won't work with $APPLICATION_TITLE $VERSION\nPlease update."
+     
+POL_Wine_SelectPrefix "$PREFIX"
+POL_System_SetArch "auto"
+# POL_System_SetArch "x86"
+POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
+POL_System_TmpCreate "$TITLE"
+ 
+Set_OS "win7"
+ 
+#######################################
+#  Installing mandatory dependencies  #
+#######################################
+
+# To try to display the license agreement (otherwise there is squares)
+POL_Call POL_Install_corefonts
+
+
+POL_Call POL_Install_crypt32
+POL_Call POL_Install_d3dx9_43
+POL_Call POL_Install_d3dcompiler_43
+
+# POL_Call POL_Install_d3dx9
+
+# POL_Call POL_Install_vcrun2010
+# POL_Call POL_Install_wininet
+
+################
+#      GPU     #
+################
+           
+# Asking about memory size of graphic card
+POL_SetupWindow_VMS $GAME_VMS
+            
+# Set Graphic Card information keys for wine
+POL_Wine_SetVideoDriver
+             
+# Useful for Nvidia GPUs
+POL_Call POL_Install_physx
+ 
+ 
+#######################################
+#  Main part of this script           #
+#######################################
+ 
+POL_SetupWindow_InstallMethod "LOCAL"
+ 
+POL_SetupWindow_message "IMPORTANT: Do finish the installation before to try to play." "$TITLE"
+ 
+if [ "$INSTALL_METHOD" = "LOCAL" ]
+then
+        cd "$HOME"
+        POL_SetupWindow_browse "Please select the .EXE file:" "$TITLE"
+        SETUP_EXE="$APP_ANSWER"
+        POL_Wine start /unix "$SETUP_EXE"
+        POL_Wine_WaitExit "$TITLE"
+        cd "$POL_System_TmpDir"
+ 
+elif [ "$INSTALL_METHOD" = "DOWNLOAD" ]
+then
+        cd "$POL_System_TmpDir"
+        POL_Download ""
+        INSTALLER="$POL_System_TmpDir/setup.exe"
+fi
+    
+POL_Shortcut "dwrg.exe" "$TITLE" "" "" "Game;ActionGame;"
+
+POL_SetupWindow_message "$(eval_gettext 'WARNING: to avoid to get a huge log file, you should type \ninto Debug flags: fixme-all')" "$TITLE"
+
+POL_System_TmpDelete
+POL_SetupWindow_Close
+exit 0
\ No newline at end of file

New source code

#!/bin/bash
# Date : (2019-09-15)
# Last revision : See changelog
# Wine version used : see below
# Distribution used to test : Ubuntu 18.04 x64 (Linux kernel v5.4)
# Script licence : GPL3
# Program licence : Retail
# Playonlinux version used : 4.3.4
#
# Software version used to write this script:
#        - identityv_setup_release_oversea_0828.exe (2020-09, 'Game Version: 1.0.402277')
#
# Software based on: DirectX 9, Messiah Game Engine ?
#
# CHANGELOG
# [Dadu042] (2019-09-15 09-00)
#   Initial writting.
#
# KNOWN ISSUES:
#   Wine amd64 5.0.2: the game fail to launch after login with a Gmail account (via 'Login using a browser').
#   Wine amd64 5.0.2: installing crypt32 component does prevent the game to launch.
#
#
# KNOWN ISSUES (FIXED):
 
 
[ -z "$PLAYONLINUX" ] && exit 0
source "$PLAYONLINUX/lib/sources"
   
TITLE="Identity V"
PREFIX="IdentityV"
EDITOR="NetEase Games"
WORKING_WINE_VERSION="5.0.2"
AUTHOR="Dadu042"
GAME_VMS="512"
GAME_URL=""
      
POL_SetupWindow_Init
POL_Debug_Init
     
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
     
POL_RequiredVersion 4.3.0 || POL_Debug_Fatal "$TITLE won't work with $APPLICATION_TITLE $VERSION\nPlease update."
     
POL_Wine_SelectPrefix "$PREFIX"
POL_System_SetArch "auto"
# POL_System_SetArch "x86"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
POL_System_TmpCreate "$TITLE"
 
Set_OS "win7"
 
#######################################
#  Installing mandatory dependencies  #
#######################################

# To try to display the license agreement (otherwise there is squares)
POL_Call POL_Install_corefonts


POL_Call POL_Install_crypt32
POL_Call POL_Install_d3dx9_43
POL_Call POL_Install_d3dcompiler_43

# POL_Call POL_Install_d3dx9

# POL_Call POL_Install_vcrun2010
# POL_Call POL_Install_wininet

################
#      GPU     #
################
           
# Asking about memory size of graphic card
POL_SetupWindow_VMS $GAME_VMS
            
# Set Graphic Card information keys for wine
POL_Wine_SetVideoDriver
             
# Useful for Nvidia GPUs
POL_Call POL_Install_physx
 
 
#######################################
#  Main part of this script           #
#######################################
 
POL_SetupWindow_InstallMethod "LOCAL"
 
POL_SetupWindow_message "IMPORTANT: Do finish the installation before to try to play." "$TITLE"
 
if [ "$INSTALL_METHOD" = "LOCAL" ]
then
        cd "$HOME"
        POL_SetupWindow_browse "Please select the .EXE file:" "$TITLE"
        SETUP_EXE="$APP_ANSWER"
        POL_Wine start /unix "$SETUP_EXE"
        POL_Wine_WaitExit "$TITLE"
        cd "$POL_System_TmpDir"
 
elif [ "$INSTALL_METHOD" = "DOWNLOAD" ]
then
        cd "$POL_System_TmpDir"
        POL_Download ""
        INSTALLER="$POL_System_TmpDir/setup.exe"
fi
    
POL_Shortcut "dwrg.exe" "$TITLE" "" "" "Game;ActionGame;"

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

POL_System_TmpDelete
POL_SetupWindow_Close
exit 0

Replies