Assassin's Creed IV : Black Flag
Informations
| Creator | Message |
|---|---|
ImperatorS79
|
WarningThis installer is a beta script. It means that it might not work as expected InformationsPlatforms: Feedbacks0 0 DescriptionThe year is 1715. Pirates rule the Caribbean and have established their own lawless Republic where corruption, greediness and cruelty are commonplace.Among these outlaws is a brash young captain named Edward Kenway. Source code#!/bin/bash
# Date : (2017-06-04)
# Last revision : see changelog
# Wine version used :
# Distribution used to test : Ubuntu 16.04
# Author : ImperatorS79
# Licence : Retail
# Only For : http://www.playonlinux.com
#
# CHANGELOG
# [ImperatorS79] (2017-06-04)
# First script.
# [ImperatorS79] (2017-07-23)
# ?
# [Dadu042] (2019-12-12)
# Wine "2.9-staging" (outdated) -> 3.0.3
## Begin Note 2017 ##
# see https://www.youtube.com/watch?v=4JoebSYERsc and https://appdb.winehq.org/objectManager.php?sClass=version&iId=29849&iTestingId=98002
# Not from me, but inspired this script, it's a kind of test...
# Script inspired from AC2 script
## End Note ##
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
TITLE="Assassin's Creed 4 : Black Flag"
PREFIX="AssassinsCreed4"
EDITOR="Ubisoft"
GAME_URL="https://www.ubisoft.com/fr-fr/game/assassins-creed-4-black-flag"
AUTOR="ImperatorS79"
WORKING_WINE_VERSION="3.0.3"
GAME_VMS="512"
# Starting the script
#POL_GetSetupImages "undefined" "undefine" "$TITLE"
POL_SetupWindow_Init
# Starting debugging API
POL_Debug_Init
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTOR" "$PREFIX"
# Setting prefix path
POL_Wine_SelectPrefix "$PREFIX"
# Downloading wine if necessary and creating prefix
POL_System_SetArch "x64"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
#DVD maybe later
POL_SetupWindow_InstallMethod "STEAM"
# Installing mandatory dependencies
if [ "$INSTALL_METHOD" == "STEAM" ]; then
POL_Call POL_Install_steam
STEAM_ID="242050"
fi
#Not sure if it's needed
POL_Call POL_Install_physx
POL_Call POL_Install_ubigamelauncher
# Asking about memory size of graphic card
POL_SetupWindow_VMS "$GAME_VMS"
# Set Graphic Card informations keys for wine
POL_Wine_SetVideoDriver
# Begin game installation
if [ "$INSTALL_METHOD" == "STEAM" ]; then
# 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"
POL_Shortcut "steam.exe" "Steam ($TITLE)" "" ""
# 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"
fi
POL_SetupWindow_Close
exit 0 |
Contributions
Filters:
Contribute| Member | Message |
| Dadu042 | Wednesday 25 March 2020 at 18:59 |
|
Dadu042
|
InformationThis update has been approved by the team. Differences@@ -1,14 +1,22 @@
#!/bin/bash
-# Date conv:yy-mm-dd
# Date : (2017-06-04)
-# Last revision : (2017-07-23)
-# Wine version used : 2.9-staging
+# Last revision : see changelog
+# Wine version used :
# Distribution used to test : Ubuntu 16.04
# Author : ImperatorS79
# Licence : Retail
# Only For : http://www.playonlinux.com
-
-## Begin Note ##
+#
+# CHANGELOG
+# [ImperatorS79] (2017-06-04)
+# First script.
+# [ImperatorS79] (2017-07-23)
+# ?
+# [Dadu042] (2019-12-12)
+# Wine "2.9-staging" (outdated) -> 3.0.3
+
+
+## Begin Note 2017 ##
# see https://www.youtube.com/watch?v=4JoebSYERsc and https://appdb.winehq.org/objectManager.php?sClass=version&iId=29849&iTestingId=98002
# Not from me, but inspired this script, it's a kind of test...
# Script inspired from AC2 script
@@ -22,7 +30,7 @@
EDITOR="Ubisoft"
GAME_URL="https://www.ubisoft.com/fr-fr/game/assassins-creed-4-black-flag"
AUTOR="ImperatorS79"
-WORKING_WINE_VERSION="2.9-staging"
+WORKING_WINE_VERSION="3.0.3"
GAME_VMS="512"
# Starting the script
New source code#!/bin/bash
# Date : (2017-06-04)
# Last revision : see changelog
# Wine version used :
# Distribution used to test : Ubuntu 16.04
# Author : ImperatorS79
# Licence : Retail
# Only For : http://www.playonlinux.com
#
# CHANGELOG
# [ImperatorS79] (2017-06-04)
# First script.
# [ImperatorS79] (2017-07-23)
# ?
# [Dadu042] (2019-12-12)
# Wine "2.9-staging" (outdated) -> 3.0.3
## Begin Note 2017 ##
# see https://www.youtube.com/watch?v=4JoebSYERsc and https://appdb.winehq.org/objectManager.php?sClass=version&iId=29849&iTestingId=98002
# Not from me, but inspired this script, it's a kind of test...
# Script inspired from AC2 script
## End Note ##
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
TITLE="Assassin's Creed 4 : Black Flag"
PREFIX="AssassinsCreed4"
EDITOR="Ubisoft"
GAME_URL="https://www.ubisoft.com/fr-fr/game/assassins-creed-4-black-flag"
AUTOR="ImperatorS79"
WORKING_WINE_VERSION="3.0.3"
GAME_VMS="512"
# Starting the script
#POL_GetSetupImages "undefined" "undefine" "$TITLE"
POL_SetupWindow_Init
# Starting debugging API
POL_Debug_Init
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTOR" "$PREFIX"
# Setting prefix path
POL_Wine_SelectPrefix "$PREFIX"
# Downloading wine if necessary and creating prefix
POL_System_SetArch "x64"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
#DVD maybe later
POL_SetupWindow_InstallMethod "STEAM"
# Installing mandatory dependencies
if [ "$INSTALL_METHOD" == "STEAM" ]; then
POL_Call POL_Install_steam
STEAM_ID="242050"
fi
#Not sure if it's needed
POL_Call POL_Install_physx
POL_Call POL_Install_ubigamelauncher
# Asking about memory size of graphic card
POL_SetupWindow_VMS "$GAME_VMS"
# Set Graphic Card informations keys for wine
POL_Wine_SetVideoDriver
# Begin game installation
if [ "$INSTALL_METHOD" == "STEAM" ]; then
# 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"
POL_Shortcut "steam.exe" "Steam ($TITLE)" "" ""
# 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"
fi
POL_SetupWindow_Close
exit 0 Replies |
| ImperatorS79 | Sunday 23 July 2017 at 13:18 |
ImperatorS79
|
WarningThis update has not been approved yet by the team. MessageForgot to update date :) Differences@@ -0,0 +1,79 @@ +#!/bin/bash +# Date conv:yy-mm-dd +# Date : (2017-06-04) +# Last revision : (2017-07-23) +# Wine version used : 2.9-staging +# Distribution used to test : Ubuntu 16.04 +# Author : ImperatorS79 +# Licence : Retail +# Only For : http://www.playonlinux.com + +## Begin Note ## +# see https://www.youtube.com/watch?v=4JoebSYERsc and https://appdb.winehq.org/objectManager.php?sClass=version&iId=29849&iTestingId=98002 +# Not from me, but inspired this script, it's a kind of test... +# Script inspired from AC2 script +## End Note ## + +[ "$PLAYONLINUX" = "" ] && exit 0 +source "$PLAYONLINUX/lib/sources" + +TITLE="Assassin's Creed 4 : Black Flag" +PREFIX="AssassinsCreed4" +EDITOR="Ubisoft" +GAME_URL="https://www.ubisoft.com/fr-fr/game/assassins-creed-4-black-flag" +AUTOR="ImperatorS79" +WORKING_WINE_VERSION="2.9-staging" +GAME_VMS="512" + +# Starting the script +#POL_GetSetupImages "undefined" "undefine" "$TITLE" +POL_SetupWindow_Init + +# Starting debugging API +POL_Debug_Init + +POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTOR" "$PREFIX" + +# Setting prefix path +POL_Wine_SelectPrefix "$PREFIX" + +# Downloading wine if necessary and creating prefix +POL_System_SetArch "x64" +POL_Wine_PrefixCreate "$WORKING_WINE_VERSION" + +#DVD maybe later +POL_SetupWindow_InstallMethod "STEAM" + +# Installing mandatory dependencies +if [ "$INSTALL_METHOD" == "STEAM" ]; then + POL_Call POL_Install_steam + STEAM_ID="242050" +fi + +#Not sure if it's needed +POL_Call POL_Install_physx +POL_Call POL_Install_ubigamelauncher + +# Asking about memory size of graphic card +POL_SetupWindow_VMS "$GAME_VMS" + +# Set Graphic Card informations keys for wine +POL_Wine_SetVideoDriver + +# Begin game installation + +if [ "$INSTALL_METHOD" == "STEAM" ]; then + # 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" + POL_Shortcut "steam.exe" "Steam ($TITLE)" "" "" + # 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" +fi + +POL_SetupWindow_Close +exit 0 \ No newline at end of file New source code#!/bin/bash
# Date conv:yy-mm-dd
# Date : (2017-06-04)
# Last revision : (2017-07-23)
# Wine version used : 2.9-staging
# Distribution used to test : Ubuntu 16.04
# Author : ImperatorS79
# Licence : Retail
# Only For : http://www.playonlinux.com
## Begin Note ##
# see https://www.youtube.com/watch?v=4JoebSYERsc and https://appdb.winehq.org/objectManager.php?sClass=version&iId=29849&iTestingId=98002
# Not from me, but inspired this script, it's a kind of test...
# Script inspired from AC2 script
## End Note ##
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
TITLE="Assassin's Creed 4 : Black Flag"
PREFIX="AssassinsCreed4"
EDITOR="Ubisoft"
GAME_URL="https://www.ubisoft.com/fr-fr/game/assassins-creed-4-black-flag"
AUTOR="ImperatorS79"
WORKING_WINE_VERSION="2.9-staging"
GAME_VMS="512"
# Starting the script
#POL_GetSetupImages "undefined" "undefine" "$TITLE"
POL_SetupWindow_Init
# Starting debugging API
POL_Debug_Init
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTOR" "$PREFIX"
# Setting prefix path
POL_Wine_SelectPrefix "$PREFIX"
# Downloading wine if necessary and creating prefix
POL_System_SetArch "x64"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
#DVD maybe later
POL_SetupWindow_InstallMethod "STEAM"
# Installing mandatory dependencies
if [ "$INSTALL_METHOD" == "STEAM" ]; then
POL_Call POL_Install_steam
STEAM_ID="242050"
fi
#Not sure if it's needed
POL_Call POL_Install_physx
POL_Call POL_Install_ubigamelauncher
# Asking about memory size of graphic card
POL_SetupWindow_VMS "$GAME_VMS"
# Set Graphic Card informations keys for wine
POL_Wine_SetVideoDriver
# Begin game installation
if [ "$INSTALL_METHOD" == "STEAM" ]; then
# 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"
POL_Shortcut "steam.exe" "Steam ($TITLE)" "" ""
# 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"
fi
POL_SetupWindow_Close
exit 0 Replies |
| ImperatorS79 | Sunday 23 July 2017 at 13:10 |
ImperatorS79
|
WarningThis update has not been approved yet by the team. MessageUpdate to Wine 2.12-staging Differences@@ -0,0 +1,79 @@ +#!/bin/bash +# Date conv:yy-mm-dd +# Date : (2017-06-04) +# Last revision : (2017-06-04) +# Wine version used : - +# Distribution used to test : Ubuntu 16.04 +# Author : ImperatorS79 +# Licence : Retail +# Only For : http://www.playonlinux.com + +## Begin Note ## +# see https://www.youtube.com/watch?v=4JoebSYERsc and https://appdb.winehq.org/objectManager.php?sClass=version&iId=29849&iTestingId=98002 +# Not from me, but inspired this script, it's a kind of test... +# Script inspired from AC2 script +## End Note ## + +[ "$PLAYONLINUX" = "" ] && exit 0 +source "$PLAYONLINUX/lib/sources" + +TITLE="Assassin's Creed 4 : Black Flag" +PREFIX="AssassinsCreed4" +EDITOR="Ubisoft" +GAME_URL="https://www.ubisoft.com/fr-fr/game/assassins-creed-4-black-flag" +AUTOR="ImperatorS79" +WORKING_WINE_VERSION="2.12-staging" +GAME_VMS="512" + +# Starting the script +#POL_GetSetupImages "undefined" "undefine" "$TITLE" +POL_SetupWindow_Init + +# Starting debugging API +POL_Debug_Init + +POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTOR" "$PREFIX" + +# Setting prefix path +POL_Wine_SelectPrefix "$PREFIX" + +# Downloading wine if necessary and creating prefix +POL_System_SetArch "x64" +POL_Wine_PrefixCreate "$WORKING_WINE_VERSION" + +#DVD maybe later +POL_SetupWindow_InstallMethod "STEAM" + +# Installing mandatory dependencies +if [ "$INSTALL_METHOD" == "STEAM" ]; then + POL_Call POL_Install_steam + STEAM_ID="242050" +fi + +#Not sure if it's needed +POL_Call POL_Install_physx +POL_Call POL_Install_ubigamelauncher + +# Asking about memory size of graphic card +POL_SetupWindow_VMS "$GAME_VMS" + +# Set Graphic Card informations keys for wine +POL_Wine_SetVideoDriver + +# Begin game installation + +if [ "$INSTALL_METHOD" == "STEAM" ]; then + # 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" + POL_Shortcut "steam.exe" "Steam ($TITLE)" "" "" + # 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" +fi + +POL_SetupWindow_Close +exit 0 \ No newline at end of file New source code#!/bin/bash
# Date conv:yy-mm-dd
# Date : (2017-06-04)
# Last revision : (2017-06-04)
# Wine version used : -
# Distribution used to test : Ubuntu 16.04
# Author : ImperatorS79
# Licence : Retail
# Only For : http://www.playonlinux.com
## Begin Note ##
# see https://www.youtube.com/watch?v=4JoebSYERsc and https://appdb.winehq.org/objectManager.php?sClass=version&iId=29849&iTestingId=98002
# Not from me, but inspired this script, it's a kind of test...
# Script inspired from AC2 script
## End Note ##
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
TITLE="Assassin's Creed 4 : Black Flag"
PREFIX="AssassinsCreed4"
EDITOR="Ubisoft"
GAME_URL="https://www.ubisoft.com/fr-fr/game/assassins-creed-4-black-flag"
AUTOR="ImperatorS79"
WORKING_WINE_VERSION="2.12-staging"
GAME_VMS="512"
# Starting the script
#POL_GetSetupImages "undefined" "undefine" "$TITLE"
POL_SetupWindow_Init
# Starting debugging API
POL_Debug_Init
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTOR" "$PREFIX"
# Setting prefix path
POL_Wine_SelectPrefix "$PREFIX"
# Downloading wine if necessary and creating prefix
POL_System_SetArch "x64"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
#DVD maybe later
POL_SetupWindow_InstallMethod "STEAM"
# Installing mandatory dependencies
if [ "$INSTALL_METHOD" == "STEAM" ]; then
POL_Call POL_Install_steam
STEAM_ID="242050"
fi
#Not sure if it's needed
POL_Call POL_Install_physx
POL_Call POL_Install_ubigamelauncher
# Asking about memory size of graphic card
POL_SetupWindow_VMS "$GAME_VMS"
# Set Graphic Card informations keys for wine
POL_Wine_SetVideoDriver
# Begin game installation
if [ "$INSTALL_METHOD" == "STEAM" ]; then
# 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"
POL_Shortcut "steam.exe" "Steam ($TITLE)" "" ""
# 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"
fi
POL_SetupWindow_Close
exit 0 Replies |
| ImperatorS79 | Tuesday 6 June 2017 at 16:48 |
ImperatorS79
|
WarningThis update has not been approved yet by the team. MessageI think it's better with POL_Wine_SetVideoDriver
Differences@@ -0,0 +1,79 @@ +#!/bin/bash +# Date conv:yy-mm-dd +# Date : (2017-06-04) +# Last revision : (2017-06-04) +# Wine version used : 2.9-staging +# Distribution used to test : Ubuntu 16.04 +# Author : ImperatorS79 +# Licence : Retail +# Only For : http://www.playonlinux.com + +## Begin Note ## +# see https://www.youtube.com/watch?v=4JoebSYERsc and https://appdb.winehq.org/objectManager.php?sClass=version&iId=29849&iTestingId=98002 +# Not from me, but inspired this script, it's a kind of test... +# Script inspired from AC2 script +## End Note ## + +[ "$PLAYONLINUX" = "" ] && exit 0 +source "$PLAYONLINUX/lib/sources" + +TITLE="Assassin's Creed 4 : Black Flag" +PREFIX="AssassinsCreed4" +EDITOR="Ubisoft" +GAME_URL="https://www.ubisoft.com/fr-fr/game/assassins-creed-4-black-flag" +AUTOR="ImperatorS79" +WORKING_WINE_VERSION="2.9-staging" +GAME_VMS="512" + +# Starting the script +#POL_GetSetupImages "undefined" "undefine" "$TITLE" +POL_SetupWindow_Init + +# Starting debugging API +POL_Debug_Init + +POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTOR" "$PREFIX" + +# Setting prefix path +POL_Wine_SelectPrefix "$PREFIX" + +# Downloading wine if necessary and creating prefix +POL_System_SetArch "x64" +POL_Wine_PrefixCreate "$WORKING_WINE_VERSION" + +#DVD maybe later +POL_SetupWindow_InstallMethod "STEAM" + +# Installing mandatory dependencies +if [ "$INSTALL_METHOD" == "STEAM" ]; then + POL_Call POL_Install_steam + STEAM_ID="242050" +fi + +#Not sure if it's needed +POL_Call POL_Install_physx +POL_Call POL_Install_ubigamelauncher + +# Asking about memory size of graphic card +POL_SetupWindow_VMS "$GAME_VMS" + +# Set Graphic Card informations keys for wine +POL_Wine_SetVideoDriver + +# Begin game installation + +if [ "$INSTALL_METHOD" == "STEAM" ]; then + # 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" + POL_Shortcut "steam.exe" "Steam ($TITLE)" "" "" + # 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" +fi + +POL_SetupWindow_Close +exit 0 \ No newline at end of file New source code#!/bin/bash
# Date conv:yy-mm-dd
# Date : (2017-06-04)
# Last revision : (2017-06-04)
# Wine version used : 2.9-staging
# Distribution used to test : Ubuntu 16.04
# Author : ImperatorS79
# Licence : Retail
# Only For : http://www.playonlinux.com
## Begin Note ##
# see https://www.youtube.com/watch?v=4JoebSYERsc and https://appdb.winehq.org/objectManager.php?sClass=version&iId=29849&iTestingId=98002
# Not from me, but inspired this script, it's a kind of test...
# Script inspired from AC2 script
## End Note ##
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
TITLE="Assassin's Creed 4 : Black Flag"
PREFIX="AssassinsCreed4"
EDITOR="Ubisoft"
GAME_URL="https://www.ubisoft.com/fr-fr/game/assassins-creed-4-black-flag"
AUTOR="ImperatorS79"
WORKING_WINE_VERSION="2.9-staging"
GAME_VMS="512"
# Starting the script
#POL_GetSetupImages "undefined" "undefine" "$TITLE"
POL_SetupWindow_Init
# Starting debugging API
POL_Debug_Init
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTOR" "$PREFIX"
# Setting prefix path
POL_Wine_SelectPrefix "$PREFIX"
# Downloading wine if necessary and creating prefix
POL_System_SetArch "x64"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
#DVD maybe later
POL_SetupWindow_InstallMethod "STEAM"
# Installing mandatory dependencies
if [ "$INSTALL_METHOD" == "STEAM" ]; then
POL_Call POL_Install_steam
STEAM_ID="242050"
fi
#Not sure if it's needed
POL_Call POL_Install_physx
POL_Call POL_Install_ubigamelauncher
# Asking about memory size of graphic card
POL_SetupWindow_VMS "$GAME_VMS"
# Set Graphic Card informations keys for wine
POL_Wine_SetVideoDriver
# Begin game installation
if [ "$INSTALL_METHOD" == "STEAM" ]; then
# 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"
POL_Shortcut "steam.exe" "Steam ($TITLE)" "" ""
# 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"
fi
POL_SetupWindow_Close
exit 0 Replies |
| ImperatorS79 | Sunday 4 June 2017 at 15:23 |
ImperatorS79
|
WarningThis update has not been approved yet by the team. MessageBetter with "GAME_VMS" Differences@@ -0,0 +1,76 @@ +#!/bin/bash +# Date conv:yy-mm-dd +# Date : (2017-06-04) +# Last revision : (2017-06-04) +# Wine version used : 2.9-staging +# Distribution used to test : Ubuntu 16.04 +# Author : ImperatorS79 +# Licence : Retail +# Only For : http://www.playonlinux.com + +## Begin Note ## +# see https://www.youtube.com/watch?v=4JoebSYERsc and https://appdb.winehq.org/objectManager.php?sClass=version&iId=29849&iTestingId=98002 +# Not from me, but inspired this script, it's a kind of test... +# Script inspired from AC2 script +## End Note ## + +[ "$PLAYONLINUX" = "" ] && exit 0 +source "$PLAYONLINUX/lib/sources" + +TITLE="Assassin's Creed 4 : Black Flag" +PREFIX="AssassinsCreed4" +EDITOR="Ubisoft" +GAME_URL="https://www.ubisoft.com/fr-fr/game/assassins-creed-4-black-flag" +AUTOR="ImperatorS79" +WORKING_WINE_VERSION="2.9-staging" +GAME_VMS="512" + +# Starting the script +#POL_GetSetupImages "undefined" "undefine" "$TITLE" +POL_SetupWindow_Init + +# Starting debugging API +POL_Debug_Init + +POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTOR" "$PREFIX" + +# Setting prefix path +POL_Wine_SelectPrefix "$PREFIX" + +# Downloading wine if necessary and creating prefix +POL_System_SetArch "x64" +POL_Wine_PrefixCreate "$WORKING_WINE_VERSION" + +#DVD maybe later +POL_SetupWindow_InstallMethod "STEAM" + +# Installing mandatory dependencies +if [ "$INSTALL_METHOD" == "STEAM" ]; then + POL_Call POL_Install_steam + STEAM_ID="242050" +fi + +#Not sure if it's needed +POL_Call POL_Install_physx +POL_Call POL_Install_ubigamelauncher + +# Asking about memory size of graphic card +POL_SetupWindow_VMS "$GAME_VMS" + +# Begin game installation + +if [ "$INSTALL_METHOD" == "STEAM" ]; then + # 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" + POL_Shortcut "steam.exe" "Steam ($TITLE)" "" "" + # 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" +fi + +POL_SetupWindow_Close +exit 0 \ No newline at end of file New source code#!/bin/bash
# Date conv:yy-mm-dd
# Date : (2017-06-04)
# Last revision : (2017-06-04)
# Wine version used : 2.9-staging
# Distribution used to test : Ubuntu 16.04
# Author : ImperatorS79
# Licence : Retail
# Only For : http://www.playonlinux.com
## Begin Note ##
# see https://www.youtube.com/watch?v=4JoebSYERsc and https://appdb.winehq.org/objectManager.php?sClass=version&iId=29849&iTestingId=98002
# Not from me, but inspired this script, it's a kind of test...
# Script inspired from AC2 script
## End Note ##
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
TITLE="Assassin's Creed 4 : Black Flag"
PREFIX="AssassinsCreed4"
EDITOR="Ubisoft"
GAME_URL="https://www.ubisoft.com/fr-fr/game/assassins-creed-4-black-flag"
AUTOR="ImperatorS79"
WORKING_WINE_VERSION="2.9-staging"
GAME_VMS="512"
# Starting the script
#POL_GetSetupImages "undefined" "undefine" "$TITLE"
POL_SetupWindow_Init
# Starting debugging API
POL_Debug_Init
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTOR" "$PREFIX"
# Setting prefix path
POL_Wine_SelectPrefix "$PREFIX"
# Downloading wine if necessary and creating prefix
POL_System_SetArch "x64"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
#DVD maybe later
POL_SetupWindow_InstallMethod "STEAM"
# Installing mandatory dependencies
if [ "$INSTALL_METHOD" == "STEAM" ]; then
POL_Call POL_Install_steam
STEAM_ID="242050"
fi
#Not sure if it's needed
POL_Call POL_Install_physx
POL_Call POL_Install_ubigamelauncher
# Asking about memory size of graphic card
POL_SetupWindow_VMS "$GAME_VMS"
# Begin game installation
if [ "$INSTALL_METHOD" == "STEAM" ]; then
# 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"
POL_Shortcut "steam.exe" "Steam ($TITLE)" "" ""
# 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"
fi
POL_SetupWindow_Close
exit 0 RepliesSunday 4 June 2017 at 16:24
Sunday 4 June 2017 at 16:25
|
| ImperatorS79 | Sunday 4 June 2017 at 15:11 |
ImperatorS79
|
WarningThis update has not been approved yet by the team. MessageMinimu Game VMS is 512 Mb Differences@@ -0,0 +1,76 @@ +#!/bin/bash +# Date conv:yy-mm-dd +# Date : (2017-06-04) +# Last revision : (2017-06-04) +# Wine version used : 2.9-staging +# Distribution used to test : Ubuntu 16.04 +# Author : ImperatorS79 +# Licence : Retail +# Only For : http://www.playonlinux.com + +## Begin Note ## +# see https://www.youtube.com/watch?v=4JoebSYERsc and https://appdb.winehq.org/objectManager.php?sClass=version&iId=29849&iTestingId=98002 +# Not from me, but inspired this script, it's a kind of test... +# Script inspired from AC2 script +## End Note ## + +[ "$PLAYONLINUX" = "" ] && exit 0 +source "$PLAYONLINUX/lib/sources" + +TITLE="Assassin's Creed 4 : Black Flag" +PREFIX="AssassinsCreed4" +EDITOR="Ubisoft" +GAME_URL="https://www.ubisoft.com/fr-fr/game/assassins-creed-4-black-flag" +AUTOR="ImperatorS79" +WORKING_WINE_VERSION="2.9-staging" +GAME_VMS="512" + +# Starting the script +#POL_GetSetupImages "undefined" "undefine" "$TITLE" +POL_SetupWindow_Init + +# Starting debugging API +POL_Debug_Init + +POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTOR" "$PREFIX" + +# Setting prefix path +POL_Wine_SelectPrefix "$PREFIX" + +# Downloading wine if necessary and creating prefix +POL_System_SetArch "x64" +POL_Wine_PrefixCreate "$WORKING_WINE_VERSION" + +#DVD maybe later +POL_SetupWindow_InstallMethod "STEAM" + +# Installing mandatory dependencies +if [ "$INSTALL_METHOD" == "STEAM" ]; then + POL_Call POL_Install_steam + STEAM_ID="242050" +fi + +#Not sure if it's needed +POL_Call POL_Install_physx +POL_Call POL_Install_ubigamelauncher + +# Asking about memory size of graphic card +POL_SetupWindow_VMS $GAME_VMS + +# Begin game installation + +if [ "$INSTALL_METHOD" == "STEAM" ]; then + # 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" + POL_Shortcut "steam.exe" "Steam ($TITLE)" "" "" + # 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" +fi + +POL_SetupWindow_Close +exit 0 \ No newline at end of file New source code#!/bin/bash
# Date conv:yy-mm-dd
# Date : (2017-06-04)
# Last revision : (2017-06-04)
# Wine version used : 2.9-staging
# Distribution used to test : Ubuntu 16.04
# Author : ImperatorS79
# Licence : Retail
# Only For : http://www.playonlinux.com
## Begin Note ##
# see https://www.youtube.com/watch?v=4JoebSYERsc and https://appdb.winehq.org/objectManager.php?sClass=version&iId=29849&iTestingId=98002
# Not from me, but inspired this script, it's a kind of test...
# Script inspired from AC2 script
## End Note ##
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
TITLE="Assassin's Creed 4 : Black Flag"
PREFIX="AssassinsCreed4"
EDITOR="Ubisoft"
GAME_URL="https://www.ubisoft.com/fr-fr/game/assassins-creed-4-black-flag"
AUTOR="ImperatorS79"
WORKING_WINE_VERSION="2.9-staging"
GAME_VMS="512"
# Starting the script
#POL_GetSetupImages "undefined" "undefine" "$TITLE"
POL_SetupWindow_Init
# Starting debugging API
POL_Debug_Init
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTOR" "$PREFIX"
# Setting prefix path
POL_Wine_SelectPrefix "$PREFIX"
# Downloading wine if necessary and creating prefix
POL_System_SetArch "x64"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
#DVD maybe later
POL_SetupWindow_InstallMethod "STEAM"
# Installing mandatory dependencies
if [ "$INSTALL_METHOD" == "STEAM" ]; then
POL_Call POL_Install_steam
STEAM_ID="242050"
fi
#Not sure if it's needed
POL_Call POL_Install_physx
POL_Call POL_Install_ubigamelauncher
# Asking about memory size of graphic card
POL_SetupWindow_VMS $GAME_VMS
# Begin game installation
if [ "$INSTALL_METHOD" == "STEAM" ]; then
# 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"
POL_Shortcut "steam.exe" "Steam ($TITLE)" "" ""
# 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"
fi
POL_SetupWindow_Close
exit 0 Replies |
| ImperatorS79 | Sunday 4 June 2017 at 11:40 |
ImperatorS79
|
WarningThis update has not been approved yet by the team. MessageSo guys seems that AC4 is working under wine so here is a little script inspired from AC2 script. It only works with steam version, but as i don't have a powerfull linux PC, i can't test it. So I need your tests ;) https://appdb.winehq.org/objectManager.php?sClass=version&iId=29849&iTestingId=98002 https://www.youtube.com/watch?v=4JoebSYERsc I don't know how to add the top, left, 22x22 and 48x48 image, but i made them. Differences@@ -0,0 +1,72 @@ +#!/bin/bash +# Date conv:yy-mm-dd +# Date : (2017-06-04) +# Last revision : (2017-06-04) +# Wine version used : 2.9-staging +# Distribution used to test : Ubuntu 16.04 +# Author : ImperatorS79 +# Licence : Retail +# Only For : http://www.playonlinux.com + +## Begin Note ## +# see https://www.youtube.com/watch?v=4JoebSYERsc and https://appdb.winehq.org/objectManager.php?sClass=version&iId=29849&iTestingId=98002 +# Not from me, but inspired this script, it's a kind of test... +# Script inspired from AC2 script +## End Note ## + +[ "$PLAYONLINUX" = "" ] && exit 0 +source "$PLAYONLINUX/lib/sources" + +TITLE="Assassin's Creed 4 : Black Flag" +PREFIX="AssassinsCreed4" +EDITOR="Ubisoft" +GAME_URL="https://www.ubisoft.com/fr-fr/game/assassins-creed-4-black-flag" +AUTOR="ImperatorS79" +WORKING_WINE_VERSION="2.9-staging" + +# Starting the script +#POL_GetSetupImages "undefined" "undefine" "$TITLE" +POL_SetupWindow_Init + +# Starting debugging API +POL_Debug_Init + +POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTOR" "$PREFIX" + +# Setting prefix path +POL_Wine_SelectPrefix "$PREFIX" + +# Downloading wine if necessary and creating prefix +POL_System_SetArch "x64" +POL_Wine_PrefixCreate "$WORKING_WINE_VERSION" + +#DVD maybe later +POL_SetupWindow_InstallMethod "STEAM" + +# Installing mandatory dependencies +if [ "$INSTALL_METHOD" == "STEAM" ]; then + POL_Call POL_Install_steam + STEAM_ID="242050" +fi + +#Not sure if it's needed +POL_Call POL_Install_physx +POL_Call POL_Install_ubigamelauncher + +# Begin game installation + +if [ "$INSTALL_METHOD" == "STEAM" ]; then + # 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" + POL_Shortcut "steam.exe" "Steam ($TITLE)" "" "" + # 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" +fi + +POL_SetupWindow_Close +exit 0 \ No newline at end of file New source code#!/bin/bash
# Date conv:yy-mm-dd
# Date : (2017-06-04)
# Last revision : (2017-06-04)
# Wine version used : 2.9-staging
# Distribution used to test : Ubuntu 16.04
# Author : ImperatorS79
# Licence : Retail
# Only For : http://www.playonlinux.com
## Begin Note ##
# see https://www.youtube.com/watch?v=4JoebSYERsc and https://appdb.winehq.org/objectManager.php?sClass=version&iId=29849&iTestingId=98002
# Not from me, but inspired this script, it's a kind of test...
# Script inspired from AC2 script
## End Note ##
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
TITLE="Assassin's Creed 4 : Black Flag"
PREFIX="AssassinsCreed4"
EDITOR="Ubisoft"
GAME_URL="https://www.ubisoft.com/fr-fr/game/assassins-creed-4-black-flag"
AUTOR="ImperatorS79"
WORKING_WINE_VERSION="2.9-staging"
# Starting the script
#POL_GetSetupImages "undefined" "undefine" "$TITLE"
POL_SetupWindow_Init
# Starting debugging API
POL_Debug_Init
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTOR" "$PREFIX"
# Setting prefix path
POL_Wine_SelectPrefix "$PREFIX"
# Downloading wine if necessary and creating prefix
POL_System_SetArch "x64"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
#DVD maybe later
POL_SetupWindow_InstallMethod "STEAM"
# Installing mandatory dependencies
if [ "$INSTALL_METHOD" == "STEAM" ]; then
POL_Call POL_Install_steam
STEAM_ID="242050"
fi
#Not sure if it's needed
POL_Call POL_Install_physx
POL_Call POL_Install_ubigamelauncher
# Begin game installation
if [ "$INSTALL_METHOD" == "STEAM" ]; then
# 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"
POL_Shortcut "steam.exe" "Steam ($TITLE)" "" ""
# 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"
fi
POL_SetupWindow_Close
exit 0 Replies |
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
Install this program