Jagged Alliance 2 Unfinished Business

Informations

Créateur Messages
lahtis

Information

Cet installateur a été accepté par l'équipe.

Informations

Plate-formes :
Téléchargements : 1082
Wine: 2.22

Retours d'expérience

Description

The original owners of Arulco's lucrative mines have returned and established a missile base on the nearby island of Tracona, demanding the mines are returned to them. They destroy the Arulco's now empty Tixa prison to show an example for if their demands are not met. The player must put a team of mercenaries together to infiltrate Tracona and disable the missile base. Alternatively, the player may chose to use the characters from a previously saved Jagged Alliance 2 savegame.

Code source

#!/bin/bash
# Date : (2017-01-19 10:30)
# Last revision : see changelog.
# Wine version used : 
# Distribution used to test : Ubuntu Mate 16.04, 32-bit
# Author : lahtis <lahtis@gmail.com>
# Script licence : GPLv2
# Program version : Retail original CD version
# Bug reports -> 
# Latest install script -> https://github.com/lahtis/playonlinux/blob/master/testing/ja2-unfinished-business
#
# CHANGELOG
# [lahtis] (2017-01-19 10:30)
#   Initial script.
# [Dadu042] (2020-01-27 23:30)
#   Wine 2.0-rc5-staging -> 2.22

[ -z "$PLAYONLINUX" = "" ] && exit
source "$PLAYONLINUX/lib/sources"

PREFIX="ja2-unfinished-business"
WORKING_WINE_VERSION="2.22"
TITLE="Jagged Alliance 2 Unfinished Business"
EDITOR="Sir-Tech Software / Strategy First"           
GAME_URL="http://www.jaggedalliance.com/"
AUTHOR="lahtis"
GAME_VMS="32"

# Initialization
POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.jpg" "http://files.playonlinux.com/resources/setups/$PREFIX/left.jpg" "$TITLE"

POL_SetupWindow_Init
POL_Debug_Init
 
# Presentation
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"

# Create Prefix
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
Set_OS "winxp"

# Asking about memory size of graphic card
POL_SetupWindow_VMS $GAME_VMS

# Fix pulseaudio issue
which pulseaudio && Set_OS "winxp"

# Asking for CDROM and checking if it's correct one
POL_SetupWindow_message "$(eval_gettext 'Please insert the game media into your disk drive')" "$TITLE"
POL_SetupWindow_check_cdrom "install/SETUP.EXE"
POL_SetupWindow_cdrom

POL_Wine start /unix "$CDROM/install/SETUP.EXE" || POL_Debug_Fatal "$(eval_gettext 'Error while installing game.')"
POL_Wine_WaitExit "$TITLE"

POL_Shortcut "JA2UB.exe" "$TITLE" "$TITLE.png" "" "Game;"
 
POL_SetupWindow_message "$(eval_gettext '$TITLE has been successfully installed.')"
 
POL_SetupWindow_Close
 
exit 0

Contributions

Filters:

Contribuer
Membre Messages
Dadu042 Mardi 28 Janvier 2020 à 20:09
Dadu042
Modérateur

Information

Cette mise à jour a été acceptée par l'équipe

Differences

@@ -1,19 +1,25 @@
 #!/bin/bash
 # Date : (2017-01-19 10:30)
-# Last revision : (2017-01-19 10:30)
-# Wine version used : 2.0-rc5-staging
+# Last revision : see changelog.
+# Wine version used : 
 # Distribution used to test : Ubuntu Mate 16.04, 32-bit
 # Author : lahtis <lahtis@gmail.com>
 # Script licence : GPLv2
 # Program version : Retail original CD version
 # Bug reports -> 
 # Latest install script -> https://github.com/lahtis/playonlinux/blob/master/testing/ja2-unfinished-business
+#
+# CHANGELOG
+# [lahtis] (2017-01-19 10:30)
+#   Initial script.
+# [Dadu042] (2020-01-27 23:30)
+#   Wine 2.0-rc5-staging -> 2.22
 
 [ -z "$PLAYONLINUX" = "" ] && exit
 source "$PLAYONLINUX/lib/sources"
 
 PREFIX="ja2-unfinished-business"
