SimCity 4 Deluxe
Informations
| Créateur | Messages | 
|---|---|
                Ronin DUSETTE
                                         
            
  | 
            
                                        InformationCet installateur a été accepté par l'équipe. InformationsPlate-formes :   Retours d'expérience0 2 DescriptionFrom http://www.ea.com/simcity-4-deluxe "In SimCity™ 4, you don’t just build your city; you breathe life into it. Sculpt mountains, dig riverbeds, and seed forests as you lay the groundwork for your creation. Then, use your god-like powers to construct the most realistic metropolis you can imagine." Captures d'écranCode source#!/bin/bash
# Date : (2015-01-15 13-00)
# Last revision : see changelog
# Distribution used to test : Ubuntu 19.04 64-bit
# Author : RoninDusette
# Licence : GPLv3
# PlayOnLinux: 4.3.4
# Media used: 2 CD-Rom retail, august 2004 (folders date. But on CD #2 it's july 2008), pre patched ?.
# File Version: 1.1.613.0
# CHANGELOG
# [Dadu042] (2019-07-04)
#   - Some little improvements.
#   - Wine 1.7.34 -> 2.22.
#   - Add KNOWN ISSUES.
# KNOWN ISSUES:
# Wine 4.1, 4.8: when trying to launch the game it does not recognize the retail CD-ROM #1.
# Wine 4.8 + NoCD : "Could not initialize direct draw" (same with: force GDI, UseGLSL, dx3d9).
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
       
PREFIX="SimCity4Deluxe"
WINEVERSION="2.22"
TITLE="SimCity 4 Deluxe"
EDITOR="EA Games - Maxis"
GAME_URL="http://www.electronicarts.com"
AUTHOR="RoninDusette"
       
#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"
POL_RequiredVersion 4.2.12 || POL_Debug_Fatal "$TITLE won't work with $APPLICATION_TITLE $VERSION\nPlease update."
# Getting information for installation
POL_SetupWindow_InstallMethod "LOCAL,STEAM,CD"
 
if [ "$INSTALL_METHOD" = "LOCAL" ]; then
    POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file for $TITLE')" "$TITLE"
    SETUP_BY="$APP_ANSWER"
elif [ "$INSTALL_METHOD" = "STEAM" ]; then
    SETUP_BY="STEAM"
fi
 
# Create Prefix
POL_Wine_SelectPrefix "$PREFIX"
POL_System_SetArch "x86"
POL_Wine_PrefixCreate "$WINEVERSION"
POL_System_TmpCreate "$TITLE"
if [ "$INSTALL_METHOD" = "STEAM" ]; then
POL_SetupWindow_message "$(eval_gettext 'NOTICE: After Steam installs, uncheck "Run Steam" so that it does not start.')" "$TITLE"
fi
 
# Dependencies
if [ "$SETUP_BY" = "STEAM" ]; then
    POL_Call POL_Install_steam
fi
 
# Configuration
Set_Desktop "On" "1024" "768"
POL_Wine_Direct3D "UseGLSL" "disabled"
 
# Installation
if [ "$INSTALL_METHOD" = "CD" ]; then
        POL_Call POL_Function_NoCDWarning
        Set_OS "win2k"
        #CD-ROM 1
        POL_SetupWindow_message "$(eval_gettext 'Please insert CD 1.')"
        POL_SetupWindow_cdrom
        POL_SetupWindow_check_cdrom "SC4_ConnectToWebIcon.ico"
        cd "$WINEPREFIX/dosdevices"
        rm "d::"
        ln -s "$CDROM" "d:"
        cd "$CDROM"
        POL_Wine "$CDROM/setup.exe"
        POL_SetupWindow_message "$(eval_gettext 'When the game setup will ask for next disk, please come back to this window in order to click on "Next" before to insert it.')"
        #CD-ROM 2
        POL_SetupWindow_message "$(eval_gettext 'Please insert CD 2.\n\nIn the next window click 'Refresh' until you see it then select it.')"
        POL_SetupWindow_cdrom
        cd "$WINEPREFIX/dosdevices"
        rm "d:"
        ln -s "$CDROM" "d:"
        cd "$POL_System_TmpDir"
        POL_SetupWindow_message "$(eval_gettext 'Please wait while $TITLE is installed.')" "$TITLE"
        
        POL_Shortcut "SimCity 4.exe"
        POL_Shortcut_Document "$TITLE" "ReadMe.txt"
