X-WING Collector series - Flight School

Informations

Créateur Messages
lahtis

Information

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

Informations

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

Retours d'expérience

Description

The X-Wing Collector Series is a bundle of two classic LucasArts space sims (X-Wing Collector's CD, Tie Fighter Collector's CD) plus a special limited version of another sim: X-Wing vs. Tie Fighter: Flight School.

Requirements: joystick, 640 x 400 display.

Code source

#!/bin/bash
# Date : (2017-01-24 15:42)
# Last revision : see changelog
# Wine version used : 3.0.3
# Distribution used to test : Ubuntu Mate 16.04 LTS, 32-bit
# Author : 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/X-WING-Collector-series
# Game running only 640x480 grapics and needed a joystick.
#
# CHANGELOG
# [lahtis] (2017-01-24 15:42)
#   Initial script.
# [Dadu042] (2020-01-14 22:00)
#   Wine 2.0-rc5 -> 3.0.3

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

PREFIX="XWING-FlightSchool"
TITLE="X-WING Collector series - Flight School"
WORKING_WINE_VERSION="3.0.3"
EDITOR="LucasArts"           
GAME_URL=""
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 "xwingtie.exe" "X-WING / XvT: Flight School Laucher" "$TITLE.png"
POL_Shortcut "z_xvt__.exe" "Play XvT: Flight School" "$TITLE.png"
 
POL_SetupWindow_message "$(eval_gettext '$TITLE has been successfully installed.')"
 
POL_SetupWindow_Close
 
exit 0

Contributions

Filters:

Contribuer
Membre Messages
Dadu042 Jeudi 16 Janvier 2020 à 22:08
Dadu042

Information

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

Differences

@@ -1,7 +1,7 @@
 #!/bin/bash
 # Date : (2017-01-24 15:42)
-# Last revision : (2017-01-24 15:42)
-# Wine version used : 1.5.5, 2.0-rc5-staging
+# Last revision : see changelog
+# Wine version used : 3.0.3
 # Distribution used to test : Ubuntu Mate 16.04 LTS, 32-bit
 # Author : lahtis <lahtis@gmail.com>
 # Script licence : GPLv2
@@ -9,13 +9,19 @@
 # Bug reports -> 
 # Latest install script -> https://github.com/lahtis/playonlinux/blob/master/working/X-WING-Collector-series
 # Game running only 640x480 grapics and needed a joystick.
+#
+# CHANGELOG
+# [lahtis] (2017-01-24 15:42)
+#   Initial script.
+# [Dadu042] (2020-01-14 22:00)
+#   Wine 2.0-rc5 -> 3.0.3
 
 [ -z "$PLAYONLINUX" = "" ] && exit
 source "$PLAYONLINUX/lib/sources"
 
 PREFIX="XWING-FlightSchool"
 TITLE="X-WING Collector series - Flight School"
-WORKING_WINE_VERSION="2.0-rc5"
+WORKING_WINE_VERSION="3.0.3"
 EDITOR="LucasArts"           
 GAME_URL=""
 AUTHOR="lahtis"
@@ -55,4 +61,4 @@
  
 POL_SetupWindow_Close
  
-exit 0
+exit 0
\ No newline at end of file

Nouveau code source

#!/bin/bash
# Date : (2017-01-24 15:42)
# Last revision : see changelog
# Wine version used : 3.0.3
# Distribution used to test : Ubuntu Mate 16.04 LTS, 32-bit
# Author : 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/X-WING-Collector-series
# Game running only 640x480 grapics and needed a joystick.
#
# CHANGELOG
# [lahtis] (2017-01-24 15:42)
#   Initial script.
# [Dadu042] (2020-01-14 22:00)
#   Wine 2.0-rc5 -> 3.0.3

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

PREFIX="XWING-FlightSchool"
TITLE="X-WING Collector series - Flight School"
WORKING_WINE_VERSION="3.0.3"
EDITOR="LucasArts"           
GAME_URL=""
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 "xwingtie.exe" "X-WING / XvT: Flight School Laucher" "$TITLE.png"
POL_Shortcut "z_xvt__.exe" "Play XvT: Flight School" "$TITLE.png"
 
POL_SetupWindow_message "$(eval_gettext '$TITLE has been successfully installed.')"
 
POL_SetupWindow_Close
 
exit 0

Réponses

lahtis Mercredi 25 Janvier 2017 à 13:54
lahtis

Warning

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

Messages

source code

Differences

@@ -0,0 +1,58 @@
+#!/bin/bash
+# Date : (2017-01-24 15:42)
+# Last revision : (2017-01-24 15:42)
+# Wine version used : 1.5.5, 2.0-rc5-staging
+# Distribution used to test : Ubuntu Mate 16.04 LTS, 32-bit
+# Author : 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/X-WING-Collector-series
+# Game running only 640x480 grapics and needed a joystick.
+
+[ -z "$PLAYONLINUX" = "" ] && exit
+source "$PLAYONLINUX/lib/sources"
+
+PREFIX="XWING-FlightSchool"
+TITLE="X-WING Collector series - Flight School"
+WORKING_WINE_VERSION="2.0-rc5"
+EDITOR="LucasArts"           
+GAME_URL=""
+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 "xwingtie.exe" "X-WING / XvT: Flight School Laucher" "$TITLE.png"
+POL_Shortcut "z_xvt__.exe" "Play XvT: Flight School" "$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-24 15:42)
# Last revision : (2017-01-24 15:42)
# Wine version used : 1.5.5, 2.0-rc5-staging
# Distribution used to test : Ubuntu Mate 16.04 LTS, 32-bit
# Author : 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/X-WING-Collector-series
# Game running only 640x480 grapics and needed a joystick.

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

PREFIX="XWING-FlightSchool"
TITLE="X-WING Collector series - Flight School"
WORKING_WINE_VERSION="2.0-rc5"
EDITOR="LucasArts"           
GAME_URL=""
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 "xwingtie.exe" "X-WING / XvT: Flight School Laucher" "$TITLE.png"
POL_Shortcut "z_xvt__.exe" "Play XvT: Flight School" "$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:11
Approved.

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