Total Annihilation

Informations

Créateur Messages
bastien09

Information

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

Informations

Plate-formes :
Téléchargements : 15477
Wine: 3.0.3

Retours d'expérience

Description

Type : RTS
Lan : -
Online : -
Company : GT Interactive Software
Compatibility : -/5

Code source

#!/bin/bash
# Date : (2017-01-20 08:01)
# Last revision : see changelog
# Wine version used : 2.22
# Distribution used to test : Ubuntu Mate 16.04 LTS, 32-bit
# Author : bastien09, NSLW, lahtis <lahtis@gmail.com>
# Script licence : GPLv2
# Program version : Retail original 2 CD box
# Bug reports ->
# Latest install script -> https://github.com/lahtis/playonlinux/blob/master/working/TotalAnnihilation
#
# CHANGELOG
# [bastien09, NSLW] (2017-01-20 08:01)
#   First script.
# [lahtis] (2017-01-20 ?)
#   Fixes.
# [Dadu042] (2019-12-30)
#   Wine POL 2.0-rc5 -> 2.22
# [Dadu042] (2020-03-29)
#   Wine 3.0.3 (for OSX and Linux)
#

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

TITLE="Total Annihilation"
EDITOR="Cavedog Entertainment / GT Interactive"          
GAME_URL="http://files.tauniverse.com/"
AUTHOR="lahtis"
GAME_VMS="32"
WORKING_WINE_VERSION="3.0.3"
 
# 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"
 
# Asking about memory size of graphic card
POL_SetupWindow_VMS $GAME_VMS
 
# Fix pulseaudio issue
which pulseaudio && Set_OS "win95"
 
# 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 "SETUP.EXE"
POL_SetupWindow_cdrom
 
POL_Wine start /unix "$CDROM/SETUP.EXE" || POL_Debug_Fatal "$(eval_gettext 'Error while installing game.')"
POL_Wine_WaitExit "$TITLE"
 
POL_Shortcut "totala.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 Dimanche 29 Mars 2020 à 0:10
Dadu042

Information

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

Differences

@@ -16,21 +16,21 @@
 #   Fixes.
 # [Dadu042] (2019-12-30)
 #   Wine POL 2.0-rc5 -> 2.22
+# [Dadu042] (2020-03-29)
+#   Wine 3.0.3 (for OSX and Linux)
 #
 
 [ -z "$PLAYONLINUX" = "" ] && exit
 source "$PLAYONLINUX/lib/sources"
  
 PREFIX="TotalAnnihilation"
- 
-# FIXME!
-[ "$POL_OS" = "Mac" ] WORKING_WINE_VERSION="1.2.3" || WORKING_WINE_VERSION="2.22"
- 
+
 TITLE="Total Annihilation"
 EDITOR="Cavedog Entertainment / GT Interactive"          
 GAME_URL="http://files.tauniverse.com/"
 AUTHOR="lahtis"
 GAME_VMS="32"
+WORKING_WINE_VERSION="3.0.3"
  
 # Initialization
 POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.jpg" "http://files.playonlinux.com/resources/setups/$PREFIX/left.jpg" "$TITLE"

Nouveau code source

#!/bin/bash
# Date : (2017-01-20 08:01)
# Last revision : see changelog
# Wine version used : 2.22
# Distribution used to test : Ubuntu Mate 16.04 LTS, 32-bit
# Author : bastien09, NSLW, lahtis <lahtis@gmail.com>
# Script licence : GPLv2
# Program version : Retail original 2 CD box
# Bug reports ->
# Latest install script -> https://github.com/lahtis/playonlinux/blob/master/working/TotalAnnihilation
#
# CHANGELOG
# [bastien09, NSLW] (2017-01-20 08:01)
#   First script.
# [lahtis] (2017-01-20 ?)
#   Fixes.
# [Dadu042] (2019-12-30)
#   Wine POL 2.0-rc5 -> 2.22
# [Dadu042] (2020-03-29)
#   Wine 3.0.3 (for OSX and Linux)
#

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

TITLE="Total Annihilation"
EDITOR="Cavedog Entertainment / GT Interactive"          
GAME_URL="http://files.tauniverse.com/"
AUTHOR="lahtis"
GAME_VMS="32"
WORKING_WINE_VERSION="3.0.3"
 
# 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"
 
# Asking about memory size of graphic card
POL_SetupWindow_VMS $GAME_VMS
 