fi
if [ "$INSTALL_METHOD" = "LOCAL" ]; then
    POL_Call POL_Function_NoCDWarning
    Set_OS "win2k"
    POL_Wine_WaitBefore "$TITLE"
    POL_Wine "$APP_ANSWER"
    POL_Wine_WaitExit "$TITLE"
    POL_Shortcut "SimCity 4.exe"
elif [ "$INSTALL_METHOD" = "STEAM" ]; then
    Set_OS "winxp"
    POL_SetupWindow_message "$(eval_gettext 'NOTICE: If you notice an error, but Steam and $TITLE are running, it can be ignored.')" "$TITLE"
    cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
    POL_Wine "Steam.exe" -applaunch 24780
    POL_SetupWindow_message "$LNG_WAIT_STEAM_END" "$TITLE"
    POL_Shortcut "Steam.exe" "$TITLE"
fi
# Set Graphic Card informations keys for wine
POL_Call POL_Install_VideoDriver
POL_System_TmpDelete
POL_SetupWindow_Close
exit 0                 | 
        
Contributions
Filters:
Contribuer| Membre | Messages | 
| Dadu042 | Jeudi 4 Juillet 2019 à 21:30 | 
| 
                    Dadu042
                     
  | 
                
                    InformationCette mise à jour a été acceptée par l'équipe MessagesSee changelog. I own the retail DVDs. Differences@@ -1,58 +1,105 @@
 #!/bin/bash
 # Date : (2015-01-15 13-00)
-# Distribution used to test : Kubuntu 14.04 LTS 64-bit
+# Last revision : see changelog
+# Distribution used to test : Ubuntu 19.04 64-bit
 # Author : RoninDusette
 # Licence : GPLv3
-# PlayOnLinux: 4.2.5
+# PlayOnLinux: 4.3.4
 
