Caesar III

Informations

Creator Message
Toumeno

Information

This installer has been approved by the team.

Informations

Platforms:
Downloads: 56712
Wine: 2.0-rc5-staging

Feedbacks

Source code

#!/bin/bash
# Date : (2009-12-02)
# Last revision : (2017-01-19 15:27)
# Wine version used : 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 CD version
# Bug reports -> https://bugs.winehq.org/show_bug.cgi?id=21008
# Latest install script -> https://github.com/lahtis/playonlinux/blob/master/testing/Caesar3

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

PREFIX="Caesar3"
WORKING_WINE_VERSION="2.0-rc5-staging"
TITLE="Caesar III"
EDITOR="Sierra"           
GAME_URL=""
AUTHOR="lahtis, unknown"
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 "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 "c3.exe" "$TITLE" "$TITLE.png"
 
POL_SetupWindow_message "$(eval_gettext '$TITLE has been successfully installed.')"
 
POL_SetupWindow_Close
 
exit 0

Contributions

Filters:

Contribute
Member Message
akiro Friday 3 January 2020 at 13:05
akiro Anonymous

Warning

This update has not been approved yet by the team.
Use it at your own risk

Differences

@@ -1,7 +1,7 @@
 #!/bin/bash
 # Date : (2009-12-02)
 # Last revision : (2017-01-19 15:27)
-# Wine version used : 2.0-rc5-staging
+# Wine version used : default
 # Distribution used to test : Ubuntu Mate 16.04 LTS, 32-bit
 # Author : lahtis <lahtis@gmail.com>
 # Script licence : GPLv2
@@ -13,7 +13,7 @@
 source "$PLAYONLINUX/lib/sources"
 
 PREFIX="Caesar3"
-WORKING_WINE_VERSION="2.0-rc5-staging"
+
 TITLE="Caesar III"
 EDITOR="Sierra"           
 GAME_URL=""

New source code

#!/bin/bash
# Date : (2009-12-02)
# Last revision : (2017-01-19 15:27)
# Wine version used : default
# Distribution used to test : Ubuntu Mate 16.04 LTS, 32-bit
# Author : lahtis <lahtis@gmail.com>
# Script licence : GPLv2
# Program version : Retail original CD version
# Bug reports -> https://bugs.winehq.org/show_bug.cgi?id=21008
# Latest install script -> https://github.com/lahtis/playonlinux/blob/master/testing/Caesar3

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

PREFIX="Caesar3"

TITLE="Caesar III"
EDITOR="Sierra"           
GAME_URL=""
AUTHOR="lahtis, unknown"
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 "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 "c3.exe" "$TITLE" "$TITLE.png"
 
POL_SetupWindow_message "$(eval_gettext '$TITLE has been successfully installed.')"
 
POL_SetupWindow_Close
 
exit 0

Replies

xlours Tuesday 2 January 2018 at 14:17
xlours Anonymous

Message

Bonjour,

une simple installation (Installer un programme non listé) en choisissant le wine par défaut (wine-1.6.2 sur mon UBUNTU 16.04, 32bit), windows 98 et POL_Install_d3dx9 m'a permis de jouer sans problème.

cordialement

Replies

lahtis Thursday 19 January 2017 at 14:51
lahtis

Information

This update has been approved by the team.

Differences

@@ -1,52 +1,57 @@
 #!/bin/bash
-# Last Revision : (2009-12-02)
+# Date : (2009-12-02)
+# Last revision : (2017-01-19 15:27)
+# Wine version used : 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 CD version
+# Bug reports -> https://bugs.winehq.org/show_bug.cgi?id=21008
+# Latest install script -> https://github.com/lahtis/playonlinux/blob/master/testing/Caesar3
 
-#Vérifier que PlayOnLinux est bien exécuté avant
-[ "$PLAYONLINUX" = "" ] && exit 0 
- 
+[ -z "$PLAYONLINUX" = "" ] && exit
 source "$PLAYONLINUX/lib/sources"
 
+PREFIX="Caesar3"
+WORKING_WINE_VERSION="2.0-rc5-staging"
+TITLE="Caesar III"
+EDITOR="Sierra"           
+GAME_URL=""
+AUTHOR="lahtis, unknown"
+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 "Caesar III" "Sierra" "http://www.caesar3.com/" "Toumeno" "Caesar3"
- 
-#Préparation de Wine
+# Presentation
+POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
 
-select_prefix "$REPERTOIRE/wineprefix/Caesar3"
-POL_SetupWindow_prefixcreate
- 
-#Configuration de Wine
-Set_OS win98
-Set_SoundDriver alsa
-Set_Desktop On 1024 768
- 
-#Détection du cd-rom
+# 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 "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_SetupWindow_check_cdrom "setup.exe" 
- 
-#Installation
-wine "$CDROM/setup.exe"
- 
-#Téléchargement du bon c3.exe (car le caesar3 livré avec certains PC est défectueux)Nécessite toujours le CD pour jouer
-cd $REPERTOIRE/tmp
-POL_SetupWindow_download "Téléchargement d'un fichier/Downloading file" "Caesar III" "http://perso.wanadoo.fr/cesar.3/divers/c3.zip"
-unzip -o c3.zip -d "$REPERTOIRE/wineprefix/Caesar3/drive_c/SIERRA/Caesar3"
-cd $REPERTOIRE/tmp
-rm c3.zip
- 
-#Fin du code du jeu
-#Création du lanceur
- 
-POL_SetupWindow_make_shortcut "Caesar3" "SIERRA/Caesar3/" "c3.exe" "caesar3.png" "Caesar III"
 
+POL_Wine start /unix "$CDROM/SETUP.EXE" || POL_Debug_Fatal "$(eval_gettext 'Error while installing game.')"
+POL_Wine_WaitExit "$TITLE"
+
+POL_Shortcut "c3.exe" "$TITLE" "$TITLE.png"
  
-if [ "$POL_LANG" == "fr" ]
-then
-POL_SetupWindow_message "Au cours d'une partie, n'oubliez pas de cliquer\nsur Options=>Affichage, et de régler la résolution à 1024x768 (maximum)."
-else
-POL_SetupWindow_message "During a game, remember to set the resolution\nto 1024x768 (the maximum one) in Options=>Display"
-fi
+POL_SetupWindow_message "$(eval_gettext '$TITLE has been successfully installed.')"
  
 POL_SetupWindow_Close
-exit
\ No newline at end of file
+ 
+exit 0

New source code

#!/bin/bash
# Date : (2009-12-02)
# Last revision : (2017-01-19 15:27)
# Wine version used : 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 CD version
# Bug reports -> https://bugs.winehq.org/show_bug.cgi?id=21008
# Latest install script -> https://github.com/lahtis/playonlinux/blob/master/testing/Caesar3

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

PREFIX="Caesar3"
WORKING_WINE_VERSION="2.0-rc5-staging"
TITLE="Caesar III"
EDITOR="Sierra"           
GAME_URL=""
AUTHOR="lahtis, unknown"
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 "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 "c3.exe" "$TITLE" "$TITLE.png"
 
POL_SetupWindow_message "$(eval_gettext '$TITLE has been successfully installed.')"
 
POL_SetupWindow_Close
 
exit 0

Replies

lahtis Thursday 19 January 2017 at 14:37
lahtis

Message

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