# Fix pulseaudio issue
which pulseaudio && Set_OS "win95"
 
# 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 "SETUP.EXE"
POL_SetupWindow_cdrom
 
POL_Wine start /unix "$CDROM/SETUP.EXE" || POL_Debug_Fatal "$(eval_gettext 'Error while installing game.')"
POL_Wine_WaitExit "$TITLE"
 
POL_Shortcut "totala.exe" "$TITLE" "$TITLE.png" "" "Game;"
  
POL_SetupWindow_message "$(eval_gettext '$TITLE has been successfully installed.')"
  
POL_SetupWindow_Close
  
exit 0

Réponses

Dadu042 Mardi 31 Décembre 2019 à 14:19
Dadu042

Warning

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

Differences

@@ -1,21 +1,30 @@
 #!/bin/bash
 # Date : (2017-01-20 08:01)
-# Last revision : (2017-01-20 08:01)
-# Wine version used : 2.0-rc5-staging
+# Last revision : see changelog
+# Wine version used : 2.22
 # Distribution used to test : Ubuntu Mate 16.04 LTS, 32-bit
 # Author : bastien09, NSLW, lahtis <lahtis@gmail.com>
 # Script licence : GPLv2
 # Program version : Retail original 2 CD box
 # Bug reports ->
 # Latest install script -> https://github.com/lahtis/playonlinux/blob/master/working/TotalAnnihilation
- 
+#
+# CHANGELOG
+# [bastien09, NSLW] (2017-01-20 08:01)
+#   First script.
+# [lahtis] (2017-01-20 ?)
+#   Fixes.
+# [Dadu042] (2019-12-30)
+#   Wine POL 2.0-rc5 -> 2.22
+#
+
 [ -z "$PLAYONLINUX" = "" ] && exit
 source "$PLAYONLINUX/lib/sources"
  
 PREFIX="TotalAnnihilation"
  
 # FIXME!
-[ "$POL_OS" = "Mac" ] WORKING_WINE_VERSION="1.2.3" || WORKING_WINE_VERSION="2.0-rc5-staging"
+[ "$POL_OS" = "Mac" ] WORKING_WINE_VERSION="1.2.3" || WORKING_WINE_VERSION="2.22"
  
 TITLE="Total Annihilation"
 EDITOR="Cavedog Entertainment / GT Interactive"          
@@ -50,7 +59,7 @@
 POL_Wine start /unix "$CDROM/SETUP.EXE" || POL_Debug_Fatal "$(eval_gettext 'Error while installing game.')"
 POL_Wine_WaitExit "$TITLE"
  
-POL_Shortcut "totala.exe" "$TITLE" "$TITLE.png"
+POL_Shortcut "totala.exe" "$TITLE" "$TITLE.png" "" "Game;"
   
 POL_SetupWindow_message "$(eval_gettext '$TITLE has been successfully installed.')"
   

Nouveau code source

#!/bin/bash
# Date : (2017-01-20 08:01)
# Last revision : see changelog
# Wine version used : 2.22
# Distribution used to test : Ubuntu Mate 16.04 LTS, 32-bit
# Author : bastien09, NSLW, lahtis <lahtis@gmail.com>
# Script licence : GPLv2
# Program version : Retail original 2 CD box
# Bug reports ->
# Latest install script -> https://github.com/lahtis/playonlinux/blob/master/working/TotalAnnihilation
#
# CHANGELOG
# [bastien09, NSLW] (2017-01-20 08:01)
#   First script.
# [lahtis] (2017-01-20 ?)
#   Fixes.
# [Dadu042] (2019-12-30)
#   Wine POL 2.0-rc5 -> 2.22
#

[ -z "$PLAYONLINUX" = "" ] && exit
source "$PLAYONLINUX/lib/sources"
 
PREFIX="TotalAnnihilation"
 
# FIXME!
[ "$POL_OS" = "Mac" ] WORKING_WINE_VERSION="1.2.3" || WORKING_WINE_VERSION="2.22"
 
TITLE="Total Annihilation"
EDITOR="Cavedog Entertainment / GT Interactive"          
GAME_URL="http://files.tauniverse.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"
 
# Asking about memory size of graphic card
POL_SetupWindow_VMS $GAME_VMS
 
# Fix pulseaudio issue
which pulseaudio && Set_OS "win95"
 
# 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 "SETUP.EXE"
POL_SetupWindow_cdrom
 
