Installation d'Unity 3D sous Linux

Bonjour, dans cette vidéo je vais vous fournir une solution pour installer Unity 3D sous Linux.

La Video :

Le Script :



Vous trouverez ci-dessous le script pour l''installation Unity, il vous faut le copier / coller dans un nouveau fichier.





Il sera à' exé'cuter depuis PlayonLinux.



















#!/bin/bash








# Date : (2014-03-07 10-21 am)




# Last revision : (2014-04-10 3-12 pm)




# Wine version used : 1.7.16




# Distribution used to test : OpenSuse 13.1




# Authors : waneck-six, Damian-LinuxFan, Tomza (pogtoma@gmail.com), gnumaru




# Contributors: Goran Grncaroski (running MonoDevelop), other people (testing solutions)




# Script licence : GPL v.2




# Only For : http://www.playonlinux.com




# Depend :








# Known Issues : Asset Store window does not work at all








[ "'$PLAYONLINUX"' = "'"' ] &'&' exit 0




source "'$PLAYONLINUX/lib/sources"'








TITLE="'Unity 3D"'




PREFIX="'Untity3D"'




WINE_VERSION="'1.7.16"'








POL_SetupWindow_Init




POL_Debug_Init








POL_SetupWindow_presentation "'$TITLE"' "'Unity"' "'http://www.unity3d.com/"' "'waneck-six, Damian-LinuxFan, Tomza, gnumaru"' "'$PREFIX"'








#create prefix




export WINEARCH="'win32"'




POL_Wine_SelectPrefix "'$PREFIX"'




POL_Wine_PrefixCreate "'$WINE_VERSION"'








#setup prefix




POL_Wine_InstallFonts




POL_Call POL_Install_directx9




POL_Call POL_Install_dotnet20




POL_Call POL_Install_dotnet35




POL_Call POL_Install_dotnet40




POL_Call POL_Install_tahoma




POL_Call POL_Install_vcrun2008




POL_Call POL_Install_vcrun2010




POL_Call POL_Install_mono210




POL_Call POL_Install_d3dx9_36




POL_Call POL_Install_d3dcompiler_43




POL_Call POL_Install_dxdiag




POL_Call POL_Install_dxfullsetup




POL_Call POL_Install_physx




POL_Call POL_Install_corefonts




POL_Call POL_Install_msxml6




POL_Call POL_Install_wininet




POL_Call POL_Install_ie8








#Setting OS wer




Set_OS "'winxp"' "'sp3"'








#Setting mono forcing in MonoDevelop




POL_Wine_OverrideDLL "'native, builtin"' "'mscore"'




POL_Wine_OverrideDLL "'builtin, native"' "'dnsapi"'




POL_Wine_OverrideDLL "'"' "'mscorsvw.exe"'








mkdir -p $WINEPREFIX/drive_c/users/$USER/AppData/LocalLow








#registry




regfile=$(mktemp --suffix=.REG)




echo "'REGEDIT4"' >' $regfile




echo "'"' >'>' $regfile




echo "'[HKEY_LOCAL_MACHINE\\Software\\Microsoft\\Windows NT\\CurrentVersion]"' >'>' $regfile




echo ''"'ProductId"'="'12345-oem-0000001-54321"''' >'>' $regfile








POL_Wine regedit $regfile








POL_SetupWindow_browse "'Please select the location of the Unity3D setup executable"' "'$TITLE"'








UNITYLOC=$APP_ANSWER




POL_Wine $UNITYLOC








POL_Shortcut "'Unity.exe"' "'$TITLE"'








POL_SetupWindow_Close




exit








Source : http://tomaszzackiewicz.wordpress.com/2013/11/16/run-unity3d-on-linux-with-wine-solved/

Nombre de Lectures : 675
Date de mise en ligne : 06 juin 2014 à 09:08

Les Catégories

Une Pub