PlayOnLinux est un logiciel vous permettant d’installer et d’utiliser facilement de nombreux jeux et logiciels prévus pour fonctionner exclusivement sous Windows® de Microsoft®.
En effet, à l’heure actuelle, encore peu de jeux vidéo sont compatibles avec GNU/Linux, ce qui peut être un frein à l’adoption de ce système. PlayOnLinux apporte une solution accessible et efficace à ce problème, gratuitement et dans le respect du logiciel libre.
Sims 3
Le concept du jeu se résume plutôt aisément: les joueurs y simulent… la vie humaine. Ils créent des personnages qu’ils font évoluer dans un monde virtuel.
Electronic Arts a réussi, avec ses versions 1, 2 et toutes les extensions, à vendre plus de 100 millions d’exemplaires à travers le monde. C’est le plus gros succès de l’industrie. De plus, le studio hollywoodien 20th Century Fox détient les droits pour produire un film.
Créez plus d’un million de Sims uniques et contrôlez leur vies. Personnalisez tout, de leurs apparences à leurs personnalités en passant par la maison de leurs rêves. Envoyez ensuite vos Sims explorer de nouveaux endroits en ville et rencontrer d’autres Sims dans le voisinage.
Installation de playonlinux
sudo wget http://deb.playonlinux.com/playonlinux_jaunty.list -O /etc/apt/sources.list.d/playonlinux.list sudo apt-get update sudo apt-get install playonlinux
Pour installer sims3, il faut :
- le cd bien sur de sims 3
- enregistrer ce script dans un fichier
#!/bin/bash # Date : (2009-06-02 10-00) # Last revision : (2009-06-02 10-00) # Wine version used : 1.1.22 # Distribution used to test : Fedora 10 # Author : NSLW # Licence : Retail [ "$PLAYONLINUX" = "" ] && exit 0 source "$PLAYONLINUX/lib/sources" PROGRAMFILES="Program Files" if [ "$POL_LANG" == "de" ]; then PROGRAMFILES="Programme" TYTUL="Die Sims 3" elif [ "$POL_LANG" == "es" ] then PROGRAMFILES="Archivos de programa" TYTUL="Los Sims 3" elif [ "$POL_LANG" == "fr" ] then TYTUL="Les Sims 3" elif [ "$POL_LANG" == "du" ] then TYTUL="De Sims 3" elif [ "$POL_LANG" == "pt" ] then TYTUL="Os Sims 3" else TYTUL="The Sims 3" fi PREFIX="SIMS3" WORKINGWINEVERSION="1.1.21" #procedure for patching TheSims3 patch_sims3() { POL_SetupWindow_browse "Select patch file" "$TYTUL" "" wine "$APP_ANSWER" POL_SetupWindow_message "Patch for $TYTUL has been installed successfully" "$TYTUL" } download_preloader() { cd "$REPERTOIRE/ressources/" if [ ! -e $REPERTOIRE/ressources/$WORKINGWINEVERSION-mod.zip ]; then POL_SetupWindow_download "Downloading preloader patch" "$TYTUL" "http://www.hostmen.pl/upload/$WORKINGWINEVERSION-mod.zip" fi cd "$WINEPREFIX/drive_c/windows/temp/" unzip "$REPERTOIRE/ressources/$WORKINGWINEVERSION-mod.zip" unzip "wine-preloader-G3-$WORKINGWINEVERSION.zip" } prepare_patched_WineVesrsion() { POL_SetupWindow_install_wine "$1" cd "$REPERTOIRE/WineVersions" POL_SetupWindow_wait_next_signal "Removing old WineVersion" "$TYTUL" rm -fr "$1-$PREFIX" POL_SetupWindow_detect_exit POL_SetupWindow_wait_next_signal "Copying WineVersion" "$TYTUL" cp -r "$1" "$1-$PREFIX" rm -fr "$REPERTOIRE/WineVersions/$1-$PREFIX/usr/bin/wine-preloader" cp "$WINEPREFIX/drive_c/windows/temp/wine-preloader" "$REPERTOIRE/WineVersions/$1-$PREFIX/usr/bin/wine-preloader" POL_SetupWindow_detect_exit } #image thanks to obi1-46 cd "$REPERTOIRE/tmp" wget http://wilibre.free.fr/images/Les%20Sims%203%20left.jpeg --output-document=left.jpeg POL_SetupWindow_Init "" "$REPERTOIRE/tmp/left.jpeg" POL_SetupWindow_presentation "$TYTUL" "Electronic Arts Inc." "thesims3.ea.com" "NSLW" "$PREFIX" select_prefix "$REPERTOIRE/wineprefix/$PREFIX" #asking about patching POL_SetupWindow_menu "What do you want to do?" "Actions" "Install game~Patch game" "~" if [ "$APP_ANSWER" == "Patch game" ]; then if [ -e "$REPERTOIRE/configurations/installed/$TYTUL" ]; then patch_sims3 else POL_SetupWindow_message "Please install $TYTUL before patching" fi POL_SetupWindow_Close exit fi POL_SetupWindow_prefixcreate #asking about WineVersion POL_SetupWindow_menu "Which Wineversion would you like to use?" "WineVersions" "patched $WORKINGWINEVERSION (recommended)~patched latest version (not tested)~unpatched" "~" #downloading tested Wine if [ "$APP_ANSWER" == "patched $WORKINGWINEVERSION (recommended)" ]; then CHOSENWINEVERSION="$WORKINGWINEVERSION-$PREFIX" download_preloader prepare_patched_WineVesrsion "$WORKINGWINEVERSION" #downloading untested Wine elif [ "$APP_ANSWER" == "patched latest version (not tested)" ] then cd "$REPERTOIRE/ressources/" #determining which Version is the latest wget http://mulx.playonlinux.com/wine/linux-i386/LIST --output-document=LIST cat LIST | sed -e 's/\.//g' | cut -d';' -f2 | sort -n | tail -n1 >& LatestVersion.txt x=`cat LatestVersion.txt | cut -c1-1` y=`cat LatestVersion.txt | cut -c2-2` z=`cat LatestVersion.txt | cut -c3-4` LATESTVERSION=$x.$y.$z CHOSENWINEVERSION="$LATESTVERSION-$PREFIX" download_preloader prepare_patched_WineVesrsion "$LATESTVERSION" else CHOSENWINEVERSION="--reset" fi #Use_WineVersion "$CHOSENWINEVERSION" #downloading .NET Framework 2.0 if [ ! -e "$HOME/.winetrickscache/dotnet20/dotnetfx.exe" ] then mkdir "$HOME/.winetrickscache" mkdir "$HOME/.winetrickscache/dotnet20" cd "$HOME/.winetrickscache/dotnet20" POL_SetupWindow_download "PlayOnLinux is downloading .NET Framework" ".NET Framework 2.0" "http://download.microsoft.com/download/5/6/7/567758a3-759e-473e-bf8f-52154438565a/dotnetfx.exe" POL_SetupWindow_download "PlayOnLinux is downloading .NET Framework" ".NET Framework 2.0" "http://kegel.com/wine/l_intl.nls" fi cd "$REPERTOIRE/ressources/" #downloading winetricks if [ ! -e "$REPERTOIRE/ressources/winetricks" ] then wget http://www.kegel.com/wine/winetricks --output-document=winetricks fi #installing .NET Framework 2.0 POL_SetupWindow_wait_next_signal "Installing .NET Framework 2.0..." "$TYTUL" bash winetricks -q dotnet20 POL_SetupWindow_detect_exit POL_SetupWindow_cdrom POL_SetupWindow_check_cdrom "Sims3Setup.exe" #adding CD-ROM as drive d: to winecfg cd $WINEPREFIX/dosdevices ln -s $CDROM d: cd "$WINEPREFIX/drive_c/windows/temp/" echo "[HKEY_LOCAL_MACHINE\\Software\\Wine\\Drives]" > cdrom.reg echo "\"d:\"=\"cdrom\"" >> cdrom.reg regedit cdrom.reg POL_SetupWindow_message "Wait 5 seconds then click next" "$TYTUL" #starting installation cd $CDROM wine "Sims3Setup.exe" POL_SetupWindow_message "Click \"Next\" when installation will finish." "$TYTUL" cd "$WINEPREFIX/drive_c/windows/temp/" #setting OffscreenRenderingMode to fbo echo "[HKEY_CURRENT_USER\\Software\\Wine\\Direct3D]" > fbo.reg echo "\"OffscreenRenderingMode\"=\"fbo\"" >> fbo.reg echo "\"Multisampling\"=\"enabled\"" >> fbo.reg regedit fbo.reg #asking about memory size POL_SetupWindow_menu_list "How much memory do your graphic card have got?" "$TYTUL" "32-64-128-256-384-512-768-1024-2048" "-" "256" VMS="$APP_ANSWER" echo "[HKEY_CURRENT_USER\\Software\\Wine\\Direct3D]" > vms.reg echo "\"VideoMemorySize\"=\"$VMS\"" >> vms.reg regedit vms.reg #cleaning temp cd "$WINEPREFIX/drive_c/windows/temp/" rm -rf * #making shortcut POL_SetupWindow_make_shortcut "$PREFIX" "$PROGRAMFILES/Electronic Arts/$TYTUL/Game/Bin" "TS3.exe" "" "$TYTUL" "" "" POL_SetupWindow_make_shortcut "$PREFIX" "$PROGRAMFILES/Electronic Arts/$TYTUL/Game/Bin" "Sims3Launcher.exe" "" "$TYTUL Launcher" "" "" Set_WineVersion_Assign "$CHOSENWINEVERSION" "$TYTUL" Set_WineVersion_Assign "$CHOSENWINEVERSION" "$TYTUL Launcher" POL_SetupWindow_message "$TYTUL has been installed successfully" "$TYTUL" #asking about patching POL_SetupWindow_question "Do you want to patch your game?" "$TYTUL" if [ "$APP_ANSWER" == "TRUE" ] ;then patch_sims3 fi POL_SetupWindow_message_image "Please note that this game has a copy protection system and sadly, it prevents Wine from running the game. PlayOnLinux will not provide any help concerning any illegal stuff." "Note about copy protection" "/usr/share/playonlinux/themes/tango/warning.png" POL_SetupWindow_Close exit
- Lancer PlayOnLinux
- allez dans le menu outils->Executer un script local
- choisir le script précédemment enregistré
- …. et c’est parti