POL_Wine start /unix "$CDROM/SETUP.EXE" || POL_Debug_Fatal "$(eval_gettext 'Error while installing game.')"
POL_Wine_WaitExit "$TITLE"
 
POL_Shortcut "totala.exe" "$TITLE" "$TITLE.png" "" "Game;"
  
POL_SetupWindow_message "$(eval_gettext '$TITLE has been successfully installed.')"
  
POL_SetupWindow_Close
  
exit 0

Réponses

Edité par Dadu042

lahtis Dimanche 22 Janvier 2017 à 14:27
lahtis

Warning

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

Messages

fixed version.

Differences

@@ -1,57 +1,59 @@
 #!/bin/bash
-# Date : (????-??-?? ??-??)
-# Last revision : (2010-05-23 10-00)
-# Wine version used : -
-# Distribution used to test : -
-# Author : bastien09 (last changes by NSLW)
-# Licence : Retail
-# Depend : -
+# Date : (2017-01-20 08:01)
+# Last revision : (2017-01-20 08:01)
+# Wine version used : 2.0-rc5-staging
+# Distribution used to test : Ubuntu Mate 16.04 LTS, 32-bit
+# Author : bastien09, NSLW, lahtis <lahtis@gmail.com>
+# Script licence : GPLv2
+# Program version : Retail original 2 CD box
+# Bug reports ->
+# Latest install script -> https://github.com/lahtis/playonlinux/blob/master/working/TotalAnnihilation
  
-[ "$PLAYONLINUX" = "" ] && exit 0
+[ -z "$PLAYONLINUX" = "" ] && exit
 source "$PLAYONLINUX/lib/sources"
-
-TITLE="Total Annihilation"
+ 
 PREFIX="TotalAnnihilation"
-
+ 
 # FIXME!
-[ "$POL_OS" = "Mac" ] WORKINGWINEVERSION="1.2.3" || WORKINGWINEVERSION="1.1.44"
-
-#starting the script
-wget http://upload.wikimedia.org/wikipedia/en/6/6c/Total_Annihilation_Coverart.png --output-document="$REPERTOIRE/tmp/leftnotscaled.jpeg"
-convert "$REPERTOIRE/tmp/leftnotscaled.jpeg" -scale 150x356\! "$REPERTOIRE/tmp/left.jpeg"
-POL_SetupWindow_Init "" "$REPERTOIRE/tmp/left.jpeg"
- 
-POL_SetupWindow_presentation "$TITLE" "GT Interactive Software" "N/A" "bastien09" "$PREFIX"
-
-#asking for CDROM and checking if it's correct one
-POL_SetupWindow_message "Please insert $TITLE media into your disk drive."
-cd "$CDROM"
-CHECK=$(find . -iwholename ./SETUP.EXE | cut -d'/' -f2)
-POL_SetupWindow_check_cdrom "$CHECK"
- 
-select_prefix "$REPERTOIRE/wineprefix/$PREFIX"
-
-#downloading specific Wine
-POL_SetupWindow_install_wine "$WORKINGWINEVERSION"
-Use_WineVersion "$WORKINGWINEVERSION"
-
-#creating application's own prefix
-POL_SetupWindow_prefixcreate 
- 
-#fetching PROGRAMFILES environmental variable
-PROGRAMFILES="Program Files"
-POL_LoadVar_PROGRAMFILES
-
-Set_OS "win98"
-#starting installation
-POL_SetupWindow_wait_next_signal "Installation in progress..." "$TITLE"
-wine "$CDROM/$CHECK"
-POL_SetupWindow_detect_exit
-
-#making shortcut
-POL_SetupWindow_make_shortcut "$PREFIX" "CAVEDOG/TOTALA" "totala.exe" "" "$TITLE"
-Set_WineVersion_Assign "$WORKINGWINEVERSION" "$TITLE"
-
-POL_SetupWindow_message "$TITLE has been installed successfully." "$TITLE"
+[ "$POL_OS" = "Mac" ] WORKING_WINE_VERSION="1.2.3" || WORKING_WINE_VERSION="2.0-rc5-staging"
+ 
+TITLE="Total Annihilation"
+EDITOR="Cavedog Entertainment / GT Interactive"          
+GAME_URL="http://files.tauniverse.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"
+ 
+# Asking about memory size of graphic card
+POL_SetupWindow_VMS $GAME_VMS
+ 
+# Fix pulseaudio issue
+which pulseaudio && Set_OS "win95"
+ 
+# 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 "SETUP.EXE"
+POL_SetupWindow_cdrom
+ 
+POL_Wine start /unix "$CDROM/SETUP.EXE" || POL_Debug_Fatal "$(eval_gettext 'Error while installing game.')"
+POL_Wine_WaitExit "$TITLE"
+ 
+POL_Shortcut "totala.exe" "$TITLE" "$TITLE.png"
+  
+POL_SetupWindow_message "$(eval_gettext '$TITLE has been successfully installed.')"
+  
 POL_SetupWindow_Close
