Wolfenstein - The New Order
Informations
Créateur | Messages |
---|---|
z3ke
|
AttentionThis installer is a beta script. It means that it might not work as expected InformationsPlate-formes : Retours d'expérience0 0 DescriptionWolfenstein - The New Order
This installer script create its own virtual drive and install the game over DVD, Steam or DDV. Feel free to submit fixes or improvements Note: POL_GetSetupImages are currently not available on playonlinux so I decided to remove this from the script Code source#!/bin/bash # Date : (2016-03-05 08:00) # Last revision : (2016-03-05 08:00) # Wine version used : 1.7, 1.7.33-WGL-ShareList # Distribution used to test : Debian Jessie amd64 # Author : z3Ke # Licence : Retail # Only For : http://www.playonlinux.com ## Note ## # # POL_GetSetupImages are currently not available on playonlinux so I decided to remove this from the script # The game itself has no shortcut icon, please select one after installation # When you play the game on multiscreen systems you should play in window-mode or you get some strange behaivor # # Feel free to submit fixes or improvements # ## Note ## [ "$PLAYONLINUX" = "" ] && exit 0 source "$PLAYONLINUX/lib/sources" TITLE="Wolfenstein - The New Order" PREFIX="wolfenstein_new_order" EDITOR="Bethesda Softworks" GAME_URL="http://www.wolfenstein.com" AUTHOR="z3Ke" WORKING_WINE_VERSION="1.7.33-WGL-ShareList" GAME_VMS="1024" STEAM_ID="201810" # Starting the script POL_SetupWindow_Init # Starting debugging API POL_Debug_Init POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX" # Setting prefix path POL_Wine_SelectPrefix "$PREFIX" # Downloading wine if necessary and creating prefix POL_System_SetArch "auto" POL_Wine_PrefixCreate "$WORKING_WINE_VERSION" # Choose between DVD, Digital Download or STEAM version POL_SetupWindow_InstallMethod "DVD,STEAM,LOCAL" # Installing mandatory dependencies POL_Call POL_Install_vcrun2005 POL_Call POL_Install_vcrun2008 POL_Call POL_Install_xinput POL_Call POL_Install_xact POL_Call POL_Install_dxfullsetup POL_Call POL_Install_steam # Begin game installation if [ "$INSTALL_METHOD" == "DVD" ]; then #asking for CDROM and checking if it's correct one POL_SetupWindow_message "$(eval_gettext 'Please insert game media into your disk drive')" "$TITLE" POL_SetupWindow_cdrom POL_Wine start /unix "$CDROM/setup.exe" POL_Wine_WaitExit "$TITLE" POL_Shortcut "WolfNewOrder_x64.exe" "$TITLE" "" "" elif [ "$INSTALL_METHOD" == "STEAM" ]; then # Steam install # Mandatory pre-install fix for steam POL_Call POL_Install_steam_flags "$STEAM_ID" 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" POL_Shortcut "steam.exe" "$TITLE" "$TITLE.png" "steam://rungameid/$STEAM_ID" else # Asking then installing DDV of the game cd "$HOME" POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run:')" "$TITLE" SETUP_EXE="$APP_ANSWER" POL_Wine start /unix "$SETUP_EXE" POL_Wine_WaitExit "$TITLE" POL_Shortcut "WolfNewOrder_x64.exe" "$TITLE" "" "" fi ## Fix for this game # Sound problem fix - pulseaudio related [ "$POL_OS" = "Linux" ] && Set_SoundDriver "alsa" [ "$POL_OS" = "Linux" ] && Set_SoundEmulDriver "Y" ## End Fix # Asking about memory size of graphic card POL_SetupWindow_VMS $GAME_VMS # Set Graphic Card informations keys for wine POL_Wine_SetVideoDriver # Information for troubleshooting POL_SetupWindow_message "If you have trouble to display the game correctly please\nchange the resolution of the game and maybe play in window-mode\n" "Information" POL_SetupWindow_Close exit 0 |
Contributions
Filters:
ContribuerMembre | Messages |
skully | Vendredi 11 Mars 2016 à 7:54 |
skully
|
MessagesI tested it, and can confirm it works fine. I also installed "The Old Blood" Expansion, and tested it too, works however there are some crashes after 30 minutes of play. Thank you for making this possible! Réponses |
z3ke | Samedi 5 Mars 2016 à 9:08 |
z3ke
|
InformationCette mise à jour a été acceptée par l'équipe MessagesI am so sorry, I forgot to attach the installer. Differences@@ -0,0 +1,112 @@ +#!/bin/bash +# Date : (2016-03-05 08:00) +# Last revision : (2016-03-05 08:00) +# Wine version used : 1.7, 1.7.33-WGL-ShareList +# Distribution used to test : Debian Jessie amd64 +# Author : z3Ke +# Licence : Retail +# Only For : http://www.playonlinux.com + +## Note ## +# +# POL_GetSetupImages are currently not available on playonlinux so I decided to remove this from the script +# The game itself has no shortcut icon, please select one after installation +# When you play the game on multiscreen systems you should play in window-mode or you get some strange behaivor +# +# Feel free to submit fixes or improvements +# +## Note ## + + +[ "$PLAYONLINUX" = "" ] && exit 0 +source "$PLAYONLINUX/lib/sources" + +TITLE="Wolfenstein - The New Order" +PREFIX="wolfenstein_new_order" +EDITOR="Bethesda Softworks" +GAME_URL="http://www.wolfenstein.com" +AUTHOR="z3Ke" +WORKING_WINE_VERSION="1.7.33-WGL-ShareList" +GAME_VMS="1024" +STEAM_ID="201810" + +# Starting the script +POL_SetupWindow_Init + +# Starting debugging API +POL_Debug_Init + +POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX" + + +# Setting prefix path +POL_Wine_SelectPrefix "$PREFIX" + +# Downloading wine if necessary and creating prefix +POL_System_SetArch "auto" +POL_Wine_PrefixCreate "$WORKING_WINE_VERSION" + +# Choose between DVD, Digital Download or STEAM version +POL_SetupWindow_InstallMethod "DVD,STEAM,LOCAL" + + +# Installing mandatory dependencies +POL_Call POL_Install_vcrun2005 +POL_Call POL_Install_vcrun2008 +POL_Call POL_Install_xinput +POL_Call POL_Install_xact +POL_Call POL_Install_dxfullsetup +POL_Call POL_Install_steam + + + +# Begin game installation +if [ "$INSTALL_METHOD" == "DVD" ]; then + #asking for CDROM and checking if it's correct one + POL_SetupWindow_message "$(eval_gettext 'Please insert game media into your disk drive')" "$TITLE" + POL_SetupWindow_cdrom + POL_Wine start /unix "$CDROM/setup.exe" + POL_Wine_WaitExit "$TITLE" + POL_Shortcut "WolfNewOrder_x64.exe" "$TITLE" "" "" + +elif [ "$INSTALL_METHOD" == "STEAM" ]; then + # Steam install + # Mandatory pre-install fix for steam + POL_Call POL_Install_steam_flags "$STEAM_ID" + + 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" + POL_Shortcut "steam.exe" "$TITLE" "$TITLE.png" "steam://rungameid/$STEAM_ID" + +else + # Asking then installing DDV of the game + cd "$HOME" + POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run:')" "$TITLE" + SETUP_EXE="$APP_ANSWER" + POL_Wine start /unix "$SETUP_EXE" + POL_Wine_WaitExit "$TITLE" + POL_Shortcut "WolfNewOrder_x64.exe" "$TITLE" "" "" +fi + + + +## Fix for this game +# Sound problem fix - pulseaudio related +[ "$POL_OS" = "Linux" ] && Set_SoundDriver "alsa" +[ "$POL_OS" = "Linux" ] && Set_SoundEmulDriver "Y" +## End Fix + +# Asking about memory size of graphic card +POL_SetupWindow_VMS $GAME_VMS + +# Set Graphic Card informations keys for wine +POL_Wine_SetVideoDriver + +# Information for troubleshooting +POL_SetupWindow_message "If you have trouble to display the game correctly please\nchange the resolution of the game and maybe play in window-mode\n" "Information" + + +POL_SetupWindow_Close +exit 0 \ No newline at end of file Nouveau code source#!/bin/bash # Date : (2016-03-05 08:00) # Last revision : (2016-03-05 08:00) # Wine version used : 1.7, 1.7.33-WGL-ShareList # Distribution used to test : Debian Jessie amd64 # Author : z3Ke # Licence : Retail # Only For : http://www.playonlinux.com ## Note ## # # POL_GetSetupImages are currently not available on playonlinux so I decided to remove this from the script # The game itself has no shortcut icon, please select one after installation # When you play the game on multiscreen systems you should play in window-mode or you get some strange behaivor # # Feel free to submit fixes or improvements # ## Note ## [ "$PLAYONLINUX" = "" ] && exit 0 source "$PLAYONLINUX/lib/sources" TITLE="Wolfenstein - The New Order" PREFIX="wolfenstein_new_order" EDITOR="Bethesda Softworks" GAME_URL="http://www.wolfenstein.com" AUTHOR="z3Ke" WORKING_WINE_VERSION="1.7.33-WGL-ShareList" GAME_VMS="1024" STEAM_ID="201810" # Starting the script POL_SetupWindow_Init # Starting debugging API POL_Debug_Init POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX" # Setting prefix path POL_Wine_SelectPrefix "$PREFIX" # Downloading wine if necessary and creating prefix POL_System_SetArch "auto" POL_Wine_PrefixCreate "$WORKING_WINE_VERSION" # Choose between DVD, Digital Download or STEAM version POL_SetupWindow_InstallMethod "DVD,STEAM,LOCAL" # Installing mandatory dependencies POL_Call POL_Install_vcrun2005 POL_Call POL_Install_vcrun2008 POL_Call POL_Install_xinput POL_Call POL_Install_xact POL_Call POL_Install_dxfullsetup POL_Call POL_Install_steam # Begin game installation if [ "$INSTALL_METHOD" == "DVD" ]; then #asking for CDROM and checking if it's correct one POL_SetupWindow_message "$(eval_gettext 'Please insert game media into your disk drive')" "$TITLE" POL_SetupWindow_cdrom POL_Wine start /unix "$CDROM/setup.exe" POL_Wine_WaitExit "$TITLE" POL_Shortcut "WolfNewOrder_x64.exe" "$TITLE" "" "" elif [ "$INSTALL_METHOD" == "STEAM" ]; then # Steam install # Mandatory pre-install fix for steam POL_Call POL_Install_steam_flags "$STEAM_ID" 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" POL_Shortcut "steam.exe" "$TITLE" "$TITLE.png" "steam://rungameid/$STEAM_ID" else # Asking then installing DDV of the game cd "$HOME" POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run:')" "$TITLE" SETUP_EXE="$APP_ANSWER" POL_Wine start /unix "$SETUP_EXE" POL_Wine_WaitExit "$TITLE" POL_Shortcut "WolfNewOrder_x64.exe" "$TITLE" "" "" fi ## Fix for this game # Sound problem fix - pulseaudio related [ "$POL_OS" = "Linux" ] && Set_SoundDriver "alsa" [ "$POL_OS" = "Linux" ] && Set_SoundEmulDriver "Y" ## End Fix # Asking about memory size of graphic card POL_SetupWindow_VMS $GAME_VMS # Set Graphic Card informations keys for wine POL_Wine_SetVideoDriver # Information for troubleshooting POL_SetupWindow_message "If you have trouble to display the game correctly please\nchange the resolution of the game and maybe play in window-mode\n" "Information" POL_SetupWindow_Close exit 0 RéponsesVendredi 2 Aoüt 2019 à 22:02
|
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