-WORKING_WINE_VERSION="2.0-rc5-staging"
+WORKING_WINE_VERSION="2.22"
 TITLE="Jagged Alliance 2 Unfinished Business"
 EDITOR="Sir-Tech Software / Strategy First"           
 GAME_URL="http://www.jaggedalliance.com/"
@@ -32,7 +38,7 @@
 # Create Prefix
 POL_Wine_SelectPrefix "$PREFIX"
 POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
-Set_OS winxp
+Set_OS "winxp"
 
 # Asking about memory size of graphic card
 POL_SetupWindow_VMS $GAME_VMS
@@ -48,10 +54,10 @@
 POL_Wine start /unix "$CDROM/install/SETUP.EXE" || POL_Debug_Fatal "$(eval_gettext 'Error while installing game.')"
 POL_Wine_WaitExit "$TITLE"
 
-POL_Shortcut "JA2UB.exe" "$TITLE" "$TITLE.png"
+POL_Shortcut "JA2UB.exe" "$TITLE" "$TITLE.png" "" "Game;"
  
 POL_SetupWindow_message "$(eval_gettext '$TITLE has been successfully installed.')"
  
 POL_SetupWindow_Close
  
-exit 0
+exit 0
\ No newline at end of file

Nouveau code source

#!/bin/bash
# Date : (2017-01-19 10:30)
# Last revision : see changelog.
# Wine version used : 
# Distribution used to test : Ubuntu Mate 16.04, 32-bit
# Author : lahtis <lahtis@gmail.com>
# Script licence : GPLv2
# Program version : Retail original CD version
# Bug reports -> 
# Latest install script -> https://github.com/lahtis/playonlinux/blob/master/testing/ja2-unfinished-business
#
# CHANGELOG
# [lahtis] (2017-01-19 10:30)
#   Initial script.
# [Dadu042] (2020-01-27 23:30)
#   Wine 2.0-rc5-staging -> 2.22

[ -z "$PLAYONLINUX" = "" ] && exit
source "$PLAYONLINUX/lib/sources"

PREFIX="ja2-unfinished-business"
WORKING_WINE_VERSION="2.22"
TITLE="Jagged Alliance 2 Unfinished Business"
EDITOR="Sir-Tech Software / Strategy First"           
GAME_URL="http://www.jaggedalliance.com/"
AUTHOR="lahtis"
GAME_VMS="32"

# Initialization
POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.jpg" "http://files.playonlinux.com/resources/setups/$PREFIX/left.jpg" "$TITLE"

POL_SetupWindow_Init
POL_Debug_Init
 
# Presentation
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"

# Create Prefix
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
Set_OS "winxp"

# Asking about memory size of graphic card
POL_SetupWindow_VMS $GAME_VMS

# Fix pulseaudio issue
which pulseaudio && Set_OS "winxp"

# Asking for CDROM and checking if it's correct one
POL_SetupWindow_message "$(eval_gettext 'Please insert the game media into your disk drive')" "$TITLE"
POL_SetupWindow_check_cdrom "install/SETUP.EXE"
POL_SetupWindow_cdrom

POL_Wine start /unix "$CDROM/install/SETUP.EXE" || POL_Debug_Fatal "$(eval_gettext 'Error while installing game.')"
POL_Wine_WaitExit "$TITLE"

POL_Shortcut "JA2UB.exe" "$TITLE" "$TITLE.png" "" "Game;"
 
POL_SetupWindow_message "$(eval_gettext '$TITLE has been successfully installed.')"
 
POL_SetupWindow_Close
 
exit 0

Réponses

lahtis Jeudi 19 Janvier 2017 à 9:30
lahtis

Warning

Cette mise à jour n'a pas été approuvée par l'équipe.
Utilisez-la à vos risques et périls

Messages

Works fine in Ubuntu Mate.

Differences

