Genshin Impact
Informations
Créateur | Messages |
---|---|
Dadu042
|
AttentionThis installer is a beta script. It means that it might not work as expected InformationsPlate-formes : Retours d'expérience4 8 DescriptionFree to play MMORPG, 2020. Wikipedia, website. Size to download: 12 GB. Warning: this is only a stub. Known issues (2020-10): 1. Anti cheat feature: when clicking 'Play' (yellow button) the window just does reduce in the task bar. Fix: do install the specific patch we made. 2. Bad 3D rendering (example: our blue screenshot): installing the component DXVK (after the game) can help. 3. Crashes as soon as the game tries to launch. Upgrading Wine version can help (ie: 5.19-staging). 4. 'Error code: 31-4302': end of compatibility ? temporary server error ? (2020-11-04). Coders and hackers are welcome at this website. Captures d'écranCode source#!/bin/bash # Date : (2020-09-29) # Last revision : see the changelog below # Wine version used : see the changelog below # Distribution used to test : XUbuntu 18.04 64 bits (Linux kernel v5.4.0). GPU: AMD Vega 11. # Author : Dadu042 # Licence : Retail # Only For : http://www.playonlinux.com # # TESTED Editions: Launcher v2.3.3.0 (GenshinImpact_install_20200911204035.exe) # v2.3.4.0 (GenshinImpact_install_20201014173947.exe). Game (login screen): OSRELWin1.0.1_R1135452_S1135452_D1135370. # # Middlewares used by this software : Unity 2017, vcrun2013, vcrun2015, QT5, DirectX 11. # # # CHANGELOG # [Dadu042] (2020-09-29 10-00). # Initial script. Game fail to run because of the anti cheat software (mhyprot2.sys), that want admin rights. # [Dadu042] (2020-10-25 10-00). # Update the file installer URL. # [Dadu042] (2020-10-25 20-00). # Wine 5.0.2 -> 5.19-staging (because I have got some crashes some seconds afeer the game did start). # [Dadu042] (2022-06-21 20-00). # Wine 5.19-staging -> 6.0.1 (not tested, just to avoid users to download 5.19-staging). # # KNOWN ISSUES : # Anti-cheat issue: # - Wine amd64 4.21, 5.0.2, 5.11-staging, 5.16, 5.18-staging: when clicking 'Play' (yellow button) the window just does reduce in the task bar. Tried: set OS to Win7/8/10. Enable game auto update, wininet. # Download file from: http://www.dll-found.com/wdfldr.sys_download.html copy to /home/YourUserName/PlayOnLinux's virtual drives/Genshin_Impact/drive_c/users/theuser/Temp/ and into the game folder, copied also in uppercase. # # Tried: copying wdfldr.sys (set as Native) and WDFLDR.SYS into '/drive_c/windows/system32/'. # # Immediate Wine 5.0.2 debug log is: # 0198:fixme:heap:RtlSetHeapInformation 0x570000 0 0x22db80 4 stub # 0198:fixme:heap:EnumSystemFirmwareTables (0x4649524d, 0000000000000000, 0) # 0198:fixme:heap:RtlSetHeapInformation 0x790000 0 0x22f1b0 4 stub # 019c:err:service:validate_context_handle Access denied - handle created with access 34, needed 10000 # 01a2:err:module:import_dll Library WDFLDR.SYS (which is needed by L"C:\\users\\theuser\\Temp\\mhyprot2.sys") not found # 01a2:err:ntoskrnl:ZwLoadDriver failed to create driver L"\\Registry\\Machine\\System\\CurrentControlSet\\Services\\mhyprot2": c0000142 # 0199:fixme:ver:GetCurrentPackageId (0x99fb00 (nil)): stub # # Wine 5.16: # 0790:fixme:heap:RtlSetHeapInformation 0000000000890000 0 000000000021DFC0 4 stub # 0790:fixme:heap:EnumSystemFirmwareTables (0x4649524d, 0000000000000000, 0) # 0790:fixme:heap:RtlSetHeapInformation 0000000000AB0000 0 000000000021F080 4 stub # 079c:err:service:validate_context_handle Access denied - handle created with access 34, needed 10000 # 07b8:err:module:import_dll Library WDFLDR.SYS (which is needed by L"C:\\users\\theuser\\Temp\\mhyprot2.sys") not found # 07b8:err:ntoskrnl:ZwLoadDriver failed to create driver L"\\Registry\\Machine\\System\\CurrentControlSet\\Services\\mhyprot2": c0000142 # 0794:fixme:ver:GetCurrentPackageId (0000000000CBFBA0 0000000000000000): stub # # KNOWN ISSUES (FIXED): # - Wine amd64 5.0.2, 5.19: on the account creation screen (if you want to use Facebook nor Twitter), display is bad and the characters typed are not displayed. Fix: Wine 5.19-staging # - Wine amd64 5.19-staging: missing textures (displayed as blue areas). Fix: DXVK. [ "$PLAYONLINUX" = "" ] && exit 0 source "$PLAYONLINUX/lib/sources" TITLE="Genshin Impact" PREFIX="Genshin_Impact" EDITOR="miHoYo" GAME_URL="https://en.wikipedia.org/wiki/Genshin_Impact" AUTHOR="Dadu042" STEAM_ID="" GAME_VMS="512" SHORTCUT_FILENAME="launcher.exe" SOFTWARE_CATEGORIES="Game;RolePlaying;" # http://wiki.playonlinux.com/index.php/Scripting_-_Chapter_9:_Standardization#Advanced_Standardization DOCUMENT_FILE="" # Starting the script POL_SetupWindow_Init # Starting debugging API POL_Debug_Init # Open dialogue box POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX" POL_RequiredVersion "4.3.0" || POL_Debug_Fatal "$APPLICATION_TITLE $VERSION is required to install $TITLE" # Setting prefix path POL_Wine_SelectPrefix "$PREFIX" ############################################ # Choose architecture: 32 bits or 64 bits # ############################################ # POL_SetupWindow_menu "$(eval_gettext 'What architecture do you want to use ?')" "$TITLE" "$(eval_gettext '64 bits (recommended)')~$(eval_gettext '32 bits')" "~" # if [ "$APP_ANSWER" == "32 bits" ]; then # POL_System_SetArch "x86" # elif [ "$APP_ANSWER" == "$(eval_gettext '64 bits (recommended)')" ]; then # POL_System_SetArch "amd64" # fi POL_System_SetArch "amd64" # Download Wine if necessary then create prefix POL_Wine_PrefixCreate "6.0.1" # POL_Wine_PrefixCreate # POL_System_TmpCreate "$PREFIX" Set_OS "win7" ####################################### # Hacks # ####################################### ####################################### # Installing mandatory dependencies # ####################################### # Avoid game freeze when doing ALT+TAB POL_Wine_DirectInput "MouseWarpOverride" "force" # POL_Call POL_Install_vcrun2013 # POL_Call POL_Install_d3dx11 # Disable DirectX 11 # POL_Wine_OverrideDLL "" "d3d11" ################ # GPU # ################ # Set Graphic Card information keys for wine POL_Wine_SetVideoDriver # Minimum memory size requiered for the graphic card. POL_SetupWindow_VMS $GAME_VMS # Asking about memory size of graphic card # POL_SetupWindow_menu_list "How much memory does your graphics board have?" "$TITLE" "64-128-256-320-384-512-640-768-896-1024-1536-1792-2048-3072-4096" "-" "256" # VRAM="$APP_ANSWER" # POL_Wine_Direct3D "VideoMemorySize" "$VRAM" # Useful for Nvidia GPUs # POL_Call POL_Install_physx ####################################### # Create a 'virtual desktop' (window) # ####################################### POL_SetupWindow_menu_list "$(eval_gettext "Choose the game resolution")" "$TITLE" "800x600-1152x864-1024x768-1280x720-1280x800-1280x900-1280x1024-1360x768-1368x768-1440x900-1400x1050-1600x900-1600x1024-1680x1050-1920x1080" "-" "800x600" resolution="$APP_ANSWER" WIDTH="$(echo $resolution | cut -d"x" -f1)" HEIGHT="$(echo $resolution | cut -d"x" -f2)" Set_Desktop "On" "$WIDTH" "$HEIGHT" Set_WineWindowTitle "$TITLE" ############################################# # Sound problem fix - pulseaudio related # ############################################# # [ "$POL_OS" = "Linux" ] && Set_SoundDriver "alsa" # [ "$POL_OS" = "Linux" ] && Set_SoundEmulDriver "Y" ## End Fix ####################################### # Main part of this script # ####################################### # Choose between Steam and other Digital Download versions # POL_SetupWindow_InstallMethod "STEAM,DVD,LOCAL,DOWNLOAD" POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD" # POL_SetupWindow_message "Warning: do not install Punk Buster nor DirectX." "$TITLE" # POL_SetupWindow_message "Warning: do not install DirectX (nor the icons)." "$TITLE" # POL_SetupWindow_message "Warning: do not install Visual C++ 2013 redistribuable\n nor Direct X." "$TITLE" # POL_SetupWindow_message "$(eval_gettext 'Note: we recommend you to uncheck all the checkboxes:\n[x] -> [ ]')" "$TITLE" # POL_SetupWindow_message "$(eval_gettext 'Note: at the end of the first installer (it does installs the downloader program), do not click RUN, instead close the window, then you will run the game from POL/POM.')" "$TITLE" # Begin game installation if [ "$INSTALL_METHOD" == "STEAM" ]; then POL_Call POL_Install_steam # Mandatory pre-install fix for steam POL_Call POL_Install_steam_flags "$STEAM_ID" # Shortcut done before install for steam version POL_Shortcut "steam.exe" "$TITLE" "" "steam://rungameid/$STEAM_ID" # Steam install POL_SetupWindow_message "$(eval_gettext 'When $TITLE download by Steam is finished,\nDo NOT click on Play.\n\nClose COMPLETELY the Steam interface, \nso that the installation script can continue')" "$TITLE" cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam" POL_Wine start /unix "steam.exe" steam://install/$STEAM_ID POL_Wine_WaitExit "$TITLE" elif [ "$INSTALL_METHOD" == "DVD" ]; then POL_SetupWindow_cdrom # POL_Call POL_Function_NoCDWarning POL_SetupWindow_check_cdrom "setup.exe" POL_Wine start /unix "$CDROM/setup.exe" POL_Wine_WaitExit "$TITLE" # Restore screen resolution (game's default is 800x600 ?) # POL_Shortcut_InsertBeforeWine "$SHORTCUT" "trap 'xrandr -s 0' EXIT" POL_Shortcut "$SHORTCUT_FILENAME" "$TITLE" "" "" "$SOFTWARE_CATEGORIES" POL_Shortcut_QuietDebug "$TITLE" POL_Shortcut_Document "$TITLE" "$DOCUMENT_FILE" elif [ "$INSTALL_METHOD" == "DOWNLOAD" ]; then cd "$WINEPREFIX/drive_c" # POL_SetupWindow_message "$(eval_gettext '\n\nNote: this script will download the demo .')" "$TITLE" # POL_Download "https://genshinimpact.mihoyo.com/client_app/launcher/GenshinImpact_install_20200911204035.exe" POL_Download "https://genshinimpact.mihoyo.com/client_app/launcher/GenshinImpact_install_20201014173947.exe" mv GenshinImpact_install_20201014173947.exe GameInstaller.exe # mv X.rar gameinstaller.rar # mv X.zip gameinstaller.zip # POL_SetupWindow_wait_next_signal "$(eval_gettext 'Extracting the archive...')" "$TITLE" # POL_System_unrar x "gameinstaller.rar" "$WINEPREFIX/drive_c/game/" || POL_Debug_Fatal "unrar is required to unarchive $TITLE (unrar package is not installed on the OS)." # POL_System_unzip "gameinstaller.zip" -d "$WINEPREFIX/drive_c/game/" # Extract without sub-folder. # unzip "gameinstaller.zip" -j -d "$WINEPREFIX/drive_c/" # POL_SetupWindow_message "$(eval_gettext 'Note: we recommend you to uncheck all the checkboxes:\n[x] -> [ ]')" "$TITLE" cd "$WINEPREFIX/drive_c/game/" POL_Wine "GameInstaller.exe" # "/SILENT" POL_Wine_WaitBefore "$TITLE" # POL_SetupWindow_message "$(eval_gettext '\n\nNote: do NOT install DirectX.')" "$TITLE" # cd "$WINEPREFIX/drive_c" # rm GameInstaller.exe POL_Shortcut "$SHORTCUT_FILENAME" "$TITLE" "" "" "$SOFTWARE_CATEGORIES" POL_Shortcut_QuietDebug "$TITLE" # Restore screen resolution (game's default is 1024x768) # POL_Shortcut_InsertBeforeWine "$SHORTCUT" "trap 'xrandr -s 0' EXIT" POL_Shortcut_Document "$TITLE" "$DOCUMENT_FILE" elif [ "$INSTALL_METHOD" == "LOCAL" ]; then # POL_SetupWindow_menu "$(eval_gettext 'What is the type of the file?.')" "$TITLE" "$(eval_gettext '.EXE')~$(eval_gettext '.ZIP')~$(eval_gettext '.RAR')" "~" # POL_SetupWindow_menu "$(eval_gettext 'What is the type of the file?.')" "$TITLE" "$(eval_gettext '.ZIP')~$(eval_gettext '.RAR')" "~" # POL_SetupWindow_menu "$(eval_gettext 'What is the type of the file?.')" "$TITLE" "$(eval_gettext '.MSI')~$(eval_gettext '.EXE')" "~" APP_ANSWER=".EXE" if [ "$APP_ANSWER" == ".EXE" ]; then # Asking then installing local files of the game cd "$HOME" POL_SetupWindow_browse "$(eval_gettext 'Please select the installation file (.EXE)')" "$TITLE" SETUP_EXE="$APP_ANSWER" # POL_SetupWindow_message "Note: please answer NO to all the questions that will appear." "$TITLE" POL_Wine start /unix "$SETUP_EXE" POL_Wine_WaitExit "$TITLE" # Restore screen resolution (game's default is 640x480 ?) # POL_Shortcut_InsertBeforeWine "$SHORTCUT" "trap 'xrandr -s 0' EXIT" POL_Shortcut "$SHORTCUT_FILENAME" "$TITLE" "" "" "$SOFTWARE_CATEGORIES" POL_Shortcut_QuietDebug "$TITLE" POL_Shortcut_Document "$TITLE" "$DOCUMENT_FILE" elif [ "$APP_ANSWER" == "$(eval_gettext '.MSI')" ]; then # Asking then installing local files of the game cd "$HOME" POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE" SETUP_EXE="$APP_ANSWER" POL_Wine msiexec /i "$SETUP_EXE" POL_Wine_WaitExit "$TITLE" # Restore screen resolution (game's default is 640x480 ?) # POL_Shortcut_InsertBeforeWine "$SHORTCUT" "trap 'xrandr -s 0' EXIT" POL_Shortcut "$SHORTCUT_FILENAME" "$TITLE" "" "" "$SOFTWARE_CATEGORIES" POL_Shortcut_QuietDebug "$TITLE" POL_Shortcut_Document "$TITLE" "$DOCUMENT_FILE" elif [ "$APP_ANSWER" == "$(eval_gettext '.ZIP')" ]; then cd "$HOME" # POL_SetupWindow_message "$(eval_gettext '\n\nWARNING: the file name must not have SPACES in its name !.')" "$TITLE" POL_SetupWindow_browse "$(eval_gettext 'Please select the .ZIP file')" "$TITLE" cd "$POL_System_TmpDir" POL_SetupWindow_wait_next_signal "$(eval_gettext 'Extracting the archive...')" "$TITLE" POL_System_unzip "$APP_ANSWER" -d "$WINEPREFIX/drive_c/game/" POL_Shortcut "$SHORTCUT_FILENAME" "$TITLE" "" "" "$SOFTWARE_CATEGORIES" POL_Shortcut_Document "$TITLE" "$DOCUMENT_FILE" elif [ "$APP_ANSWER" == "$(eval_gettext '.RAR')" ]; then cd "$HOME" POL_SetupWindow_browse "$(eval_gettext 'Please select the .RAR file')" "$TITLE" SETUP_EXE="$APP_ANSWER" cd "$POL_System_TmpDir" POL_SetupWindow_wait_next_signal "$(eval_gettext 'Extracting the archive...')" "$TITLE" POL_System_unrar x "$APP_ANSWER" "$WINEPREFIX/drive_c/game/" || POL_Debug_Fatal "unrar is required to unarchive $TITLE (unrar package is not installed on the OS)." POL_Shortcut "$SHORTCUT_FILENAME" "$TITLE" "" "" "$SOFTWARE_CATEGORIES" POL_Shortcut_Document "$TITLE" "$DOCUMENT_FILE" fi fi ################ # Patch update # ################ # POL_SetupWindow_menu "$(eval_gettext 'Do you have a official patch-update to install ?')" "$TITLE" "$(eval_gettext 'No')~$(eval_gettext 'Yes')" "~" if [ "$APP_ANSWER" == "$(eval_gettext 'Yes')" ]; then POL_SetupWindow_browse "$(eval_gettext 'Please select the .EXE file to run')" "$TITLE" PATCH_EXE="$APP_ANSWER" POL_Wine start /unix "$PATCH_EXE" POL_Wine_WaitExit "$PATCH_EXE" fi ####################################### # Hacks # # Editing configuration files # ####################################### POL_SetupWindow_message "$(eval_gettext 'Installation is finished.')" "$TITLE" 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:
ContribuerMembre | Messages |
ngutanhlamnha | Jeudi 16 Juin 2022 à 10:26 |
ngutanhlamnha
|
|
Dadu042 | Lundi 13 Juin 2022 à 21:55 |
Dadu042
|
InformationCette mise à jour a été acceptée par l'équipe Differences@@ -20,6 +20,8 @@ # Update the file installer URL. # [Dadu042] (2020-10-25 20-00). # Wine 5.0.2 -> 5.19-staging (because I have got some crashes some seconds afeer the game did start). +# [Dadu042] (2022-06-21 20-00). +# Wine 5.19-staging -> 6.0.1 (not tested, just to avoid users to download 5.19-staging). # # KNOWN ISSUES : @@ -96,7 +98,7 @@ POL_System_SetArch "amd64" # Download Wine if necessary then create prefix -POL_Wine_PrefixCreate "5.19-staging" +POL_Wine_PrefixCreate "6.0.1" # POL_Wine_PrefixCreate # POL_System_TmpCreate "$PREFIX" Nouveau code source#!/bin/bash # Date : (2020-09-29) # Last revision : see the changelog below # Wine version used : see the changelog below # Distribution used to test : XUbuntu 18.04 64 bits (Linux kernel v5.4.0). GPU: AMD Vega 11. # Author : Dadu042 # Licence : Retail # Only For : http://www.playonlinux.com # # TESTED Editions: Launcher v2.3.3.0 (GenshinImpact_install_20200911204035.exe) # v2.3.4.0 (GenshinImpact_install_20201014173947.exe). Game (login screen): OSRELWin1.0.1_R1135452_S1135452_D1135370. # # Middlewares used by this software : Unity 2017, vcrun2013, vcrun2015, QT5, DirectX 11. # # # CHANGELOG # [Dadu042] (2020-09-29 10-00). # Initial script. Game fail to run because of the anti cheat software (mhyprot2.sys), that want admin rights. # [Dadu042] (2020-10-25 10-00). # Update the file installer URL. # [Dadu042] (2020-10-25 20-00). # Wine 5.0.2 -> 5.19-staging (because I have got some crashes some seconds afeer the game did start). # [Dadu042] (2022-06-21 20-00). # Wine 5.19-staging -> 6.0.1 (not tested, just to avoid users to download 5.19-staging). # # KNOWN ISSUES : # Anti-cheat issue: # - Wine amd64 4.21, 5.0.2, 5.11-staging, 5.16, 5.18-staging: when clicking 'Play' (yellow button) the window just does reduce in the task bar. Tried: set OS to Win7/8/10. Enable game auto update, wininet. # Download file from: http://www.dll-found.com/wdfldr.sys_download.html copy to /home/YourUserName/PlayOnLinux's virtual drives/Genshin_Impact/drive_c/users/theuser/Temp/ and into the game folder, copied also in uppercase. # # Tried: copying wdfldr.sys (set as Native) and WDFLDR.SYS into '/drive_c/windows/system32/'. # # Immediate Wine 5.0.2 debug log is: # 0198:fixme:heap:RtlSetHeapInformation 0x570000 0 0x22db80 4 stub # 0198:fixme:heap:EnumSystemFirmwareTables (0x4649524d, 0000000000000000, 0) # 0198:fixme:heap:RtlSetHeapInformation 0x790000 0 0x22f1b0 4 stub # 019c:err:service:validate_context_handle Access denied - handle created with access 34, needed 10000 # 01a2:err:module:import_dll Library WDFLDR.SYS (which is needed by L"C:\\users\\theuser\\Temp\\mhyprot2.sys") not found # 01a2:err:ntoskrnl:ZwLoadDriver failed to create driver L"\\Registry\\Machine\\System\\CurrentControlSet\\Services\\mhyprot2": c0000142 # 0199:fixme:ver:GetCurrentPackageId (0x99fb00 (nil)): stub # # Wine 5.16: # 0790:fixme:heap:RtlSetHeapInformation 0000000000890000 0 000000000021DFC0 4 stub # 0790:fixme:heap:EnumSystemFirmwareTables (0x4649524d, 0000000000000000, 0) # 0790:fixme:heap:RtlSetHeapInformation 0000000000AB0000 0 000000000021F080 4 stub # 079c:err:service:validate_context_handle Access denied - handle created with access 34, needed 10000 # 07b8:err:module:import_dll Library WDFLDR.SYS (which is needed by L"C:\\users\\theuser\\Temp\\mhyprot2.sys") not found # 07b8:err:ntoskrnl:ZwLoadDriver failed to create driver L"\\Registry\\Machine\\System\\CurrentControlSet\\Services\\mhyprot2": c0000142 # 0794:fixme:ver:GetCurrentPackageId (0000000000CBFBA0 0000000000000000): stub # # KNOWN ISSUES (FIXED): # - Wine amd64 5.0.2, 5.19: on the account creation screen (if you want to use Facebook nor Twitter), display is bad and the characters typed are not displayed. Fix: Wine 5.19-staging # - Wine amd64 5.19-staging: missing textures (displayed as blue areas). Fix: DXVK. [ "$PLAYONLINUX" = "" ] && exit 0 source "$PLAYONLINUX/lib/sources" TITLE="Genshin Impact" PREFIX="Genshin_Impact" EDITOR="miHoYo" GAME_URL="https://en.wikipedia.org/wiki/Genshin_Impact" AUTHOR="Dadu042" STEAM_ID="" GAME_VMS="512" SHORTCUT_FILENAME="launcher.exe" SOFTWARE_CATEGORIES="Game;RolePlaying;" # http://wiki.playonlinux.com/index.php/Scripting_-_Chapter_9:_Standardization#Advanced_Standardization DOCUMENT_FILE="" # Starting the script POL_SetupWindow_Init # Starting debugging API POL_Debug_Init # Open dialogue box POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX" POL_RequiredVersion "4.3.0" || POL_Debug_Fatal "$APPLICATION_TITLE $VERSION is required to install $TITLE" # Setting prefix path POL_Wine_SelectPrefix "$PREFIX" ############################################ # Choose architecture: 32 bits or 64 bits # ############################################ # POL_SetupWindow_menu "$(eval_gettext 'What architecture do you want to use ?')" "$TITLE" "$(eval_gettext '64 bits (recommended)')~$(eval_gettext '32 bits')" "~" # if [ "$APP_ANSWER" == "32 bits" ]; then # POL_System_SetArch "x86" # elif [ "$APP_ANSWER" == "$(eval_gettext '64 bits (recommended)')" ]; then # POL_System_SetArch "amd64" # fi POL_System_SetArch "amd64" # Download Wine if necessary then create prefix POL_Wine_PrefixCreate "6.0.1" # POL_Wine_PrefixCreate # POL_System_TmpCreate "$PREFIX" Set_OS "win7" ####################################### # Hacks # ####################################### ####################################### # Installing mandatory dependencies # ####################################### # Avoid game freeze when doing ALT+TAB POL_Wine_DirectInput "MouseWarpOverride" "force" # POL_Call POL_Install_vcrun2013 # POL_Call POL_Install_d3dx11 # Disable DirectX 11 # POL_Wine_OverrideDLL "" "d3d11" ################ # GPU # ################ # Set Graphic Card information keys for wine POL_Wine_SetVideoDriver # Minimum memory size requiered for the graphic card. POL_SetupWindow_VMS $GAME_VMS # Asking about memory size of graphic card # POL_SetupWindow_menu_list "How much memory does your graphics board have?" "$TITLE" "64-128-256-320-384-512-640-768-896-1024-1536-1792-2048-3072-4096" "-" "256" # VRAM="$APP_ANSWER" # POL_Wine_Direct3D "VideoMemorySize" "$VRAM" # Useful for Nvidia GPUs # POL_Call POL_Install_physx ####################################### # Create a 'virtual desktop' (window) # ####################################### POL_SetupWindow_menu_list "$(eval_gettext "Choose the game resolution")" "$TITLE" "800x600-1152x864-1024x768-1280x720-1280x800-1280x900-1280x1024-1360x768-1368x768-1440x900-1400x1050-1600x900-1600x1024-1680x1050-1920x1080" "-" "800x600" resolution="$APP_ANSWER" WIDTH="$(echo $resolution | cut -d"x" -f1)" HEIGHT="$(echo $resolution | cut -d"x" -f2)" Set_Desktop "On" "$WIDTH" "$HEIGHT" Set_WineWindowTitle "$TITLE" ############################################# # Sound problem fix - pulseaudio related # ############################################# # [ "$POL_OS" = "Linux" ] && Set_SoundDriver "alsa" # [ "$POL_OS" = "Linux" ] && Set_SoundEmulDriver "Y" ## End Fix ####################################### # Main part of this script # ####################################### # Choose between Steam and other Digital Download versions # POL_SetupWindow_InstallMethod "STEAM,DVD,LOCAL,DOWNLOAD" POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD" # POL_SetupWindow_message "Warning: do not install Punk Buster nor DirectX." "$TITLE" # POL_SetupWindow_message "Warning: do not install DirectX (nor the icons)." "$TITLE" # POL_SetupWindow_message "Warning: do not install Visual C++ 2013 redistribuable\n nor Direct X." "$TITLE" # POL_SetupWindow_message "$(eval_gettext 'Note: we recommend you to uncheck all the checkboxes:\n[x] -> [ ]')" "$TITLE" # POL_SetupWindow_message "$(eval_gettext 'Note: at the end of the first installer (it does installs the downloader program), do not click RUN, instead close the window, then you will run the game from POL/POM.')" "$TITLE" # Begin game installation if [ "$INSTALL_METHOD" == "STEAM" ]; then POL_Call POL_Install_steam # Mandatory pre-install fix for steam POL_Call POL_Install_steam_flags "$STEAM_ID" # Shortcut done before install for steam version POL_Shortcut "steam.exe" "$TITLE" "" "steam://rungameid/$STEAM_ID" # Steam install POL_SetupWindow_message "$(eval_gettext 'When $TITLE download by Steam is finished,\nDo NOT click on Play.\n\nClose COMPLETELY the Steam interface, \nso that the installation script can continue')" "$TITLE" cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam" POL_Wine start /unix "steam.exe" steam://install/$STEAM_ID POL_Wine_WaitExit "$TITLE" elif [ "$INSTALL_METHOD" == "DVD" ]; then POL_SetupWindow_cdrom # POL_Call POL_Function_NoCDWarning POL_SetupWindow_check_cdrom "setup.exe" POL_Wine start /unix "$CDROM/setup.exe" POL_Wine_WaitExit "$TITLE" # Restore screen resolution (game's default is 800x600 ?) # POL_Shortcut_InsertBeforeWine "$SHORTCUT" "trap 'xrandr -s 0' EXIT" POL_Shortcut "$SHORTCUT_FILENAME" "$TITLE" "" "" "$SOFTWARE_CATEGORIES" POL_Shortcut_QuietDebug "$TITLE" POL_Shortcut_Document "$TITLE" "$DOCUMENT_FILE" elif [ "$INSTALL_METHOD" == "DOWNLOAD" ]; then cd "$WINEPREFIX/drive_c" # POL_SetupWindow_message "$(eval_gettext '\n\nNote: this script will download the demo .')" "$TITLE" # POL_Download "https://genshinimpact.mihoyo.com/client_app/launcher/GenshinImpact_install_20200911204035.exe" POL_Download "https://genshinimpact.mihoyo.com/client_app/launcher/GenshinImpact_install_20201014173947.exe" mv GenshinImpact_install_20201014173947.exe GameInstaller.exe # mv X.rar gameinstaller.rar # mv X.zip gameinstaller.zip # POL_SetupWindow_wait_next_signal "$(eval_gettext 'Extracting the archive...')" "$TITLE" # POL_System_unrar x "gameinstaller.rar" "$WINEPREFIX/drive_c/game/" || POL_Debug_Fatal "unrar is required to unarchive $TITLE (unrar package is not installed on the OS)." # POL_System_unzip "gameinstaller.zip" -d "$WINEPREFIX/drive_c/game/" # Extract without sub-folder. # unzip "gameinstaller.zip" -j -d "$WINEPREFIX/drive_c/" # POL_SetupWindow_message "$(eval_gettext 'Note: we recommend you to uncheck all the checkboxes:\n[x] -> [ ]')" "$TITLE" cd "$WINEPREFIX/drive_c/game/" POL_Wine "GameInstaller.exe" # "/SILENT" POL_Wine_WaitBefore "$TITLE" # POL_SetupWindow_message "$(eval_gettext '\n\nNote: do NOT install DirectX.')" "$TITLE" # cd "$WINEPREFIX/drive_c" # rm GameInstaller.exe POL_Shortcut "$SHORTCUT_FILENAME" "$TITLE" "" "" "$SOFTWARE_CATEGORIES" POL_Shortcut_QuietDebug "$TITLE" # Restore screen resolution (game's default is 1024x768) # POL_Shortcut_InsertBeforeWine "$SHORTCUT" "trap 'xrandr -s 0' EXIT" POL_Shortcut_Document "$TITLE" "$DOCUMENT_FILE" elif [ "$INSTALL_METHOD" == "LOCAL" ]; then # POL_SetupWindow_menu "$(eval_gettext 'What is the type of the file?.')" "$TITLE" "$(eval_gettext '.EXE')~$(eval_gettext '.ZIP')~$(eval_gettext '.RAR')" "~" # POL_SetupWindow_menu "$(eval_gettext 'What is the type of the file?.')" "$TITLE" "$(eval_gettext '.ZIP')~$(eval_gettext '.RAR')" "~" # POL_SetupWindow_menu "$(eval_gettext 'What is the type of the file?.')" "$TITLE" "$(eval_gettext '.MSI')~$(eval_gettext '.EXE')" "~" APP_ANSWER=".EXE" if [ "$APP_ANSWER" == ".EXE" ]; then # Asking then installing local files of the game cd "$HOME" POL_SetupWindow_browse "$(eval_gettext 'Please select the installation file (.EXE)')" "$TITLE" SETUP_EXE="$APP_ANSWER" # POL_SetupWindow_message "Note: please answer NO to all the questions that will appear." "$TITLE" POL_Wine start /unix "$SETUP_EXE" POL_Wine_WaitExit "$TITLE" # Restore screen resolution (game's default is 640x480 ?) # POL_Shortcut_InsertBeforeWine "$SHORTCUT" "trap 'xrandr -s 0' EXIT" POL_Shortcut "$SHORTCUT_FILENAME" "$TITLE" "" "" "$SOFTWARE_CATEGORIES" POL_Shortcut_QuietDebug "$TITLE" POL_Shortcut_Document "$TITLE" "$DOCUMENT_FILE" elif [ "$APP_ANSWER" == "$(eval_gettext '.MSI')" ]; then # Asking then installing local files of the game cd "$HOME" POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE" SETUP_EXE="$APP_ANSWER" POL_Wine msiexec /i "$SETUP_EXE" POL_Wine_WaitExit "$TITLE" # Restore screen resolution (game's default is 640x480 ?) # POL_Shortcut_InsertBeforeWine "$SHORTCUT" "trap 'xrandr -s 0' EXIT" POL_Shortcut "$SHORTCUT_FILENAME" "$TITLE" "" "" "$SOFTWARE_CATEGORIES" POL_Shortcut_QuietDebug "$TITLE" POL_Shortcut_Document "$TITLE" "$DOCUMENT_FILE" elif [ "$APP_ANSWER" == "$(eval_gettext '.ZIP')" ]; then cd "$HOME" # POL_SetupWindow_message "$(eval_gettext '\n\nWARNING: the file name must not have SPACES in its name !.')" "$TITLE" POL_SetupWindow_browse "$(eval_gettext 'Please select the .ZIP file')" "$TITLE" cd "$POL_System_TmpDir" POL_SetupWindow_wait_next_signal "$(eval_gettext 'Extracting the archive...')" "$TITLE" POL_System_unzip "$APP_ANSWER" -d "$WINEPREFIX/drive_c/game/" POL_Shortcut "$SHORTCUT_FILENAME" "$TITLE" "" "" "$SOFTWARE_CATEGORIES" POL_Shortcut_Document "$TITLE" "$DOCUMENT_FILE" elif [ "$APP_ANSWER" == "$(eval_gettext '.RAR')" ]; then cd "$HOME" POL_SetupWindow_browse "$(eval_gettext 'Please select the .RAR file')" "$TITLE" SETUP_EXE="$APP_ANSWER" cd "$POL_System_TmpDir" POL_SetupWindow_wait_next_signal "$(eval_gettext 'Extracting the archive...')" "$TITLE" POL_System_unrar x "$APP_ANSWER" "$WINEPREFIX/drive_c/game/" || POL_Debug_Fatal "unrar is required to unarchive $TITLE (unrar package is not installed on the OS)." POL_Shortcut "$SHORTCUT_FILENAME" "$TITLE" "" "" "$SOFTWARE_CATEGORIES" POL_Shortcut_Document "$TITLE" "$DOCUMENT_FILE" fi fi ################ # Patch update # ################ # POL_SetupWindow_menu "$(eval_gettext 'Do you have a official patch-update to install ?')" "$TITLE" "$(eval_gettext 'No')~$(eval_gettext 'Yes')" "~" if [ "$APP_ANSWER" == "$(eval_gettext 'Yes')" ]; then POL_SetupWindow_browse "$(eval_gettext 'Please select the .EXE file to run')" "$TITLE" PATCH_EXE="$APP_ANSWER" POL_Wine start /unix "$PATCH_EXE" POL_Wine_WaitExit "$PATCH_EXE" fi ####################################### # Hacks # # Editing configuration files # ####################################### POL_SetupWindow_message "$(eval_gettext 'Installation is finished.')" "$TITLE" 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 Réponses |
ngutanhlamnha | Lundi 13 Juin 2022 à 8:44 |
ngutanhlamnha
|
Messagesi can't update new version, it doesn't work, what should i do? RéponsesLundi 13 Juin 2022 à 8:47
Lundi 13 Juin 2022 à 10:26
|
shalva97 | Samedi 6 Mars 2021 à 21:29 |
shalva97
|
MessagesI have been messing with this for a week but ca nnot get it to work. Also used the patch for yellow button but didnot help. wine: Unhandled page fault on read access to 0000000000000018 at address 0000000000333A05 (thread 043c), starting debugger...
[03/07/21 00:27:21] - Running wine- launcher.exe (Working directory : /home/shalva/.PlayOnLinux/wineprefix/Genshin_Impact/drive_c/Program Files/Genshin Impact) MESA-INTEL: warning: Performance support disabled, consider sysctl dev.i915.perf_stream_paranoid=0 MESA-INTEL: warning: Performance support disabled, consider sysctl dev.i915.perf_stream_paranoid=0 03c4:err:winediag:wined3d_get_user_override_gpu_description Invalid GPU override 8086:3e98 specified, ignoring. 03c4:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION 03c4:fixme:wgl:X11DRV_wglGetPixelFormatAttribivARB unsupported 2008 WGL Attribute MESA-INTEL: warning: Performance support disabled, consider sysctl dev.i915.perf_stream_paranoid=0 wine: Unhandled page fault on read access to 0000000000000018 at address 0000000000333A05 (thread 043c), starting debugger... MESA-INTEL: warning: Performance support disabled, consider sysctl dev.i915.perf_stream_paranoid=0 wine: Unhandled page fault on read access to 0000000000000018 at address 0000000000333A05 (thread 046c), starting debugger... MESA-INTEL: warning: Performance support disabled, consider sysctl dev.i915.perf_stream_paranoid=0 MESA-INTEL: warning: Performance support disabled, consider sysctl dev.i915.perf_stream_paranoid=0 wine: Unhandled page fault on read access to 0000000000000018 at address 0000000000333A05 (thread 0508), starting debugger... wine: Unhandled page fault on read access to 0000000000000018 at address 0000000000333A05 (thread 0534), starting debugger... MESA-INTEL: warning: Performance support disabled, consider sysctl dev.i915.perf_stream_paranoid=0 MESA-INTEL: warning: Performance support disabled, consider sysctl dev.i915.perf_stream_paranoid=0 wine: Unhandled page fault on read access to 0000000000000018 at address 0000000000333A05 (thread 05b4), starting debugger... wine: Unhandled page fault on read access to 0000000000000018 at address 0000000000333A05 (thread 05e0), starting debugger...
My system: Operating System: Arch Linux KDE Plasma Version: 5.21.1
RéponsesDimanche 7 Mars 2021 à 10:47
Edité par shalva97 |
Billsboard | Jeudi 25 Février 2021 à 6:19 |
Billsboard
|
MessagesCannot install the launcher on MacOS 10.15.4 Catalina Hello, every time I try to install this program it asks me for a resolution, then tells me that 32 bit wine cannot be used on Catalina, and the system version will be used instead. Following this, I get a crash saying Wine_POL has crashed. Clicking next tells me the installer has crashed, and cannot find launcher.exe. I'm a clean installation of MacOS. The only thing I have installed is the PlayOnMac application (version 4.4.2)
Os: 10.15.4 Catalina
RéponsesJeudi 25 Février 2021 à 6:43
Jeudi 25 Février 2021 à 18:44
Vendredi 26 Février 2021 à 0:58
Vendredi 26 Février 2021 à 22:08
|
Yulinox | Dimanche 31 Janvier 2021 à 10:19 |
Yulinox
|
MessagesHello, I am a playonmac user and I am trying to play genshin impact, but when I launch the game, an error appears and says "Sorry, this game cannot run on a virtual machine". I see that people can play it on this virtual machine, so does someone have a solution ?
Réponses |
dstldvngr | Jeudi 28 Janvier 2021 à 19:53 |
dstldvngr
|
MessagesHello. As soon as I launch it, it says it needs an update, which it makes 0% on downloading, and then says it timed out. Is this fixable? Thank you RéponsesJeudi 28 Janvier 2021 à 23:02
|
semnosao | Mardi 12 Janvier 2021 à 18:08 |
semnosao
|
Messageseverytime I try to open I get an update request but when I try to update irt fails :( RéponsesMercredi 13 Janvier 2021 à 11:17
|
Ducote | Vendredi 6 Novembre 2020 à 20:24 |
Ducote
|
|
anlorsp | Samedi 31 Octobre 2020 à 4:39 |
anlorsp
|
MessagesGame version:1.0.1 Wine version:5.19-staging OS:deepin20(1003) I have installed the patch for yellow start button,but the game doesn't run when my click the yello button. Here's the log:
002c:fixme:winediag:LdrInitializeThunk wine-staging 5.19 is a testing version containing experimental patches. 002c:fixme:winediag:LdrInitializeThunk Please mention your exact version when filing bug reports on winehq.org. 0084:err:ntoskrnl:ZwLoadDriver failed to create driver L"\\Registry\\Machine\\System\\CurrentControlSet\\Services\\wineusb": c0000142 003c:fixme:service:scmdatabase_autostart_services Auto-start service L"wineusb" failed to start: 1114 00f4:fixme:nls:get_dummy_preferred_ui_language (0x8 000000000021F550 000000000021F4A0 000000000021F558) returning a dummy value (current locale) info: Game: launcher.exe info: DXVK: v1.7.2 info: Built-in extension providers: info: Win32 WSI info: OpenVR warn: OpenVR: Failed to locate module info: Enabled instance extensions: info: VK_KHR_get_surface_capabilities2 info: VK_KHR_surface info: VK_KHR_win32_surface warn: D3D9: VK_FORMAT_D16_UNORM_S8_UINT -> VK_FORMAT_D24_UNORM_S8_UINT warn: D3D9: VK_FORMAT_A4R4G4B4_UNORM_PACK16_EXT -> VK_FORMAT_B4G4R4A4_UNORM_PACK16 info: GeForce GTX 1050 Ti: info: Driver: 440.100.0 info: Vulkan: 1.1.119 info: Memory Heap[0]: info: Size: 4096 MiB info: Flags: 0x1 info: Memory Type[7]: Property Flags = 0x1 info: Memory Type[8]: Property Flags = 0x1 info: Memory Heap[1]: info: Size: 5886 MiB info: Flags: 0x0 info: Memory Type[0]: Property Flags = 0x0 info: Memory Type[1]: Property Flags = 0x0 info: Memory Type[2]: Property Flags = 0x0 info: Memory Type[3]: Property Flags = 0x0 info: Memory Type[4]: Property Flags = 0x0 info: Memory Type[5]: Property Flags = 0x0 info: Memory Type[6]: Property Flags = 0x0 info: Memory Type[9]: Property Flags = 0x6 info: Memory Type[10]: Property Flags = 0xe info: Process set as DPI aware 00f4:fixme:ntdll:EtwEventRegister ({5eec90ab-c022-44b2-a5dd-fd716a222a15}, 0000000003401124, 0000000004727E40, 0000000004727E60) stub. 00f4:fixme:ntdll:EtwEventSetInformation (deadbeef, 2, 0000000004617370, 43) stub 011c:fixme:ver:GetCurrentPackageId (0000000004D9FE10 0000000000000000): stub 012c:fixme:ver:GetCurrentPackageId (00000000051DFE10 0000000000000000): stub 0120:fixme:ver:GetCurrentPackageId (0000000004EAFE10 0000000000000000): stub 0124:fixme:ver:GetCurrentPackageId (0000000004FBFE10 0000000000000000): stub 0128:fixme:ver:GetCurrentPackageId (00000000050CFE10 0000000000000000): stub 0130:fixme:ver:GetCurrentPackageId (00000000052EFE10 0000000000000000): stub 0134:fixme:ver:GetCurrentPackageId (00000000053FFE10 0000000000000000): stub 0138:fixme:ver:GetCurrentPackageId (000000000550FE10 0000000000000000): stub 00f4:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION 00f4:fixme:toolhelp:CreateToolhelp32Snapshot Unimplemented: heap list snapshot 00f4:fixme:toolhelp:Heap32ListFirst : stub 00f4:fixme:nls:get_dummy_preferred_ui_language (0x8 000000000021F4D0 000000000021F420 000000000021F4D8) returning a dummy value (current locale) 00f4:fixme:nls:get_dummy_preferred_ui_language (0x8 000000000021F2B0 000000000021F200 000000000021F2B8) returning a dummy value (current locale) 00f4:fixme:ntdll:EtwEventRegister ({d2d578d9-2936-45b6-a09f-30e32715f42d}, 000000000B638F00, 000000000F4B6A10, 000000000F606FC8) stub. 00f4:fixme:nls:RtlGetThreadPreferredUILanguages 00000038, 000000000021DD90, 0000000000000000 000000000021DD98 00f4:fixme:nls:get_dummy_preferred_ui_language (0x38 000000000021DD90 0000000000000000 000000000021DD98) returning a dummy value (current locale) 00f4:fixme:nls:RtlGetThreadPreferredUILanguages 00000038, 000000000021DD90, 00000000074E89B0 000000000021DD98 00f4:fixme:nls:get_dummy_preferred_ui_language (0x38 000000000021DD90 00000000074E89B0 000000000021DD98) returning a dummy value (current locale) 00f4:fixme:winsock:WSALookupServiceBeginW (0x21dad0 0x00000ff0 0x21dac8) Stub! 00f4:fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (000000000021D810 1 C) semi-stub 00f4:fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (000000000021D460 1 C) semi-stub 00f4:fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (000000000021D3E0 1 C) semi-stub [240:244:1031/113638.900:ERROR:network_change_notifier_win.cc(157)] WSALookupServiceBegin failed with: 8 00f4:fixme:iphlpapi:NotifyAddrChange (Handle 0x21dd70, overlapped 0x74e98b0): stub 00f4:fixme:service:I_ScRegisterDeviceNotification Notification filters are not yet implemented. 00f4:fixme:service:I_ScRegisterDeviceNotification Notification filters are not yet implemented. 00f4:fixme:systray:Shell_NotifyIconGetRect stub (0x21f280) (0x21f270) 00f4:fixme:msg:ChangeWindowMessageFilterEx 00000000000100EA c05a 1 0000000000000000 00f4:fixme:systray:Shell_NotifyIconGetRect stub (0x21f280) (0x21f270) 016c:fixme:file:ReplaceFileW Ignoring flags 2 0180:fixme:wlanapi:WlanEnumInterfaces (0000000000000001, 0000000000000000, 0000000012A2EE68) semi-stub 01d0:fixme:heap:RtlSetHeapInformation 0000000000000000 1 0000000000000000 0 stub 01d0:fixme:ntdll:EtwEventRegister ({d2d578d9-2936-45b6-a09f-30e32715f42d}, 0000000000D78F00, 0000000004BF6A10, 0000000004D46FC8) stub. 01d0:fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (000000000021F310 1 C) semi-stub 01d0:fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (000000000021EF60 1 C) semi-stub 01d0:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION 01d0:fixme:thread:QueryThreadCycleTime (FFFFFFFFFFFFFFFE,000000000021EA30): stub! 0168:fixme:file:NtLockFile I/O completion on lock not implemented yet 0178:fixme:file:ReplaceFileW Ignoring flags 2 033c:fixme:heap:RtlSetHeapInformation 0000000000900000 0 000000000021DF80 4 stub 033c:err:virtual:virtual_setup_exception stack overflow 240 bytes in thread 033c addr 0x7bc57c32 stack 0x120f10 (0x120000-0x121000-0x220000) 0238:fixme:file:ReplaceFileW Ignoring flags 2 0238:fixme:file:ReplaceFileW Ignoring flags 2 Réponses |
Zapstars | Vendredi 30 Octobre 2020 à 16:57 |
Zapstars
|
MessagesI get an error code after selecting my region and clicking on the portal to start the game. "Genshin Impact encountered a problem loading game data, please log in again Error code: 31-4302"
I think this is a side effect of messing with the anti-cheat. This is my first time playing Genshin on Linux, and this error started occurring on Oct 29. RéponsesVendredi 30 Octobre 2020 à 17:33
Vendredi 30 Octobre 2020 à 17:38
Vendredi 30 Octobre 2020 à 17:38
Vendredi 30 Octobre 2020 à 18:25
Vendredi 30 Octobre 2020 à 18:33
Vendredi 30 Octobre 2020 à 18:39
Vendredi 30 Octobre 2020 à 19:06
Vendredi 30 Octobre 2020 à 19:30
Vendredi 30 Octobre 2020 à 19:36
Vendredi 30 Octobre 2020 à 20:02
Dimanche 1 Novembre 2020 à 19:35
Mardi 3 Novembre 2020 à 6:25
|
tacobarz | Vendredi 30 Octobre 2020 à 5:31 |
tacobarz
|
MessagesHow can I use the Script in the Phoenics PlayonLinux app? Seems that is similar. I am following the script manually to see what happens Réponses |
davidcowboy | Mardi 27 Octobre 2020 à 1:54 |
davidcowboy
|
MessagesInstalled with the recommended Wine 5.19-staging version. After following the fixes for the known issues, installing the DXVK component and the patch available for the game after installing, everything is fine. I've had a problem with the hold left-alt to show cursor in-game, after the cursor appeared the game no longer acknowledged my keyboard. After I turned off virtual desktop emulation and disabled window decoration by the window manager in the wine prefix configuration, the problem ceased. Also had some problems with performance, couldn't find a solution for that other than setting the render scale from 1.1 to 0.8 which drastically improved the framerates. Amazing work guys, thank you! The system I tested the game on for 2+ hours:
OS: Linux Mint 20 x86_64
Kernel: 5.4.0-52-generic
Resolution: 1920x1080
DE: Cinnamon
WM: Mutter (Muffin)
CPU: Intel i5-7300HQ (4) @ 3.500GHz
GPU: NVIDIA GeForce GTX 1050 Mobile 3815MiB
Memory: 7826MiB
RéponsesEdité par davidcowboy |
FichteFoll | Mardi 27 Octobre 2020 à 0:49 |
FichteFoll
|
MessagesI am able to get the game to start with DXVK (also without) and the patch from the other page applied, but after showing the "Please read this" screen where it loads my character or something, I don't get any refreshes for graphics anymore. DXVK's HUD isn't updated anymore either, but the music starts playing regardless and I have CPU consumption. The only errors I can see on the console are: 00c0:err:seh:RtlCaptureStackBackTrace invalid frame 220178 (0000000000122000-0000000000220000) which happen a few seconds before the visual freeze. Without DXVK, I get:
I'm on Arch and tried 5.9 and 5.8.5 kernel, with and without DXVK and with wine 5.19 and 5.19-staging, all with the same symptoms. I also tried capturing the mouse and configuring a virtual desktop. Interestingly, it used to work *once*, where I managed to login, after which it crashed while inactive and I never got that far again. RéponsesMardi 27 Octobre 2020 à 0:55
Mercredi 28 Octobre 2020 à 23:56
Jeudi 29 Octobre 2020 à 11:34
Jeudi 29 Octobre 2020 à 23:34
|
Dadu042 | Lundi 26 Octobre 2020 à 10:22 |
Dadu042
|
WarningCette mise à jour n'a pas été approuvée par l'équipe. MessagesBack because I had issues with virtualdesktop (no keyboard). Differences@@ -20,12 +20,9 @@ # Update the file installer URL. # [Dadu042] (2020-10-25 20-00). # Wine 5.0.2 -> 5.19-staging (because I have got some crashes some seconds afeer the game did start). -# [Dadu042] (2020-10-26 20-00). -# Add virtual desktop and mouse override. # # KNOWN ISSUES : -# - Wine amd64 5.19-staging: missing textures (displayed as blue areas). -# + # Anti-cheat issue: # - Wine amd64 4.21, 5.0.2, 5.11-staging, 5.16, 5.18-staging: when clicking 'Play' (yellow button) the window just does reduce in the task bar. Tried: set OS to Win7/8/10. Enable game auto update, wininet. # Download file from: http://www.dll-found.com/wdfldr.sys_download.html copy to /home/YourUserName/PlayOnLinux's virtual drives/Genshin_Impact/drive_c/users/theuser/Temp/ and into the game folder, copied also in uppercase. @@ -52,6 +49,7 @@ # # KNOWN ISSUES (FIXED): # - Wine amd64 5.0.2, 5.19: on the account creation screen (if you want to use Facebook nor Twitter), display is bad and the characters typed are not displayed. Fix: Wine 5.19-staging +# - Wine amd64 5.19-staging: missing textures (displayed as blue areas). Fix: DXVK. [ "$PLAYONLINUX" = "" ] && exit 0 source "$PLAYONLINUX/lib/sources" Nouveau code source#!/bin/bash # Date : (2020-09-29) # Last revision : see the changelog below # Wine version used : see the changelog below # Distribution used to test : XUbuntu 18.04 64 bits (Linux kernel v5.4.0). GPU: AMD Vega 11. # Author : Dadu042 # Licence : Retail # Only For : http://www.playonlinux.com # # TESTED Editions: Launcher v2.3.3.0 (GenshinImpact_install_20200911204035.exe) # v2.3.4.0 (GenshinImpact_install_20201014173947.exe). Game (login screen): OSRELWin1.0.1_R1135452_S1135452_D1135370. # # Middlewares used by this software : Unity 2017, vcrun2013, vcrun2015, QT5, DirectX 11. # # # CHANGELOG # [Dadu042] (2020-09-29 10-00). # Initial script. Game fail to run because of the anti cheat software (mhyprot2.sys), that want admin rights. # [Dadu042] (2020-10-25 10-00). # Update the file installer URL. # [Dadu042] (2020-10-25 20-00). # Wine 5.0.2 -> 5.19-staging (because I have got some crashes some seconds afeer the game did start). # # KNOWN ISSUES : # Anti-cheat issue: # - Wine amd64 4.21, 5.0.2, 5.11-staging, 5.16, 5.18-staging: when clicking 'Play' (yellow button) the window just does reduce in the task bar. Tried: set OS to Win7/8/10. Enable game auto update, wininet. # Download file from: http://www.dll-found.com/wdfldr.sys_download.html copy to /home/YourUserName/PlayOnLinux's virtual drives/Genshin_Impact/drive_c/users/theuser/Temp/ and into the game folder, copied also in uppercase. # # Tried: copying wdfldr.sys (set as Native) and WDFLDR.SYS into '/drive_c/windows/system32/'. # # Immediate Wine 5.0.2 debug log is: # 0198:fixme:heap:RtlSetHeapInformation 0x570000 0 0x22db80 4 stub # 0198:fixme:heap:EnumSystemFirmwareTables (0x4649524d, 0000000000000000, 0) # 0198:fixme:heap:RtlSetHeapInformation 0x790000 0 0x22f1b0 4 stub # 019c:err:service:validate_context_handle Access denied - handle created with access 34, needed 10000 # 01a2:err:module:import_dll Library WDFLDR.SYS (which is needed by L"C:\\users\\theuser\\Temp\\mhyprot2.sys") not found # 01a2:err:ntoskrnl:ZwLoadDriver failed to create driver L"\\Registry\\Machine\\System\\CurrentControlSet\\Services\\mhyprot2": c0000142 # 0199:fixme:ver:GetCurrentPackageId (0x99fb00 (nil)): stub # # Wine 5.16: # 0790:fixme:heap:RtlSetHeapInformation 0000000000890000 0 000000000021DFC0 4 stub # 0790:fixme:heap:EnumSystemFirmwareTables (0x4649524d, 0000000000000000, 0) # 0790:fixme:heap:RtlSetHeapInformation 0000000000AB0000 0 000000000021F080 4 stub # 079c:err:service:validate_context_handle Access denied - handle created with access 34, needed 10000 # 07b8:err:module:import_dll Library WDFLDR.SYS (which is needed by L"C:\\users\\theuser\\Temp\\mhyprot2.sys") not found # 07b8:err:ntoskrnl:ZwLoadDriver failed to create driver L"\\Registry\\Machine\\System\\CurrentControlSet\\Services\\mhyprot2": c0000142 # 0794:fixme:ver:GetCurrentPackageId (0000000000CBFBA0 0000000000000000): stub # # KNOWN ISSUES (FIXED): # - Wine amd64 5.0.2, 5.19: on the account creation screen (if you want to use Facebook nor Twitter), display is bad and the characters typed are not displayed. Fix: Wine 5.19-staging # - Wine amd64 5.19-staging: missing textures (displayed as blue areas). Fix: DXVK. [ "$PLAYONLINUX" = "" ] && exit 0 source "$PLAYONLINUX/lib/sources" TITLE="Genshin Impact" PREFIX="Genshin_Impact" EDITOR="miHoYo" GAME_URL="https://en.wikipedia.org/wiki/Genshin_Impact" AUTHOR="Dadu042" STEAM_ID="" GAME_VMS="512" SHORTCUT_FILENAME="launcher.exe" SOFTWARE_CATEGORIES="Game;RolePlaying;" # http://wiki.playonlinux.com/index.php/Scripting_-_Chapter_9:_Standardization#Advanced_Standardization DOCUMENT_FILE="" # Starting the script POL_SetupWindow_Init # Starting debugging API POL_Debug_Init # Open dialogue box POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX" POL_RequiredVersion "4.3.0" || POL_Debug_Fatal "$APPLICATION_TITLE $VERSION is required to install $TITLE" # Setting prefix path POL_Wine_SelectPrefix "$PREFIX" ############################################ # Choose architecture: 32 bits or 64 bits # ############################################ # POL_SetupWindow_menu "$(eval_gettext 'What architecture do you want to use ?')" "$TITLE" "$(eval_gettext '64 bits (recommended)')~$(eval_gettext '32 bits')" "~" # if [ "$APP_ANSWER" == "32 bits" ]; then # POL_System_SetArch "x86" # elif [ "$APP_ANSWER" == "$(eval_gettext '64 bits (recommended)')" ]; then # POL_System_SetArch "amd64" # fi POL_System_SetArch "amd64" # Download Wine if necessary then create prefix POL_Wine_PrefixCreate "5.19-staging" # POL_Wine_PrefixCreate # POL_System_TmpCreate "$PREFIX" Set_OS "win7" ####################################### # Hacks # ####################################### ####################################### # Installing mandatory dependencies # ####################################### # Avoid game freeze when doing ALT+TAB POL_Wine_DirectInput "MouseWarpOverride" "force" # POL_Call POL_Install_vcrun2013 # POL_Call POL_Install_d3dx11 # Disable DirectX 11 # POL_Wine_OverrideDLL "" "d3d11" ################ # GPU # ################ # Set Graphic Card information keys for wine POL_Wine_SetVideoDriver # Minimum memory size requiered for the graphic card. POL_SetupWindow_VMS $GAME_VMS # Asking about memory size of graphic card # POL_SetupWindow_menu_list "How much memory does your graphics board have?" "$TITLE" "64-128-256-320-384-512-640-768-896-1024-1536-1792-2048-3072-4096" "-" "256" # VRAM="$APP_ANSWER" # POL_Wine_Direct3D "VideoMemorySize" "$VRAM" # Useful for Nvidia GPUs # POL_Call POL_Install_physx ####################################### # Create a 'virtual desktop' (window) # ####################################### POL_SetupWindow_menu_list "$(eval_gettext "Choose the game resolution")" "$TITLE" "800x600-1152x864-1024x768-1280x720-1280x800-1280x900-1280x1024-1360x768-1368x768-1440x900-1400x1050-1600x900-1600x1024-1680x1050-1920x1080" "-" "800x600" resolution="$APP_ANSWER" WIDTH="$(echo $resolution | cut -d"x" -f1)" HEIGHT="$(echo $resolution | cut -d"x" -f2)" Set_Desktop "On" "$WIDTH" "$HEIGHT" Set_WineWindowTitle "$TITLE" ############################################# # Sound problem fix - pulseaudio related # ############################################# # [ "$POL_OS" = "Linux" ] && Set_SoundDriver "alsa" # [ "$POL_OS" = "Linux" ] && Set_SoundEmulDriver "Y" ## End Fix ####################################### # Main part of this script # ####################################### # Choose between Steam and other Digital Download versions # POL_SetupWindow_InstallMethod "STEAM,DVD,LOCAL,DOWNLOAD" POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD" # POL_SetupWindow_message "Warning: do not install Punk Buster nor DirectX." "$TITLE" # POL_SetupWindow_message "Warning: do not install DirectX (nor the icons)." "$TITLE" # POL_SetupWindow_message "Warning: do not install Visual C++ 2013 redistribuable\n nor Direct X." "$TITLE" # POL_SetupWindow_message "$(eval_gettext 'Note: we recommend you to uncheck all the checkboxes:\n[x] -> [ ]')" "$TITLE" # POL_SetupWindow_message "$(eval_gettext 'Note: at the end of the first installer (it does installs the downloader program), do not click RUN, instead close the window, then you will run the game from POL/POM.')" "$TITLE" # Begin game installation if [ "$INSTALL_METHOD" == "STEAM" ]; then POL_Call POL_Install_steam # Mandatory pre-install fix for steam POL_Call POL_Install_steam_flags "$STEAM_ID" # Shortcut done before install for steam version POL_Shortcut "steam.exe" "$TITLE" "" "steam://rungameid/$STEAM_ID" # Steam install POL_SetupWindow_message "$(eval_gettext 'When $TITLE download by Steam is finished,\nDo NOT click on Play.\n\nClose COMPLETELY the Steam interface, \nso that the installation script can continue')" "$TITLE" cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam" POL_Wine start /unix "steam.exe" steam://install/$STEAM_ID POL_Wine_WaitExit "$TITLE" elif [ "$INSTALL_METHOD" == "DVD" ]; then POL_SetupWindow_cdrom # POL_Call POL_Function_NoCDWarning POL_SetupWindow_check_cdrom "setup.exe" POL_Wine start /unix "$CDROM/setup.exe" POL_Wine_WaitExit "$TITLE" # Restore screen resolution (game's default is 800x600 ?) # POL_Shortcut_InsertBeforeWine "$SHORTCUT" "trap 'xrandr -s 0' EXIT" POL_Shortcut "$SHORTCUT_FILENAME" "$TITLE" "" "" "$SOFTWARE_CATEGORIES" POL_Shortcut_QuietDebug "$TITLE" POL_Shortcut_Document "$TITLE" "$DOCUMENT_FILE" elif [ "$INSTALL_METHOD" == "DOWNLOAD" ]; then cd "$WINEPREFIX/drive_c" # POL_SetupWindow_message "$(eval_gettext '\n\nNote: this script will download the demo .')" "$TITLE" # POL_Download "https://genshinimpact.mihoyo.com/client_app/launcher/GenshinImpact_install_20200911204035.exe" POL_Download "https://genshinimpact.mihoyo.com/client_app/launcher/GenshinImpact_install_20201014173947.exe" mv GenshinImpact_install_20201014173947.exe GameInstaller.exe # mv X.rar gameinstaller.rar # mv X.zip gameinstaller.zip # POL_SetupWindow_wait_next_signal "$(eval_gettext 'Extracting the archive...')" "$TITLE" # POL_System_unrar x "gameinstaller.rar" "$WINEPREFIX/drive_c/game/" || POL_Debug_Fatal "unrar is required to unarchive $TITLE (unrar package is not installed on the OS)." # POL_System_unzip "gameinstaller.zip" -d "$WINEPREFIX/drive_c/game/" # Extract without sub-folder. # unzip "gameinstaller.zip" -j -d "$WINEPREFIX/drive_c/" # POL_SetupWindow_message "$(eval_gettext 'Note: we recommend you to uncheck all the checkboxes:\n[x] -> [ ]')" "$TITLE" cd "$WINEPREFIX/drive_c/game/" POL_Wine "GameInstaller.exe" # "/SILENT" POL_Wine_WaitBefore "$TITLE" # POL_SetupWindow_message "$(eval_gettext '\n\nNote: do NOT install DirectX.')" "$TITLE" # cd "$WINEPREFIX/drive_c" # rm GameInstaller.exe POL_Shortcut "$SHORTCUT_FILENAME" "$TITLE" "" "" "$SOFTWARE_CATEGORIES" POL_Shortcut_QuietDebug "$TITLE" # Restore screen resolution (game's default is 1024x768) # POL_Shortcut_InsertBeforeWine "$SHORTCUT" "trap 'xrandr -s 0' EXIT" POL_Shortcut_Document "$TITLE" "$DOCUMENT_FILE" elif [ "$INSTALL_METHOD" == "LOCAL" ]; then # POL_SetupWindow_menu "$(eval_gettext 'What is the type of the file?.')" "$TITLE" "$(eval_gettext '.EXE')~$(eval_gettext '.ZIP')~$(eval_gettext '.RAR')" "~" # POL_SetupWindow_menu "$(eval_gettext 'What is the type of the file?.')" "$TITLE" "$(eval_gettext '.ZIP')~$(eval_gettext '.RAR')" "~" # POL_SetupWindow_menu "$(eval_gettext 'What is the type of the file?.')" "$TITLE" "$(eval_gettext '.MSI')~$(eval_gettext '.EXE')" "~" APP_ANSWER=".EXE" if [ "$APP_ANSWER" == ".EXE" ]; then # Asking then installing local files of the game cd "$HOME" POL_SetupWindow_browse "$(eval_gettext 'Please select the installation file (.EXE)')" "$TITLE" SETUP_EXE="$APP_ANSWER" # POL_SetupWindow_message "Note: please answer NO to all the questions that will appear." "$TITLE" POL_Wine start /unix "$SETUP_EXE" POL_Wine_WaitExit "$TITLE" # Restore screen resolution (game's default is 640x480 ?) # POL_Shortcut_InsertBeforeWine "$SHORTCUT" "trap 'xrandr -s 0' EXIT" POL_Shortcut "$SHORTCUT_FILENAME" "$TITLE" "" "" "$SOFTWARE_CATEGORIES" POL_Shortcut_QuietDebug "$TITLE" POL_Shortcut_Document "$TITLE" "$DOCUMENT_FILE" elif [ "$APP_ANSWER" == "$(eval_gettext '.MSI')" ]; then # Asking then installing local files of the game cd "$HOME" POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE" SETUP_EXE="$APP_ANSWER" POL_Wine msiexec /i "$SETUP_EXE" POL_Wine_WaitExit "$TITLE" # Restore screen resolution (game's default is 640x480 ?) # POL_Shortcut_InsertBeforeWine "$SHORTCUT" "trap 'xrandr -s 0' EXIT" POL_Shortcut "$SHORTCUT_FILENAME" "$TITLE" "" "" "$SOFTWARE_CATEGORIES" POL_Shortcut_QuietDebug "$TITLE" POL_Shortcut_Document "$TITLE" "$DOCUMENT_FILE" elif [ "$APP_ANSWER" == "$(eval_gettext '.ZIP')" ]; then cd "$HOME" # POL_SetupWindow_message "$(eval_gettext '\n\nWARNING: the file name must not have SPACES in its name !.')" "$TITLE" POL_SetupWindow_browse "$(eval_gettext 'Please select the .ZIP file')" "$TITLE" cd "$POL_System_TmpDir" POL_SetupWindow_wait_next_signal "$(eval_gettext 'Extracting the archive...')" "$TITLE" POL_System_unzip "$APP_ANSWER" -d "$WINEPREFIX/drive_c/game/" POL_Shortcut "$SHORTCUT_FILENAME" "$TITLE" "" "" "$SOFTWARE_CATEGORIES" POL_Shortcut_Document "$TITLE" "$DOCUMENT_FILE" elif [ "$APP_ANSWER" == "$(eval_gettext '.RAR')" ]; then cd "$HOME" POL_SetupWindow_browse "$(eval_gettext 'Please select the .RAR file')" "$TITLE" SETUP_EXE="$APP_ANSWER" cd "$POL_System_TmpDir" POL_SetupWindow_wait_next_signal "$(eval_gettext 'Extracting the archive...')" "$TITLE" POL_System_unrar x "$APP_ANSWER" "$WINEPREFIX/drive_c/game/" || POL_Debug_Fatal "unrar is required to unarchive $TITLE (unrar package is not installed on the OS)." POL_Shortcut "$SHORTCUT_FILENAME" "$TITLE" "" "" "$SOFTWARE_CATEGORIES" POL_Shortcut_Document "$TITLE" "$DOCUMENT_FILE" fi fi ################ # Patch update # ################ # POL_SetupWindow_menu "$(eval_gettext 'Do you have a official patch-update to install ?')" "$TITLE" "$(eval_gettext 'No')~$(eval_gettext 'Yes')" "~" if [ "$APP_ANSWER" == "$(eval_gettext 'Yes')" ]; then POL_SetupWindow_browse "$(eval_gettext 'Please select the .EXE file to run')" "$TITLE" PATCH_EXE="$APP_ANSWER" POL_Wine start /unix "$PATCH_EXE" POL_Wine_WaitExit "$PATCH_EXE" fi ####################################### # Hacks # # Editing configuration files # ####################################### POL_SetupWindow_message "$(eval_gettext 'Installation is finished.')" "$TITLE" 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 RéponsesMercredi 28 Octobre 2020 à 18:07
Edité par Dadu042 |
Dadu042 | Lundi 26 Octobre 2020 à 9:42 |
Dadu042
|
WarningCette mise à jour n'a pas été approuvée par l'équipe. Differences@@ -16,8 +16,12 @@ # CHANGELOG # [Dadu042] (2020-09-29 10-00). # Initial script. Game fail to run because of the anti cheat software (mhyprot2.sys), that want admin rights. -# [Dadu042] (2020-10-25 10-00). +# [Dadu042] (2020-10-25 10-00). # Update the file installer URL. +# [Dadu042] (2020-10-25 20-00). +# Wine 5.0.2 -> 5.19-staging (because I have got some crashes some seconds afeer the game did start). +# [Dadu042] (2020-10-26 20-00). +# Add virtual desktop and mouse override. # # KNOWN ISSUES : # - Wine amd64 5.19-staging: missing textures (displayed as blue areas). @@ -58,7 +62,7 @@ GAME_URL="https://en.wikipedia.org/wiki/Genshin_Impact" AUTHOR="Dadu042" STEAM_ID="" -GAME_VMS="1024" +GAME_VMS="512" SHORTCUT_FILENAME="launcher.exe" SOFTWARE_CATEGORIES="Game;RolePlaying;" # http://wiki.playonlinux.com/index.php/Scripting_-_Chapter_9:_Standardization#Advanced_Standardization @@ -94,7 +98,7 @@ POL_System_SetArch "amd64" # Download Wine if necessary then create prefix -POL_Wine_PrefixCreate "5.0.2" +POL_Wine_PrefixCreate "5.19-staging" # POL_Wine_PrefixCreate # POL_System_TmpCreate "$PREFIX" @@ -107,11 +111,13 @@ - ####################################### # Installing mandatory dependencies # ####################################### +# Avoid game freeze when doing ALT+TAB +POL_Wine_DirectInput "MouseWarpOverride" "force" + # POL_Call POL_Install_vcrun2013 # POL_Call POL_Install_d3dx11 @@ -139,6 +145,22 @@ # POL_Call POL_Install_physx + +####################################### +# Create a 'virtual desktop' (window) # +####################################### + +POL_SetupWindow_menu_list "$(eval_gettext "Choose the game resolution")" "$TITLE" "800x600-1152x864-1024x768-1280x720-1280x800-1280x900-1280x1024-1360x768-1368x768-1440x900-1400x1050-1600x900-1600x1024-1680x1050-1920x1080" "-" "800x600" + +resolution="$APP_ANSWER" +WIDTH="$(echo $resolution | cut -d"x" -f1)" +HEIGHT="$(echo $resolution | cut -d"x" -f2)" + +Set_Desktop "On" "$WIDTH" "$HEIGHT" + +Set_WineWindowTitle "$TITLE" + + ############################################# # Sound problem fix - pulseaudio related # ############################################# Nouveau code source#!/bin/bash # Date : (2020-09-29) # Last revision : see the changelog below # Wine version used : see the changelog below # Distribution used to test : XUbuntu 18.04 64 bits (Linux kernel v5.4.0). GPU: AMD Vega 11. # Author : Dadu042 # Licence : Retail # Only For : http://www.playonlinux.com # # TESTED Editions: Launcher v2.3.3.0 (GenshinImpact_install_20200911204035.exe) # v2.3.4.0 (GenshinImpact_install_20201014173947.exe). Game (login screen): OSRELWin1.0.1_R1135452_S1135452_D1135370. # # Middlewares used by this software : Unity 2017, vcrun2013, vcrun2015, QT5, DirectX 11. # # # CHANGELOG # [Dadu042] (2020-09-29 10-00). # Initial script. Game fail to run because of the anti cheat software (mhyprot2.sys), that want admin rights. # [Dadu042] (2020-10-25 10-00). # Update the file installer URL. # [Dadu042] (2020-10-25 20-00). # Wine 5.0.2 -> 5.19-staging (because I have got some crashes some seconds afeer the game did start). # [Dadu042] (2020-10-26 20-00). # Add virtual desktop and mouse override. # # KNOWN ISSUES : # - Wine amd64 5.19-staging: missing textures (displayed as blue areas). # # Anti-cheat issue: # - Wine amd64 4.21, 5.0.2, 5.11-staging, 5.16, 5.18-staging: when clicking 'Play' (yellow button) the window just does reduce in the task bar. Tried: set OS to Win7/8/10. Enable game auto update, wininet. # Download file from: http://www.dll-found.com/wdfldr.sys_download.html copy to /home/YourUserName/PlayOnLinux's virtual drives/Genshin_Impact/drive_c/users/theuser/Temp/ and into the game folder, copied also in uppercase. # # Tried: copying wdfldr.sys (set as Native) and WDFLDR.SYS into '/drive_c/windows/system32/'. # # Immediate Wine 5.0.2 debug log is: # 0198:fixme:heap:RtlSetHeapInformation 0x570000 0 0x22db80 4 stub # 0198:fixme:heap:EnumSystemFirmwareTables (0x4649524d, 0000000000000000, 0) # 0198:fixme:heap:RtlSetHeapInformation 0x790000 0 0x22f1b0 4 stub # 019c:err:service:validate_context_handle Access denied - handle created with access 34, needed 10000 # 01a2:err:module:import_dll Library WDFLDR.SYS (which is needed by L"C:\\users\\theuser\\Temp\\mhyprot2.sys") not found # 01a2:err:ntoskrnl:ZwLoadDriver failed to create driver L"\\Registry\\Machine\\System\\CurrentControlSet\\Services\\mhyprot2": c0000142 # 0199:fixme:ver:GetCurrentPackageId (0x99fb00 (nil)): stub # # Wine 5.16: # 0790:fixme:heap:RtlSetHeapInformation 0000000000890000 0 000000000021DFC0 4 stub # 0790:fixme:heap:EnumSystemFirmwareTables (0x4649524d, 0000000000000000, 0) # 0790:fixme:heap:RtlSetHeapInformation 0000000000AB0000 0 000000000021F080 4 stub # 079c:err:service:validate_context_handle Access denied - handle created with access 34, needed 10000 # 07b8:err:module:import_dll Library WDFLDR.SYS (which is needed by L"C:\\users\\theuser\\Temp\\mhyprot2.sys") not found # 07b8:err:ntoskrnl:ZwLoadDriver failed to create driver L"\\Registry\\Machine\\System\\CurrentControlSet\\Services\\mhyprot2": c0000142 # 0794:fixme:ver:GetCurrentPackageId (0000000000CBFBA0 0000000000000000): stub # # KNOWN ISSUES (FIXED): # - Wine amd64 5.0.2, 5.19: on the account creation screen (if you want to use Facebook nor Twitter), display is bad and the characters typed are not displayed. Fix: Wine 5.19-staging [ "$PLAYONLINUX" = "" ] && exit 0 source "$PLAYONLINUX/lib/sources" TITLE="Genshin Impact" PREFIX="Genshin_Impact" EDITOR="miHoYo" GAME_URL="https://en.wikipedia.org/wiki/Genshin_Impact" AUTHOR="Dadu042" STEAM_ID="" GAME_VMS="512" SHORTCUT_FILENAME="launcher.exe" SOFTWARE_CATEGORIES="Game;RolePlaying;" # http://wiki.playonlinux.com/index.php/Scripting_-_Chapter_9:_Standardization#Advanced_Standardization DOCUMENT_FILE="" # Starting the script POL_SetupWindow_Init # Starting debugging API POL_Debug_Init # Open dialogue box POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX" POL_RequiredVersion "4.3.0" || POL_Debug_Fatal "$APPLICATION_TITLE $VERSION is required to install $TITLE" # Setting prefix path POL_Wine_SelectPrefix "$PREFIX" ############################################ # Choose architecture: 32 bits or 64 bits # ############################################ # POL_SetupWindow_menu "$(eval_gettext 'What architecture do you want to use ?')" "$TITLE" "$(eval_gettext '64 bits (recommended)')~$(eval_gettext '32 bits')" "~" # if [ "$APP_ANSWER" == "32 bits" ]; then # POL_System_SetArch "x86" # elif [ "$APP_ANSWER" == "$(eval_gettext '64 bits (recommended)')" ]; then # POL_System_SetArch "amd64" # fi POL_System_SetArch "amd64" # Download Wine if necessary then create prefix POL_Wine_PrefixCreate "5.19-staging" # POL_Wine_PrefixCreate # POL_System_TmpCreate "$PREFIX" Set_OS "win7" ####################################### # Hacks # ####################################### ####################################### # Installing mandatory dependencies # ####################################### # Avoid game freeze when doing ALT+TAB POL_Wine_DirectInput "MouseWarpOverride" "force" # POL_Call POL_Install_vcrun2013 # POL_Call POL_Install_d3dx11 # Disable DirectX 11 # POL_Wine_OverrideDLL "" "d3d11" ################ # GPU # ################ # Set Graphic Card information keys for wine POL_Wine_SetVideoDriver # Minimum memory size requiered for the graphic card. POL_SetupWindow_VMS $GAME_VMS # Asking about memory size of graphic card # POL_SetupWindow_menu_list "How much memory does your graphics board have?" "$TITLE" "64-128-256-320-384-512-640-768-896-1024-1536-1792-2048-3072-4096" "-" "256" # VRAM="$APP_ANSWER" # POL_Wine_Direct3D "VideoMemorySize" "$VRAM" # Useful for Nvidia GPUs # POL_Call POL_Install_physx ####################################### # Create a 'virtual desktop' (window) # ####################################### POL_SetupWindow_menu_list "$(eval_gettext "Choose the game resolution")" "$TITLE" "800x600-1152x864-1024x768-1280x720-1280x800-1280x900-1280x1024-1360x768-1368x768-1440x900-1400x1050-1600x900-1600x1024-1680x1050-1920x1080" "-" "800x600" resolution="$APP_ANSWER" WIDTH="$(echo $resolution | cut -d"x" -f1)" HEIGHT="$(echo $resolution | cut -d"x" -f2)" Set_Desktop "On" "$WIDTH" "$HEIGHT" Set_WineWindowTitle "$TITLE" ############################################# # Sound problem fix - pulseaudio related # ############################################# # [ "$POL_OS" = "Linux" ] && Set_SoundDriver "alsa" # [ "$POL_OS" = "Linux" ] && Set_SoundEmulDriver "Y" ## End Fix ####################################### # Main part of this script # ####################################### # Choose between Steam and other Digital Download versions # POL_SetupWindow_InstallMethod "STEAM,DVD,LOCAL,DOWNLOAD" POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD" # POL_SetupWindow_message "Warning: do not install Punk Buster nor DirectX." "$TITLE" # POL_SetupWindow_message "Warning: do not install DirectX (nor the icons)." "$TITLE" # POL_SetupWindow_message "Warning: do not install Visual C++ 2013 redistribuable\n nor Direct X." "$TITLE" # POL_SetupWindow_message "$(eval_gettext 'Note: we recommend you to uncheck all the checkboxes:\n[x] -> [ ]')" "$TITLE" # POL_SetupWindow_message "$(eval_gettext 'Note: at the end of the first installer (it does installs the downloader program), do not click RUN, instead close the window, then you will run the game from POL/POM.')" "$TITLE" # Begin game installation if [ "$INSTALL_METHOD" == "STEAM" ]; then POL_Call POL_Install_steam # Mandatory pre-install fix for steam POL_Call POL_Install_steam_flags "$STEAM_ID" # Shortcut done before install for steam version POL_Shortcut "steam.exe" "$TITLE" "" "steam://rungameid/$STEAM_ID" # Steam install POL_SetupWindow_message "$(eval_gettext 'When $TITLE download by Steam is finished,\nDo NOT click on Play.\n\nClose COMPLETELY the Steam interface, \nso that the installation script can continue')" "$TITLE" cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam" POL_Wine start /unix "steam.exe" steam://install/$STEAM_ID POL_Wine_WaitExit "$TITLE" elif [ "$INSTALL_METHOD" == "DVD" ]; then POL_SetupWindow_cdrom # POL_Call POL_Function_NoCDWarning POL_SetupWindow_check_cdrom "setup.exe" POL_Wine start /unix "$CDROM/setup.exe" POL_Wine_WaitExit "$TITLE" # Restore screen resolution (game's default is 800x600 ?) # POL_Shortcut_InsertBeforeWine "$SHORTCUT" "trap 'xrandr -s 0' EXIT" POL_Shortcut "$SHORTCUT_FILENAME" "$TITLE" "" "" "$SOFTWARE_CATEGORIES" POL_Shortcut_QuietDebug "$TITLE" POL_Shortcut_Document "$TITLE" "$DOCUMENT_FILE" elif [ "$INSTALL_METHOD" == "DOWNLOAD" ]; then cd "$WINEPREFIX/drive_c" # POL_SetupWindow_message "$(eval_gettext '\n\nNote: this script will download the demo .')" "$TITLE" # POL_Download "https://genshinimpact.mihoyo.com/client_app/launcher/GenshinImpact_install_20200911204035.exe" POL_Download "https://genshinimpact.mihoyo.com/client_app/launcher/GenshinImpact_install_20201014173947.exe" mv GenshinImpact_install_20201014173947.exe GameInstaller.exe # mv X.rar gameinstaller.rar # mv X.zip gameinstaller.zip # POL_SetupWindow_wait_next_signal "$(eval_gettext 'Extracting the archive...')" "$TITLE" # POL_System_unrar x "gameinstaller.rar" "$WINEPREFIX/drive_c/game/" || POL_Debug_Fatal "unrar is required to unarchive $TITLE (unrar package is not installed on the OS)." # POL_System_unzip "gameinstaller.zip" -d "$WINEPREFIX/drive_c/game/" # Extract without sub-folder. # unzip "gameinstaller.zip" -j -d "$WINEPREFIX/drive_c/" # POL_SetupWindow_message "$(eval_gettext 'Note: we recommend you to uncheck all the checkboxes:\n[x] -> [ ]')" "$TITLE" cd "$WINEPREFIX/drive_c/game/" POL_Wine "GameInstaller.exe" # "/SILENT" POL_Wine_WaitBefore "$TITLE" # POL_SetupWindow_message "$(eval_gettext '\n\nNote: do NOT install DirectX.')" "$TITLE" # cd "$WINEPREFIX/drive_c" # rm GameInstaller.exe POL_Shortcut "$SHORTCUT_FILENAME" "$TITLE" "" "" "$SOFTWARE_CATEGORIES" POL_Shortcut_QuietDebug "$TITLE" # Restore screen resolution (game's default is 1024x768) # POL_Shortcut_InsertBeforeWine "$SHORTCUT" "trap 'xrandr -s 0' EXIT" POL_Shortcut_Document "$TITLE" "$DOCUMENT_FILE" elif [ "$INSTALL_METHOD" == "LOCAL" ]; then # POL_SetupWindow_menu "$(eval_gettext 'What is the type of the file?.')" "$TITLE" "$(eval_gettext '.EXE')~$(eval_gettext '.ZIP')~$(eval_gettext '.RAR')" "~" # POL_SetupWindow_menu "$(eval_gettext 'What is the type of the file?.')" "$TITLE" "$(eval_gettext '.ZIP')~$(eval_gettext '.RAR')" "~" # POL_SetupWindow_menu "$(eval_gettext 'What is the type of the file?.')" "$TITLE" "$(eval_gettext '.MSI')~$(eval_gettext '.EXE')" "~" APP_ANSWER=".EXE" if [ "$APP_ANSWER" == ".EXE" ]; then # Asking then installing local files of the game cd "$HOME" POL_SetupWindow_browse "$(eval_gettext 'Please select the installation file (.EXE)')" "$TITLE" SETUP_EXE="$APP_ANSWER" # POL_SetupWindow_message "Note: please answer NO to all the questions that will appear." "$TITLE" POL_Wine start /unix "$SETUP_EXE" POL_Wine_WaitExit "$TITLE" # Restore screen resolution (game's default is 640x480 ?) # POL_Shortcut_InsertBeforeWine "$SHORTCUT" "trap 'xrandr -s 0' EXIT" POL_Shortcut "$SHORTCUT_FILENAME" "$TITLE" "" "" "$SOFTWARE_CATEGORIES" POL_Shortcut_QuietDebug "$TITLE" POL_Shortcut_Document "$TITLE" "$DOCUMENT_FILE" elif [ "$APP_ANSWER" == "$(eval_gettext '.MSI')" ]; then # Asking then installing local files of the game cd "$HOME" POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE" SETUP_EXE="$APP_ANSWER" POL_Wine msiexec /i "$SETUP_EXE" POL_Wine_WaitExit "$TITLE" # Restore screen resolution (game's default is 640x480 ?) # POL_Shortcut_InsertBeforeWine "$SHORTCUT" "trap 'xrandr -s 0' EXIT" POL_Shortcut "$SHORTCUT_FILENAME" "$TITLE" "" "" "$SOFTWARE_CATEGORIES" POL_Shortcut_QuietDebug "$TITLE" POL_Shortcut_Document "$TITLE" "$DOCUMENT_FILE" elif [ "$APP_ANSWER" == "$(eval_gettext '.ZIP')" ]; then cd "$HOME" # POL_SetupWindow_message "$(eval_gettext '\n\nWARNING: the file name must not have SPACES in its name !.')" "$TITLE" POL_SetupWindow_browse "$(eval_gettext 'Please select the .ZIP file')" "$TITLE" cd "$POL_System_TmpDir" POL_SetupWindow_wait_next_signal "$(eval_gettext 'Extracting the archive...')" "$TITLE" POL_System_unzip "$APP_ANSWER" -d "$WINEPREFIX/drive_c/game/" POL_Shortcut "$SHORTCUT_FILENAME" "$TITLE" "" "" "$SOFTWARE_CATEGORIES" POL_Shortcut_Document "$TITLE" "$DOCUMENT_FILE" elif [ "$APP_ANSWER" == "$(eval_gettext '.RAR')" ]; then cd "$HOME" POL_SetupWindow_browse "$(eval_gettext 'Please select the .RAR file')" "$TITLE" SETUP_EXE="$APP_ANSWER" cd "$POL_System_TmpDir" POL_SetupWindow_wait_next_signal "$(eval_gettext 'Extracting the archive...')" "$TITLE" POL_System_unrar x "$APP_ANSWER" "$WINEPREFIX/drive_c/game/" || POL_Debug_Fatal "unrar is required to unarchive $TITLE (unrar package is not installed on the OS)." POL_Shortcut "$SHORTCUT_FILENAME" "$TITLE" "" "" "$SOFTWARE_CATEGORIES" POL_Shortcut_Document "$TITLE" "$DOCUMENT_FILE" fi fi ################ # Patch update # ################ # POL_SetupWindow_menu "$(eval_gettext 'Do you have a official patch-update to install ?')" "$TITLE" "$(eval_gettext 'No')~$(eval_gettext 'Yes')" "~" if [ "$APP_ANSWER" == "$(eval_gettext 'Yes')" ]; then POL_SetupWindow_browse "$(eval_gettext 'Please select the .EXE file to run')" "$TITLE" PATCH_EXE="$APP_ANSWER" POL_Wine start /unix "$PATCH_EXE" POL_Wine_WaitExit "$PATCH_EXE" fi ####################################### # Hacks # # Editing configuration files # ####################################### POL_SetupWindow_message "$(eval_gettext 'Installation is finished.')" "$TITLE" 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 Réponses |
sentientyeet | Lundi 26 Octobre 2020 à 9:15 |
sentientyeet
|
MessagesUsing Wine 5.19-staging (ZFGameBrowser.exe crash if not using this version) with the DXVK_172 component installed. To fix the issue where the game doesn't respond to inputs after an ALT-TAB, turn on Automatically capture mouse in full-screen windows and Emulate virtual desktop (set to your native or preferred res) Running smoothly, no issues so far. Réponses |
Dadu042 | Dimanche 25 Octobre 2020 à 20:24 |
Dadu042
|
WarningCette mise à jour n'a pas été approuvée par l'équipe. Differences@@ -8,9 +8,9 @@ # Only For : http://www.playonlinux.com # # TESTED Editions: Launcher v2.3.3.0 (GenshinImpact_install_20200911204035.exe) -# v2.3.4.0 (GenshinImpact_install_20201014173947.exe) +# v2.3.4.0 (GenshinImpact_install_20201014173947.exe). Game (login screen): OSRELWin1.0.1_R1135452_S1135452_D1135370. # -# Middlewares used by this software : Unity 2017, vcrun2013, vcrun2015, QT5. +# Middlewares used by this software : Unity 2017, vcrun2013, vcrun2015, QT5, DirectX 11. # # # CHANGELOG @@ -20,6 +20,7 @@ # Update the file installer URL. # # KNOWN ISSUES : +# - Wine amd64 5.19-staging: missing textures (displayed as blue areas). # # Anti-cheat issue: # - Wine amd64 4.21, 5.0.2, 5.11-staging, 5.16, 5.18-staging: when clicking 'Play' (yellow button) the window just does reduce in the task bar. Tried: set OS to Win7/8/10. Enable game auto update, wininet. @@ -36,7 +37,6 @@ # 01a2:err:ntoskrnl:ZwLoadDriver failed to create driver L"\\Registry\\Machine\\System\\CurrentControlSet\\Services\\mhyprot2": c0000142 # 0199:fixme:ver:GetCurrentPackageId (0x99fb00 (nil)): stub # -# # Wine 5.16: # 0790:fixme:heap:RtlSetHeapInformation 0000000000890000 0 000000000021DFC0 4 stub # 0790:fixme:heap:EnumSystemFirmwareTables (0x4649524d, 0000000000000000, 0) @@ -47,7 +47,7 @@ # 0794:fixme:ver:GetCurrentPackageId (0000000000CBFBA0 0000000000000000): stub # # KNOWN ISSUES (FIXED): -# - Wine amd64 5.0.2: X +# - Wine amd64 5.0.2, 5.19: on the account creation screen (if you want to use Facebook nor Twitter), display is bad and the characters typed are not displayed. Fix: Wine 5.19-staging [ "$PLAYONLINUX" = "" ] && exit 0 source "$PLAYONLINUX/lib/sources" @@ -58,7 +58,7 @@ GAME_URL="https://en.wikipedia.org/wiki/Genshin_Impact" AUTHOR="Dadu042" STEAM_ID="" -GAME_VMS="512" +GAME_VMS="1024" SHORTCUT_FILENAME="launcher.exe" SOFTWARE_CATEGORIES="Game;RolePlaying;" # http://wiki.playonlinux.com/index.php/Scripting_-_Chapter_9:_Standardization#Advanced_Standardization @@ -322,7 +322,7 @@ POL_SetupWindow_message "$(eval_gettext 'Installation is finished.')" "$TITLE" -# POL_SetupWindow_message "$(eval_gettext 'WARNING: to avoid to have a huge log file, you should type \ninto Debug flags : fixme-all')" "$TITLE" +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 Nouveau code source#!/bin/bash # Date : (2020-09-29) # Last revision : see the changelog below # Wine version used : see the changelog below # Distribution used to test : XUbuntu 18.04 64 bits (Linux kernel v5.4.0). GPU: AMD Vega 11. # Author : Dadu042 # Licence : Retail # Only For : http://www.playonlinux.com # # TESTED Editions: Launcher v2.3.3.0 (GenshinImpact_install_20200911204035.exe) # v2.3.4.0 (GenshinImpact_install_20201014173947.exe). Game (login screen): OSRELWin1.0.1_R1135452_S1135452_D1135370. # # Middlewares used by this software : Unity 2017, vcrun2013, vcrun2015, QT5, DirectX 11. # # # CHANGELOG # [Dadu042] (2020-09-29 10-00). # Initial script. Game fail to run because of the anti cheat software (mhyprot2.sys), that want admin rights. # [Dadu042] (2020-10-25 10-00). # Update the file installer URL. # # KNOWN ISSUES : # - Wine amd64 5.19-staging: missing textures (displayed as blue areas). # # Anti-cheat issue: # - Wine amd64 4.21, 5.0.2, 5.11-staging, 5.16, 5.18-staging: when clicking 'Play' (yellow button) the window just does reduce in the task bar. Tried: set OS to Win7/8/10. Enable game auto update, wininet. # Download file from: http://www.dll-found.com/wdfldr.sys_download.html copy to /home/YourUserName/PlayOnLinux's virtual drives/Genshin_Impact/drive_c/users/theuser/Temp/ and into the game folder, copied also in uppercase. # # Tried: copying wdfldr.sys (set as Native) and WDFLDR.SYS into '/drive_c/windows/system32/'. # # Immediate Wine 5.0.2 debug log is: # 0198:fixme:heap:RtlSetHeapInformation 0x570000 0 0x22db80 4 stub # 0198:fixme:heap:EnumSystemFirmwareTables (0x4649524d, 0000000000000000, 0) # 0198:fixme:heap:RtlSetHeapInformation 0x790000 0 0x22f1b0 4 stub # 019c:err:service:validate_context_handle Access denied - handle created with access 34, needed 10000 # 01a2:err:module:import_dll Library WDFLDR.SYS (which is needed by L"C:\\users\\theuser\\Temp\\mhyprot2.sys") not found # 01a2:err:ntoskrnl:ZwLoadDriver failed to create driver L"\\Registry\\Machine\\System\\CurrentControlSet\\Services\\mhyprot2": c0000142 # 0199:fixme:ver:GetCurrentPackageId (0x99fb00 (nil)): stub # # Wine 5.16: # 0790:fixme:heap:RtlSetHeapInformation 0000000000890000 0 000000000021DFC0 4 stub # 0790:fixme:heap:EnumSystemFirmwareTables (0x4649524d, 0000000000000000, 0) # 0790:fixme:heap:RtlSetHeapInformation 0000000000AB0000 0 000000000021F080 4 stub # 079c:err:service:validate_context_handle Access denied - handle created with access 34, needed 10000 # 07b8:err:module:import_dll Library WDFLDR.SYS (which is needed by L"C:\\users\\theuser\\Temp\\mhyprot2.sys") not found # 07b8:err:ntoskrnl:ZwLoadDriver failed to create driver L"\\Registry\\Machine\\System\\CurrentControlSet\\Services\\mhyprot2": c0000142 # 0794:fixme:ver:GetCurrentPackageId (0000000000CBFBA0 0000000000000000): stub # # KNOWN ISSUES (FIXED): # - Wine amd64 5.0.2, 5.19: on the account creation screen (if you want to use Facebook nor Twitter), display is bad and the characters typed are not displayed. Fix: Wine 5.19-staging [ "$PLAYONLINUX" = "" ] && exit 0 source "$PLAYONLINUX/lib/sources" TITLE="Genshin Impact" PREFIX="Genshin_Impact" EDITOR="miHoYo" GAME_URL="https://en.wikipedia.org/wiki/Genshin_Impact" AUTHOR="Dadu042" STEAM_ID="" GAME_VMS="1024" SHORTCUT_FILENAME="launcher.exe" SOFTWARE_CATEGORIES="Game;RolePlaying;" # http://wiki.playonlinux.com/index.php/Scripting_-_Chapter_9:_Standardization#Advanced_Standardization DOCUMENT_FILE="" # Starting the script POL_SetupWindow_Init # Starting debugging API POL_Debug_Init # Open dialogue box POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX" POL_RequiredVersion "4.3.0" || POL_Debug_Fatal "$APPLICATION_TITLE $VERSION is required to install $TITLE" # Setting prefix path POL_Wine_SelectPrefix "$PREFIX" ############################################ # Choose architecture: 32 bits or 64 bits # ############################################ # POL_SetupWindow_menu "$(eval_gettext 'What architecture do you want to use ?')" "$TITLE" "$(eval_gettext '64 bits (recommended)')~$(eval_gettext '32 bits')" "~" # if [ "$APP_ANSWER" == "32 bits" ]; then # POL_System_SetArch "x86" # elif [ "$APP_ANSWER" == "$(eval_gettext '64 bits (recommended)')" ]; then # POL_System_SetArch "amd64" # fi POL_System_SetArch "amd64" # Download Wine if necessary then create prefix POL_Wine_PrefixCreate "5.0.2" # POL_Wine_PrefixCreate # POL_System_TmpCreate "$PREFIX" Set_OS "win7" ####################################### # Hacks # ####################################### ####################################### # Installing mandatory dependencies # ####################################### # POL_Call POL_Install_vcrun2013 # POL_Call POL_Install_d3dx11 # Disable DirectX 11 # POL_Wine_OverrideDLL "" "d3d11" ################ # GPU # ################ # Set Graphic Card information keys for wine POL_Wine_SetVideoDriver # Minimum memory size requiered for the graphic card. POL_SetupWindow_VMS $GAME_VMS # Asking about memory size of graphic card # POL_SetupWindow_menu_list "How much memory does your graphics board have?" "$TITLE" "64-128-256-320-384-512-640-768-896-1024-1536-1792-2048-3072-4096" "-" "256" # VRAM="$APP_ANSWER" # POL_Wine_Direct3D "VideoMemorySize" "$VRAM" # Useful for Nvidia GPUs # POL_Call POL_Install_physx ############################################# # Sound problem fix - pulseaudio related # ############################################# # [ "$POL_OS" = "Linux" ] && Set_SoundDriver "alsa" # [ "$POL_OS" = "Linux" ] && Set_SoundEmulDriver "Y" ## End Fix ####################################### # Main part of this script # ####################################### # Choose between Steam and other Digital Download versions # POL_SetupWindow_InstallMethod "STEAM,DVD,LOCAL,DOWNLOAD" POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD" # POL_SetupWindow_message "Warning: do not install Punk Buster nor DirectX." "$TITLE" # POL_SetupWindow_message "Warning: do not install DirectX (nor the icons)." "$TITLE" # POL_SetupWindow_message "Warning: do not install Visual C++ 2013 redistribuable\n nor Direct X." "$TITLE" # POL_SetupWindow_message "$(eval_gettext 'Note: we recommend you to uncheck all the checkboxes:\n[x] -> [ ]')" "$TITLE" # POL_SetupWindow_message "$(eval_gettext 'Note: at the end of the first installer (it does installs the downloader program), do not click RUN, instead close the window, then you will run the game from POL/POM.')" "$TITLE" # Begin game installation if [ "$INSTALL_METHOD" == "STEAM" ]; then POL_Call POL_Install_steam # Mandatory pre-install fix for steam POL_Call POL_Install_steam_flags "$STEAM_ID" # Shortcut done before install for steam version POL_Shortcut "steam.exe" "$TITLE" "" "steam://rungameid/$STEAM_ID" # Steam install POL_SetupWindow_message "$(eval_gettext 'When $TITLE download by Steam is finished,\nDo NOT click on Play.\n\nClose COMPLETELY the Steam interface, \nso that the installation script can continue')" "$TITLE" cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam" POL_Wine start /unix "steam.exe" steam://install/$STEAM_ID POL_Wine_WaitExit "$TITLE" elif [ "$INSTALL_METHOD" == "DVD" ]; then POL_SetupWindow_cdrom # POL_Call POL_Function_NoCDWarning POL_SetupWindow_check_cdrom "setup.exe" POL_Wine start /unix "$CDROM/setup.exe" POL_Wine_WaitExit "$TITLE" # Restore screen resolution (game's default is 800x600 ?) # POL_Shortcut_InsertBeforeWine "$SHORTCUT" "trap 'xrandr -s 0' EXIT" POL_Shortcut "$SHORTCUT_FILENAME" "$TITLE" "" "" "$SOFTWARE_CATEGORIES" POL_Shortcut_QuietDebug "$TITLE" POL_Shortcut_Document "$TITLE" "$DOCUMENT_FILE" elif [ "$INSTALL_METHOD" == "DOWNLOAD" ]; then cd "$WINEPREFIX/drive_c" # POL_SetupWindow_message "$(eval_gettext '\n\nNote: this script will download the demo .')" "$TITLE" # POL_Download "https://genshinimpact.mihoyo.com/client_app/launcher/GenshinImpact_install_20200911204035.exe" POL_Download "https://genshinimpact.mihoyo.com/client_app/launcher/GenshinImpact_install_20201014173947.exe" mv GenshinImpact_install_20201014173947.exe GameInstaller.exe # mv X.rar gameinstaller.rar # mv X.zip gameinstaller.zip # POL_SetupWindow_wait_next_signal "$(eval_gettext 'Extracting the archive...')" "$TITLE" # POL_System_unrar x "gameinstaller.rar" "$WINEPREFIX/drive_c/game/" || POL_Debug_Fatal "unrar is required to unarchive $TITLE (unrar package is not installed on the OS)." # POL_System_unzip "gameinstaller.zip" -d "$WINEPREFIX/drive_c/game/" # Extract without sub-folder. # unzip "gameinstaller.zip" -j -d "$WINEPREFIX/drive_c/" # POL_SetupWindow_message "$(eval_gettext 'Note: we recommend you to uncheck all the checkboxes:\n[x] -> [ ]')" "$TITLE" cd "$WINEPREFIX/drive_c/game/" POL_Wine "GameInstaller.exe" # "/SILENT" POL_Wine_WaitBefore "$TITLE" # POL_SetupWindow_message "$(eval_gettext '\n\nNote: do NOT install DirectX.')" "$TITLE" # cd "$WINEPREFIX/drive_c" # rm GameInstaller.exe POL_Shortcut "$SHORTCUT_FILENAME" "$TITLE" "" "" "$SOFTWARE_CATEGORIES" POL_Shortcut_QuietDebug "$TITLE" # Restore screen resolution (game's default is 1024x768) # POL_Shortcut_InsertBeforeWine "$SHORTCUT" "trap 'xrandr -s 0' EXIT" POL_Shortcut_Document "$TITLE" "$DOCUMENT_FILE" elif [ "$INSTALL_METHOD" == "LOCAL" ]; then # POL_SetupWindow_menu "$(eval_gettext 'What is the type of the file?.')" "$TITLE" "$(eval_gettext '.EXE')~$(eval_gettext '.ZIP')~$(eval_gettext '.RAR')" "~" # POL_SetupWindow_menu "$(eval_gettext 'What is the type of the file?.')" "$TITLE" "$(eval_gettext '.ZIP')~$(eval_gettext '.RAR')" "~" # POL_SetupWindow_menu "$(eval_gettext 'What is the type of the file?.')" "$TITLE" "$(eval_gettext '.MSI')~$(eval_gettext '.EXE')" "~" APP_ANSWER=".EXE" if [ "$APP_ANSWER" == ".EXE" ]; then # Asking then installing local files of the game cd "$HOME" POL_SetupWindow_browse "$(eval_gettext 'Please select the installation file (.EXE)')" "$TITLE" SETUP_EXE="$APP_ANSWER" # POL_SetupWindow_message "Note: please answer NO to all the questions that will appear." "$TITLE" POL_Wine start /unix "$SETUP_EXE" POL_Wine_WaitExit "$TITLE" # Restore screen resolution (game's default is 640x480 ?) # POL_Shortcut_InsertBeforeWine "$SHORTCUT" "trap 'xrandr -s 0' EXIT" POL_Shortcut "$SHORTCUT_FILENAME" "$TITLE" "" "" "$SOFTWARE_CATEGORIES" POL_Shortcut_QuietDebug "$TITLE" POL_Shortcut_Document "$TITLE" "$DOCUMENT_FILE" elif [ "$APP_ANSWER" == "$(eval_gettext '.MSI')" ]; then # Asking then installing local files of the game cd "$HOME" POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE" SETUP_EXE="$APP_ANSWER" POL_Wine msiexec /i "$SETUP_EXE" POL_Wine_WaitExit "$TITLE" # Restore screen resolution (game's default is 640x480 ?) # POL_Shortcut_InsertBeforeWine "$SHORTCUT" "trap 'xrandr -s 0' EXIT" POL_Shortcut "$SHORTCUT_FILENAME" "$TITLE" "" "" "$SOFTWARE_CATEGORIES" POL_Shortcut_QuietDebug "$TITLE" POL_Shortcut_Document "$TITLE" "$DOCUMENT_FILE" elif [ "$APP_ANSWER" == "$(eval_gettext '.ZIP')" ]; then cd "$HOME" # POL_SetupWindow_message "$(eval_gettext '\n\nWARNING: the file name must not have SPACES in its name !.')" "$TITLE" POL_SetupWindow_browse "$(eval_gettext 'Please select the .ZIP file')" "$TITLE" cd "$POL_System_TmpDir" POL_SetupWindow_wait_next_signal "$(eval_gettext 'Extracting the archive...')" "$TITLE" POL_System_unzip "$APP_ANSWER" -d "$WINEPREFIX/drive_c/game/" POL_Shortcut "$SHORTCUT_FILENAME" "$TITLE" "" "" "$SOFTWARE_CATEGORIES" POL_Shortcut_Document "$TITLE" "$DOCUMENT_FILE" elif [ "$APP_ANSWER" == "$(eval_gettext '.RAR')" ]; then cd "$HOME" POL_SetupWindow_browse "$(eval_gettext 'Please select the .RAR file')" "$TITLE" SETUP_EXE="$APP_ANSWER" cd "$POL_System_TmpDir" POL_SetupWindow_wait_next_signal "$(eval_gettext 'Extracting the archive...')" "$TITLE" POL_System_unrar x "$APP_ANSWER" "$WINEPREFIX/drive_c/game/" || POL_Debug_Fatal "unrar is required to unarchive $TITLE (unrar package is not installed on the OS)." POL_Shortcut "$SHORTCUT_FILENAME" "$TITLE" "" "" "$SOFTWARE_CATEGORIES" POL_Shortcut_Document "$TITLE" "$DOCUMENT_FILE" fi fi ################ # Patch update # ################ # POL_SetupWindow_menu "$(eval_gettext 'Do you have a official patch-update to install ?')" "$TITLE" "$(eval_gettext 'No')~$(eval_gettext 'Yes')" "~" if [ "$APP_ANSWER" == "$(eval_gettext 'Yes')" ]; then POL_SetupWindow_browse "$(eval_gettext 'Please select the .EXE file to run')" "$TITLE" PATCH_EXE="$APP_ANSWER" POL_Wine start /unix "$PATCH_EXE" POL_Wine_WaitExit "$PATCH_EXE" fi ####################################### # Hacks # # Editing configuration files # ####################################### POL_SetupWindow_message "$(eval_gettext 'Installation is finished.')" "$TITLE" 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 Réponses |
Dadu042 | Dimanche 25 Octobre 2020 à 11:48 |
Dadu042
|
WarningCette mise à jour n'a pas été approuvée par l'équipe. Differences@@ -7,7 +7,8 @@ # Licence : Retail # Only For : http://www.playonlinux.com # -# TESTED Editions: Launcher v2.3.3.0 +# TESTED Editions: Launcher v2.3.3.0 (GenshinImpact_install_20200911204035.exe) +# v2.3.4.0 (GenshinImpact_install_20201014173947.exe) # # Middlewares used by this software : Unity 2017, vcrun2013, vcrun2015, QT5. # @@ -15,6 +16,8 @@ # CHANGELOG # [Dadu042] (2020-09-29 10-00). # Initial script. Game fail to run because of the anti cheat software (mhyprot2.sys), that want admin rights. +# [Dadu042] (2020-10-25 10-00). +# Update the file installer URL. # # KNOWN ISSUES : # @@ -194,9 +197,10 @@ cd "$WINEPREFIX/drive_c" # POL_SetupWindow_message "$(eval_gettext '\n\nNote: this script will download the demo .')" "$TITLE" - POL_Download "https://genshinimpact.mihoyo.com/client_app/launcher/GenshinImpact_install_20200911204035.exe" + # POL_Download "https://genshinimpact.mihoyo.com/client_app/launcher/GenshinImpact_install_20200911204035.exe" + POL_Download "https://genshinimpact.mihoyo.com/client_app/launcher/GenshinImpact_install_20201014173947.exe" - mv GenshinImpact_install_20200911204035.exe GameInstaller.exe + mv GenshinImpact_install_20201014173947.exe GameInstaller.exe # mv X.rar gameinstaller.rar # mv X.zip gameinstaller.zip Nouveau code source#!/bin/bash # Date : (2020-09-29) # Last revision : see the changelog below # Wine version used : see the changelog below # Distribution used to test : XUbuntu 18.04 64 bits (Linux kernel v5.4.0). GPU: AMD Vega 11. # Author : Dadu042 # Licence : Retail # Only For : http://www.playonlinux.com # # TESTED Editions: Launcher v2.3.3.0 (GenshinImpact_install_20200911204035.exe) # v2.3.4.0 (GenshinImpact_install_20201014173947.exe) # # Middlewares used by this software : Unity 2017, vcrun2013, vcrun2015, QT5. # # # CHANGELOG # [Dadu042] (2020-09-29 10-00). # Initial script. Game fail to run because of the anti cheat software (mhyprot2.sys), that want admin rights. # [Dadu042] (2020-10-25 10-00). # Update the file installer URL. # # KNOWN ISSUES : # # Anti-cheat issue: # - Wine amd64 4.21, 5.0.2, 5.11-staging, 5.16, 5.18-staging: when clicking 'Play' (yellow button) the window just does reduce in the task bar. Tried: set OS to Win7/8/10. Enable game auto update, wininet. # Download file from: http://www.dll-found.com/wdfldr.sys_download.html copy to /home/YourUserName/PlayOnLinux's virtual drives/Genshin_Impact/drive_c/users/theuser/Temp/ and into the game folder, copied also in uppercase. # # Tried: copying wdfldr.sys (set as Native) and WDFLDR.SYS into '/drive_c/windows/system32/'. # # Immediate Wine 5.0.2 debug log is: # 0198:fixme:heap:RtlSetHeapInformation 0x570000 0 0x22db80 4 stub # 0198:fixme:heap:EnumSystemFirmwareTables (0x4649524d, 0000000000000000, 0) # 0198:fixme:heap:RtlSetHeapInformation 0x790000 0 0x22f1b0 4 stub # 019c:err:service:validate_context_handle Access denied - handle created with access 34, needed 10000 # 01a2:err:module:import_dll Library WDFLDR.SYS (which is needed by L"C:\\users\\theuser\\Temp\\mhyprot2.sys") not found # 01a2:err:ntoskrnl:ZwLoadDriver failed to create driver L"\\Registry\\Machine\\System\\CurrentControlSet\\Services\\mhyprot2": c0000142 # 0199:fixme:ver:GetCurrentPackageId (0x99fb00 (nil)): stub # # # Wine 5.16: # 0790:fixme:heap:RtlSetHeapInformation 0000000000890000 0 000000000021DFC0 4 stub # 0790:fixme:heap:EnumSystemFirmwareTables (0x4649524d, 0000000000000000, 0) # 0790:fixme:heap:RtlSetHeapInformation 0000000000AB0000 0 000000000021F080 4 stub # 079c:err:service:validate_context_handle Access denied - handle created with access 34, needed 10000 # 07b8:err:module:import_dll Library WDFLDR.SYS (which is needed by L"C:\\users\\theuser\\Temp\\mhyprot2.sys") not found # 07b8:err:ntoskrnl:ZwLoadDriver failed to create driver L"\\Registry\\Machine\\System\\CurrentControlSet\\Services\\mhyprot2": c0000142 # 0794:fixme:ver:GetCurrentPackageId (0000000000CBFBA0 0000000000000000): stub # # KNOWN ISSUES (FIXED): # - Wine amd64 5.0.2: X [ "$PLAYONLINUX" = "" ] && exit 0 source "$PLAYONLINUX/lib/sources" TITLE="Genshin Impact" PREFIX="Genshin_Impact" EDITOR="miHoYo" GAME_URL="https://en.wikipedia.org/wiki/Genshin_Impact" AUTHOR="Dadu042" STEAM_ID="" GAME_VMS="512" SHORTCUT_FILENAME="launcher.exe" SOFTWARE_CATEGORIES="Game;RolePlaying;" # http://wiki.playonlinux.com/index.php/Scripting_-_Chapter_9:_Standardization#Advanced_Standardization DOCUMENT_FILE="" # Starting the script POL_SetupWindow_Init # Starting debugging API POL_Debug_Init # Open dialogue box POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX" POL_RequiredVersion "4.3.0" || POL_Debug_Fatal "$APPLICATION_TITLE $VERSION is required to install $TITLE" # Setting prefix path POL_Wine_SelectPrefix "$PREFIX" ############################################ # Choose architecture: 32 bits or 64 bits # ############################################ # POL_SetupWindow_menu "$(eval_gettext 'What architecture do you want to use ?')" "$TITLE" "$(eval_gettext '64 bits (recommended)')~$(eval_gettext '32 bits')" "~" # if [ "$APP_ANSWER" == "32 bits" ]; then # POL_System_SetArch "x86" # elif [ "$APP_ANSWER" == "$(eval_gettext '64 bits (recommended)')" ]; then # POL_System_SetArch "amd64" # fi POL_System_SetArch "amd64" # Download Wine if necessary then create prefix POL_Wine_PrefixCreate "5.0.2" # POL_Wine_PrefixCreate # POL_System_TmpCreate "$PREFIX" Set_OS "win7" ####################################### # Hacks # ####################################### ####################################### # Installing mandatory dependencies # ####################################### # POL_Call POL_Install_vcrun2013 # POL_Call POL_Install_d3dx11 # Disable DirectX 11 # POL_Wine_OverrideDLL "" "d3d11" ################ # GPU # ################ # Set Graphic Card information keys for wine POL_Wine_SetVideoDriver # Minimum memory size requiered for the graphic card. POL_SetupWindow_VMS $GAME_VMS # Asking about memory size of graphic card # POL_SetupWindow_menu_list "How much memory does your graphics board have?" "$TITLE" "64-128-256-320-384-512-640-768-896-1024-1536-1792-2048-3072-4096" "-" "256" # VRAM="$APP_ANSWER" # POL_Wine_Direct3D "VideoMemorySize" "$VRAM" # Useful for Nvidia GPUs # POL_Call POL_Install_physx ############################################# # Sound problem fix - pulseaudio related # ############################################# # [ "$POL_OS" = "Linux" ] && Set_SoundDriver "alsa" # [ "$POL_OS" = "Linux" ] && Set_SoundEmulDriver "Y" ## End Fix ####################################### # Main part of this script # ####################################### # Choose between Steam and other Digital Download versions # POL_SetupWindow_InstallMethod "STEAM,DVD,LOCAL,DOWNLOAD" POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD" # POL_SetupWindow_message "Warning: do not install Punk Buster nor DirectX." "$TITLE" # POL_SetupWindow_message "Warning: do not install DirectX (nor the icons)." "$TITLE" # POL_SetupWindow_message "Warning: do not install Visual C++ 2013 redistribuable\n nor Direct X." "$TITLE" # POL_SetupWindow_message "$(eval_gettext 'Note: we recommend you to uncheck all the checkboxes:\n[x] -> [ ]')" "$TITLE" # POL_SetupWindow_message "$(eval_gettext 'Note: at the end of the first installer (it does installs the downloader program), do not click RUN, instead close the window, then you will run the game from POL/POM.')" "$TITLE" # Begin game installation if [ "$INSTALL_METHOD" == "STEAM" ]; then POL_Call POL_Install_steam # Mandatory pre-install fix for steam POL_Call POL_Install_steam_flags "$STEAM_ID" # Shortcut done before install for steam version POL_Shortcut "steam.exe" "$TITLE" "" "steam://rungameid/$STEAM_ID" # Steam install POL_SetupWindow_message "$(eval_gettext 'When $TITLE download by Steam is finished,\nDo NOT click on Play.\n\nClose COMPLETELY the Steam interface, \nso that the installation script can continue')" "$TITLE" cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam" POL_Wine start /unix "steam.exe" steam://install/$STEAM_ID POL_Wine_WaitExit "$TITLE" elif [ "$INSTALL_METHOD" == "DVD" ]; then POL_SetupWindow_cdrom # POL_Call POL_Function_NoCDWarning POL_SetupWindow_check_cdrom "setup.exe" POL_Wine start /unix "$CDROM/setup.exe" POL_Wine_WaitExit "$TITLE" # Restore screen resolution (game's default is 800x600 ?) # POL_Shortcut_InsertBeforeWine "$SHORTCUT" "trap 'xrandr -s 0' EXIT" POL_Shortcut "$SHORTCUT_FILENAME" "$TITLE" "" "" "$SOFTWARE_CATEGORIES" POL_Shortcut_QuietDebug "$TITLE" POL_Shortcut_Document "$TITLE" "$DOCUMENT_FILE" elif [ "$INSTALL_METHOD" == "DOWNLOAD" ]; then cd "$WINEPREFIX/drive_c" # POL_SetupWindow_message "$(eval_gettext '\n\nNote: this script will download the demo .')" "$TITLE" # POL_Download "https://genshinimpact.mihoyo.com/client_app/launcher/GenshinImpact_install_20200911204035.exe" POL_Download "https://genshinimpact.mihoyo.com/client_app/launcher/GenshinImpact_install_20201014173947.exe" mv GenshinImpact_install_20201014173947.exe GameInstaller.exe # mv X.rar gameinstaller.rar # mv X.zip gameinstaller.zip # POL_SetupWindow_wait_next_signal "$(eval_gettext 'Extracting the archive...')" "$TITLE" # POL_System_unrar x "gameinstaller.rar" "$WINEPREFIX/drive_c/game/" || POL_Debug_Fatal "unrar is required to unarchive $TITLE (unrar package is not installed on the OS)." # POL_System_unzip "gameinstaller.zip" -d "$WINEPREFIX/drive_c/game/" # Extract without sub-folder. # unzip "gameinstaller.zip" -j -d "$WINEPREFIX/drive_c/" # POL_SetupWindow_message "$(eval_gettext 'Note: we recommend you to uncheck all the checkboxes:\n[x] -> [ ]')" "$TITLE" cd "$WINEPREFIX/drive_c/game/" POL_Wine "GameInstaller.exe" # "/SILENT" POL_Wine_WaitBefore "$TITLE" # POL_SetupWindow_message "$(eval_gettext '\n\nNote: do NOT install DirectX.')" "$TITLE" # cd "$WINEPREFIX/drive_c" # rm GameInstaller.exe POL_Shortcut "$SHORTCUT_FILENAME" "$TITLE" "" "" "$SOFTWARE_CATEGORIES" POL_Shortcut_QuietDebug "$TITLE" # Restore screen resolution (game's default is 1024x768) # POL_Shortcut_InsertBeforeWine "$SHORTCUT" "trap 'xrandr -s 0' EXIT" POL_Shortcut_Document "$TITLE" "$DOCUMENT_FILE" elif [ "$INSTALL_METHOD" == "LOCAL" ]; then # POL_SetupWindow_menu "$(eval_gettext 'What is the type of the file?.')" "$TITLE" "$(eval_gettext '.EXE')~$(eval_gettext '.ZIP')~$(eval_gettext '.RAR')" "~" # POL_SetupWindow_menu "$(eval_gettext 'What is the type of the file?.')" "$TITLE" "$(eval_gettext '.ZIP')~$(eval_gettext '.RAR')" "~" # POL_SetupWindow_menu "$(eval_gettext 'What is the type of the file?.')" "$TITLE" "$(eval_gettext '.MSI')~$(eval_gettext '.EXE')" "~" APP_ANSWER=".EXE" if [ "$APP_ANSWER" == ".EXE" ]; then # Asking then installing local files of the game cd "$HOME" POL_SetupWindow_browse "$(eval_gettext 'Please select the installation file (.EXE)')" "$TITLE" SETUP_EXE="$APP_ANSWER" # POL_SetupWindow_message "Note: please answer NO to all the questions that will appear." "$TITLE" POL_Wine start /unix "$SETUP_EXE" POL_Wine_WaitExit "$TITLE" # Restore screen resolution (game's default is 640x480 ?) # POL_Shortcut_InsertBeforeWine "$SHORTCUT" "trap 'xrandr -s 0' EXIT" POL_Shortcut "$SHORTCUT_FILENAME" "$TITLE" "" "" "$SOFTWARE_CATEGORIES" POL_Shortcut_QuietDebug "$TITLE" POL_Shortcut_Document "$TITLE" "$DOCUMENT_FILE" elif [ "$APP_ANSWER" == "$(eval_gettext '.MSI')" ]; then # Asking then installing local files of the game cd "$HOME" POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE" SETUP_EXE="$APP_ANSWER" POL_Wine msiexec /i "$SETUP_EXE" POL_Wine_WaitExit "$TITLE" # Restore screen resolution (game's default is 640x480 ?) # POL_Shortcut_InsertBeforeWine "$SHORTCUT" "trap 'xrandr -s 0' EXIT" POL_Shortcut "$SHORTCUT_FILENAME" "$TITLE" "" "" "$SOFTWARE_CATEGORIES" POL_Shortcut_QuietDebug "$TITLE" POL_Shortcut_Document "$TITLE" "$DOCUMENT_FILE" elif [ "$APP_ANSWER" == "$(eval_gettext '.ZIP')" ]; then cd "$HOME" # POL_SetupWindow_message "$(eval_gettext '\n\nWARNING: the file name must not have SPACES in its name !.')" "$TITLE" POL_SetupWindow_browse "$(eval_gettext 'Please select the .ZIP file')" "$TITLE" cd "$POL_System_TmpDir" POL_SetupWindow_wait_next_signal "$(eval_gettext 'Extracting the archive...')" "$TITLE" POL_System_unzip "$APP_ANSWER" -d "$WINEPREFIX/drive_c/game/" POL_Shortcut "$SHORTCUT_FILENAME" "$TITLE" "" "" "$SOFTWARE_CATEGORIES" POL_Shortcut_Document "$TITLE" "$DOCUMENT_FILE" elif [ "$APP_ANSWER" == "$(eval_gettext '.RAR')" ]; then cd "$HOME" POL_SetupWindow_browse "$(eval_gettext 'Please select the .RAR file')" "$TITLE" SETUP_EXE="$APP_ANSWER" cd "$POL_System_TmpDir" POL_SetupWindow_wait_next_signal "$(eval_gettext 'Extracting the archive...')" "$TITLE" POL_System_unrar x "$APP_ANSWER" "$WINEPREFIX/drive_c/game/" || POL_Debug_Fatal "unrar is required to unarchive $TITLE (unrar package is not installed on the OS)." POL_Shortcut "$SHORTCUT_FILENAME" "$TITLE" "" "" "$SOFTWARE_CATEGORIES" POL_Shortcut_Document "$TITLE" "$DOCUMENT_FILE" fi fi ################ # Patch update # ################ # POL_SetupWindow_menu "$(eval_gettext 'Do you have a official patch-update to install ?')" "$TITLE" "$(eval_gettext 'No')~$(eval_gettext 'Yes')" "~" if [ "$APP_ANSWER" == "$(eval_gettext 'Yes')" ]; then POL_SetupWindow_browse "$(eval_gettext 'Please select the .EXE file to run')" "$TITLE" PATCH_EXE="$APP_ANSWER" POL_Wine start /unix "$PATCH_EXE" POL_Wine_WaitExit "$PATCH_EXE" fi ####################################### # Hacks # # Editing configuration files # ####################################### POL_SetupWindow_message "$(eval_gettext 'Installation is finished.')" "$TITLE" # 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 Réponses |
Krock | Samedi 10 Octobre 2020 à 19:37 |
Krock
|
MessagesGAME PATCH FOR 1.1.0 AND NEWER: https://notabug.org/Krock/dawn
This is a guide to patch *.sys service/driver registrations which are not and will not be supported by Wine.
Used components:
(outdated patch)
This results in the game running smoothly for 15 to 20 seconds until:
wine: Unhandled page fault on read access to 000000000000003C at address 0000000181CA196A (thread 00e0), starting debugger...
RéponsesDimanche 11 Octobre 2020 à 11:00
Dimanche 11 Octobre 2020 à 19:33
Mardi 20 Octobre 2020 à 21:17
Mercredi 21 Octobre 2020 à 14:51
Vendredi 23 Octobre 2020 à 11:38
Vendredi 23 Octobre 2020 à 21:39
Samedi 24 Octobre 2020 à 0:56
Samedi 24 Octobre 2020 à 1:38
Samedi 24 Octobre 2020 à 3:17
Samedi 24 Octobre 2020 à 3:33
Samedi 24 Octobre 2020 à 3:51
Samedi 24 Octobre 2020 à 4:01
Samedi 24 Octobre 2020 à 4:08
Samedi 24 Octobre 2020 à 4:14
Samedi 24 Octobre 2020 à 4:19
Samedi 24 Octobre 2020 à 4:20
Samedi 24 Octobre 2020 à 4:21
Samedi 24 Octobre 2020 à 4:44
Samedi 24 Octobre 2020 à 10:56
Samedi 24 Octobre 2020 à 12:10
Samedi 24 Octobre 2020 à 13:38
Samedi 24 Octobre 2020 à 22:24
Dimanche 25 Octobre 2020 à 0:37
Dimanche 25 Octobre 2020 à 1:39
Dimanche 25 Octobre 2020 à 10:45
Dimanche 25 Octobre 2020 à 12:22
Dimanche 25 Octobre 2020 à 15:00
Dimanche 25 Octobre 2020 à 18:22
Dimanche 25 Octobre 2020 à 19:11
Dimanche 25 Octobre 2020 à 20:25
Dimanche 25 Octobre 2020 à 22:24
Mercredi 28 Octobre 2020 à 14:37
Mercredi 28 Octobre 2020 à 15:13
Mercredi 28 Octobre 2020 à 16:01
Mercredi 28 Octobre 2020 à 16:28
Mercredi 28 Octobre 2020 à 16:40
Mercredi 28 Octobre 2020 à 17:55
Mercredi 28 Octobre 2020 à 17:55
Mercredi 28 Octobre 2020 à 18:17
Samedi 31 Octobre 2020 à 23:08
Dimanche 1 Novembre 2020 à 8:22
Dimanche 1 Novembre 2020 à 22:20
Mardi 3 Novembre 2020 à 6:21
Mardi 3 Novembre 2020 à 18:11
Mercredi 4 Novembre 2020 à 4:00
Mercredi 4 Novembre 2020 à 6:12
Jeudi 5 Novembre 2020 à 17:12
Dimanche 8 Novembre 2020 à 10:54
Vendredi 20 Novembre 2020 à 1:15
Jeudi 17 Décembre 2020 à 23:40
Edité par Krock |
littlelycan | Lundi 5 Octobre 2020 à 17:13 |
littlelycan
|
Messagescan anyone please comment on this to confirm if this script works. Please specify which distro your using. Mint user here and wanted to make sure first if it works rather than wasting my time. Thank you in advance. RéponsesMardi 6 Octobre 2020 à 15:32
|
Dadu042 | Jeudi 1 Octobre 2020 à 17:27 |
Dadu042
|
WarningCette mise à jour n'a pas été approuvée par l'équipe. Differences@@ -14,18 +14,22 @@ # # CHANGELOG # [Dadu042] (2020-09-29 10-00). -# Initial script. +# Initial script. Game fail to run because of the anti cheat software (mhyprot2.sys), that want admin rights. # # KNOWN ISSUES : -# - Wine amd64 4.21, 5.0.2, 5.11-staging, 5.16: when clicking 'Play' (yellow button) the window just does reduce in the task bar. Tried: set OS to Win7/8/10. Enable game auto update. -# Download file from: http://www.dll-found.com/wdfldr.sys_download.html copy to /home/YourUserName/PlayOnLinux's virtual drives/Genshin_Impact/drive_c/users/walter/Temp/ and into the game folder, copied also in uppercase. +# +# Anti-cheat issue: +# - Wine amd64 4.21, 5.0.2, 5.11-staging, 5.16, 5.18-staging: when clicking 'Play' (yellow button) the window just does reduce in the task bar. Tried: set OS to Win7/8/10. Enable game auto update, wininet. +# Download file from: http://www.dll-found.com/wdfldr.sys_download.html copy to /home/YourUserName/PlayOnLinux's virtual drives/Genshin_Impact/drive_c/users/theuser/Temp/ and into the game folder, copied also in uppercase. +# +# Tried: copying wdfldr.sys (set as Native) and WDFLDR.SYS into '/drive_c/windows/system32/'. # # Immediate Wine 5.0.2 debug log is: # 0198:fixme:heap:RtlSetHeapInformation 0x570000 0 0x22db80 4 stub # 0198:fixme:heap:EnumSystemFirmwareTables (0x4649524d, 0000000000000000, 0) # 0198:fixme:heap:RtlSetHeapInformation 0x790000 0 0x22f1b0 4 stub # 019c:err:service:validate_context_handle Access denied - handle created with access 34, needed 10000 -# 01a2:err:module:import_dll Library WDFLDR.SYS (which is needed by L"C:\\users\\walter\\Temp\\mhyprot2.sys") not found +# 01a2:err:module:import_dll Library WDFLDR.SYS (which is needed by L"C:\\users\\theuser\\Temp\\mhyprot2.sys") not found # 01a2:err:ntoskrnl:ZwLoadDriver failed to create driver L"\\Registry\\Machine\\System\\CurrentControlSet\\Services\\mhyprot2": c0000142 # 0199:fixme:ver:GetCurrentPackageId (0x99fb00 (nil)): stub # @@ -35,7 +39,7 @@ # 0790:fixme:heap:EnumSystemFirmwareTables (0x4649524d, 0000000000000000, 0) # 0790:fixme:heap:RtlSetHeapInformation 0000000000AB0000 0 000000000021F080 4 stub # 079c:err:service:validate_context_handle Access denied - handle created with access 34, needed 10000 -# 07b8:err:module:import_dll Library WDFLDR.SYS (which is needed by L"C:\\users\\walter\\Temp\\mhyprot2.sys") not found +# 07b8:err:module:import_dll Library WDFLDR.SYS (which is needed by L"C:\\users\\theuser\\Temp\\mhyprot2.sys") not found # 07b8:err:ntoskrnl:ZwLoadDriver failed to create driver L"\\Registry\\Machine\\System\\CurrentControlSet\\Services\\mhyprot2": c0000142 # 0794:fixme:ver:GetCurrentPackageId (0000000000CBFBA0 0000000000000000): stub # Nouveau code source#!/bin/bash # Date : (2020-09-29) # Last revision : see the changelog below # Wine version used : see the changelog below # Distribution used to test : XUbuntu 18.04 64 bits (Linux kernel v5.4.0). GPU: AMD Vega 11. # Author : Dadu042 # Licence : Retail # Only For : http://www.playonlinux.com # # TESTED Editions: Launcher v2.3.3.0 # # Middlewares used by this software : Unity 2017, vcrun2013, vcrun2015, QT5. # # # CHANGELOG # [Dadu042] (2020-09-29 10-00). # Initial script. Game fail to run because of the anti cheat software (mhyprot2.sys), that want admin rights. # # KNOWN ISSUES : # # Anti-cheat issue: # - Wine amd64 4.21, 5.0.2, 5.11-staging, 5.16, 5.18-staging: when clicking 'Play' (yellow button) the window just does reduce in the task bar. Tried: set OS to Win7/8/10. Enable game auto update, wininet. # Download file from: http://www.dll-found.com/wdfldr.sys_download.html copy to /home/YourUserName/PlayOnLinux's virtual drives/Genshin_Impact/drive_c/users/theuser/Temp/ and into the game folder, copied also in uppercase. # # Tried: copying wdfldr.sys (set as Native) and WDFLDR.SYS into '/drive_c/windows/system32/'. # # Immediate Wine 5.0.2 debug log is: # 0198:fixme:heap:RtlSetHeapInformation 0x570000 0 0x22db80 4 stub # 0198:fixme:heap:EnumSystemFirmwareTables (0x4649524d, 0000000000000000, 0) # 0198:fixme:heap:RtlSetHeapInformation 0x790000 0 0x22f1b0 4 stub # 019c:err:service:validate_context_handle Access denied - handle created with access 34, needed 10000 # 01a2:err:module:import_dll Library WDFLDR.SYS (which is needed by L"C:\\users\\theuser\\Temp\\mhyprot2.sys") not found # 01a2:err:ntoskrnl:ZwLoadDriver failed to create driver L"\\Registry\\Machine\\System\\CurrentControlSet\\Services\\mhyprot2": c0000142 # 0199:fixme:ver:GetCurrentPackageId (0x99fb00 (nil)): stub # # # Wine 5.16: # 0790:fixme:heap:RtlSetHeapInformation 0000000000890000 0 000000000021DFC0 4 stub # 0790:fixme:heap:EnumSystemFirmwareTables (0x4649524d, 0000000000000000, 0) # 0790:fixme:heap:RtlSetHeapInformation 0000000000AB0000 0 000000000021F080 4 stub # 079c:err:service:validate_context_handle Access denied - handle created with access 34, needed 10000 # 07b8:err:module:import_dll Library WDFLDR.SYS (which is needed by L"C:\\users\\theuser\\Temp\\mhyprot2.sys") not found # 07b8:err:ntoskrnl:ZwLoadDriver failed to create driver L"\\Registry\\Machine\\System\\CurrentControlSet\\Services\\mhyprot2": c0000142 # 0794:fixme:ver:GetCurrentPackageId (0000000000CBFBA0 0000000000000000): stub # # KNOWN ISSUES (FIXED): # - Wine amd64 5.0.2: X [ "$PLAYONLINUX" = "" ] && exit 0 source "$PLAYONLINUX/lib/sources" TITLE="Genshin Impact" PREFIX="Genshin_Impact" EDITOR="miHoYo" GAME_URL="https://en.wikipedia.org/wiki/Genshin_Impact" AUTHOR="Dadu042" STEAM_ID="" GAME_VMS="512" SHORTCUT_FILENAME="launcher.exe" SOFTWARE_CATEGORIES="Game;RolePlaying;" # http://wiki.playonlinux.com/index.php/Scripting_-_Chapter_9:_Standardization#Advanced_Standardization DOCUMENT_FILE="" # Starting the script POL_SetupWindow_Init # Starting debugging API POL_Debug_Init # Open dialogue box POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX" POL_RequiredVersion "4.3.0" || POL_Debug_Fatal "$APPLICATION_TITLE $VERSION is required to install $TITLE" # Setting prefix path POL_Wine_SelectPrefix "$PREFIX" ############################################ # Choose architecture: 32 bits or 64 bits # ############################################ # POL_SetupWindow_menu "$(eval_gettext 'What architecture do you want to use ?')" "$TITLE" "$(eval_gettext '64 bits (recommended)')~$(eval_gettext '32 bits')" "~" # if [ "$APP_ANSWER" == "32 bits" ]; then # POL_System_SetArch "x86" # elif [ "$APP_ANSWER" == "$(eval_gettext '64 bits (recommended)')" ]; then # POL_System_SetArch "amd64" # fi POL_System_SetArch "amd64" # Download Wine if necessary then create prefix POL_Wine_PrefixCreate "5.0.2" # POL_Wine_PrefixCreate # POL_System_TmpCreate "$PREFIX" Set_OS "win7" ####################################### # Hacks # ####################################### ####################################### # Installing mandatory dependencies # ####################################### # POL_Call POL_Install_vcrun2013 # POL_Call POL_Install_d3dx11 # Disable DirectX 11 # POL_Wine_OverrideDLL "" "d3d11" ################ # GPU # ################ # Set Graphic Card information keys for wine POL_Wine_SetVideoDriver # Minimum memory size requiered for the graphic card. POL_SetupWindow_VMS $GAME_VMS # Asking about memory size of graphic card # POL_SetupWindow_menu_list "How much memory does your graphics board have?" "$TITLE" "64-128-256-320-384-512-640-768-896-1024-1536-1792-2048-3072-4096" "-" "256" # VRAM="$APP_ANSWER" # POL_Wine_Direct3D "VideoMemorySize" "$VRAM" # Useful for Nvidia GPUs # POL_Call POL_Install_physx ############################################# # Sound problem fix - pulseaudio related # ############################################# # [ "$POL_OS" = "Linux" ] && Set_SoundDriver "alsa" # [ "$POL_OS" = "Linux" ] && Set_SoundEmulDriver "Y" ## End Fix ####################################### # Main part of this script # ####################################### # Choose between Steam and other Digital Download versions # POL_SetupWindow_InstallMethod "STEAM,DVD,LOCAL,DOWNLOAD" POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD" # POL_SetupWindow_message "Warning: do not install Punk Buster nor DirectX." "$TITLE" # POL_SetupWindow_message "Warning: do not install DirectX (nor the icons)." "$TITLE" # POL_SetupWindow_message "Warning: do not install Visual C++ 2013 redistribuable\n nor Direct X." "$TITLE" # POL_SetupWindow_message "$(eval_gettext 'Note: we recommend you to uncheck all the checkboxes:\n[x] -> [ ]')" "$TITLE" # POL_SetupWindow_message "$(eval_gettext 'Note: at the end of the first installer (it does installs the downloader program), do not click RUN, instead close the window, then you will run the game from POL/POM.')" "$TITLE" # Begin game installation if [ "$INSTALL_METHOD" == "STEAM" ]; then POL_Call POL_Install_steam # Mandatory pre-install fix for steam POL_Call POL_Install_steam_flags "$STEAM_ID" # Shortcut done before install for steam version POL_Shortcut "steam.exe" "$TITLE" "" "steam://rungameid/$STEAM_ID" # Steam install POL_SetupWindow_message "$(eval_gettext 'When $TITLE download by Steam is finished,\nDo NOT click on Play.\n\nClose COMPLETELY the Steam interface, \nso that the installation script can continue')" "$TITLE" cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam" POL_Wine start /unix "steam.exe" steam://install/$STEAM_ID POL_Wine_WaitExit "$TITLE" elif [ "$INSTALL_METHOD" == "DVD" ]; then POL_SetupWindow_cdrom # POL_Call POL_Function_NoCDWarning POL_SetupWindow_check_cdrom "setup.exe" POL_Wine start /unix "$CDROM/setup.exe" POL_Wine_WaitExit "$TITLE" # Restore screen resolution (game's default is 800x600 ?) # POL_Shortcut_InsertBeforeWine "$SHORTCUT" "trap 'xrandr -s 0' EXIT" POL_Shortcut "$SHORTCUT_FILENAME" "$TITLE" "" "" "$SOFTWARE_CATEGORIES" POL_Shortcut_QuietDebug "$TITLE" POL_Shortcut_Document "$TITLE" "$DOCUMENT_FILE" elif [ "$INSTALL_METHOD" == "DOWNLOAD" ]; then cd "$WINEPREFIX/drive_c" # POL_SetupWindow_message "$(eval_gettext '\n\nNote: this script will download the demo .')" "$TITLE" POL_Download "https://genshinimpact.mihoyo.com/client_app/launcher/GenshinImpact_install_20200911204035.exe" mv GenshinImpact_install_20200911204035.exe GameInstaller.exe # mv X.rar gameinstaller.rar # mv X.zip gameinstaller.zip # POL_SetupWindow_wait_next_signal "$(eval_gettext 'Extracting the archive...')" "$TITLE" # POL_System_unrar x "gameinstaller.rar" "$WINEPREFIX/drive_c/game/" || POL_Debug_Fatal "unrar is required to unarchive $TITLE (unrar package is not installed on the OS)." # POL_System_unzip "gameinstaller.zip" -d "$WINEPREFIX/drive_c/game/" # Extract without sub-folder. # unzip "gameinstaller.zip" -j -d "$WINEPREFIX/drive_c/" # POL_SetupWindow_message "$(eval_gettext 'Note: we recommend you to uncheck all the checkboxes:\n[x] -> [ ]')" "$TITLE" cd "$WINEPREFIX/drive_c/game/" POL_Wine "GameInstaller.exe" # "/SILENT" POL_Wine_WaitBefore "$TITLE" # POL_SetupWindow_message "$(eval_gettext '\n\nNote: do NOT install DirectX.')" "$TITLE" # cd "$WINEPREFIX/drive_c" # rm GameInstaller.exe POL_Shortcut "$SHORTCUT_FILENAME" "$TITLE" "" "" "$SOFTWARE_CATEGORIES" POL_Shortcut_QuietDebug "$TITLE" # Restore screen resolution (game's default is 1024x768) # POL_Shortcut_InsertBeforeWine "$SHORTCUT" "trap 'xrandr -s 0' EXIT" POL_Shortcut_Document "$TITLE" "$DOCUMENT_FILE" elif [ "$INSTALL_METHOD" == "LOCAL" ]; then # POL_SetupWindow_menu "$(eval_gettext 'What is the type of the file?.')" "$TITLE" "$(eval_gettext '.EXE')~$(eval_gettext '.ZIP')~$(eval_gettext '.RAR')" "~" # POL_SetupWindow_menu "$(eval_gettext 'What is the type of the file?.')" "$TITLE" "$(eval_gettext '.ZIP')~$(eval_gettext '.RAR')" "~" # POL_SetupWindow_menu "$(eval_gettext 'What is the type of the file?.')" "$TITLE" "$(eval_gettext '.MSI')~$(eval_gettext '.EXE')" "~" APP_ANSWER=".EXE" if [ "$APP_ANSWER" == ".EXE" ]; then # Asking then installing local files of the game cd "$HOME" POL_SetupWindow_browse "$(eval_gettext 'Please select the installation file (.EXE)')" "$TITLE" SETUP_EXE="$APP_ANSWER" # POL_SetupWindow_message "Note: please answer NO to all the questions that will appear." "$TITLE" POL_Wine start /unix "$SETUP_EXE" POL_Wine_WaitExit "$TITLE" # Restore screen resolution (game's default is 640x480 ?) # POL_Shortcut_InsertBeforeWine "$SHORTCUT" "trap 'xrandr -s 0' EXIT" POL_Shortcut "$SHORTCUT_FILENAME" "$TITLE" "" "" "$SOFTWARE_CATEGORIES" POL_Shortcut_QuietDebug "$TITLE" POL_Shortcut_Document "$TITLE" "$DOCUMENT_FILE" elif [ "$APP_ANSWER" == "$(eval_gettext '.MSI')" ]; then # Asking then installing local files of the game cd "$HOME" POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE" SETUP_EXE="$APP_ANSWER" POL_Wine msiexec /i "$SETUP_EXE" POL_Wine_WaitExit "$TITLE" # Restore screen resolution (game's default is 640x480 ?) # POL_Shortcut_InsertBeforeWine "$SHORTCUT" "trap 'xrandr -s 0' EXIT" POL_Shortcut "$SHORTCUT_FILENAME" "$TITLE" "" "" "$SOFTWARE_CATEGORIES" POL_Shortcut_QuietDebug "$TITLE" POL_Shortcut_Document "$TITLE" "$DOCUMENT_FILE" elif [ "$APP_ANSWER" == "$(eval_gettext '.ZIP')" ]; then cd "$HOME" # POL_SetupWindow_message "$(eval_gettext '\n\nWARNING: the file name must not have SPACES in its name !.')" "$TITLE" POL_SetupWindow_browse "$(eval_gettext 'Please select the .ZIP file')" "$TITLE" cd "$POL_System_TmpDir" POL_SetupWindow_wait_next_signal "$(eval_gettext 'Extracting the archive...')" "$TITLE" POL_System_unzip "$APP_ANSWER" -d "$WINEPREFIX/drive_c/game/" POL_Shortcut "$SHORTCUT_FILENAME" "$TITLE" "" "" "$SOFTWARE_CATEGORIES" POL_Shortcut_Document "$TITLE" "$DOCUMENT_FILE" elif [ "$APP_ANSWER" == "$(eval_gettext '.RAR')" ]; then cd "$HOME" POL_SetupWindow_browse "$(eval_gettext 'Please select the .RAR file')" "$TITLE" SETUP_EXE="$APP_ANSWER" cd "$POL_System_TmpDir" POL_SetupWindow_wait_next_signal "$(eval_gettext 'Extracting the archive...')" "$TITLE" POL_System_unrar x "$APP_ANSWER" "$WINEPREFIX/drive_c/game/" || POL_Debug_Fatal "unrar is required to unarchive $TITLE (unrar package is not installed on the OS)." POL_Shortcut "$SHORTCUT_FILENAME" "$TITLE" "" "" "$SOFTWARE_CATEGORIES" POL_Shortcut_Document "$TITLE" "$DOCUMENT_FILE" fi fi ################ # Patch update # ################ # POL_SetupWindow_menu "$(eval_gettext 'Do you have a official patch-update to install ?')" "$TITLE" "$(eval_gettext 'No')~$(eval_gettext 'Yes')" "~" if [ "$APP_ANSWER" == "$(eval_gettext 'Yes')" ]; then POL_SetupWindow_browse "$(eval_gettext 'Please select the .EXE file to run')" "$TITLE" PATCH_EXE="$APP_ANSWER" POL_Wine start /unix "$PATCH_EXE" POL_Wine_WaitExit "$PATCH_EXE" fi ####################################### # Hacks # # Editing configuration files # ####################################### POL_SetupWindow_message "$(eval_gettext 'Installation is finished.')" "$TITLE" # 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 Réponses |
This site allows content generated by members, and we promptly remove any content that infringes copyright according to our Terms of Service. To report copyright infringement, please send a notice to dmca-notice@playonlinux.com