Fora

[Script] Mindstorms EV3

Pour faire fonctionner les briquettes intelligente de Lego

Autor Odpowiedzi
Sckizo Thursday 15 January 2015 at 22:40
Sckizo

Bonjour à tous,

Ce noël mon fils à eu la boite Lego Mindstorms EV3. Dans cette boite, il y a évidement des Légo, mais il y a surtout une brique intelligente qui peut être programmée à l'aide d'un logiciel fournit par légo.

J'ai donc voulu installé le dit logiciel sur l'ordinateur du gamin qui tourne sous Ubuntu 14.04 LTS. Sauf qu'après 2 jours à essayer dans tout les sens, je n'arrive toujours pas à faire fonctionné le logiciel.

Je vous demande donc votre aide.

Voici le script

#!/bin/bash
# Date : (2015-01-15 13-00)
# Last revision : (2015-01-15 13-00)
# Wine version used : 1.7.19
# Distribution used to test : Ubuntu 14.04
# Author : Sckizo
# Script licence : GPL v.2
# Program licence : Retail
# Only For : http://www.playonlinux.com
 
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
TITLE="Mindstorms EV3"
PREFIX="MindstormsEV3"
 
POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.png" "http://files.playonlinux.com/resources/setups/$PREFIX/left.jpg" "$TITLE"
POL_SetupWindow_Init
POL_Debug_Init
 
POL_SetupWindow_presentation "Mindstorms EV3" "Lego" "http://www.lego.com/fr-fr/mindstorms/" "Sckizo" "$PREFIX"
 
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "1.7.19"

Set_OS win7

POL_Call POL_Remove_winemono
POL_Call POL_Install_dotnet40
POL_Call POL_Install_vcrun2005
#POL_Call POL_Install_dcom98
#POL_Call POL_Install_ie8
 
POL_System_TmpCreate "$PREFIX"
 
POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"
if [ "$INSTALL_METHOD" = "LOCAL" ]
then
    cd "$HOME"
    POL_SetupWindow_browse "Merci de choisir le fichier d'installation à exécuter." "$TITLE"
    POL_SetupWindow_wait "$TITLE"
    POL_Wine "$APP_ANSWER"
elif [ "$INSTALL_METHOD" = "DOWNLOAD" ]
then
    cd "$POL_System_TmpDir"
    POL_Download "http://esd.lego.com.edgesuite.net/digitaldelivery/mindstorms/6ecda7c2-1189-4816-b2dd-440e22d65814/public/LMS-EV3-WIN32-FR-01-01-01-full-setup.exe" "0484f5326fd98300b7c635e933dd8b98"
    POL_SetupWindow_wait "$TITLE"
    POL_Wine "LMS-EV3-WIN32-FR-01-01-01-full-setup.exe"
fi
 
POL_System_TmpDelete
 
POL_Shortcut "MindstormsEV3.exe" "$TITLE"
 
POL_SetupWindow_Close
exit 0

J'ai posté le script, enfin je l'ai posté en réponse car j'ai fait une fausse manipulation :/


Avant j'étais schizophrène ! Maintenant nous allons mieux !
"Je sais que j'plais pas à tout le monde ! Mais quand je vois à qui j'plais pas, j'me demande si ça me dérange vraiment." *Dikkenek*
Sckizo Tuesday 20 January 2015 at 11:27
Sckizo

Personne n'a d'idée ?

Petch m'a dit que le POL_Remove_winemono était redondant avec le début de POL_Install_dotnet40, donc inutile et donc retiré.

 

:)


Avant j'étais schizophrène ! Maintenant nous allons mieux !
"Je sais que j'plais pas à tout le monde ! Mais quand je vois à qui j'plais pas, j'me demande si ça me dérange vraiment." *Dikkenek*