+# Media used: 2 CD-Rom retail, august 2004 (folders date. But on CD #2 it's july 2008), pre patched ?.
+# File Version: 1.1.613.0
+
+# CHANGELOG
+# [Dadu042] (2019-07-04)
+#   - Some little improvements.
+#   - Wine 1.7.34 -> 2.22.
+#   - Add KNOWN ISSUES.
+
+# KNOWN ISSUES:
+# Wine 4.1, 4.8: when trying to launch the game it does not recognize the retail CD-ROM #1.
+# Wine 4.8 + NoCD : "Could not initialize direct draw" (same with: force GDI, UseGLSL, dx3d9).
 
 [ "$PLAYONLINUX" = "" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
-      
+       
 PREFIX="SimCity4Deluxe"
-WINEVERSION="1.7.34"
+WINEVERSION="2.22"
 TITLE="SimCity 4 Deluxe"
 EDITOR="EA Games - Maxis"
 GAME_URL="http://www.electronicarts.com"
 AUTHOR="RoninDusette"
-      
+
+       
 #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"
 
-# Getting information for installation
-POL_SetupWindow_InstallMethod "LOCAL,STEAM"
+POL_RequiredVersion 4.2.12 || POL_Debug_Fatal "$TITLE won't work with $APPLICATION_TITLE $VERSION\nPlease update."
 
+# Getting information for installation
+POL_SetupWindow_InstallMethod "LOCAL,STEAM,CD"
+ 
 if [ "$INSTALL_METHOD" = "LOCAL" ]; then
     POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file for $TITLE')" "$TITLE"
     SETUP_BY="$APP_ANSWER"
 elif [ "$INSTALL_METHOD" = "STEAM" ]; then
     SETUP_BY="STEAM"
 fi
-
+ 
 # Create Prefix
 POL_Wine_SelectPrefix "$PREFIX"
+POL_System_SetArch "x86"
 POL_Wine_PrefixCreate "$WINEVERSION"
+POL_System_TmpCreate "$TITLE"
 
+if [ "$INSTALL_METHOD" = "STEAM" ]; then
 POL_SetupWindow_message "$(eval_gettext 'NOTICE: After Steam installs, uncheck "Run Steam" so that it does not start.')" "$TITLE"
-
+fi
+ 
 # Dependencies
 if [ "$SETUP_BY" = "STEAM" ]; then
     POL_Call POL_Install_steam
 fi
-
+ 
 # Configuration
 Set_Desktop "On" "1024" "768"
 POL_Wine_Direct3D "UseGLSL" "disabled"
-
+ 
 # Installation
+if [ "$INSTALL_METHOD" = "CD" ]; then
+        POL_Call POL_Function_NoCDWarning
+        Set_OS "win2k"
+
+        #CD-ROM 1
+        POL_SetupWindow_message "$(eval_gettext 'Please insert CD 1.')"
+        POL_SetupWindow_cdrom
+        POL_SetupWindow_check_cdrom "SC4_ConnectToWebIcon.ico"
+        cd "$WINEPREFIX/dosdevices"
+        rm "d::"
+        ln -s "$CDROM" "d:"
+        cd "$CDROM"
+        POL_Wine "$CDROM/setup.exe"
+        POL_SetupWindow_message "$(eval_gettext 'When the game setup will ask for next disk, please come back to this window in order to click on "Next" before to insert it.')"
+        #CD-ROM 2
+        POL_SetupWindow_message "$(eval_gettext 'Please insert CD 2.\n\nIn the next window click 'Refresh' until you see it then select it.')"
+        POL_SetupWindow_cdrom
+        cd "$WINEPREFIX/dosdevices"
+        rm "d:"
+        ln -s "$CDROM" "d:"
+        cd "$POL_System_TmpDir"
+
+        POL_SetupWindow_message "$(eval_gettext 'Please wait while $TITLE is installed.')" "$TITLE"
+        
+        POL_Shortcut "SimCity 4.exe"
+        POL_Shortcut_Document "$TITLE" "ReadMe.txt"
+fi
+
 if [ "$INSTALL_METHOD" = "LOCAL" ]; then
-    POL_SetupWindow_message "$(eval_gettext 'NOTICE: SimCity 4 needs a no-cd crack if you are installing from a CD or DVD. We do not support cracks, and cannot help if it does not work.')" "$TITLE"
+    POL_Call POL_Function_NoCDWarning
     Set_OS "win2k"
     POL_Wine_WaitBefore "$TITLE"
     POL_Wine "$APP_ANSWER"
@@ -67,5 +114,9 @@
     POL_Shortcut "Steam.exe" "$TITLE"
 fi
 
+# Set Graphic Card informations keys for wine
+POL_Call POL_Install_VideoDriver
+
+POL_System_TmpDelete
 POL_SetupWindow_Close
 exit 0
\ No newline at end of file
                            Nouveau code source#!/bin/bash
# Date : (2015-01-15 13-00)
# Last revision : see changelog
# Distribution used to test : Ubuntu 19.04 64-bit
# Author : RoninDusette
# Licence : GPLv3
# PlayOnLinux: 4.3.4
# Media used: 2 CD-Rom retail, august 2004 (folders date. But on CD #2 it's july 2008), pre patched ?.
# File Version: 1.1.613.0
# CHANGELOG
# [Dadu042] (2019-07-04)
#   - Some little improvements.
#   - Wine 1.7.34 -> 2.22.
#   - Add KNOWN ISSUES.
# KNOWN ISSUES:
# Wine 4.1, 4.8: when trying to launch the game it does not recognize the retail CD-ROM #1.
# Wine 4.8 + NoCD : "Could not initialize direct draw" (same with: force GDI, UseGLSL, dx3d9).
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
       
PREFIX="SimCity4Deluxe"
WINEVERSION="2.22"
TITLE="SimCity 4 Deluxe"
EDITOR="EA Games - Maxis"
GAME_URL="http://www.electronicarts.com"
AUTHOR="RoninDusette"
       
#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"
POL_RequiredVersion 4.2.12 || POL_Debug_Fatal "$TITLE won't work with $APPLICATION_TITLE $VERSION\nPlease update."
# Getting information for installation
POL_SetupWindow_InstallMethod "LOCAL,STEAM,CD"
 
if [ "$INSTALL_METHOD" = "LOCAL" ]; then
    POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file for $TITLE')" "$TITLE"
    SETUP_BY="$APP_ANSWER"
elif [ "$INSTALL_METHOD" = "STEAM" ]; then
    SETUP_BY="STEAM"
fi
 
# Create Prefix
POL_Wine_SelectPrefix "$PREFIX"
POL_System_SetArch "x86"
POL_Wine_PrefixCreate "$WINEVERSION"
POL_System_TmpCreate "$TITLE"
if [ "$INSTALL_METHOD" = "STEAM" ]; then
POL_SetupWindow_message "$(eval_gettext 'NOTICE: After Steam installs, uncheck "Run Steam" so that it does not start.')" "$TITLE"
fi
 
# Dependencies
if [ "$SETUP_BY" = "STEAM" ]; then
    POL_Call POL_Install_steam
fi
 
# Configuration
Set_Desktop "On" "1024" "768"
POL_Wine_Direct3D "UseGLSL" "disabled"
 
# Installation
if [ "$INSTALL_METHOD" = "CD" ]; then
        POL_Call POL_Function_NoCDWarning
        Set_OS "win2k"
        #CD-ROM 1
        POL_SetupWindow_message "$(eval_gettext 'Please insert CD 1.')"
        POL_SetupWindow_cdrom
        POL_SetupWindow_check_cdrom "SC4_ConnectToWebIcon.ico"
        cd "$WINEPREFIX/dosdevices"
        rm "d::"
        ln -s "$CDROM" "d:"
        cd "$CDROM"
        POL_Wine "$CDROM/setup.exe"
        POL_SetupWindow_message "$(eval_gettext 'When the game setup will ask for next disk, please come back to this window in order to click on "Next" before to insert it.')"
        #CD-ROM 2
        POL_SetupWindow_message "$(eval_gettext 'Please insert CD 2.\n\nIn the next window click 'Refresh' until you see it then select it.')"
        POL_SetupWindow_cdrom
        cd "$WINEPREFIX/dosdevices"
        rm "d:"
        ln -s "$CDROM" "d:"
        cd "$POL_System_TmpDir"
        POL_SetupWindow_message "$(eval_gettext 'Please wait while $TITLE is installed.')" "$TITLE"
        
        POL_Shortcut "SimCity 4.exe"
        POL_Shortcut_Document "$TITLE" "ReadMe.txt"
fi
if [ "$INSTALL_METHOD" = "LOCAL" ]; then
    POL_Call POL_Function_NoCDWarning
    Set_OS "win2k"
    POL_Wine_WaitBefore "$TITLE"
    POL_Wine "$APP_ANSWER"
    POL_Wine_WaitExit "$TITLE"
    POL_Shortcut "SimCity 4.exe"
elif [ "$INSTALL_METHOD" = "STEAM" ]; then
    Set_OS "winxp"
    POL_SetupWindow_message "$(eval_gettext 'NOTICE: If you notice an error, but Steam and $TITLE are running, it can be ignored.')" "$TITLE"
    cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
    POL_Wine "Steam.exe" -applaunch 24780
    POL_SetupWindow_message "$LNG_WAIT_STEAM_END" "$TITLE"
    POL_Shortcut "Steam.exe" "$TITLE"
fi
# Set Graphic Card informations keys for wine
POL_Call POL_Install_VideoDriver
POL_System_TmpDelete
POL_SetupWindow_Close
exit 0                            RéponsesEdité par Dadu042  | 
            
| L-tu | Jeudi 24 Aoüt 2017 à 13:57 | 
                    L-tu
                                             
  | 
                |
| Ronin DUSETTE | Jeudi 15 Janvier 2015 à 22:01 | 
                    Ronin DUSETTE
                                                 
            
  | 
                
                    WarningCette mise à jour n'a pas été approuvée par l'équipe. MessagesI am going to take over as maintainer for this script (it just has not had any updates for a very long time.). Here is a complete script re-write with Steam support. It is testing fine with Steam, but I do not have the physical discs to test with. This game still will need a no-cd crack for the disc version, but I have added a warning in here about that. Differences@@ -1,97 +1,71 @@ #!/bin/bash +# Date : (2015-01-15 13-00) +# Distribution used to test : Kubuntu 14.04 LTS 64-bit +# Author : RoninDusette +# Licence : GPLv3 +# PlayOnLinux: 4.2.5 -if [ "$PLAYONLINUX" = "" ] -then -exit 0 -fi +[ "$PLAYONLINUX" = "" ] && exit 0 source "$PLAYONLINUX/lib/sources" + +PREFIX="SimCity4Deluxe" +WINEVERSION="1.7.34" +TITLE="SimCity 4 Deluxe" +EDITOR="EA Games - Maxis" +GAME_URL="http://www.electronicarts.com" +AUTHOR="RoninDusette" + +#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 -#Verifier les dépendences -cfg_check - -#Presentation -POL_SetupWindow_presentation "SimCity 4 Deluxe" "EA Games - Maxis" "http://www.electronicarts.com" "Toumeno" "simcity4deluxe" - - -if [ "$POL_LANG" == "fr" ]; then - - -LNG_SC4_WAIT="Patientez pendant la préparation de l'installation" -LNG_SC4_CD2="Veuillez insérer le CD2 et cliquer sur Suivant" -LNG_SC4_CRACK="Vous aurez besoin d'un crack no cd pour lancer SimCity 4.\nVous devez posséder le jeu original.\nPlayOnLinux ne vous fournira aucune aide pour les cracks no cd.\nPlayOnLinux n'est pas reponsable de l'utilisation que vous faites du logiciel." -LNG_SC4_CD1="Veuillez insérer le CD 1 et cliquer sur Suivant" -LNG_SC4_RUN="Si le jeu ne se lance pas correctement appuyez sur Echap." - -else + +POL_Debug_Init + +# Presentation +POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX" + +# Getting information for installation +POL_SetupWindow_InstallMethod "LOCAL,STEAM" + +if [ "$INSTALL_METHOD" = "LOCAL" ]; then + POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file for $TITLE')" "$TITLE" + SETUP_BY="$APP_ANSWER" +elif [ "$INSTALL_METHOD" = "STEAM" ]; then + SETUP_BY="STEAM" +fi -LNG_SC4_WAIT="Please wait during the installation's preparation" -LNG_SC4_CD2="Please insert the CD2 and click on Next" -LNG_SC4_CRACK="You will need a no cd crack to run SimCity 4.\nYou must own the original game.\nPlayOnLinux will not give you any help about no cd cracks.\nPlayOnLinux is not responsible of the use of the software." -LNG_SC4_CD1="Please insert the CD 1 and click on Next" -LNG_SC4_RUN="If the game does not run correctly, press Esc (Echap)." +# Create Prefix +POL_Wine_SelectPrefix "$PREFIX" +POL_Wine_PrefixCreate "$WINEVERSION" + +POL_SetupWindow_message "$(eval_gettext 'NOTICE: After Steam installs, uncheck "Run Steam" so that it does not start.')" "$TITLE" + +# Dependencies +if [ "$SETUP_BY" = "STEAM" ]; then + POL_Call POL_Install_steam +fi +# Configuration +Set_Desktop "On" "1024" "768" +POL_Wine_Direct3D "UseGLSL" "disabled" + +# Installation +if [ "$INSTALL_METHOD" = "LOCAL" ]; then + POL_SetupWindow_message "$(eval_gettext 'NOTICE: SimCity 4 needs a no-cd crack if you are installing from a CD or DVD. We do not support cracks, and cannot help if it does not work.')" "$TITLE" + Set_OS "win2k" + POL_Wine_WaitBefore "$TITLE" + POL_Wine "$APP_ANSWER" + POL_Wine_WaitExit "$TITLE" + POL_Shortcut "SimCity 4.exe" +elif [ "$INSTALL_METHOD" = "STEAM" ]; then + Set_OS "winxp" + POL_SetupWindow_message "$(eval_gettext 'NOTICE: If you notice an error, but Steam and $TITLE are running, it can be ignored.')" "$TITLE" + cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam" + POL_Wine "Steam.exe" -applaunch 24780 + POL_SetupWindow_message "$LNG_WAIT_STEAM_END" "$TITLE" + POL_Shortcut "Steam.exe" "$TITLE" fi -#Préparation de Wine -mkdir -p "$REPERTOIRE/wineprefix/simcity4deluxe" -cd "$REPERTOIRE/wineprefix/simcity4deluxe" -select_prefixe "$(pwd)" -POL_SetupWindow_prefixcreate - -POL_SetupWindow_message "$LNG_SC4_CD1" - -#Détection du cd-rom -POL_SetupWindow_cdrom -POL_SetupWindow_check_cdrom "setup.exe" - -# Réglages de Wine -Set_WineVersion_Session 0.9.19 -Set_OS "win2k" -Set_Desktop On 1024 768 -Set_SoundDriver alsa -Set_GLSL Off - - -# Installation du jeu - -# Créer les lecteurs Windows -cd "$REPERTOIRE/wineprefix/simcity4deluxe/dosdevices" -rm ./* -ln -s "$REPERTOIRE/wineprefix/simcity4deluxe/drive_c" "c:" -ln -s "$CDROM" "d:" -ln -s "/" "z:" - - -mkdir "$REPERTOIRE/wineprefix/simcity4deluxe/temp" -cd "$REPERTOIRE/wineprefix/simcity4deluxe/temp" -mkdir sc4setup - - -POL_SetupWindow_wait_next_signal "$LNG_SC4_WAIT" "SimCity 4 Deluxe" -cp -vR $CDROM/* ./sc4setup/ -POL_SetupWindow_detect_exit -POL_SetupWindow_message "$LNG_SC4_CD2" -chmod -R 777 "$REPERTOIRE/wineprefix/simcity4deluxe/temp" - -cd sc4setup -POL_SetupWindow_wait_next_signal "Installing... / Installation en cours" "SimCity 4 Deluxe" -wine setup.exe -POL_SetupWindow_detect_exit - -#Fin du code du jeu -#Création du lanceur - -POL_SetupWindow_make_shortcut "simcity4deluxe" "Program Files/Maxis/SimCity 4 Deluxe/Apps/" "SimCity 4.exe" "simcity4.xpm" "SimCity 4 Deluxe" -Set_WineVersion_Assign "1.1.0" "SimCity 4 Deluxe" -Set_Desktop Off - -POL_SetupWindow_reboot -rm -rf "$REPERTOIRE/wineprefix/simcity4deluxe/temp" -POL_SetupWindow_message "Installation terminée - -Install finished" -POL_SetupWindow_message "$LNG_SC4_CRACK" -POL_SetupWindow_message "$LNG_SC4_RUN" POL_SetupWindow_Close -exit \ No newline at end of file +exit 0 \ No newline at end of file Nouveau code source#!/bin/bash
# Date : (2015-01-15 13-00)
# Distribution used to test : Kubuntu 14.04 LTS 64-bit
# Author : RoninDusette
# Licence : GPLv3
# PlayOnLinux: 4.2.5
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
      
PREFIX="SimCity4Deluxe"
WINEVERSION="1.7.34"
TITLE="SimCity 4 Deluxe"
EDITOR="EA Games - Maxis"
GAME_URL="http://www.electronicarts.com"
AUTHOR="RoninDusette"
      
#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"
# Getting information for installation
POL_SetupWindow_InstallMethod "LOCAL,STEAM"
if [ "$INSTALL_METHOD" = "LOCAL" ]; then
    POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file for $TITLE')" "$TITLE"
    SETUP_BY="$APP_ANSWER"
elif [ "$INSTALL_METHOD" = "STEAM" ]; then
    SETUP_BY="STEAM"
fi
# Create Prefix
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WINEVERSION"
POL_SetupWindow_message "$(eval_gettext 'NOTICE: After Steam installs, uncheck "Run Steam" so that it does not start.')" "$TITLE"
# Dependencies
if [ "$SETUP_BY" = "STEAM" ]; then
    POL_Call POL_Install_steam
fi
# Configuration
Set_Desktop "On" "1024" "768"
POL_Wine_Direct3D "UseGLSL" "disabled"
# Installation
if [ "$INSTALL_METHOD" = "LOCAL" ]; then
    POL_SetupWindow_message "$(eval_gettext 'NOTICE: SimCity 4 needs a no-cd crack if you are installing from a CD or DVD. We do not support cracks, and cannot help if it does not work.')" "$TITLE"
    Set_OS "win2k"
    POL_Wine_WaitBefore "$TITLE"
    POL_Wine "$APP_ANSWER"
    POL_Wine_WaitExit "$TITLE"
    POL_Shortcut "SimCity 4.exe"
elif [ "$INSTALL_METHOD" = "STEAM" ]; then
    Set_OS "winxp"
    POL_SetupWindow_message "$(eval_gettext 'NOTICE: If you notice an error, but Steam and $TITLE are running, it can be ignored.')" "$TITLE"
    cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
    POL_Wine "Steam.exe" -applaunch 24780
    POL_SetupWindow_message "$LNG_WAIT_STEAM_END" "$TITLE"
    POL_Shortcut "Steam.exe" "$TITLE"
fi
POL_SetupWindow_Close
exit 0                            RéponsesMercredi 21 Janvier 2015 à 3:14                                                                                     
                                    Vendredi 23 Janvier 2015 à 20:48                                                                                     
                                    Vendredi 23 Janvier 2015 à 23:37                                                                                     
                                    Vendredi 23 Janvier 2015 à 23:37                                                                                     
                                    Mardi 27 Janvier 2015 à 8:35                                                                                     
                                    Mardi 27 Janvier 2015 à 8:38                                                                                     
                                    Mardi 27 Janvier 2015 à 8:43                                                                                     
                                    Mardi 27 Janvier 2015 à 9:13                                                                                     
                                    Mardi 27 Janvier 2015 à 9:35                                                                                     
                                    Jeudi 29 Janvier 2015 à 10:15                                                                                     
                                    Mardi 3 Février 2015 à 18:32                                                                                     
                                    Mardi 3 Février 2015 à 18:39                                                                                     
                                    Jeudi 3 Janvier 2019 à 15:58                                                                                     
                                    Edité par RoninDusette  | 
            
| merom | Mardi 13 Janvier 2015 à 23:11 | 
                    merom
                                             
  | 
                
                    MessagesUbuntu 14.04 PLayonLinux 4.2.2 Problème lors de l'installation de SimCity 4 Deluxe : crash de wine avec l'erreur suivante : [POL_Wine] Message: Wine return: 0 
 RéponsesMercredi 14 Janvier 2015 à 0:16                                                                                     
                                    Mercredi 14 Janvier 2015 à 7:07                                                                                     
                                    Mercredi 14 Janvier 2015 à 20:02                                                                                     
                                    Mercredi 14 Janvier 2015 à 20:14                                                                                     
                                    Mercredi 14 Janvier 2015 à 22:48                                                                                     
                                    Jeudi 15 Janvier 2015 à 0:08                                                                                     
                                    Jeudi 15 Janvier 2015 à 0:10                                                                                     
                                    Jeudi 15 Janvier 2015 à 22:03                                                                                     
                                    Mercredi 21 Janvier 2015 à 2:42                                                                                     
                                    Mercredi 21 Janvier 2015 à 3:05                                                                                     
                                    Mercredi 21 Janvier 2015 à 3:15                                                                                     
                                     | 
            
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
                        
            
 Installer ce programme                        

                        