Unity3D

Informations

Créateur Messages
EwXann Anonymous

Warning

This installer has not been approved yet by the team.

Informations

Plate-formes :
Téléchargements : 0
Wine: System

Retours d'expérience

Description

Unity 3D est un moteur de jeu performent.

Code source

                

Contributions

Filters:

Contribuer
Membre Messages
lahtis Dimanche 2 Aoüt 2015 à 14:04
lahtis

Warning

Cette mise à jour n'a pas été approuvée par l'équipe.
Utilisez-la à vos risques et périls

Messages

Tested (shellcheck). im improved code and fixed small errors.

Installer working a fine but  POL_Call POL_Install_Flashplayer_ActiveX  has a wrong MD5-sum.

When you click on the skip. The program continues the installation. Im testing latest Unity 5 version. The only thing that did not work, that the program did not find the project files. Stayed in an infinite loop, which came out ending the program.

Differences

@@ -0,0 +1,54 @@
+#!/bin/bash
+[ -z "$PLAYONLINUX" ]  && exit 0
+source "$PLAYONLINUX/lib/sources"
+      
+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
+      
+POL_SetupWindow_presentation "Unity 3D" "Unity" "http://www.unity3d.com/" "Cauê Waneck" "Unity3D"
+      
+# Create prefix
+export WINEARCH="win32"
+POL_Wine_SelectPrefix "Unity3D"
+POL_Wine_PrefixCreate "1.7.6"
+
+# Setup prefix
+POL_Wine_InstallFonts
+#POL_Call POL_Install_directx9
+POL_Call POL_Install_dotnet20
+POL_Call POL_Install_tahoma
+POL_Call POL_Install_dotnet40
+POL_Call POL_Install_d3dx9
+POL_Call POL_Install_Flashplayer_ActiveX
+POL_Call POL_Install_gdiplus
+POL_Call POL_Install_ie8
+      
+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"
+
+# Do you have downloaded the installer?
+POL_SetupWindow_question "$(eval_gettext 'Do you have downloaded installer?')" "$TITLE"
+if [ "$APP_ANSWER" = "FALSE" ]
+then
+	POL_Browser "http://unity3d.com/get-unity"
+fi
+      
+POL_SetupWindow_browse "$(eval_gettext 'Please select the location of the Unity3D setup executable')" "Unity Setup Executable"
+      
+UNITYLOC=$APP_ANSWER
+POL_Wine "$UNITYLOC"
+      
+POL_Shortcut "Unity.exe" "Unity 3D"
+      
+POL_SetupWindow_Close
+ 
+exit 0
\ No newline at end of file

Nouveau code source

#!/bin/bash
[ -z "$PLAYONLINUX" ]  && exit 0
source "$PLAYONLINUX/lib/sources"
      
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
      
POL_SetupWindow_presentation "Unity 3D" "Unity" "http://www.unity3d.com/" "Cauê Waneck" "Unity3D"
      
# Create prefix
export WINEARCH="win32"
POL_Wine_SelectPrefix "Unity3D"
POL_Wine_PrefixCreate "1.7.6"

# Setup prefix
POL_Wine_InstallFonts
#POL_Call POL_Install_directx9
POL_Call POL_Install_dotnet20
POL_Call POL_Install_tahoma
POL_Call POL_Install_dotnet40
POL_Call POL_Install_d3dx9
POL_Call POL_Install_Flashplayer_ActiveX
POL_Call POL_Install_gdiplus
POL_Call POL_Install_ie8
      
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"

# Do you have downloaded the installer?
POL_SetupWindow_question "$(eval_gettext 'Do you have downloaded installer?')" "$TITLE"
if [ "$APP_ANSWER" = "FALSE" ]
then
        POL_Browser "http://unity3d.com/get-unity"
fi
      
POL_SetupWindow_browse "$(eval_gettext 'Please select the location of the Unity3D setup executable')" "Unity Setup Executable"
      
UNITYLOC=$APP_ANSWER
POL_Wine "$UNITYLOC"
      
POL_Shortcut "Unity.exe" "Unity 3D"
      
POL_SetupWindow_Close
 
exit 0

Réponses

kvnxp Lundi 11 Mai 2015 à 1:27
kvnxp Anonymous

Messages

Unity 3D in 32Bit mode ..

work fine in ubuntu 14.04  with mesa driver  and wine 1.7.42
need copy fonts folder from windows  to virtualdrive.

Réponses

EwXann Dimanche 15 Février 2015 à 20:15
EwXann Anonymous

Warning

Cette mise à jour n'a pas été approuvée par l'équipe.
Utilisez-la à vos risques et périls

Messages

44

Differences

@@ -0,0 +1,48 @@
+
+    #!/bin/bash
+    [ "$PLAYONLINUX" = "" ]  exit 0
+    source "$PLAYONLINUX/lib/sources"
+     
+    POL_SetupWindow_Init
+     
+    POL_SetupWindow_presentation "Unity 3D" "Unity" "http://www.unity3d.com/" "Cauê Waneck" "Unity3D"
+     
+    #create prefix
+    export WINEARCH="win32"
+    POL_Wine_SelectPrefix "Unity3D"
+    POL_Wine_PrefixCreate "1.7.6"
+    #setup prefix
+    POL_Wine_InstallFonts
+    #POL_Call POL_Install_directx9
+    POL_Call POL_Install_dotnet20
+    POL_Call POL_Install_tahoma
+    POL_Call POL_Install_dotnet40
+    POL_Call POL_Install_d3dx9
+    POL_Call POL_Install_Flashplayer_ActiveX
+    POL_Call POL_Install_gdiplus
+    POL_Call POL_Install_ie8
+     
+    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
+    #rm $regfile
+     
+    POL_SetupWindow_browse "Please select the location of the Unity3D setup executable" "Unity Setup Executable"
+     
+    UNITYLOC=$APP_ANSWER
+    POL_Wine $UNITYLOC
+     
+    POL_Shortcut "Unity.exe" "Unity 3D"
+     
+    POL_SetupWindow_Close
+
+    exit
+
+dx
\ No newline at end of file

