The Sims 3
Informations
Creator | Message |
---|---|
Tawane
|
InformationThis installer has been approved by the team. InformationsPlatforms: Feedbacks9 3 DescriptionType : Live simulation
Source code#!/bin/bash # Date : (2010-05-11 21:00) # Last revision : (2018-11-05 09:38) # Wine version used : 3.19 # Distribution used to test : Ubuntu 12.10, 12.04, 18.10 x64 # PlayOnLinux: 4.2.12 # Author : NSWL & GNU_Raziel, Tawane, LinuxScripter # CHANGELOG # [Tawane] (2012-05-25 17-10) # Delete all deprecated functions # Replace Mono by .NET # Add Debug messages # Set wine version to 1.4.1 # Fix the script for x64 users # [Tawane] (2012-05-26 21-30) # Fix some bugs # Fix localization # [SuperPlumus] (2013-08-24 19-14) # Clean and update code # Fix $TITLE (Remove gettext in $TITLE) # Fix $TITLE (Move $TITLE before POL_SetupWindow_Init) # Update gettext messages # [LinuxScripter] (2018-07-08 14:37) # Moved authors, game's developer and URL to SetupWindow # Changes to dependencies, the installer will crash without mcf42 # Using more accurate file to verify the DVD # Fixed POL_Shortcut pointing to an incorrect .exe file, causing fake activation pop-ups # [LinuxScripter] (2018-11-05 09:38) # Updated wine version to 3.19 # Added the "xgamma -gamma 1" argumment to fix the issue with the screen getting too bright # Added a fix for Steam installer (content servers unreachable error) [ "$PLAYONLINUX" = "" ] && exit 0 source "$PLAYONLINUX/lib/sources" TITLE="The Sims 3" TITLE_LAUNCHER="The Sims 3 Launcher" PREFIX="TheSims3" EDITOR="Electronic Arts and Maxis" GAME_URL="http://www.thesims3.com/" AUTHOR="NSWL, GNU_Raziel, Tawane and LinuxScripter" WORKING_WINE_VERSION="3.19" # Start the script POL_GetSetupImages "http://files.playonlinux.com/resources/setups/sims3/top.jpg" "http://files.playonlinux.com/resources/setups/sims3/left.jpeg" "$TITLE" POL_SetupWindow_Init POL_Debug_Init POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX" POL_Wine_SelectPrefix "$PREFIX" POL_System_SetArch "x86" POL_Wine_PrefixCreate "$WORKING_WINE_VERSION" POL_Call POL_Install_mfc42 #required by the installer POL_Call POL_Install_vcrun2010 #required by the installer and the game POL_Call POL_Install_dotnet35 #required by the launcher POL_Call POL_Install_gecko #required by the launcher POL_Call POL_Install_flashplayer #required by the launcher POL_Call POL_Install_tahoma #required by the launcher POL_SetupWindow_InstallMethod "LOCAL,DVD,STEAM" if [ "$INSTALL_METHOD" = "DVD" ]; then POL_SetupWindow_cdrom POL_SetupWindow_check_cdrom "eauninstall.ico" POL_Wine_WaitBefore "$TITLE" POL_Wine "$CDROM/Setup.exe" POL_Wine_WaitExit "$TITLE" elif [ "$INSTALL_METHOD" = "LOCAL" ]; then cd "$HOME" POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE" POL_Wine_WaitBefore "$TITLE" POL_Wine "$APP_ANSWER" POL_Wine_WaitExit "$TITLE" else POL_SetupWindow_message "$(eval_gettext 'After loging in to Steam, shut it down so the script can apply the fix to config file')" POL_Call POL_Install_steam cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam/config" sed '27i "CS" "valve511.steamcontent.com;valve501.steamcontent.com;valve517.steamcontent.com;valve557.steamcontent.com;valve513.steamcontent.com;valve535.steamcontent.com;valve546.steamcontent.com;valve538.steamcontent.com;valve536.steamcontent.com;valve530.steamcontent.com;valve559.steamcontent.com;valve545.steamcontent.com;valve518.steamcontent.com;valve548.steamcontent.com;valve555.steamcontent.com;valve556.steamcontent.com;valve506.steamcontent.com;valve544.steamcontent.com;valve525.steamcontent.com;valve567.steamcontent.com;valve521.steamcontent.com;valve510.steamcontent.com;valve542.steamcontent.com;valve519.steamcontent.com;valve526.steamcontent.com;valve504.steamcontent.com;valve500.steamcontent.com;valve554.steamcontent.com;valve562.steamcontent.com;valve524.steamcontent.com;valve502.steamcontent.com;valve505.steamcontent.com;valve547.steamcontent.com;valve560.steamcontent.com;valve503.steamcontent.com;valve507.steamcontent.com;valve553.steamcontent.com;valve520.steamcontent.com;valve550.steamcontent.com;valve531.steamcontent.com;valve558.steamcontent.com;valve552.steamcontent.com;valve563.steamcontent.com;valve540.steamcontent.com;valve541.steamcontent.com;valve537.steamcontent.com;valve528.steamcontent.com;valve523.steamcontent.com;valve512.steamcontent.com;valve532.steamcontent.com;valve561.steamcontent.com;valve549.steamcontent.com;valve522.steamcontent.com;valve514.steamcontent.com;valve551.steamcontent.com;valve564.steamcontent.com;valve543.steamcontent.com;valve565.steamcontent.com;valve529.steamcontent.com;valve539.steamcontent.com;valve566.steamcontent.com;valve165.steamcontent.com;valve959.steamcontent.com;valve164.steamcontent.com;valve1611.steamcontent.com;valve1601.steamcontent.com;valve1617.steamcontent.com;valve1603.steamcontent.com;valve1602.steamcontent.com;valve1610.steamcontent.com;valve1615.steamcontent.com;valve909.steamcontent.com;valve900.steamcontent.com;valve905.steamcontent.com;valve954.steamcontent.com;valve955.steamcontent.com;valve1612.steamcontent.com;valve1607.steamcontent.com;valve1608.steamcontent.com;valve1618.steamcontent.com;valve1619.steamcontent.com;valve1606.steamcontent.com;valve1605.steamcontent.com;valve1609.steamcontent.com;valve907.steamcontent.com;valve901.steamcontent.com;valve902.steamcontent.com;valve1604.steamcontent.com;valve908.steamcontent.com;valve950.steamcontent.com;valve957.steamcontent.com;valve903.steamcontent.com;valve1614.steamcontent.com;valve904.steamcontent.com;valve952.steamcontent.com;valve1616.steamcontent.com;valve1613.steamcontent.com;valve958.steamcontent.com;valve956.steamcontent.com;valve906.steamcontent.com"' config.vdf > config.vdf cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam" POL_Wine "steam.exe" steam://install/47890 POL_Wine_WaitBefore "$TITLE" fi if [ "$INSTALL_METHOD" = "STEAM" ]; then POL_Shortcut "steam.exe" "$TITLE" "$TITLE.png" "steam://rungameid/47890" "-no-ces-sandbox" "xgamma -gamma 1" else POL_Shortcut "*/Game/Bin/TS3.exe" "$TITLE" "xgamma -gamma 1" POL_Shortcut "*/Game/Bin/Sims3Launcher.exe" "$TITLE_LAUNCHER" "xgamma -gamma 1" fi POL_SetupWindow_Close exit |
Contributions
Filters:
ContributeMember | Message |
LinuxScripter | Monday 5 November 2018 at 9:45 |
LinuxScripter
|
InformationThis update has been approved by the team. Differences@@ -1,11 +1,11 @@ #!/bin/bash -# Date : (2010-05-11 21-00) -# Last revision : (2013-08-24 19-14) -# Wine version used : 1.4.1 -# Distribution used to test : Ubuntu 12.10, 12.04 -# PlayOnLinux: 4.1.8 -# Author : NSWL & GNU_Raziel, Tawane - +# Date : (2010-05-11 21:00) +# Last revision : (2018-11-05 09:38) +# Wine version used : 3.19 +# Distribution used to test : Ubuntu 12.10, 12.04, 18.10 x64 +# PlayOnLinux: 4.2.12 +# Author : NSWL & GNU_Raziel, Tawane, LinuxScripter + # CHANGELOG # [Tawane] (2012-05-25 17-10) # Delete all deprecated functions @@ -21,55 +21,76 @@ # Fix $TITLE (Remove gettext in $TITLE) # Fix $TITLE (Move $TITLE before POL_SetupWindow_Init) # Update gettext messages - +# [LinuxScripter] (2018-07-08 14:37) +# Moved authors, game's developer and URL to SetupWindow +# Changes to dependencies, the installer will crash without mcf42 +# Using more accurate file to verify the DVD +# Fixed POL_Shortcut pointing to an incorrect .exe file, causing fake activation pop-ups +# [LinuxScripter] (2018-11-05 09:38) +# Updated wine version to 3.19 +# Added the "xgamma -gamma 1" argumment to fix the issue with the screen getting too bright +# Added a fix for Steam installer (content servers unreachable error) + [ "$PLAYONLINUX" = "" ] && exit 0 source "$PLAYONLINUX/lib/sources" - + TITLE="The Sims 3" TITLE_LAUNCHER="The Sims 3 Launcher" PREFIX="TheSims3" -WORKING_WINE_VERSION="1.4.1" - +EDITOR="Electronic Arts and Maxis" +GAME_URL="http://www.thesims3.com/" +AUTHOR="NSWL, GNU_Raziel, Tawane and LinuxScripter" +WORKING_WINE_VERSION="3.19" + # Start the script POL_GetSetupImages "http://files.playonlinux.com/resources/setups/sims3/top.jpg" "http://files.playonlinux.com/resources/setups/sims3/left.jpeg" "$TITLE" POL_SetupWindow_Init POL_Debug_Init - -POL_SetupWindow_presentation "$TITLE" "Electronic Arts Inc." "http://www.thesims3.com/" "NSWL, GNU_Raziel and Tawane" "$PREFIX" - -# Dotnet20 cannot be installed on a 64 bit system + +POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX" + POL_Wine_SelectPrefix "$PREFIX" POL_System_SetArch "x86" POL_Wine_PrefixCreate "$WORKING_WINE_VERSION" - -POL_Call POL_Install_vcrun2005 -POL_Call POL_Install_dotnet20sp2 -POL_Call POL_Install_gecko -POL_Call POL_Install_flashplayer -POL_Call POL_Install_tahoma - -POL_SetupWindow_InstallMethod "LOCAL,DVD" - + +POL_Call POL_Install_mfc42 #required by the installer +POL_Call POL_Install_vcrun2010 #required by the installer and the game +POL_Call POL_Install_dotnet35 #required by the launcher +POL_Call POL_Install_gecko #required by the launcher +POL_Call POL_Install_flashplayer #required by the launcher +POL_Call POL_Install_tahoma #required by the launcher + +POL_SetupWindow_InstallMethod "LOCAL,DVD,STEAM" + if [ "$INSTALL_METHOD" = "DVD" ]; then POL_SetupWindow_cdrom - POL_SetupWindow_check_cdrom "Sims3Setup.exe" + POL_SetupWindow_check_cdrom "eauninstall.ico" POL_Wine_WaitBefore "$TITLE" - POL_Wine "$CDROM/Sims3Setup.exe" + POL_Wine "$CDROM/Setup.exe" POL_Wine_WaitExit "$TITLE" -else +elif [ "$INSTALL_METHOD" = "LOCAL" ]; then cd "$HOME" POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE" POL_Wine_WaitBefore "$TITLE" POL_Wine "$APP_ANSWER" POL_Wine_WaitExit "$TITLE" +else + POL_SetupWindow_message "$(eval_gettext 'After loging in to Steam, shut it down so the script can apply the fix to config file')" + POL_Call POL_Install_steam + cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam/config" + sed '27i "CS" "valve511.steamcontent.com;valve501.steamcontent.com;valve517.steamcontent.com;valve557.steamcontent.com;valve513.steamcontent.com;valve535.steamcontent.com;valve546.steamcontent.com;valve538.steamcontent.com;valve536.steamcontent.com;valve530.steamcontent.com;valve559.steamcontent.com;valve545.steamcontent.com;valve518.steamcontent.com;valve548.steamcontent.com;valve555.steamcontent.com;valve556.steamcontent.com;valve506.steamcontent.com;valve544.steamcontent.com;valve525.steamcontent.com;valve567.steamcontent.com;valve521.steamcontent.com;valve510.steamcontent.com;valve542.steamcontent.com;valve519.steamcontent.com;valve526.steamcontent.com;valve504.steamcontent.com;valve500.steamcontent.com;valve554.steamcontent.com;valve562.steamcontent.com;valve524.steamcontent.com;valve502.steamcontent.com;valve505.steamcontent.com;valve547.steamcontent.com;valve560.steamcontent.com;valve503.steamcontent.com;valve507.steamcontent.com;valve553.steamcontent.com;valve520.steamcontent.com;valve550.steamcontent.com;valve531.steamcontent.com;valve558.steamcontent.com;valve552.steamcontent.com;valve563.steamcontent.com;valve540.steamcontent.com;valve541.steamcontent.com;valve537.steamcontent.com;valve528.steamcontent.com;valve523.steamcontent.com;valve512.steamcontent.com;valve532.steamcontent.com;valve561.steamcontent.com;valve549.steamcontent.com;valve522.steamcontent.com;valve514.steamcontent.com;valve551.steamcontent.com;valve564.steamcontent.com;valve543.steamcontent.com;valve565.steamcontent.com;valve529.steamcontent.com;valve539.steamcontent.com;valve566.steamcontent.com;valve165.steamcontent.com;valve959.steamcontent.com;valve164.steamcontent.com;valve1611.steamcontent.com;valve1601.steamcontent.com;valve1617.steamcontent.com;valve1603.steamcontent.com;valve1602.steamcontent.com;valve1610.steamcontent.com;valve1615.steamcontent.com;valve909.steamcontent.com;valve900.steamcontent.com;valve905.steamcontent.com;valve954.steamcontent.com;valve955.steamcontent.com;valve1612.steamcontent.com;valve1607.steamcontent.com;valve1608.steamcontent.com;valve1618.steamcontent.com;valve1619.steamcontent.com;valve1606.steamcontent.com;valve1605.steamcontent.com;valve1609.steamcontent.com;valve907.steamcontent.com;valve901.steamcontent.com;valve902.steamcontent.com;valve1604.steamcontent.com;valve908.steamcontent.com;valve950.steamcontent.com;valve957.steamcontent.com;valve903.steamcontent.com;valve1614.steamcontent.com;valve904.steamcontent.com;valve952.steamcontent.com;valve1616.steamcontent.com;valve1613.steamcontent.com;valve958.steamcontent.com;valve956.steamcontent.com;valve906.steamcontent.com"' config.vdf > config.vdf + cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam" + POL_Wine "steam.exe" steam://install/47890 + POL_Wine_WaitBefore "$TITLE" +fi + +if [ "$INSTALL_METHOD" = "STEAM" ]; then + POL_Shortcut "steam.exe" "$TITLE" "$TITLE.png" "steam://rungameid/47890" "-no-ces-sandbox" "xgamma -gamma 1" +else + POL_Shortcut "*/Game/Bin/TS3.exe" "$TITLE" "xgamma -gamma 1" + POL_Shortcut "*/Game/Bin/Sims3Launcher.exe" "$TITLE_LAUNCHER" "xgamma -gamma 1" fi - -POL_SetupWindow_VMS "256" -Set_Managed "Off" - -POL_Shortcut "TS3.exe" "$TITLE" -POL_Shortcut "Sims3Launcher.exe" "$TITLE_LAUNCHER" - + POL_SetupWindow_Close - + exit \ No newline at end of file New source code#!/bin/bash # Date : (2010-05-11 21:00) # Last revision : (2018-11-05 09:38) # Wine version used : 3.19 # Distribution used to test : Ubuntu 12.10, 12.04, 18.10 x64 # PlayOnLinux: 4.2.12 # Author : NSWL & GNU_Raziel, Tawane, LinuxScripter # CHANGELOG # [Tawane] (2012-05-25 17-10) # Delete all deprecated functions # Replace Mono by .NET # Add Debug messages # Set wine version to 1.4.1 # Fix the script for x64 users # [Tawane] (2012-05-26 21-30) # Fix some bugs # Fix localization # [SuperPlumus] (2013-08-24 19-14) # Clean and update code # Fix $TITLE (Remove gettext in $TITLE) # Fix $TITLE (Move $TITLE before POL_SetupWindow_Init) # Update gettext messages # [LinuxScripter] (2018-07-08 14:37) # Moved authors, game's developer and URL to SetupWindow # Changes to dependencies, the installer will crash without mcf42 # Using more accurate file to verify the DVD # Fixed POL_Shortcut pointing to an incorrect .exe file, causing fake activation pop-ups # [LinuxScripter] (2018-11-05 09:38) # Updated wine version to 3.19 # Added the "xgamma -gamma 1" argumment to fix the issue with the screen getting too bright # Added a fix for Steam installer (content servers unreachable error) [ "$PLAYONLINUX" = "" ] && exit 0 source "$PLAYONLINUX/lib/sources" TITLE="The Sims 3" TITLE_LAUNCHER="The Sims 3 Launcher" PREFIX="TheSims3" EDITOR="Electronic Arts and Maxis" GAME_URL="http://www.thesims3.com/" AUTHOR="NSWL, GNU_Raziel, Tawane and LinuxScripter" WORKING_WINE_VERSION="3.19" # Start the script POL_GetSetupImages "http://files.playonlinux.com/resources/setups/sims3/top.jpg" "http://files.playonlinux.com/resources/setups/sims3/left.jpeg" "$TITLE" POL_SetupWindow_Init POL_Debug_Init POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX" POL_Wine_SelectPrefix "$PREFIX" POL_System_SetArch "x86" POL_Wine_PrefixCreate "$WORKING_WINE_VERSION" POL_Call POL_Install_mfc42 #required by the installer POL_Call POL_Install_vcrun2010 #required by the installer and the game POL_Call POL_Install_dotnet35 #required by the launcher POL_Call POL_Install_gecko #required by the launcher POL_Call POL_Install_flashplayer #required by the launcher POL_Call POL_Install_tahoma #required by the launcher POL_SetupWindow_InstallMethod "LOCAL,DVD,STEAM" if [ "$INSTALL_METHOD" = "DVD" ]; then POL_SetupWindow_cdrom POL_SetupWindow_check_cdrom "eauninstall.ico" POL_Wine_WaitBefore "$TITLE" POL_Wine "$CDROM/Setup.exe" POL_Wine_WaitExit "$TITLE" elif [ "$INSTALL_METHOD" = "LOCAL" ]; then cd "$HOME" POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE" POL_Wine_WaitBefore "$TITLE" POL_Wine "$APP_ANSWER" POL_Wine_WaitExit "$TITLE" else POL_SetupWindow_message "$(eval_gettext 'After loging in to Steam, shut it down so the script can apply the fix to config file')" POL_Call POL_Install_steam cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam/config" sed '27i "CS" "valve511.steamcontent.com;valve501.steamcontent.com;valve517.steamcontent.com;valve557.steamcontent.com;valve513.steamcontent.com;valve535.steamcontent.com;valve546.steamcontent.com;valve538.steamcontent.com;valve536.steamcontent.com;valve530.steamcontent.com;valve559.steamcontent.com;valve545.steamcontent.com;valve518.steamcontent.com;valve548.steamcontent.com;valve555.steamcontent.com;valve556.steamcontent.com;valve506.steamcontent.com;valve544.steamcontent.com;valve525.steamcontent.com;valve567.steamcontent.com;valve521.steamcontent.com;valve510.steamcontent.com;valve542.steamcontent.com;valve519.steamcontent.com;valve526.steamcontent.com;valve504.steamcontent.com;valve500.steamcontent.com;valve554.steamcontent.com;valve562.steamcontent.com;valve524.steamcontent.com;valve502.steamcontent.com;valve505.steamcontent.com;valve547.steamcontent.com;valve560.steamcontent.com;valve503.steamcontent.com;valve507.steamcontent.com;valve553.steamcontent.com;valve520.steamcontent.com;valve550.steamcontent.com;valve531.steamcontent.com;valve558.steamcontent.com;valve552.steamcontent.com;valve563.steamcontent.com;valve540.steamcontent.com;valve541.steamcontent.com;valve537.steamcontent.com;valve528.steamcontent.com;valve523.steamcontent.com;valve512.steamcontent.com;valve532.steamcontent.com;valve561.steamcontent.com;valve549.steamcontent.com;valve522.steamcontent.com;valve514.steamcontent.com;valve551.steamcontent.com;valve564.steamcontent.com;valve543.steamcontent.com;valve565.steamcontent.com;valve529.steamcontent.com;valve539.steamcontent.com;valve566.steamcontent.com;valve165.steamcontent.com;valve959.steamcontent.com;valve164.steamcontent.com;valve1611.steamcontent.com;valve1601.steamcontent.com;valve1617.steamcontent.com;valve1603.steamcontent.com;valve1602.steamcontent.com;valve1610.steamcontent.com;valve1615.steamcontent.com;valve909.steamcontent.com;valve900.steamcontent.com;valve905.steamcontent.com;valve954.steamcontent.com;valve955.steamcontent.com;valve1612.steamcontent.com;valve1607.steamcontent.com;valve1608.steamcontent.com;valve1618.steamcontent.com;valve1619.steamcontent.com;valve1606.steamcontent.com;valve1605.steamcontent.com;valve1609.steamcontent.com;valve907.steamcontent.com;valve901.steamcontent.com;valve902.steamcontent.com;valve1604.steamcontent.com;valve908.steamcontent.com;valve950.steamcontent.com;valve957.steamcontent.com;valve903.steamcontent.com;valve1614.steamcontent.com;valve904.steamcontent.com;valve952.steamcontent.com;valve1616.steamcontent.com;valve1613.steamcontent.com;valve958.steamcontent.com;valve956.steamcontent.com;valve906.steamcontent.com"' config.vdf > config.vdf cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam" POL_Wine "steam.exe" steam://install/47890 POL_Wine_WaitBefore "$TITLE" fi if [ "$INSTALL_METHOD" = "STEAM" ]; then POL_Shortcut "steam.exe" "$TITLE" "$TITLE.png" "steam://rungameid/47890" "-no-ces-sandbox" "xgamma -gamma 1" else POL_Shortcut "*/Game/Bin/TS3.exe" "$TITLE" "xgamma -gamma 1" POL_Shortcut "*/Game/Bin/Sims3Launcher.exe" "$TITLE_LAUNCHER" "xgamma -gamma 1" fi POL_SetupWindow_Close exit RepliesMonday 5 November 2018 at 9:47
Sunday 4 August 2019 at 7:07
|
LinuxScripter | Sunday 8 July 2018 at 17:45 |
LinuxScripter
|
WarningThis update has not been approved yet by the team. MessageI've managed to run this game. Both TS3.exe and the launcher works. You might get the "unable to connect to Origin" error but otherwise this game will work provided no error will interrupt dotnet35 instalation. I'm uploading an updated script. Differences@@ -1,11 +1,11 @@ #!/bin/bash -# Date : (2010-05-11 21-00) -# Last revision : (2013-08-24 19-14) +# Date : (2010-05-11 21:00) +# Last revision : (2018-07-08 17:00) # Wine version used : 1.4.1 -# Distribution used to test : Ubuntu 12.10, 12.04 +# Distribution used to test : Ubuntu 12.10, 12.04, 18.10 x64 # PlayOnLinux: 4.1.8 # Author : NSWL & GNU_Raziel, Tawane - + # CHANGELOG # [Tawane] (2012-05-25 17-10) # Delete all deprecated functions @@ -21,55 +21,69 @@ # Fix $TITLE (Remove gettext in $TITLE) # Fix $TITLE (Move $TITLE before POL_SetupWindow_Init) # Update gettext messages - +# [LinuxScripter] (2018-07-08 14:37) +# Moved authors, game's developer and URL to SetupWindow +# Changes to dependencies, the installer will crash without mcf42 +# Using more accurate file to verify the DVD +# Fixed POL_Shortcut pointing to an incorrect .exe file, causing fake activation pop-ups + [ "$PLAYONLINUX" = "" ] && exit 0 source "$PLAYONLINUX/lib/sources" - + TITLE="The Sims 3" TITLE_LAUNCHER="The Sims 3 Launcher" PREFIX="TheSims3" -WORKING_WINE_VERSION="1.4.1" - +EDITOR="Electronic Arts and Maxis" +GAME_URL="http://www.thesims3.com/" +AUTHOR="NSWL, GNU_Raziel, Tawane and LinuxScripter" +WORKING_WINE_VERSION="3.11" + # Start the script POL_GetSetupImages "http://files.playonlinux.com/resources/setups/sims3/top.jpg" "http://files.playonlinux.com/resources/setups/sims3/left.jpeg" "$TITLE" POL_SetupWindow_Init POL_Debug_Init + +POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX" -POL_SetupWindow_presentation "$TITLE" "Electronic Arts Inc." "http://www.thesims3.com/" "NSWL, GNU_Raziel and Tawane" "$PREFIX" - -# Dotnet20 cannot be installed on a 64 bit system POL_Wine_SelectPrefix "$PREFIX" POL_System_SetArch "x86" POL_Wine_PrefixCreate "$WORKING_WINE_VERSION" - -POL_Call POL_Install_vcrun2005 -POL_Call POL_Install_dotnet20sp2 -POL_Call POL_Install_gecko -POL_Call POL_Install_flashplayer -POL_Call POL_Install_tahoma - -POL_SetupWindow_InstallMethod "LOCAL,DVD" - + +POL_Call POL_Install_mfc42 #required by the installer +POL_Call POL_Install_vcrun2010 #required by the installer and the game +POL_Call POL_Install_dotnet35 #required by the launcher +POL_Call POL_Install_gecko #required by the launcher +POL_Call POL_Install_flashplayer #required by the launcher +POL_Call POL_Install_tahoma #required by the launcher + +POL_SetupWindow_InstallMethod "LOCAL,DVD,STEAM" + if [ "$INSTALL_METHOD" = "DVD" ]; then POL_SetupWindow_cdrom - POL_SetupWindow_check_cdrom "Sims3Setup.exe" + POL_SetupWindow_check_cdrom "eauninstall.ico" POL_Wine_WaitBefore "$TITLE" - POL_Wine "$CDROM/Sims3Setup.exe" + POL_Wine "$CDROM/Setup.exe" POL_Wine_WaitExit "$TITLE" -else +elif [ "$INSTALL_METHOD" = "LOCAL" ]; then cd "$HOME" POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE" POL_Wine_WaitBefore "$TITLE" POL_Wine "$APP_ANSWER" POL_Wine_WaitExit "$TITLE" +else + POL_Call POL_Install_steam + cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam" + POL_Wine "steam.exe" steam://install/47890 + POL_Wine_WaitBefore "$TITLE" +fi + +if [ "$INSTALL_METHOD" = "STEAM" ]; then + POL_Shortcut "steam.exe" "$TITLE" "$TITLE.png" "steam://rungameid/47890" "-no-ces-sandbox" +else + POL_Shortcut "*/Game/Bin/TS3.exe" "$TITLE" + POL_Shortcut "*/Game/Bin/Sims3Launcher.exe" "$TITLE_LAUNCHER" fi - -POL_SetupWindow_VMS "256" -Set_Managed "Off" - -POL_Shortcut "TS3.exe" "$TITLE" -POL_Shortcut "Sims3Launcher.exe" "$TITLE_LAUNCHER" POL_SetupWindow_Close - + exit \ No newline at end of file New source code#!/bin/bash # Date : (2010-05-11 21:00) # Last revision : (2018-07-08 17:00) # Wine version used : 1.4.1 # Distribution used to test : Ubuntu 12.10, 12.04, 18.10 x64 # PlayOnLinux: 4.1.8 # Author : NSWL & GNU_Raziel, Tawane # CHANGELOG # [Tawane] (2012-05-25 17-10) # Delete all deprecated functions # Replace Mono by .NET # Add Debug messages # Set wine version to 1.4.1 # Fix the script for x64 users # [Tawane] (2012-05-26 21-30) # Fix some bugs # Fix localization # [SuperPlumus] (2013-08-24 19-14) # Clean and update code # Fix $TITLE (Remove gettext in $TITLE) # Fix $TITLE (Move $TITLE before POL_SetupWindow_Init) # Update gettext messages # [LinuxScripter] (2018-07-08 14:37) # Moved authors, game's developer and URL to SetupWindow # Changes to dependencies, the installer will crash without mcf42 # Using more accurate file to verify the DVD # Fixed POL_Shortcut pointing to an incorrect .exe file, causing fake activation pop-ups [ "$PLAYONLINUX" = "" ] && exit 0 source "$PLAYONLINUX/lib/sources" TITLE="The Sims 3" TITLE_LAUNCHER="The Sims 3 Launcher" PREFIX="TheSims3" EDITOR="Electronic Arts and Maxis" GAME_URL="http://www.thesims3.com/" AUTHOR="NSWL, GNU_Raziel, Tawane and LinuxScripter" WORKING_WINE_VERSION="3.11" # Start the script POL_GetSetupImages "http://files.playonlinux.com/resources/setups/sims3/top.jpg" "http://files.playonlinux.com/resources/setups/sims3/left.jpeg" "$TITLE" POL_SetupWindow_Init POL_Debug_Init POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX" POL_Wine_SelectPrefix "$PREFIX" POL_System_SetArch "x86" POL_Wine_PrefixCreate "$WORKING_WINE_VERSION" POL_Call POL_Install_mfc42 #required by the installer POL_Call POL_Install_vcrun2010 #required by the installer and the game POL_Call POL_Install_dotnet35 #required by the launcher POL_Call POL_Install_gecko #required by the launcher POL_Call POL_Install_flashplayer #required by the launcher POL_Call POL_Install_tahoma #required by the launcher POL_SetupWindow_InstallMethod "LOCAL,DVD,STEAM" if [ "$INSTALL_METHOD" = "DVD" ]; then POL_SetupWindow_cdrom POL_SetupWindow_check_cdrom "eauninstall.ico" POL_Wine_WaitBefore "$TITLE" POL_Wine "$CDROM/Setup.exe" POL_Wine_WaitExit "$TITLE" elif [ "$INSTALL_METHOD" = "LOCAL" ]; then cd "$HOME" POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE" POL_Wine_WaitBefore "$TITLE" POL_Wine "$APP_ANSWER" POL_Wine_WaitExit "$TITLE" else POL_Call POL_Install_steam cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam" POL_Wine "steam.exe" steam://install/47890 POL_Wine_WaitBefore "$TITLE" fi if [ "$INSTALL_METHOD" = "STEAM" ]; then POL_Shortcut "steam.exe" "$TITLE" "$TITLE.png" "steam://rungameid/47890" "-no-ces-sandbox" else POL_Shortcut "*/Game/Bin/TS3.exe" "$TITLE" POL_Shortcut "*/Game/Bin/Sims3Launcher.exe" "$TITLE_LAUNCHER" fi POL_SetupWindow_Close exit RepliesSunday 8 July 2018 at 19:32
Sunday 8 July 2018 at 21:01
|
KeilaChan | Thursday 8 February 2018 at 20:59 |
KeilaChan
|
MessageHola! Tengo un problema y es el siguiente Descargue recientemente Los Sims 3 a través de PlayOnLinux, lo instalé y todo bien hasta que le doy en abrir y me sale una pantalla azul y se cierra instantáneamente, le eh reiniciado y nada, el juego no me abre :,u...alguna solución? Porfavor les agradeceria un monton si me respondieran, Gracias! Replies |
Doc Brown | Friday 14 July 2017 at 22:38 |
Doc Brown
|
MessageI got the Sims 3 launcher to work for a Steam download of Sims 3 by installing Wine 2.12 (staging) as my systems wine version, installing vcrun2005, dotnet40 and mfc42. That got to where the Sims 3 Launcher would open, but immediatly close. The problem lies with the urlmon.dll. So... I followed these steps: http://www.wikihow.com/Solve-Urlmon.Dll-Errors Except I registerd the DLL from the command prompt instead of the dialog (since we don't have a dialog like that). Now I can install Custom Content, but not DRM protected custom content that I purchased from The Sims 3 website. RepliesMonday 11 June 2018 at 19:07
|
boriseto | Wednesday 22 February 2017 at 22:52 |
boriseto
|
MessageAny idea why this script won't show in the POL app or can't run it from here? Couldn't find any info through the posts (might have missed it). RepliesSunday 21 May 2017 at 7:57
Monday 22 May 2017 at 0:51
|
Xifoman | Wednesday 3 February 2016 at 23:00 |
Xifoman
|
MessageThe setup the next problem comes out since Microsoft is a side already cannot be found. What is the solution?
Replies |
andykimpe | Monday 21 December 2015 at 15:58 |
andykimpe
|
WarningThis update has not been approved yet by the team. Messagenew functional version we must add force_s3tc_enable = true before wine to execute the game launches this correctly source in French only https://doc.ubuntu-fr.org/les_sims_3 while installing the system continues to display both the message for which I already give the error code you can ignore this message and continue is trouble-free installation with this patch it works perfectly see the following screen capture http://img11.hostingpics.net/pics/466383Capturedcran20151221141804.png
nouvelle version fonctionnelle il faut ajouter force_s3tc_enable=true avant d'executer wine pour que le jeu ce lance correctement pendant l'installation l'installation continue d'afficher les deux message pour lesquels j'ai déjà donner les code d'erreur vous pouvez ignorer c'est message et continuer l'installation sans problème source https://doc.ubuntu-fr.org/les_sims_3 avec ce patch cela fonctionne parfaitement voir les capture d'ecran suivante http://img11.hostingpics.net/pics/466383Capturedcran20151221141804.png
Differences@@ -26,7 +26,8 @@ source "$PLAYONLINUX/lib/sources" TITLE="The Sims 3" -TITLE_LAUNCHER="The Sims 3 Launcher" +# launcher no required no working +# TITLE_LAUNCHER="The Sims 3 Launcher" PREFIX="TheSims3" WORKING_WINE_VERSION="1.4.1" @@ -68,7 +69,22 @@ Set_Managed "Off" POL_Shortcut "TS3.exe" "$TITLE" -POL_Shortcut "Sims3Launcher.exe" "$TITLE_LAUNCHER" +# POL_Shortcut "Sims3Launcher.exe" "$TITLE_LAUNCHER" + +##rm -rf $HOME/.wine + +##rm -rf "$HOME/Electronic Arts" + + +if [ -f "$HOME/.PlayOnLinux/shortcuts/The Sims 3" ] +then +sed -i 's/POL_Wine/force_s3tc_enable=true POL_Wine/g' "$HOME/.PlayOnLinux/shortcuts/The Sims 3" +fi + +if [ -f "$HOME/.PlayOnMac/shortcuts/The Sims 3" ] +then +sed -i 's/POL_Wine/force_s3tc_enable=true POL_Wine/g' "$HOME/.PlayOnMac/shortcuts/The Sims 3" +fi POL_SetupWindow_Close New source code#!/bin/bash # Date : (2010-05-11 21-00) # Last revision : (2013-08-24 19-14) # Wine version used : 1.4.1 # Distribution used to test : Ubuntu 12.10, 12.04 # PlayOnLinux: 4.1.8 # Author : NSWL & GNU_Raziel, Tawane # CHANGELOG # [Tawane] (2012-05-25 17-10) # Delete all deprecated functions # Replace Mono by .NET # Add Debug messages # Set wine version to 1.4.1 # Fix the script for x64 users # [Tawane] (2012-05-26 21-30) # Fix some bugs # Fix localization # [SuperPlumus] (2013-08-24 19-14) # Clean and update code # Fix $TITLE (Remove gettext in $TITLE) # Fix $TITLE (Move $TITLE before POL_SetupWindow_Init) # Update gettext messages [ "$PLAYONLINUX" = "" ] && exit 0 source "$PLAYONLINUX/lib/sources" TITLE="The Sims 3" # launcher no required no working # TITLE_LAUNCHER="The Sims 3 Launcher" PREFIX="TheSims3" WORKING_WINE_VERSION="1.4.1" # Start the script POL_GetSetupImages "http://files.playonlinux.com/resources/setups/sims3/top.jpg" "http://files.playonlinux.com/resources/setups/sims3/left.jpeg" "$TITLE" POL_SetupWindow_Init POL_Debug_Init POL_SetupWindow_presentation "$TITLE" "Electronic Arts Inc." "http://www.thesims3.com/" "NSWL, GNU_Raziel and Tawane" "$PREFIX" # Dotnet20 cannot be installed on a 64 bit system POL_Wine_SelectPrefix "$PREFIX" POL_System_SetArch "x86" POL_Wine_PrefixCreate "$WORKING_WINE_VERSION" POL_Call POL_Install_vcrun2005 POL_Call POL_Install_dotnet20sp2 POL_Call POL_Install_gecko POL_Call POL_Install_flashplayer POL_Call POL_Install_tahoma POL_SetupWindow_InstallMethod "LOCAL,DVD" if [ "$INSTALL_METHOD" = "DVD" ]; then POL_SetupWindow_cdrom POL_SetupWindow_check_cdrom "Sims3Setup.exe" POL_Wine_WaitBefore "$TITLE" POL_Wine "$CDROM/Sims3Setup.exe" POL_Wine_WaitExit "$TITLE" else cd "$HOME" POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE" POL_Wine_WaitBefore "$TITLE" POL_Wine "$APP_ANSWER" POL_Wine_WaitExit "$TITLE" fi POL_SetupWindow_VMS "256" Set_Managed "Off" POL_Shortcut "TS3.exe" "$TITLE" # POL_Shortcut "Sims3Launcher.exe" "$TITLE_LAUNCHER" ##rm -rf $HOME/.wine ##rm -rf "$HOME/Electronic Arts" if [ -f "$HOME/.PlayOnLinux/shortcuts/The Sims 3" ] then sed -i 's/POL_Wine/force_s3tc_enable=true POL_Wine/g' "$HOME/.PlayOnLinux/shortcuts/The Sims 3" fi if [ -f "$HOME/.PlayOnMac/shortcuts/The Sims 3" ] then sed -i 's/POL_Wine/force_s3tc_enable=true POL_Wine/g' "$HOME/.PlayOnMac/shortcuts/The Sims 3" fi POL_SetupWindow_Close exit RepliesEdited by petch |
santu1377 | Sunday 26 July 2015 at 12:27 |
santu1377
|
Messageweb site not open RepliesThursday 17 December 2015 at 10:50
Thursday 17 December 2015 at 10:50
Thursday 17 December 2015 at 10:51
Thursday 17 December 2015 at 10:57
Thursday 17 December 2015 at 10:58
Thursday 17 December 2015 at 11:03
Thursday 17 December 2015 at 11:05
Thursday 17 December 2015 at 11:06
Thursday 17 December 2015 at 11:07
Thursday 17 December 2015 at 11:07
Thursday 17 December 2015 at 11:08
Thursday 17 December 2015 at 11:08
Thursday 17 December 2015 at 11:11
Friday 18 December 2015 at 18:12
|
WellCzech | Wednesday 2 July 2014 at 10:28 |
WellCzech
|
MessageOperating system : Mac OSX 10.9 Mavericks 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