-exit
\ No newline at end of file
+  
+exit 0
\ No newline at end of file

Nouveau code source

#!/bin/bash
# Date : (2017-01-20 08:01)
# Last revision : (2017-01-20 08:01)
# Wine version used : 2.0-rc5-staging
# Distribution used to test : Ubuntu Mate 16.04 LTS, 32-bit
# Author : bastien09, NSLW, lahtis <lahtis@gmail.com>
# Script licence : GPLv2
# Program version : Retail original 2 CD box
# Bug reports ->
# Latest install script -> https://github.com/lahtis/playonlinux/blob/master/working/TotalAnnihilation
 
[ -z "$PLAYONLINUX" = "" ] && exit
source "$PLAYONLINUX/lib/sources"
 
PREFIX="TotalAnnihilation"
 
# FIXME!
[ "$POL_OS" = "Mac" ] WORKING_WINE_VERSION="1.2.3" || WORKING_WINE_VERSION="2.0-rc5-staging"
 
TITLE="Total Annihilation"
EDITOR="Cavedog Entertainment / GT Interactive"          
GAME_URL="http://files.tauniverse.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"
 
# Asking about memory size of graphic card
POL_SetupWindow_VMS $GAME_VMS
 
# Fix pulseaudio issue
which pulseaudio && Set_OS "win95"
 
# 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 "SETUP.EXE"
POL_SetupWindow_cdrom
 
POL_Wine start /unix "$CDROM/SETUP.EXE" || POL_Debug_Fatal "$(eval_gettext 'Error while installing game.')"
POL_Wine_WaitExit "$TITLE"
 
POL_Shortcut "totala.exe" "$TITLE" "$TITLE.png"
  
POL_SetupWindow_message "$(eval_gettext '$TITLE has been successfully installed.')"
  
POL_SetupWindow_Close
  
exit 0

Réponses

lahtis Vendredi 20 Janvier 2017 à 7:30
lahtis

Warning

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

Differences

@@ -1,57 +1,59 @@
 #!/bin/bash
-# Date : (????-??-?? ??-??)
-# Last revision : (2010-05-23 10-00)
-# Wine version used : -
-# Distribution used to test : -
-# Author : bastien09 (last changes by NSLW)
-# Licence : Retail
-# Depend : -
- 
-[ "$PLAYONLINUX" = "" ] && exit 0
+# Date : (2017-01-20 08:01)
+# Last revision : (2017-01-20 08:01)
+# Wine version used : 2.0-rc5-staging
+# Distribution used to test : Ubuntu Mate 16.04 LTS, 32-bit
+# Author :bastien09, NSLW, lahtis <lahtis@gmail.com>
+# Script licence : GPLv2
+# Program version : Retail original 2 CD box
+# Bug reports -> 
+# Latest install script -> https://github.com/lahtis/playonlinux/blob/master/testing/TotalAnnihilation
+
+[ -z "$PLAYONLINUX" = "" ] && exit
 source "$PLAYONLINUX/lib/sources"
 
-TITLE="Total Annihilation"
 PREFIX="TotalAnnihilation"
 
 # FIXME!
-[ "$POL_OS" = "Mac" ] WORKINGWINEVERSION="1.2.3" || WORKINGWINEVERSION="1.1.44"
+[ "$POL_OS" = "Mac" ] WORKINGWINEVERSION="1.2.3" || WORKINGWINEVERSION="2.0-rc5-staging"
 