Nouveau code source

    #!/bin/bash
    [ "$PLAYONLINUX" = "" ]  exit 0
    source "$PLAYONLINUX/lib/sources"
     
    POL_SetupWindow_Init
     
    POL_SetupWindow_presentation "Unity 3D" "Unity" "http://www.unity3d.com/" "Cauê Waneck" "Unity3D"
     
    #create prefix
    export WINEARCH="win32"
    POL_Wine_SelectPrefix "Unity3D"
    POL_Wine_PrefixCreate "1.7.6"
    #setup prefix
    POL_Wine_InstallFonts
    #POL_Call POL_Install_directx9
    POL_Call POL_Install_dotnet20
    POL_Call POL_Install_tahoma
    POL_Call POL_Install_dotnet40
    POL_Call POL_Install_d3dx9
    POL_Call POL_Install_Flashplayer_ActiveX
    POL_Call POL_Install_gdiplus
    POL_Call POL_Install_ie8
     
    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
    #rm $regfile
     
    POL_SetupWindow_browse "Please select the location of the Unity3D setup executable" "Unity Setup Executable"
     
    UNITYLOC=$APP_ANSWER
    POL_Wine $UNITYLOC
     
    POL_Shortcut "Unity.exe" "Unity 3D"
     
    POL_SetupWindow_Close

    exit

dx

Réponses

Dimanche 15 Février 2015 à 20:32
This needs to be cleaned up before it can be approved. The indentation is bad, you should have "exit 0" at the end of the script, you have unused calls commented out, and that "dx" at the end should not be there. Also, a header would be nice to see (refer to any other scripts, like http://www.playonlinux.com/en/app-2316-Adobe_Photoshop_CS6.html ), and is also standard practice.
EwXann Samedi 30 Aoüt 2014 à 12:57
EwXann Anonymous

Messages

  1. #!/bin/bash
  2. [ "$PLAYONLINUX" = "" ]  exit 0
  3. source "$PLAYONLINUX/lib/sources"
  4.  
  5. POL_SetupWindow_Init
  6.  
  7. POL_SetupWindow_presentation "Unity 3D" "Unity" "http://www.unity3d.com/" "Cauê Waneck" "Unity3D"
  8.  
  9. #create prefix
  10. export WINEARCH="win32"
  11. POL_Wine_SelectPrefix "Unity3D"
  12. POL_Wine_PrefixCreate "1.7.6"
  13. #setup prefix
  14. POL_Wine_InstallFonts
  15. #POL_Call POL_Install_directx9
  16. POL_Call POL_Install_dotnet20
  17. POL_Call POL_Install_tahoma
  18.  
  19. mkdir -p $WINEPREFIX/drive_c/users/$USER/AppData/LocalLow
  20.  
  21. #registry
  22. regfile=$(mktemp --suffix=.REG)
  23. echo "REGEDIT4" > $regfile
  24. echo "" >> $regfile
  25. echo "[HKEY_LOCAL_MACHINE\\Software\\Microsoft\\Windows NT\\CurrentVersion]" >> $regfile
  26. echo '"ProductId"="12345-oem-0000001-54321"' >> $regfile
  27.  
  28. POL_Wine regedit $regfile
  29. #rm $regfile
  30.  
  31. POL_SetupWindow_browse "Please select the location of the Unity3D setup executable" "Unity Setup Executable"
  32.  
  33. UNITYLOC=$APP_ANSWER
  34. POL_Wine $UNITYLOC
  35.  
  36. POL_Shortcut "Unity.exe" "Unity 3D"
  37.  
  38. POL_SetupWindow_Close
  39. exit

Réponses

Anonymous
Samedi 30 Aoüt 2014 à 12:59
Il faut installer dotnet40 et internet explorer 8 pour faire fonctionner MonoDevelop.
Anonymous
Samedi 30 Aoüt 2014 à 13:36
Est-ce que tu peux mettre le code dans "Code source" (J'aimerais améliorer cet installateur) plutôt que dans la description ? Merci d'avance
Anonymous
Dimanche 7 September 2014 à 3:08
You should add
Anonymous
Dimanche 7 September 2014 à 3:10
You should replace lines 31 - 39 with this POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"

if [ "$INSTALL_METHOD" = "LOCAL" ]
then
POL_SetupWindow_browse "Please select the installation file to run." ""Unity3D installation"
POL_SetupWindow_wait "Installation in progress." "Unity3D installation"
POL_Wine start /unix "$APP_ANSWER"
elif [ "$INSTALL_METHOD" = "DOWNLOAD" ]
then
cd "$POL_System_TmpDir"
POL_Download "http://netstorage.unity3d.com/unity/UnitySetup-4.5.3.exe"
POL_SetupWindow_wait "Installation in progress." "Unity3D installation"
POL_Wine start /unix "$POL_System_TmpDir/UnitySetup-4.5.3.exe"
fi

POL_System_TmpDelete

UNITYLOC=$APP_ANSWER
POL_Wine $UNITYLOC

POL_Shortcut "Unity.exe" "Unity 3D"

POL_SetupWindow_Close

exit
*sorry for last post pressed enter to soon*
Anonymous
Dimanche 7 September 2014 à 3:22
or how ever the code works to make it download