@@ -0,0 +1,57 @@
+#!/bin/bash
+# Date : (2017-01-19 10:30)
+# Last revision : (2017-01-19 10:30)
+# Wine version used : 2.0-rc5-staging
+# Distribution used to test : Ubuntu Mate 16.04, 32-bit
+# Author : lahtis <lahtis@gmail.com>
+# Script licence : GPLv2
+# Program version : Retail original CD version
+# Bug reports -> 
+# Latest install script -> https://github.com/lahtis/playonlinux/blob/master/testing/ja2-unfinished-business
+
+[ -z "$PLAYONLINUX" = "" ] && exit
+source "$PLAYONLINUX/lib/sources"
+
+PREFIX="ja2-unfinished-business"
+WORKING_WINE_VERSION="2.0-rc5-staging"
+TITLE="Jagged Alliance 2 Unfinished Business"
+EDITOR="Sir-Tech Software / Strategy First"           
+GAME_URL="http://www.jaggedalliance.com/"
+AUTHOR="lahtis"
+GAME_VMS="32"
+
+# Initialization
+POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.jpg" "http://files.playonlinux.com/resources/setups/$PREFIX/left.jpg" "$TITLE"
+
+POL_SetupWindow_Init
+POL_Debug_Init
+ 
+# Presentation
+POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
+
+# Create Prefix
+POL_Wine_SelectPrefix "$PREFIX"
+POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
+Set_OS winxp
+
+# Asking about memory size of graphic card
+POL_SetupWindow_VMS $GAME_VMS
+
+# Fix pulseaudio issue
+which pulseaudio && Set_OS "winxp"
+
+# Asking for CDROM and checking if it's correct one
+POL_SetupWindow_message "$(eval_gettext 'Please insert the game media into your disk drive')" "$TITLE"
+POL_SetupWindow_check_cdrom "install/SETUP.EXE"
+POL_SetupWindow_cdrom
+
+POL_Wine start /unix "$CDROM/install/SETUP.EXE" || POL_Debug_Fatal "$(eval_gettext 'Error while installing game.')"
+POL_Wine_WaitExit "$TITLE"
+
+POL_Shortcut "JA2UB.exe" "$TITLE" "$TITLE.png"
+ 
+POL_SetupWindow_message "$(eval_gettext '$TITLE has been successfully installed.')"
+ 
+POL_SetupWindow_Close
+ 
+exit 0

Nouveau code source

#!/bin/bash
# Date : (2017-01-19 10:30)
# Last revision : (2017-01-19 10:30)
# Wine version used : 2.0-rc5-staging
# Distribution used to test : Ubuntu Mate 16.04, 32-bit
# Author : lahtis <lahtis@gmail.com>
# Script licence : GPLv2
# Program version : Retail original CD version
# Bug reports -> 
# Latest install script -> https://github.com/lahtis/playonlinux/blob/master/testing/ja2-unfinished-business

[ -z "$PLAYONLINUX" = "" ] && exit
source "$PLAYONLINUX/lib/sources"

PREFIX="ja2-unfinished-business"
WORKING_WINE_VERSION="2.0-rc5-staging"
TITLE="Jagged Alliance 2 Unfinished Business"
EDITOR="Sir-Tech Software / Strategy First"           
GAME_URL="http://www.jaggedalliance.com/"
AUTHOR="lahtis"
GAME_VMS="32"

# Initialization
POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.jpg" "http://files.playonlinux.com/resources/setups/$PREFIX/left.jpg" "$TITLE"

POL_SetupWindow_Init
POL_Debug_Init
 
# Presentation
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"

# Create Prefix
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
Set_OS winxp

# Asking about memory size of graphic card
POL_SetupWindow_VMS $GAME_VMS

# Fix pulseaudio issue
which pulseaudio && Set_OS "winxp"

# Asking for CDROM and checking if it's correct one
POL_SetupWindow_message "$(eval_gettext 'Please insert the game media into your disk drive')" "$TITLE"
POL_SetupWindow_check_cdrom "install/SETUP.EXE"
POL_SetupWindow_cdrom

POL_Wine start /unix "$CDROM/install/SETUP.EXE" || POL_Debug_Fatal "$(eval_gettext 'Error while installing game.')"
POL_Wine_WaitExit "$TITLE"

POL_Shortcut "JA2UB.exe" "$TITLE" "$TITLE.png"
 
POL_SetupWindow_message "$(eval_gettext '$TITLE has been successfully installed.')"
 
POL_SetupWindow_Close
 
exit 0

Réponses

Vendredi 2 Aoüt 2019 à 17:31
Approved.