-#starting the script
-wget http://upload.wikimedia.org/wikipedia/en/6/6c/Total_Annihilation_Coverart.png --output-document="$REPERTOIRE/tmp/leftnotscaled.jpeg"
-convert "$REPERTOIRE/tmp/leftnotscaled.jpeg" -scale 150x356\! "$REPERTOIRE/tmp/left.jpeg"
-POL_SetupWindow_Init "" "$REPERTOIRE/tmp/left.jpeg"
- 
-POL_SetupWindow_presentation "$TITLE" "GT Interactive Software" "N/A" "bastien09" "$PREFIX"
+TITLE="Total Annihilation"
+EDITOR="Cavedog Entertainment / GT Interactive"           
+GAME_URL="http://files.tauniverse.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"
 
-#asking for CDROM and checking if it's correct one
-POL_SetupWindow_message "Please insert $TITLE media into your disk drive."
-cd "$CDROM"
-CHECK=$(find . -iwholename ./SETUP.EXE | cut -d'/' -f2)
-POL_SetupWindow_check_cdrom "$CHECK"
+POL_SetupWindow_Init
+POL_Debug_Init
  
-select_prefix "$REPERTOIRE/wineprefix/$PREFIX"
+# Presentation
+POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
 
-#downloading specific Wine
-POL_SetupWindow_install_wine "$WORKINGWINEVERSION"
-Use_WineVersion "$WORKINGWINEVERSION"
+# Create Prefix
+POL_Wine_SelectPrefix "$PREFIX"
+POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
 
-#creating application's own prefix
-POL_SetupWindow_prefixcreate 
- 
-#fetching PROGRAMFILES environmental variable
-PROGRAMFILES="Program Files"
-POL_LoadVar_PROGRAMFILES
-
-Set_OS "win98"
-#starting installation
-POL_SetupWindow_wait_next_signal "Installation in progress..." "$TITLE"
-wine "$CDROM/$CHECK"
-POL_SetupWindow_detect_exit
-
-#making shortcut
-POL_SetupWindow_make_shortcut "$PREFIX" "CAVEDOG/TOTALA" "totala.exe" "" "$TITLE"
-Set_WineVersion_Assign "$WORKINGWINEVERSION" "$TITLE"
+# Asking about memory size of graphic card
+POL_SetupWindow_VMS $GAME_VMS
 
-POL_SetupWindow_message "$TITLE has been installed successfully." "$TITLE"
+# Fix pulseaudio issue
+which pulseaudio && Set_OS "win95"
+
+# 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 "SETUP.EXE"
+POL_SetupWindow_cdrom
+
+POL_Wine start /unix "$CDROM/SETUP.EXE" || POL_Debug_Fatal "$(eval_gettext 'Error while installing game.')"
+POL_Wine_WaitExit "$TITLE"
+
+POL_Shortcut "totala.exe" "$TITLE" "$TITLE.png"
+ 
+POL_SetupWindow_message "$(eval_gettext '$TITLE has been successfully installed.')"
+ 
 POL_SetupWindow_Close
-exit
\ No newline at end of file
+ 
+exit 0

Nouveau code source

#!/bin/bash
# Date : (2017-01-20 08:01)
# Last revision : (2017-01-20 08:01)
# Wine version used : 2.0-rc5-staging
# Distribution used to test : Ubuntu Mate 16.04 LTS, 32-bit
# Author :bastien09, NSLW, lahtis <lahtis@gmail.com>
# Script licence : GPLv2
# Program version : Retail original 2 CD box
# Bug reports -> 
# Latest install script -> https://github.com/lahtis/playonlinux/blob/master/testing/TotalAnnihilation

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

PREFIX="TotalAnnihilation"

# FIXME!
[ "$POL_OS" = "Mac" ] WORKINGWINEVERSION="1.2.3" || WORKINGWINEVERSION="2.0-rc5-staging"

TITLE="Total Annihilation"
EDITOR="Cavedog Entertainment / GT Interactive"           
GAME_URL="http://files.tauniverse.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"

# Asking about memory size of graphic card
POL_SetupWindow_VMS $GAME_VMS

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

# 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 "SETUP.EXE"
POL_SetupWindow_cdrom

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

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

Réponses

Vendredi 20 Janvier 2017 à 7:47
WORKINGWINEVERSION -> WORKING_WINE_VERSION
amarsianin Vendredi 30 September 2016 à 8:14
amarsianin Anonymous

Messages

Simply doesn't work. Always says "Unable to find the CD-ROM" even if you mount everything correctly and specify the path.

 

Any ideas?

Réponses

Vendredi 20 Janvier 2017 à 7:27
Refresh and try again. The second time, the disc began to work.

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